feat(user): add methods to delete submember
This commit is contained in:
@@ -124,18 +124,3 @@ export interface WithdrawParamsV5 {
|
||||
forceChain?: number;
|
||||
accountType?: 'SPOT' | 'FUND';
|
||||
}
|
||||
|
||||
export interface CreateSubMemberParamsV5 {
|
||||
username: string;
|
||||
password?: string;
|
||||
/**
|
||||
* 1: normal, 6: custodial
|
||||
*/
|
||||
memberType: 1 | 6;
|
||||
/**
|
||||
* 0: quick login disabled (default), 1: quick login enabled
|
||||
*/
|
||||
switch?: 0 | 1;
|
||||
isUta?: boolean;
|
||||
note?: string;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
import { PermissionsV5 } from '../v5-shared';
|
||||
|
||||
|
||||
export interface CreateSubMemberParamsV5 {
|
||||
username: string;
|
||||
password?: string;
|
||||
/**
|
||||
* 1: normal, 6: custodial
|
||||
*/
|
||||
memberType: 1 | 6;
|
||||
/**
|
||||
* 0: quick login disabled (default), 1: quick login enabled
|
||||
*/
|
||||
switch?: 0 | 1;
|
||||
isUta?: boolean;
|
||||
note?: string;
|
||||
}
|
||||
|
||||
export interface CreateSubApiKeyParamsV5 {
|
||||
subuid: number;
|
||||
note?: string;
|
||||
@@ -19,3 +35,7 @@ export interface UpdateSubApiKeyUpdateParamsV5 {
|
||||
ips?: string[];
|
||||
permissions: PermissionsV5;
|
||||
}
|
||||
|
||||
export interface DeleteSubMemberParamsV5 {
|
||||
subMemberId: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user