Update successNotification.ts

This commit is contained in:
Egor
2026-01-31 20:47:23 +03:00
committed by GitHub
parent 1d6450fd3b
commit bb212ddfe1

View File

@@ -6,7 +6,8 @@ export type SuccessNotificationType =
| 'subscription_activated' | 'subscription_activated'
| 'subscription_renewed' | 'subscription_renewed'
| 'subscription_purchased' | 'subscription_purchased'
| 'devices_purchased'; | 'devices_purchased'
| 'traffic_purchased';
export interface SuccessNotificationData { export interface SuccessNotificationData {
type: SuccessNotificationType; type: SuccessNotificationType;
@@ -26,6 +27,10 @@ export interface SuccessNotificationData {
devicesAdded?: number; devicesAdded?: number;
/** New total device limit */ /** New total device limit */
newDeviceLimit?: number; newDeviceLimit?: number;
/** Traffic GB added */
trafficGbAdded?: number;
/** New total traffic limit in GB */
newTrafficLimitGb?: number;
} }
interface SuccessNotificationState { interface SuccessNotificationState {