binance 3.5.4 → 3.5.5
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/lib/main-client.d.ts +65 -1
- package/lib/main-client.js +90 -0
- package/lib/main-client.js.map +1 -1
- package/lib/portfolio-client.d.ts +33 -1
- package/lib/portfolio-client.js +43 -0
- package/lib/portfolio-client.js.map +1 -1
- package/lib/types/portfolio-margin.d.ts +86 -0
- package/lib/types/spot.d.ts +312 -0
- package/lib/types/websockets/ws-api-requests.d.ts +15 -0
- package/lib/types/websockets/ws-api-responses.d.ts +4 -0
- package/lib/types/websockets/ws-api.d.ts +9 -3
- package/lib/types/websockets/ws-api.js +3 -0
- package/lib/types/websockets/ws-api.js.map +1 -1
- package/lib/types/websockets/ws-events-formatted.d.ts +33 -2
- package/lib/types/websockets/ws-events-raw.d.ts +34 -2
- package/lib/util/beautifier-maps.d.ts +32 -0
- package/lib/util/beautifier-maps.js +32 -0
- package/lib/util/beautifier-maps.js.map +1 -1
- package/lib/websocket-api-client.d.ts +14 -2
- package/lib/websocket-api-client.js +18 -0
- package/lib/websocket-api-client.js.map +1 -1
- package/llms.txt +20265 -18934
- package/package.json +1 -1
package/lib/types/spot.d.ts
CHANGED
|
@@ -517,6 +517,53 @@ export interface CurrentAvgPrice {
|
|
|
517
517
|
price: numberInString;
|
|
518
518
|
closeTime: number;
|
|
519
519
|
}
|
|
520
|
+
/** Spot PRICE_RANGE execution rule (GET /api/v3/executionRules). */
|
|
521
|
+
export interface SpotPriceRangeExecutionRule {
|
|
522
|
+
ruleType: 'PRICE_RANGE';
|
|
523
|
+
bidLimitMultUp: numberInString;
|
|
524
|
+
bidLimitMultDown: numberInString;
|
|
525
|
+
askLimitMultUp: numberInString;
|
|
526
|
+
askLimitMultDown: numberInString;
|
|
527
|
+
}
|
|
528
|
+
export interface SpotSymbolExecutionRules {
|
|
529
|
+
symbol: string;
|
|
530
|
+
rules: SpotPriceRangeExecutionRule[];
|
|
531
|
+
}
|
|
532
|
+
export interface SpotExecutionRulesResponse {
|
|
533
|
+
symbolRules: SpotSymbolExecutionRules[];
|
|
534
|
+
}
|
|
535
|
+
/** GET /api/v3/executionRules — only one of symbol, symbols, or symbolStatus per request. */
|
|
536
|
+
export interface SpotExecutionRulesParams {
|
|
537
|
+
symbol?: string;
|
|
538
|
+
symbols?: string[];
|
|
539
|
+
symbolStatus?: 'TRADING' | 'HALT' | 'BREAK';
|
|
540
|
+
}
|
|
541
|
+
/** Successful GET /api/v3/referencePrice (referencePrice null = not currently set). */
|
|
542
|
+
export interface SpotReferencePriceResponse {
|
|
543
|
+
symbol: string;
|
|
544
|
+
referencePrice: numberInString | null;
|
|
545
|
+
timestamp: number;
|
|
546
|
+
}
|
|
547
|
+
/** GET /api/v3/referencePrice or /referencePrice/calculation when no reference price has ever been set (code -2043). */
|
|
548
|
+
export interface SpotReferencePriceNeverSetError {
|
|
549
|
+
code: -2043;
|
|
550
|
+
msg: string;
|
|
551
|
+
}
|
|
552
|
+
export type SpotReferencePriceResult = SpotReferencePriceResponse | SpotReferencePriceNeverSetError;
|
|
553
|
+
/** Reference price is computed as an arithmetic mean in the matching engine. */
|
|
554
|
+
export interface SpotReferencePriceCalculationArithmeticMean {
|
|
555
|
+
symbol: string;
|
|
556
|
+
calculationType: 'ARITHMETIC_MEAN';
|
|
557
|
+
bucketCount: number;
|
|
558
|
+
bucketWidthMs: number;
|
|
559
|
+
}
|
|
560
|
+
/** Reference price is computed outside the matching engine. */
|
|
561
|
+
export interface SpotReferencePriceCalculationExternal {
|
|
562
|
+
symbol: string;
|
|
563
|
+
calculationType: 'EXTERNAL';
|
|
564
|
+
externalCalculationId: number;
|
|
565
|
+
}
|
|
566
|
+
export type SpotReferencePriceCalculationResponse = SpotReferencePriceCalculationArithmeticMean | SpotReferencePriceCalculationExternal | SpotReferencePriceNeverSetError;
|
|
520
567
|
export interface DailyChangeStatistic {
|
|
521
568
|
symbol: string;
|
|
522
569
|
priceChange: numberInString;
|
|
@@ -570,6 +617,8 @@ export interface OrderResponseResult {
|
|
|
570
617
|
side: OrderSide;
|
|
571
618
|
workingTime: number;
|
|
572
619
|
selfTradePreventionMode: SelfTradePreventionMode;
|
|
620
|
+
/** Present with newOrderRespType RESULT or FULL when the order has an expiry reason. */
|
|
621
|
+
expiryReason?: string;
|
|
573
622
|
}
|
|
574
623
|
export interface OrderFill {
|
|
575
624
|
price: numberInString;
|
|
@@ -596,6 +645,8 @@ export interface OrderResponseFull {
|
|
|
596
645
|
isIsolated?: boolean;
|
|
597
646
|
workingTime: number;
|
|
598
647
|
selfTradePreventionMode: SelfTradePreventionMode;
|
|
648
|
+
/** Present with newOrderRespType RESULT or FULL when the order has an expiry reason. */
|
|
649
|
+
expiryReason?: string;
|
|
599
650
|
fills: OrderFill[];
|
|
600
651
|
}
|
|
601
652
|
export type OrderResponse = OrderResponseACK | OrderResponseResult | OrderResponseFull;
|
|
@@ -2943,6 +2994,7 @@ export interface DualInvestmentPosition {
|
|
|
2943
2994
|
isExercised?: boolean;
|
|
2944
2995
|
settleAsset?: string;
|
|
2945
2996
|
settleAmount?: string;
|
|
2997
|
+
subscriptionTime?: number;
|
|
2946
2998
|
}
|
|
2947
2999
|
export interface CheckDualInvestmentAccountsResponse {
|
|
2948
3000
|
totalAmountInBTC: string;
|
|
@@ -3285,6 +3337,209 @@ export interface GetWbethRewardsHistoryResponse {
|
|
|
3285
3337
|
rows: WbethRewardsHistory[];
|
|
3286
3338
|
total: number;
|
|
3287
3339
|
}
|
|
3340
|
+
/**
|
|
3341
|
+
* BFUSD (sapi/v1/bfusd/*)
|
|
3342
|
+
*/
|
|
3343
|
+
export interface BfusdAccountResponse {
|
|
3344
|
+
bfusdAmount: string;
|
|
3345
|
+
usdtProfit: string;
|
|
3346
|
+
bfusdProfit: string;
|
|
3347
|
+
}
|
|
3348
|
+
export interface BfusdSubscriptionQuota {
|
|
3349
|
+
leftQuota: string;
|
|
3350
|
+
}
|
|
3351
|
+
export interface BfusdFastRedemptionQuota {
|
|
3352
|
+
leftQuota: string;
|
|
3353
|
+
minimum: string;
|
|
3354
|
+
fee: string;
|
|
3355
|
+
freeQuota: string;
|
|
3356
|
+
}
|
|
3357
|
+
export interface BfusdStandardRedemptionQuota {
|
|
3358
|
+
leftQuota: string;
|
|
3359
|
+
minimum: string;
|
|
3360
|
+
fee: string;
|
|
3361
|
+
redeemPeriod: number;
|
|
3362
|
+
}
|
|
3363
|
+
export interface BfusdQuotaResponse {
|
|
3364
|
+
subscriptionQuota: BfusdSubscriptionQuota;
|
|
3365
|
+
fastRedemptionQuota: BfusdFastRedemptionQuota;
|
|
3366
|
+
standardRedemptionQuota: BfusdStandardRedemptionQuota;
|
|
3367
|
+
}
|
|
3368
|
+
export interface BfusdSubscribeParams {
|
|
3369
|
+
asset: string;
|
|
3370
|
+
amount: number;
|
|
3371
|
+
}
|
|
3372
|
+
export interface BfusdSubscribeResponse {
|
|
3373
|
+
success: boolean;
|
|
3374
|
+
bfusdAmount: string;
|
|
3375
|
+
}
|
|
3376
|
+
export interface BfusdRedeemParams {
|
|
3377
|
+
amount: number;
|
|
3378
|
+
type?: 'FAST' | 'STANDARD';
|
|
3379
|
+
}
|
|
3380
|
+
export interface BfusdRedeemResponse {
|
|
3381
|
+
success: boolean;
|
|
3382
|
+
receiveAmount: string;
|
|
3383
|
+
fee: string;
|
|
3384
|
+
arrivalTime: number;
|
|
3385
|
+
}
|
|
3386
|
+
export interface GetBfusdSubscriptionHistoryParams {
|
|
3387
|
+
asset?: string;
|
|
3388
|
+
startTime?: number;
|
|
3389
|
+
endTime?: number;
|
|
3390
|
+
current?: number;
|
|
3391
|
+
size?: number;
|
|
3392
|
+
}
|
|
3393
|
+
export interface BfusdSubscriptionHistoryRow {
|
|
3394
|
+
time: number;
|
|
3395
|
+
asset: string;
|
|
3396
|
+
amount: string;
|
|
3397
|
+
receiveAsset: string;
|
|
3398
|
+
receiveAmount: string;
|
|
3399
|
+
status: 'PENDING' | 'SUCCESS';
|
|
3400
|
+
}
|
|
3401
|
+
export interface GetBfusdRedemptionHistoryParams {
|
|
3402
|
+
startTime?: number;
|
|
3403
|
+
endTime?: number;
|
|
3404
|
+
current?: number;
|
|
3405
|
+
size?: number;
|
|
3406
|
+
}
|
|
3407
|
+
export interface BfusdRedemptionHistoryRow {
|
|
3408
|
+
time: number;
|
|
3409
|
+
asset: string;
|
|
3410
|
+
amount: string;
|
|
3411
|
+
receiveAsset: string;
|
|
3412
|
+
receiveAmount: string;
|
|
3413
|
+
fee: string;
|
|
3414
|
+
arrivalTime: number;
|
|
3415
|
+
status: 'PENDING' | 'SUCCESS';
|
|
3416
|
+
}
|
|
3417
|
+
export interface GetBfusdRewardsHistoryParams {
|
|
3418
|
+
startTime?: number;
|
|
3419
|
+
endTime?: number;
|
|
3420
|
+
current?: number;
|
|
3421
|
+
size?: number;
|
|
3422
|
+
}
|
|
3423
|
+
export interface BfusdRewardsHistoryRow {
|
|
3424
|
+
time: number;
|
|
3425
|
+
rewardsAmount: string;
|
|
3426
|
+
annualPercentageRate: string;
|
|
3427
|
+
rewardAsset?: string;
|
|
3428
|
+
/** API may return this casing per Binance docs. */
|
|
3429
|
+
BFUSDPosition?: string;
|
|
3430
|
+
}
|
|
3431
|
+
export interface GetBfusdRateHistoryParams {
|
|
3432
|
+
startTime?: number;
|
|
3433
|
+
endTime?: number;
|
|
3434
|
+
current?: number;
|
|
3435
|
+
size?: number;
|
|
3436
|
+
}
|
|
3437
|
+
export interface BfusdRateHistoryRow {
|
|
3438
|
+
annualPercentageRate: string;
|
|
3439
|
+
time: number;
|
|
3440
|
+
}
|
|
3441
|
+
/**
|
|
3442
|
+
* RWUSD (sapi/v1/rwusd/*)
|
|
3443
|
+
*/
|
|
3444
|
+
export interface RwusdAccountResponse {
|
|
3445
|
+
rwusdAmount: string;
|
|
3446
|
+
totalProfit: string;
|
|
3447
|
+
}
|
|
3448
|
+
export interface RwusdSubscriptionQuota {
|
|
3449
|
+
assets: string[];
|
|
3450
|
+
leftQuota: string;
|
|
3451
|
+
minimum: string;
|
|
3452
|
+
}
|
|
3453
|
+
export interface RwusdFastRedemptionQuota {
|
|
3454
|
+
leftQuota: string;
|
|
3455
|
+
minimum: string;
|
|
3456
|
+
fee: string;
|
|
3457
|
+
freeQuota: string;
|
|
3458
|
+
}
|
|
3459
|
+
export interface RwusdStandardRedemptionQuota {
|
|
3460
|
+
leftQuota: string;
|
|
3461
|
+
minimum: string;
|
|
3462
|
+
fee: string;
|
|
3463
|
+
redeemPeriod: number;
|
|
3464
|
+
}
|
|
3465
|
+
export interface RwusdQuotaResponse {
|
|
3466
|
+
subscriptionQuota: RwusdSubscriptionQuota;
|
|
3467
|
+
fastRedemptionQuota: RwusdFastRedemptionQuota;
|
|
3468
|
+
standardRedemptionQuota: RwusdStandardRedemptionQuota;
|
|
3469
|
+
subscribeEnable: boolean;
|
|
3470
|
+
redeemEnable: boolean;
|
|
3471
|
+
}
|
|
3472
|
+
export interface RwusdSubscribeParams {
|
|
3473
|
+
asset: string;
|
|
3474
|
+
amount: number;
|
|
3475
|
+
}
|
|
3476
|
+
export interface RwusdSubscribeResponse {
|
|
3477
|
+
success: boolean;
|
|
3478
|
+
rwusdAmount: string;
|
|
3479
|
+
}
|
|
3480
|
+
export interface RwusdRedeemParams {
|
|
3481
|
+
amount: number;
|
|
3482
|
+
type?: 'FAST' | 'STANDARD';
|
|
3483
|
+
}
|
|
3484
|
+
export interface RwusdRedeemResponse {
|
|
3485
|
+
success: boolean;
|
|
3486
|
+
receiveAmount: string;
|
|
3487
|
+
fee: string;
|
|
3488
|
+
arrivalTime: number;
|
|
3489
|
+
}
|
|
3490
|
+
export interface GetRwusdSubscriptionHistoryParams {
|
|
3491
|
+
asset?: string;
|
|
3492
|
+
startTime?: number;
|
|
3493
|
+
endTime?: number;
|
|
3494
|
+
current?: number;
|
|
3495
|
+
size?: number;
|
|
3496
|
+
}
|
|
3497
|
+
export interface RwusdSubscriptionHistoryRow {
|
|
3498
|
+
time: number;
|
|
3499
|
+
asset: string;
|
|
3500
|
+
amount: string;
|
|
3501
|
+
receiveAsset: string;
|
|
3502
|
+
receiveAmount: string;
|
|
3503
|
+
status: 'PENDING' | 'SUCCESS';
|
|
3504
|
+
}
|
|
3505
|
+
export interface GetRwusdRedemptionHistoryParams {
|
|
3506
|
+
startTime?: number;
|
|
3507
|
+
endTime?: number;
|
|
3508
|
+
current?: number;
|
|
3509
|
+
size?: number;
|
|
3510
|
+
}
|
|
3511
|
+
export interface RwusdRedemptionHistoryRow {
|
|
3512
|
+
time: number;
|
|
3513
|
+
asset: string;
|
|
3514
|
+
amount: string;
|
|
3515
|
+
receiveAsset: string;
|
|
3516
|
+
receiveAmount: string;
|
|
3517
|
+
fee: string;
|
|
3518
|
+
arrivalTime: number;
|
|
3519
|
+
status: 'PENDING' | 'SUCCESS';
|
|
3520
|
+
}
|
|
3521
|
+
export interface GetRwusdRewardsHistoryParams {
|
|
3522
|
+
startTime?: number;
|
|
3523
|
+
endTime?: number;
|
|
3524
|
+
current?: number;
|
|
3525
|
+
size?: number;
|
|
3526
|
+
}
|
|
3527
|
+
export interface RwusdRewardsHistoryRow {
|
|
3528
|
+
time: number;
|
|
3529
|
+
rewardsAmount: string;
|
|
3530
|
+
rwusdPosition: string;
|
|
3531
|
+
annualPercentageRate: string;
|
|
3532
|
+
}
|
|
3533
|
+
export interface GetRwusdRateHistoryParams {
|
|
3534
|
+
startTime?: number;
|
|
3535
|
+
endTime?: number;
|
|
3536
|
+
current?: number;
|
|
3537
|
+
size?: number;
|
|
3538
|
+
}
|
|
3539
|
+
export interface RwusdRateHistoryRow {
|
|
3540
|
+
annualPercentageRate: string;
|
|
3541
|
+
time: number;
|
|
3542
|
+
}
|
|
3288
3543
|
export interface GetMiningAlgoListResponse {
|
|
3289
3544
|
algoName: string;
|
|
3290
3545
|
algoId: number;
|
|
@@ -3765,6 +4020,16 @@ export interface GetPortfolioMarginAssetLeverageResponse {
|
|
|
3765
4020
|
asset: string;
|
|
3766
4021
|
leverage: number;
|
|
3767
4022
|
}
|
|
4023
|
+
export interface SetPortfolioMarginMarginCallLevelParams {
|
|
4024
|
+
marginCallLevel: number;
|
|
4025
|
+
}
|
|
4026
|
+
export interface PortfolioMarginMarginCallLevelResponse {
|
|
4027
|
+
marginCallLevel: string;
|
|
4028
|
+
}
|
|
4029
|
+
export type PortfolioMarginMarginCallLevelGetResponse = PortfolioMarginMarginCallLevelResponse | Record<string, never>;
|
|
4030
|
+
export interface PortfolioMarginMarginCallLevelDeleteResponse {
|
|
4031
|
+
msg: string;
|
|
4032
|
+
}
|
|
3768
4033
|
export interface SubscribeBlvtParams {
|
|
3769
4034
|
tokenName: string;
|
|
3770
4035
|
cost: number;
|
|
@@ -5418,6 +5683,33 @@ export interface GetInstitutionalLoanBorrowRepayRecordsResponse {
|
|
|
5418
5683
|
total: number;
|
|
5419
5684
|
rows: InstitutionalLoanBorrowRepayRecord[];
|
|
5420
5685
|
}
|
|
5686
|
+
export interface MarginInterestRebateBalanceResponse {
|
|
5687
|
+
asset: string;
|
|
5688
|
+
balance: string;
|
|
5689
|
+
totalGranted: string;
|
|
5690
|
+
totalConsumed: string;
|
|
5691
|
+
}
|
|
5692
|
+
export interface GetMarginInterestRebateBalanceRecordsParams {
|
|
5693
|
+
type?: 0 | 1 | 2;
|
|
5694
|
+
startTime?: number;
|
|
5695
|
+
endTime?: number;
|
|
5696
|
+
current?: number;
|
|
5697
|
+
size?: number;
|
|
5698
|
+
}
|
|
5699
|
+
export interface MarginInterestRebateBalanceRecord {
|
|
5700
|
+
type: 'ADD' | 'DEDUCT' | 'INTEREST_OFFSET';
|
|
5701
|
+
rebateAsset: string;
|
|
5702
|
+
delta: string;
|
|
5703
|
+
createTime: number;
|
|
5704
|
+
groupId?: number;
|
|
5705
|
+
liabilityAsset?: string;
|
|
5706
|
+
deductedInterest?: string;
|
|
5707
|
+
exchangeRate?: string;
|
|
5708
|
+
}
|
|
5709
|
+
export interface MarginInterestRebateBalanceRecordsResponse {
|
|
5710
|
+
total: number;
|
|
5711
|
+
rows: MarginInterestRebateBalanceRecord[];
|
|
5712
|
+
}
|
|
5421
5713
|
export interface OnchainYieldsLockedProductListParams {
|
|
5422
5714
|
asset?: string;
|
|
5423
5715
|
current?: number;
|
|
@@ -5715,6 +6007,26 @@ export type AlphaKline = [
|
|
|
5715
6007
|
export interface AlphaTickerParams {
|
|
5716
6008
|
symbol: string;
|
|
5717
6009
|
}
|
|
6010
|
+
export type AlphaFullDepthLimit = 5 | 10 | 20 | 50 | 100 | 500 | 1000;
|
|
6011
|
+
export interface AlphaFullDepthParams {
|
|
6012
|
+
symbol: string;
|
|
6013
|
+
limit?: AlphaFullDepthLimit;
|
|
6014
|
+
}
|
|
6015
|
+
export interface AlphaFullDepthData {
|
|
6016
|
+
lastUpdateId: number;
|
|
6017
|
+
symbol: string;
|
|
6018
|
+
bids: [string, string][];
|
|
6019
|
+
asks: [string, string][];
|
|
6020
|
+
E: number;
|
|
6021
|
+
T: number;
|
|
6022
|
+
}
|
|
6023
|
+
export interface AlphaFullDepthResponse {
|
|
6024
|
+
code: string;
|
|
6025
|
+
message: string | null;
|
|
6026
|
+
messageDetail: string | null;
|
|
6027
|
+
success: boolean;
|
|
6028
|
+
data: AlphaFullDepthData;
|
|
6029
|
+
}
|
|
5718
6030
|
export interface AlphaTicker {
|
|
5719
6031
|
symbol: string;
|
|
5720
6032
|
priceChange: string;
|
|
@@ -64,6 +64,21 @@ export interface WSAPIKlinesRequest {
|
|
|
64
64
|
export interface WSAPIAvgPriceRequest {
|
|
65
65
|
symbol: string;
|
|
66
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* Query execution rules (e.g. PRICE_RANGE). Only one of symbol, symbols, or symbolStatus per request.
|
|
69
|
+
*/
|
|
70
|
+
export interface WSAPIExecutionRulesRequest {
|
|
71
|
+
symbol?: string;
|
|
72
|
+
symbols?: string[];
|
|
73
|
+
symbolStatus?: 'TRADING' | 'HALT' | 'BREAK';
|
|
74
|
+
}
|
|
75
|
+
export interface WSAPIReferencePriceRequest {
|
|
76
|
+
symbol: string;
|
|
77
|
+
}
|
|
78
|
+
export interface WSAPIReferencePriceCalculationRequest {
|
|
79
|
+
symbol: string;
|
|
80
|
+
symbolStatus?: 'TRADING' | 'HALT' | 'BREAK';
|
|
81
|
+
}
|
|
67
82
|
/**
|
|
68
83
|
* Symbol for single symbol, or symbols for multiple symbols
|
|
69
84
|
*/
|
|
@@ -397,6 +397,8 @@ export interface WSAPISOROrderPlaceResponse {
|
|
|
397
397
|
type: string;
|
|
398
398
|
side: string;
|
|
399
399
|
workingTime: number;
|
|
400
|
+
/** With newOrderRespType RESULT or FULL when the order has an expiry reason. */
|
|
401
|
+
expiryReason?: string;
|
|
400
402
|
fills: {
|
|
401
403
|
matchType: string;
|
|
402
404
|
price: string;
|
|
@@ -622,6 +624,8 @@ export interface WSAPISpotOrderRESULT extends WSAPISpotOrderACK {
|
|
|
622
624
|
side: string;
|
|
623
625
|
workingTime: number;
|
|
624
626
|
selfTradePreventionMode: string;
|
|
627
|
+
/** With newOrderRespType RESULT or FULL when the order has an expiry reason. */
|
|
628
|
+
expiryReason?: string;
|
|
625
629
|
}
|
|
626
630
|
export interface WSAPISpotOrderFill {
|
|
627
631
|
price: numberInString;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { WS_KEY_MAP, WsKey } from '../../util/websockets/websocket-util';
|
|
2
2
|
import { FuturesExchangeInfo } from '../futures';
|
|
3
|
-
import { ExchangeInfo } from '../spot';
|
|
4
|
-
import { WSAPIAccountCommissionWSAPIRequest, WSAPIAccountInformationRequest, WSAPIAllOrderListsRequest, WSAPIAllOrdersRequest, WSAPIAvgPriceRequest, WSAPIExchangeInfoRequest, WSAPIFuturesAlgoOrderCancelRequest, WSAPIFuturesOrderBookRequest, WSAPIFuturesOrderCancelRequest, WSAPIFuturesOrderModifyRequest, WSAPIFuturesOrderStatusRequest, WSAPIFuturesTickerBookRequest, WSAPIFuturesTickerPriceRequest, WSAPIKlinesRequest, WSAPIMyAllocationsRequest, WSAPIMyPreventedMatchesRequest, WSAPIMyTradesRequest, WSAPINewFuturesAlgoOrderRequest, WSAPINewFuturesOrderRequest, WSAPINewSpotOrderRequest, WSAPIOpenOrdersCancelAllRequest, WSAPIOpenOrdersStatusRequest, WSAPIOrderAmendKeepPriorityRequest, WSAPIOrderBookRequest, WSAPIOrderCancelReplaceRequest, WSAPIOrderCancelRequest, WSAPIOrderListCancelRequest, WSAPIOrderListPlaceOCORequest, WSAPIOrderListPlaceOPOCORequest, WSAPIOrderListPlaceOPORequest, WSAPIOrderListPlaceOTOCORequest, WSAPIOrderListPlaceOTORequest, WSAPIOrderListPlaceRequest, WSAPIOrderListStatusRequest, WSAPIOrderStatusRequest, WSAPIOrderTestRequest, WSAPIRecvWindowTimestamp, WSAPISessionLogonRequest, WSAPISOROrderPlaceRequest, WSAPISOROrderTestRequest, WSAPITicker24hrRequest, WSAPITickerBookRequest, WSAPITickerPriceRequest, WSAPITickerRequest, WSAPITickerTradingDayRequest, WSAPITradesAggregateRequest, WSAPITradesHistoricalRequest, WSAPITradesRecentRequest } from './ws-api-requests';
|
|
3
|
+
import { ExchangeInfo, SpotExecutionRulesResponse, SpotReferencePriceCalculationResponse, SpotReferencePriceResult } from '../spot';
|
|
4
|
+
import { WSAPIAccountCommissionWSAPIRequest, WSAPIAccountInformationRequest, WSAPIAllOrderListsRequest, WSAPIAllOrdersRequest, WSAPIAvgPriceRequest, WSAPIExchangeInfoRequest, WSAPIExecutionRulesRequest, WSAPIFuturesAlgoOrderCancelRequest, WSAPIFuturesOrderBookRequest, WSAPIFuturesOrderCancelRequest, WSAPIFuturesOrderModifyRequest, WSAPIFuturesOrderStatusRequest, WSAPIFuturesTickerBookRequest, WSAPIFuturesTickerPriceRequest, WSAPIKlinesRequest, WSAPIMyAllocationsRequest, WSAPIMyPreventedMatchesRequest, WSAPIMyTradesRequest, WSAPINewFuturesAlgoOrderRequest, WSAPINewFuturesOrderRequest, WSAPINewSpotOrderRequest, WSAPIOpenOrdersCancelAllRequest, WSAPIOpenOrdersStatusRequest, WSAPIOrderAmendKeepPriorityRequest, WSAPIOrderBookRequest, WSAPIOrderCancelReplaceRequest, WSAPIOrderCancelRequest, WSAPIOrderListCancelRequest, WSAPIOrderListPlaceOCORequest, WSAPIOrderListPlaceOPOCORequest, WSAPIOrderListPlaceOPORequest, WSAPIOrderListPlaceOTOCORequest, WSAPIOrderListPlaceOTORequest, WSAPIOrderListPlaceRequest, WSAPIOrderListStatusRequest, WSAPIOrderStatusRequest, WSAPIOrderTestRequest, WSAPIRecvWindowTimestamp, WSAPIReferencePriceCalculationRequest, WSAPIReferencePriceRequest, WSAPISessionLogonRequest, WSAPISOROrderPlaceRequest, WSAPISOROrderTestRequest, WSAPITicker24hrRequest, WSAPITickerBookRequest, WSAPITickerPriceRequest, WSAPITickerRequest, WSAPITickerTradingDayRequest, WSAPITradesAggregateRequest, WSAPITradesHistoricalRequest, WSAPITradesRecentRequest } from './ws-api-requests';
|
|
5
5
|
import { WSAPIAccountCommission, WSAPIAccountInformation, WSAPIAggregateTrade, WSAPIAllocation, WSAPIAvgPrice, WSAPIBookTicker, WSAPIFullTicker, WSAPIFuturesAccountBalanceItem, WSAPIFuturesAccountStatus, WSAPIFuturesAlgoOrder, WSAPIFuturesAlgoOrderCancelResponse, WSAPIFuturesBookTicker, WSAPIFuturesOrder, WSAPIFuturesOrderBook, WSAPIFuturesPosition, WSAPIFuturesPositionV2, WSAPIFuturesPriceTicker, WSAPIKline, WSAPIMiniTicker, WSAPIOrder, WSAPIOrderBook, WSAPIOrderCancel, WSAPIOrderCancelReplaceResponse, WSAPIOrderListCancelResponse, WSAPIOrderListPlaceResponse, WSAPIOrderListStatusResponse, WSAPIOrderTestResponse, WSAPIOrderTestWithCommission, WSAPIPreventedMatch, WSAPIPriceTicker, WSAPIRateLimit, WSAPIServerTime, WSAPISessionStatus, WSAPISOROrderPlaceResponse, WSAPISOROrderTestResponse, WSAPISOROrderTestResponseWithCommission, WSAPISpotOrderResponse, WSAPITrade } from './ws-api-responses';
|
|
6
6
|
/**
|
|
7
7
|
* Standard WS commands (for consumers)
|
|
@@ -10,7 +10,7 @@ export type WsOperation = 'SUBSCRIBE' | 'UNSUBSCRIBE' | 'LIST_SUBSCRIPTIONS' | '
|
|
|
10
10
|
/**
|
|
11
11
|
* WS API commands (for sending requests via WS)
|
|
12
12
|
*/
|
|
13
|
-
export declare const WS_API_Operations: readonly ["session.logon", "session.status", "session.logout", "ping", "time", "exchangeInfo", "depth", "trades.recent", "trades.historical", "trades.aggregate", "klines", "uiKlines", "avgPrice", "ticker.24hr", "ticker.tradingDay", "ticker", "ticker.price", "ticker.book", "account.status", "account.commission", "account.rateLimits.orders", "allOrders", "allOrderLists", "myTrades", "myPreventedMatches", "myAllocations", "v2/account.balance", "account.balance", "v2/account.status", "account.position", "v2/account.position", "order.place", "order.test", "order.status", "order.cancel", "order.cancelReplace", "order.amend.keepPriority", "order.modify", "openOrders.status", "openOrders.cancelAll", "algoOrder.place", "algoOrder.cancel", "orderList.place", "orderList.place.oco", "orderList.place.oto", "orderList.place.otoco", "orderList.place.opo", "orderList.place.opoco", "orderList.status", "orderList.cancel", "openOrderLists.status", "sor.order.place", "sor.order.test", "userDataStream.start", "userDataStream.ping", "userDataStream.stop", "userDataStream.subscribe", "userDataStream.subscribe.signature", "userDataStream.unsubscribe", "userDataStream.subscribe.listenToken"];
|
|
13
|
+
export declare const WS_API_Operations: readonly ["session.logon", "session.status", "session.logout", "ping", "time", "exchangeInfo", "depth", "trades.recent", "trades.historical", "trades.aggregate", "klines", "uiKlines", "avgPrice", "executionRules", "referencePrice", "referencePrice.calculation", "ticker.24hr", "ticker.tradingDay", "ticker", "ticker.price", "ticker.book", "account.status", "account.commission", "account.rateLimits.orders", "allOrders", "allOrderLists", "myTrades", "myPreventedMatches", "myAllocations", "v2/account.balance", "account.balance", "v2/account.status", "account.position", "v2/account.position", "order.place", "order.test", "order.status", "order.cancel", "order.cancelReplace", "order.amend.keepPriority", "order.modify", "openOrders.status", "openOrders.cancelAll", "algoOrder.place", "algoOrder.cancel", "orderList.place", "orderList.place.oco", "orderList.place.oto", "orderList.place.otoco", "orderList.place.opo", "orderList.place.opoco", "orderList.status", "orderList.cancel", "openOrderLists.status", "sor.order.place", "sor.order.test", "userDataStream.start", "userDataStream.ping", "userDataStream.stop", "userDataStream.subscribe", "userDataStream.subscribe.signature", "userDataStream.unsubscribe", "userDataStream.subscribe.listenToken"];
|
|
14
14
|
export interface WSAPIUserDataListenKeyRequest {
|
|
15
15
|
apiKey: string;
|
|
16
16
|
listenKey: string;
|
|
@@ -111,6 +111,9 @@ export interface WsAPITopicRequestParamMap<TWSKey = WsKey> {
|
|
|
111
111
|
klines: WSAPIKlinesRequest;
|
|
112
112
|
uiKlines: WSAPIKlinesRequest;
|
|
113
113
|
avgPrice: WSAPIAvgPriceRequest;
|
|
114
|
+
executionRules: void | WSAPIExecutionRulesRequest;
|
|
115
|
+
referencePrice: WSAPIReferencePriceRequest;
|
|
116
|
+
'referencePrice.calculation': WSAPIReferencePriceCalculationRequest;
|
|
114
117
|
'ticker.24hr': void | WSAPITicker24hrRequest;
|
|
115
118
|
'ticker.tradingDay': WSAPITickerTradingDayRequest;
|
|
116
119
|
ticker: WSAPITickerRequest;
|
|
@@ -247,6 +250,9 @@ export interface WsAPIOperationResponseMap {
|
|
|
247
250
|
klines: WSAPIResponse<WSAPIKline[]>;
|
|
248
251
|
uiKlines: WSAPIResponse<WSAPIKline[]>;
|
|
249
252
|
avgPrice: WSAPIResponse<WSAPIAvgPrice>;
|
|
253
|
+
executionRules: WSAPIResponse<SpotExecutionRulesResponse>;
|
|
254
|
+
referencePrice: WSAPIResponse<SpotReferencePriceResult>;
|
|
255
|
+
'referencePrice.calculation': WSAPIResponse<SpotReferencePriceCalculationResponse>;
|
|
250
256
|
'ticker.24hr': WSAPIResponse<WSAPIFullTicker | WSAPIMiniTicker | WSAPIFullTicker[] | WSAPIMiniTicker[]>;
|
|
251
257
|
'ticker.tradingDay': WSAPIResponse<WSAPIFullTicker | WSAPIMiniTicker | WSAPIFullTicker[] | WSAPIMiniTicker[]>;
|
|
252
258
|
ticker: WSAPIResponse<WSAPIFullTicker | WSAPIMiniTicker | WSAPIFullTicker[] | WSAPIMiniTicker[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ws-api.js","sourceRoot":"","sources":["../../../src/types/websockets/ws-api.ts"],"names":[],"mappings":";;;AAAA,yEAAyE;
|
|
1
|
+
{"version":3,"file":"ws-api.js","sourceRoot":"","sources":["../../../src/types/websockets/ws-api.ts"],"names":[],"mappings":";;;AAAA,yEAAyE;AAgHzE;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B,eAAe;IACf,gBAAgB;IAChB,gBAAgB;IAChB,qBAAqB;IACrB,MAAM;IACN,MAAM;IACN,cAAc;IACd,yBAAyB;IACzB,OAAO;IACP,eAAe;IACf,mBAAmB;IACnB,kBAAkB;IAClB,QAAQ;IACR,UAAU;IACV,UAAU;IACV,gBAAgB;IAChB,gBAAgB;IAChB,4BAA4B;IAC5B,aAAa;IACb,mBAAmB;IACnB,QAAQ;IACR,cAAc;IACd,aAAa;IACb,qBAAqB;IACrB,OAAO;IACP,gBAAgB;IAChB,oBAAoB;IACpB,2BAA2B;IAC3B,WAAW;IACX,eAAe;IACf,UAAU;IACV,oBAAoB;IACpB,eAAe;IACf,UAAU;IACV,oBAAoB;IACpB,iBAAiB;IACjB,mBAAmB;IACnB,kBAAkB;IAClB,qBAAqB;IACrB,qBAAqB;IACrB,aAAa;IACb,YAAY;IACZ,cAAc;IACd,cAAc;IACd,qBAAqB;IACrB,0BAA0B;IAC1B,cAAc;IACd,mBAAmB;IACnB,sBAAsB;IACtB,iBAAiB;IACjB,kBAAkB;IAClB,sBAAsB;IACtB,iBAAiB;IACjB,qBAAqB;IACrB,qBAAqB;IACrB,uBAAuB;IACvB,qBAAqB;IACrB,uBAAuB;IACvB,kBAAkB;IAClB,kBAAkB;IAClB,uBAAuB;IACvB,eAAe;IACf,iBAAiB;IACjB,gBAAgB;IAChB,mBAAmB;IACnB,sBAAsB;IACtB,qBAAqB;IACrB,qBAAqB;IACrB,0BAA0B;IAC1B,oCAAoC;IACpC,4BAA4B;IAC5B,sCAAsC;CAC9B,CAAC"}
|
|
@@ -230,6 +230,35 @@ export interface WsMessageSpotUserDataExecutionReportEventFormatted extends WsSh
|
|
|
230
230
|
orderQuoteQty: number;
|
|
231
231
|
workingTime: number;
|
|
232
232
|
selfTradePreventionMode: SelfTradePreventionMode;
|
|
233
|
+
expiryReason?: string;
|
|
234
|
+
trailingDelta?: number;
|
|
235
|
+
preventedMatchId?: number;
|
|
236
|
+
trailingTime?: number;
|
|
237
|
+
strategyId?: number;
|
|
238
|
+
strategyType?: number;
|
|
239
|
+
tradeGroupId?: number;
|
|
240
|
+
counterOrderId?: number;
|
|
241
|
+
preventedQuantity?: number;
|
|
242
|
+
lastPreventedQuantity?: number;
|
|
243
|
+
counterSymbol?: string;
|
|
244
|
+
preventedExecutionQuantity?: number;
|
|
245
|
+
preventedExecutionPrice?: number;
|
|
246
|
+
preventedExecutionQuoteQty?: number;
|
|
247
|
+
}
|
|
248
|
+
export interface WsMessagePortfolioMarginProAccountUpdateFormatted extends WsSharedBase {
|
|
249
|
+
eventType: 'PM_PRO_ACCOUNT_UPDATE';
|
|
250
|
+
eventTime: number;
|
|
251
|
+
uniMMR: number;
|
|
252
|
+
accountEquity: number;
|
|
253
|
+
actualEquity: number;
|
|
254
|
+
initialMargin: number;
|
|
255
|
+
maintenanceMargin: number;
|
|
256
|
+
availableBalance: number;
|
|
257
|
+
virtualMaxWithdraw: number;
|
|
258
|
+
}
|
|
259
|
+
export interface WsMessageWsapiServerShutdownFormatted extends WsSharedBase {
|
|
260
|
+
eventType: 'serverShutdown';
|
|
261
|
+
eventTime: number;
|
|
233
262
|
}
|
|
234
263
|
export interface OrderObjectFormatted {
|
|
235
264
|
symbol: string;
|
|
@@ -385,6 +414,8 @@ export interface WsMessageMarkPriceEventFormatted extends WsSharedBase {
|
|
|
385
414
|
eventTime: number;
|
|
386
415
|
symbol: string;
|
|
387
416
|
markPrice: number;
|
|
417
|
+
/** Mark price moving average (USDⓈ-M). */
|
|
418
|
+
markPriceMovingAverage?: number;
|
|
388
419
|
settlePriceEstimate: number;
|
|
389
420
|
indexPrice?: number;
|
|
390
421
|
/** Note this is in decimal format (e.g. 0.0004 === 0.04%). Multiply by 100 to get funding rate percent value */
|
|
@@ -491,6 +522,6 @@ export interface WsMessageFuturesUserDataAlgoUpdateFormatted extends WsSharedBas
|
|
|
491
522
|
}
|
|
492
523
|
export type WsMessageSpotUserDataEventFormatted = WsMessageSpotUserDataExecutionReportEventFormatted | WsMessageSpotOutboundAccountPositionFormatted | WsMessageSpotBalanceUpdateFormatted | WsMessageSpotUserDataListStatusEventFormatted;
|
|
493
524
|
export type WsMessageFuturesUserDataEventFormatted = WsMessageFuturesUserDataAccountUpdateFormatted | WsMessageFuturesUserDataListenKeyExpiredFormatted | WsMessageFuturesUserDataMarginCallFormatted | WsMessageFuturesUserDataTradeUpdateEventFormatted | WsMessageFuturesUserDataAlgoUpdateFormatted | WsMessageFuturesUserDataAccountConfigUpdateEventFormatted | WsMessageFuturesUserDataCondOrderTriggerRejectEventFormatted | WsMessageFuturesUserDataTradeLiteEventFormatted | WsMessageFuturesUserDataStrategyUpdateFormatted | WsMessageFuturesUserDataGridUpdateFormatted | WsMessageFuturesUserDataContractInfoFormatted;
|
|
494
|
-
export type WsUserDataEvents = WsMessageSpotUserDataEventFormatted | WsMessageFuturesUserDataEventFormatted;
|
|
495
|
-
export type WsFormattedMessage = WsUserDataEvents | WsMessageKlineFormatted | WsMessageAggTradeFormatted | WsMessageTradeFormatted | WsMessage24hrMiniTickerFormatted | WsMessage24hrTickerFormatted | WsMessageBookTickerEventFormatted | WsMessagePartialBookDepthEventFormatted | WsMessageDiffBookDepthEventFormatted | WsMessageIndexPriceUpdateEventFormatted | WsMessageMarkPriceEventFormatted | WsMessageForceOrderFormatted | WsMessage24hrMiniTickerFormatted[] | WsMessage24hrTickerFormatted[] | WsMessageRollingWindowTickerFormatted[] | WsMessageMarkPriceEventFormatted[];
|
|
525
|
+
export type WsUserDataEvents = WsMessageSpotUserDataEventFormatted | WsMessageFuturesUserDataEventFormatted | WsMessagePortfolioMarginProAccountUpdateFormatted;
|
|
526
|
+
export type WsFormattedMessage = WsUserDataEvents | WsMessageWsapiServerShutdownFormatted | WsMessageKlineFormatted | WsMessageAggTradeFormatted | WsMessageTradeFormatted | WsMessage24hrMiniTickerFormatted | WsMessage24hrTickerFormatted | WsMessageBookTickerEventFormatted | WsMessagePartialBookDepthEventFormatted | WsMessageDiffBookDepthEventFormatted | WsMessageIndexPriceUpdateEventFormatted | WsMessageMarkPriceEventFormatted | WsMessageForceOrderFormatted | WsMessage24hrMiniTickerFormatted[] | WsMessage24hrTickerFormatted[] | WsMessageRollingWindowTickerFormatted[] | WsMessageMarkPriceEventFormatted[];
|
|
496
527
|
export {};
|
|
@@ -190,6 +190,36 @@ export interface WsMessageSpotUserDataExecutionReportEventRaw extends WsSharedBa
|
|
|
190
190
|
Q: numberInString;
|
|
191
191
|
W: number;
|
|
192
192
|
V: SelfTradePreventionMode;
|
|
193
|
+
/** Expiry reason when present (user data executionReport). */
|
|
194
|
+
eR?: string;
|
|
195
|
+
d?: number;
|
|
196
|
+
v?: number;
|
|
197
|
+
D?: number;
|
|
198
|
+
j?: number;
|
|
199
|
+
J?: number;
|
|
200
|
+
u?: number;
|
|
201
|
+
U?: number;
|
|
202
|
+
A?: numberInString;
|
|
203
|
+
B?: numberInString;
|
|
204
|
+
Cs?: string;
|
|
205
|
+
pl?: numberInString;
|
|
206
|
+
pL?: numberInString;
|
|
207
|
+
pY?: numberInString;
|
|
208
|
+
}
|
|
209
|
+
export interface WsMessagePortfolioMarginProAccountUpdateRaw extends WsSharedBase {
|
|
210
|
+
e: 'PM_PRO_ACCOUNT_UPDATE';
|
|
211
|
+
E: number;
|
|
212
|
+
u: numberInString;
|
|
213
|
+
eq: numberInString;
|
|
214
|
+
ae: numberInString;
|
|
215
|
+
im: numberInString;
|
|
216
|
+
mm: numberInString;
|
|
217
|
+
avb: numberInString;
|
|
218
|
+
vmw: numberInString;
|
|
219
|
+
}
|
|
220
|
+
export interface WsMessageWsapiServerShutdownRaw extends WsSharedBase {
|
|
221
|
+
e: 'serverShutdown';
|
|
222
|
+
E: number;
|
|
193
223
|
}
|
|
194
224
|
export interface OrderObjectRaw {
|
|
195
225
|
s: string;
|
|
@@ -380,6 +410,8 @@ export interface WsMessageMarkPriceUpdateEventRaw extends WsSharedBase {
|
|
|
380
410
|
E: number;
|
|
381
411
|
s: string;
|
|
382
412
|
p: string;
|
|
413
|
+
/** Mark price moving average (USDⓈ-M mark price stream). */
|
|
414
|
+
ap?: string;
|
|
383
415
|
P: string;
|
|
384
416
|
i: string;
|
|
385
417
|
r: string;
|
|
@@ -453,6 +485,6 @@ export interface WsMessageFuturesUserDataContractInfoRaw extends WsSharedBase {
|
|
|
453
485
|
}
|
|
454
486
|
export type WsRawSpotUserDataEventRaw = WsMessageSpotUserDataExecutionReportEventRaw | WsMessageSpotOutboundAccountPositionRaw | WsMessageSpotBalanceUpdateRaw | WsMessageSpotUserDataListStatusEventRaw;
|
|
455
487
|
export type WsMessageFuturesUserDataEventRaw = WsMessageFuturesUserDataAccountUpdateRaw | WsMessageFuturesUserDataListenKeyExpiredRaw | WsMessageFuturesUserDataMarginCallRaw | WsMessageFuturesUserDataOrderTradeUpdateEventRaw | WsMessageFuturesUserDataAlgoUpdateRaw | WsMessageFuturesUserDataAccountConfigUpdateEventRaw | WsMessageFuturesUserDataCondOrderTriggerRejectEventRaw | WsMessageFuturesUserDataTradeLiteEventRaw | WsMessageFuturesUserDataStrategyUpdateRaw | WsMessageFuturesUserDataGridUpdateRaw | WsMessageFuturesUserDataContractInfoRaw;
|
|
456
|
-
export type WsUserDataEventsRaw = WsRawSpotUserDataEventRaw | WsMessageFuturesUserDataEventRaw;
|
|
457
|
-
export type WsRawMessage = WsEventStreamTerminatedRaw | WsUserDataEventsRaw | WsMessageKlineRaw | WsMessageAggTradeRaw | WsMessageTradeRaw | WsMessage24hrMiniTickerRaw | WsMessage24hrMiniTickerRaw[] | WsMessage24hrTickerRaw | WsMessage24hrTickerRaw[] | WsMessageRollingWindowTickerRaw[] | WsMessageBookTickerEventRaw | WsMessagePartialBookDepthEventRaw | WsMessageDiffBookDepthEventRaw | WsMessageForceOrderRaw | WsMessageIndexPriceUpdateEventRaw;
|
|
488
|
+
export type WsUserDataEventsRaw = WsRawSpotUserDataEventRaw | WsMessageFuturesUserDataEventRaw | WsMessagePortfolioMarginProAccountUpdateRaw;
|
|
489
|
+
export type WsRawMessage = WsEventStreamTerminatedRaw | WsMessageWsapiServerShutdownRaw | WsUserDataEventsRaw | WsMessageKlineRaw | WsMessageAggTradeRaw | WsMessageTradeRaw | WsMessage24hrMiniTickerRaw | WsMessage24hrMiniTickerRaw[] | WsMessage24hrTickerRaw | WsMessage24hrTickerRaw[] | WsMessageRollingWindowTickerRaw[] | WsMessageBookTickerEventRaw | WsMessagePartialBookDepthEventRaw | WsMessageDiffBookDepthEventRaw | WsMessageForceOrderRaw | WsMessageIndexPriceUpdateEventRaw;
|
|
458
490
|
export {};
|
|
@@ -217,6 +217,7 @@ export declare const BEAUTIFIER_EVENT_MAP: {
|
|
|
217
217
|
E: string;
|
|
218
218
|
s: string;
|
|
219
219
|
p: string;
|
|
220
|
+
ap: string;
|
|
220
221
|
i: string;
|
|
221
222
|
P: string;
|
|
222
223
|
r: string;
|
|
@@ -227,6 +228,7 @@ export declare const BEAUTIFIER_EVENT_MAP: {
|
|
|
227
228
|
E: string;
|
|
228
229
|
s: string;
|
|
229
230
|
p: string;
|
|
231
|
+
ap: string;
|
|
230
232
|
i: string;
|
|
231
233
|
P: string;
|
|
232
234
|
r: string;
|
|
@@ -238,6 +240,7 @@ export declare const BEAUTIFIER_EVENT_MAP: {
|
|
|
238
240
|
E: string;
|
|
239
241
|
s: string;
|
|
240
242
|
p: string;
|
|
243
|
+
ap: string;
|
|
241
244
|
i: string;
|
|
242
245
|
P: string;
|
|
243
246
|
r: string;
|
|
@@ -406,6 +409,10 @@ export declare const BEAUTIFIER_EVENT_MAP: {
|
|
|
406
409
|
e: string;
|
|
407
410
|
E: string;
|
|
408
411
|
};
|
|
412
|
+
serverShutdownEvent: {
|
|
413
|
+
e: string;
|
|
414
|
+
E: string;
|
|
415
|
+
};
|
|
409
416
|
updateData: {
|
|
410
417
|
m: string;
|
|
411
418
|
P: string;
|
|
@@ -468,6 +475,31 @@ export declare const BEAUTIFIER_EVENT_MAP: {
|
|
|
468
475
|
Q: string;
|
|
469
476
|
W: string;
|
|
470
477
|
V: string;
|
|
478
|
+
eR: string;
|
|
479
|
+
d: string;
|
|
480
|
+
v: string;
|
|
481
|
+
D: string;
|
|
482
|
+
j: string;
|
|
483
|
+
J: string;
|
|
484
|
+
u: string;
|
|
485
|
+
U: string;
|
|
486
|
+
A: string;
|
|
487
|
+
B: string;
|
|
488
|
+
Cs: string;
|
|
489
|
+
pl: string;
|
|
490
|
+
pL: string;
|
|
491
|
+
pY: string;
|
|
492
|
+
};
|
|
493
|
+
PM_PRO_ACCOUNT_UPDATEEvent: {
|
|
494
|
+
e: string;
|
|
495
|
+
E: string;
|
|
496
|
+
u: string;
|
|
497
|
+
eq: string;
|
|
498
|
+
ae: string;
|
|
499
|
+
im: string;
|
|
500
|
+
mm: string;
|
|
501
|
+
avb: string;
|
|
502
|
+
vmw: string;
|
|
471
503
|
};
|
|
472
504
|
tradeEvent: {
|
|
473
505
|
e: string;
|