← Files TeleCallARCHIVED FILE
src/types/pricing.ts
679 Bytes · Sep 30, 2026 · 23:16 UTC
import { TeleCallProduct } from './product';
export interface PriceItem {
name: string;
monthly: number;
category: "base" | "additional_line" | "tv_addon" | "second_residence" | "discount";
detail?: string;
}
export interface PriceBreakdown {
baseProduct: TeleCallProduct;
basePrice: number;
additionalLines: Array<{
product: TeleCallProduct;
quantity: number;
priceEach: number;
total: number;
}>;
secondResidence?: {
product: TeleCallProduct;
price: number;
};
discounts: Array<{
concept: string;
amount: number;
}>;
totalMonthly: number;
postPromotionalMonthly?: number;
currency: "EUR";
items: PriceItem[];
}
SHA-256: c39e5653cca08eebd8e8cbf04b3bd065535bc6c669123c8cee98ea85e54b6324