feat: add demo device top-up flow
This commit is contained in:
@@ -778,31 +778,40 @@ export function applyPreviewMock(kind) {
|
||||
};
|
||||
DEV_MOCK.data.device_topup_options = {
|
||||
ok: true,
|
||||
enabled: true,
|
||||
tariff_key: "standard",
|
||||
tariff_name: "Стандарт",
|
||||
current_limit: 5,
|
||||
current_devices: 5,
|
||||
max_devices: 5,
|
||||
available_extra_devices: 3,
|
||||
extra_hwid_devices: 0,
|
||||
extra_hwid_devices_valid_until_text: "",
|
||||
renewal_available: false,
|
||||
renewal_recommended_count: 0,
|
||||
plans: [
|
||||
{
|
||||
id: "standard:hwid:1",
|
||||
tariff_key: "standard",
|
||||
tariff_name: "Стандарт",
|
||||
sale_mode: "hwid_device",
|
||||
sale_mode: "hwid_devices",
|
||||
purchased_hwid_devices: 1,
|
||||
price: 120,
|
||||
currency: "RUB",
|
||||
title: "+1 устройство",
|
||||
subtitle: "Стандарт",
|
||||
device_count: 1,
|
||||
},
|
||||
{
|
||||
id: "standard:hwid:3",
|
||||
tariff_key: "standard",
|
||||
tariff_name: "Стандарт",
|
||||
sale_mode: "hwid_device",
|
||||
sale_mode: "hwid_devices",
|
||||
purchased_hwid_devices: 3,
|
||||
price: 290,
|
||||
currency: "RUB",
|
||||
title: "+3 устройства",
|
||||
subtitle: "Стандарт",
|
||||
device_count: 3,
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user