import { PrivilegeWithAmount } from "@frontend/kitui"; import { PrivilegeWithoutPrice } from "./privilege"; type ServiceKey = string; export type CustomTariffUserValues = Record; export type CustomTariffUserValuesMap = Record; export type ServiceKeyToPriceMap = Record; export interface CustomTariff { name: string; price?: number; isCustom: boolean; privilegies: PrivilegeWithAmount[]; updatedAt?: string; isDeleted?: boolean; createdAt?: string; } export type CreateTariffBody = Omit & { privilegies: PrivilegeWithoutPrice[]; };