✨ feat(accounts): Update third-party account binding and unbinding
This commit is contained in:
Vendored
+10
-20
@@ -70,16 +70,6 @@ declare namespace API {
|
||||
enabled: boolean;
|
||||
};
|
||||
|
||||
type BindEmailRequest = {
|
||||
email: string;
|
||||
};
|
||||
|
||||
type BindMobileRequest = {
|
||||
area_code: string;
|
||||
mobile: string;
|
||||
code: string;
|
||||
};
|
||||
|
||||
type BindOAuthCallbackRequest = {
|
||||
method: string;
|
||||
callback: Record<string, any>;
|
||||
@@ -99,16 +89,6 @@ declare namespace API {
|
||||
expired_at: number;
|
||||
};
|
||||
|
||||
type ChangebindEmailRequest = {
|
||||
email: string;
|
||||
};
|
||||
|
||||
type ChangebindMobileRequest = {
|
||||
area_code: string;
|
||||
mobile: string;
|
||||
code: string;
|
||||
};
|
||||
|
||||
type CheckoutOrderRequest = {
|
||||
orderNo: string;
|
||||
};
|
||||
@@ -748,6 +728,16 @@ declare namespace API {
|
||||
id: number;
|
||||
};
|
||||
|
||||
type UpdateBindEmailRequest = {
|
||||
email: string;
|
||||
};
|
||||
|
||||
type UpdateBindMobileRequest = {
|
||||
area_code: string;
|
||||
mobile: string;
|
||||
code: string;
|
||||
};
|
||||
|
||||
type UpdateUserNotifyRequest = {
|
||||
enable_email_notify: boolean;
|
||||
enable_telegram_notify: boolean;
|
||||
|
||||
Reference in New Issue
Block a user