1 import { PLANS, PLAN_TYPES } from '@proton/payments';
2 import { CYCLE } from '@proton/shared/lib/constants';
3 import { External, Renew, type SubscriptionModel } from '@proton/shared/lib/interfaces';
5 export const buildSubscription = (value?: Partial<SubscriptionModel>): SubscriptionModel => {
7 ID: 'subscriptionId123',
8 InvoiceID: 'invoiceId123',
10 PeriodStart: 1685966060,
11 PeriodEnd: 1717588460,
12 CreateTime: 1685966060,
20 External: External.Default,
25 Type: PLAN_TYPES.PLAN,
26 Title: 'Proton Unlimited',
30 MaxSpace: 536870912000,
44 isManagedByMozilla: false,