feat(notify): add platform/ID to quota alert email, add recharge URL to balance alert
- Quota alert email now shows account ID and platform - Balance low email includes a "Top Up Now" button when recharge URL is configured - New setting: balance_low_notify_recharge_url in admin settings
This commit is contained in:
@@ -138,6 +138,7 @@ export interface SystemSettings {
|
||||
// Balance & quota notification
|
||||
balance_low_notify_enabled: boolean
|
||||
balance_low_notify_threshold: number
|
||||
balance_low_notify_recharge_url: string
|
||||
account_quota_notify_enabled: boolean
|
||||
account_quota_notify_emails: NotifyEmailEntry[]
|
||||
}
|
||||
@@ -242,6 +243,7 @@ export interface UpdateSettingsRequest {
|
||||
// Balance & quota notification
|
||||
balance_low_notify_enabled?: boolean
|
||||
balance_low_notify_threshold?: number
|
||||
balance_low_notify_recharge_url?: string
|
||||
account_quota_notify_enabled?: boolean
|
||||
account_quota_notify_emails?: NotifyEmailEntry[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user