mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
Update tariffs.ts
This commit is contained in:
@@ -83,6 +83,8 @@ export interface TariffDetail {
|
||||
// Дневной тариф
|
||||
is_daily: boolean
|
||||
daily_price_kopeks: number
|
||||
// Режим сброса трафика
|
||||
traffic_reset_mode: string | null // 'DAY', 'WEEK', 'MONTH', 'NO_RESET', null = глобальная настройка
|
||||
created_at: string
|
||||
updated_at: string | null
|
||||
}
|
||||
@@ -117,6 +119,8 @@ export interface TariffCreateRequest {
|
||||
// Дневной тариф
|
||||
is_daily?: boolean
|
||||
daily_price_kopeks?: number
|
||||
// Режим сброса трафика
|
||||
traffic_reset_mode?: string | null
|
||||
}
|
||||
|
||||
export interface TariffUpdateRequest {
|
||||
@@ -150,6 +154,8 @@ export interface TariffUpdateRequest {
|
||||
// Дневной тариф
|
||||
is_daily?: boolean
|
||||
daily_price_kopeks?: number
|
||||
// Режим сброса трафика
|
||||
traffic_reset_mode?: string | null
|
||||
}
|
||||
|
||||
export interface TariffToggleResponse {
|
||||
|
||||
Reference in New Issue
Block a user