✨ feat(sms): Update locales
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// @ts-ignore
|
||||
|
||||
|
||||
// API 更新时间:
|
||||
// API 唯一标识:
|
||||
import * as announcement from './announcement';
|
||||
|
||||
+21
-4
@@ -188,6 +188,8 @@ declare namespace API {
|
||||
|
||||
type CreateUserRequest = {
|
||||
email: string;
|
||||
telephone: string;
|
||||
telephone_area_code: string;
|
||||
password: string;
|
||||
product_id: number;
|
||||
duration: number;
|
||||
@@ -638,6 +640,7 @@ declare namespace API {
|
||||
enable_ip_register_limit: boolean;
|
||||
ip_register_limit: number;
|
||||
ip_register_limit_duration: number;
|
||||
sms: SmsAuthenticateConfig;
|
||||
};
|
||||
|
||||
type Response = {
|
||||
@@ -755,13 +758,17 @@ declare namespace API {
|
||||
created_at: number;
|
||||
};
|
||||
|
||||
type SmsAuthenticateConfig = {
|
||||
sms_enabled: boolean;
|
||||
sms_limit: number;
|
||||
sms_interval: number;
|
||||
sms_expire_time: number;
|
||||
};
|
||||
|
||||
type SmsConfig = {
|
||||
sms_enabled: boolean;
|
||||
sms_api_url: string;
|
||||
sms_api_foreign_url: string;
|
||||
sms_key: string;
|
||||
sms_secret: string;
|
||||
sms_region: string;
|
||||
sms_template: string;
|
||||
sms_template_code: string;
|
||||
sms_template_param: string;
|
||||
@@ -771,8 +778,14 @@ declare namespace API {
|
||||
sms_expire_time: number;
|
||||
};
|
||||
|
||||
type SmsPlatformInfo = {
|
||||
platform: string;
|
||||
platform_url: string;
|
||||
platform_field_description: Record<string, any>;
|
||||
};
|
||||
|
||||
type SmsPlatformResponse = {
|
||||
list: string[];
|
||||
list: SmsPlatformInfo[];
|
||||
};
|
||||
|
||||
type SortItem = {
|
||||
@@ -1078,6 +1091,8 @@ declare namespace API {
|
||||
id: number;
|
||||
email: string;
|
||||
password: string;
|
||||
telephone: string;
|
||||
telephone_area_code: string;
|
||||
avatar: string;
|
||||
balance: number;
|
||||
commission: number;
|
||||
@@ -1099,6 +1114,8 @@ declare namespace API {
|
||||
type User = {
|
||||
id: number;
|
||||
email: string;
|
||||
telephone: string;
|
||||
telephone_area_code: string;
|
||||
avatar: string;
|
||||
balance: number;
|
||||
commission: number;
|
||||
|
||||
+10
-3
@@ -228,6 +228,7 @@ declare namespace API {
|
||||
enable_ip_register_limit: boolean;
|
||||
ip_register_limit: number;
|
||||
ip_register_limit_duration: number;
|
||||
sms: SmsAuthenticateConfig;
|
||||
};
|
||||
|
||||
type ResetPasswordRequest = {
|
||||
@@ -318,13 +319,17 @@ declare namespace API {
|
||||
site_logo: string;
|
||||
};
|
||||
|
||||
type SmsAuthenticateConfig = {
|
||||
sms_enabled: boolean;
|
||||
sms_limit: number;
|
||||
sms_interval: number;
|
||||
sms_expire_time: number;
|
||||
};
|
||||
|
||||
type SmsConfig = {
|
||||
sms_enabled: boolean;
|
||||
sms_api_url: string;
|
||||
sms_api_foreign_url: string;
|
||||
sms_key: string;
|
||||
sms_secret: string;
|
||||
sms_region: string;
|
||||
sms_template: string;
|
||||
sms_template_code: string;
|
||||
sms_template_param: string;
|
||||
@@ -478,6 +483,8 @@ declare namespace API {
|
||||
type User = {
|
||||
id: number;
|
||||
email: string;
|
||||
telephone: string;
|
||||
telephone_area_code: string;
|
||||
avatar: string;
|
||||
balance: number;
|
||||
commission: number;
|
||||
|
||||
Reference in New Issue
Block a user