add e2e tests for v5 REST client. Fix competing tests.
This commit is contained in:
@@ -71,18 +71,6 @@ export interface GetUniversalTransferRecordsParamsV5 {
|
||||
cursor?: string;
|
||||
}
|
||||
|
||||
export interface UniversalTransferRecordV5 {
|
||||
transferId: string;
|
||||
coin: string;
|
||||
amount: string;
|
||||
fromMemberId: string;
|
||||
toMemberId: string;
|
||||
fromAccountType: AccountTypeV5;
|
||||
toAccountType: AccountTypeV5;
|
||||
timestamp: string;
|
||||
status: string;
|
||||
}
|
||||
|
||||
export interface GetAllowedDepositCoinInfoParamsV5 {
|
||||
coin?: string;
|
||||
chain?: string;
|
||||
@@ -123,7 +111,6 @@ export interface WithdrawParamsV5 {
|
||||
address: string;
|
||||
tag?: string;
|
||||
amount: string;
|
||||
timestamp: number;
|
||||
forceChain?: number;
|
||||
accountType?: 'SPOT' | 'FUND';
|
||||
}
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
import { CategoryV5, ExecTypeV5, PositionIdx, TPSLModeV5 } from '../v5-shared';
|
||||
import {
|
||||
CategoryV5,
|
||||
ExecTypeV5,
|
||||
OrderTriggerByV5,
|
||||
PositionIdx,
|
||||
TPSLModeV5,
|
||||
} from '../v5-shared';
|
||||
|
||||
export interface PositionInfoParamsV5 {
|
||||
category: CategoryV5;
|
||||
@@ -50,8 +56,8 @@ export interface SetTradingStopParamsV5 {
|
||||
takeProfit?: string;
|
||||
stopLoss?: string;
|
||||
trailingStop?: string;
|
||||
tpTriggerBy?: string;
|
||||
slTriggerBy?: string;
|
||||
tpTriggerBy?: OrderTriggerByV5;
|
||||
slTriggerBy?: OrderTriggerByV5;
|
||||
activePrice?: string;
|
||||
tpSize?: string;
|
||||
slSize?: string;
|
||||
|
||||
@@ -79,6 +79,18 @@ export interface InternalTransferRecordV5 {
|
||||
status: string;
|
||||
}
|
||||
|
||||
export interface UniversalTransferRecordV5 {
|
||||
transferId: string;
|
||||
coin: string;
|
||||
amount: string;
|
||||
fromMemberId: string;
|
||||
toMemberId: string;
|
||||
fromAccountType: AccountTypeV5;
|
||||
toAccountType: AccountTypeV5;
|
||||
timestamp: string;
|
||||
status: string;
|
||||
}
|
||||
|
||||
export interface AllowedDepositCoinInfoV5 {
|
||||
coin: string;
|
||||
chain: string;
|
||||
|
||||
Reference in New Issue
Block a user