This commit is contained in:
+32
@@ -106,6 +106,10 @@ declare namespace API {
|
||||
port: number;
|
||||
};
|
||||
|
||||
type ApproveWithdrawalRequest = {
|
||||
withdrawal_id: number;
|
||||
};
|
||||
|
||||
type AuthConfig = {
|
||||
mobile: MobileAuthenticateConfig;
|
||||
email: EmailAuthticateConfig;
|
||||
@@ -1154,6 +1158,18 @@ declare namespace API {
|
||||
list: User[];
|
||||
};
|
||||
|
||||
type GetWithdrawalListParams = {
|
||||
page: number;
|
||||
size: number;
|
||||
user_id?: number;
|
||||
status?: number;
|
||||
};
|
||||
|
||||
type GetWithdrawalListResponse = {
|
||||
total: number;
|
||||
list: WithdrawalLog[];
|
||||
};
|
||||
|
||||
type GetUserLoginLogsParams = {
|
||||
page: number;
|
||||
size: number;
|
||||
@@ -1756,6 +1772,11 @@ declare namespace API {
|
||||
total: number;
|
||||
};
|
||||
|
||||
type RejectWithdrawalRequest = {
|
||||
withdrawal_id: number;
|
||||
reason: string;
|
||||
};
|
||||
|
||||
type QuotaTask = {
|
||||
id: number;
|
||||
subscribers: number[];
|
||||
@@ -3064,4 +3085,15 @@ declare namespace API {
|
||||
}>;
|
||||
}>;
|
||||
};
|
||||
|
||||
type WithdrawalLog = {
|
||||
id: number;
|
||||
user_id: number;
|
||||
amount: number;
|
||||
content: string;
|
||||
status: number;
|
||||
reason?: string;
|
||||
created_at: number;
|
||||
updated_at: number;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user