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