feat(accounts): Update third-party account binding and unbinding

This commit is contained in:
web@ppanel
2025-02-10 21:39:28 +07:00
parent 4198871eef
commit 1841552b1b
49 changed files with 124 additions and 79 deletions
+10 -20
View File
@@ -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;