import { IError } from '../general/general'; export interface IAccumulator { balance: number; name: string; units: string; } export interface IAccountAddOn { id: string; type: string; renewable: boolean; sequentialId: number; } export interface IUserAccount { mdn: string; imei?: string; userId: string; uan?: number; id: string; dataRemaining?: IAccumulator; internationalSMS?: IAccumulator; internationalMinutes?: IAccumulator; messages?: IAccumulator; minutes?: IAccumulator; MMS?: IAccumulator; voiceMessages?: IAccumulator; iccid?: string; pin?: string; plan?: { bundleId: string; renewDate: string; renewDaysLeft: number; paymentAmount: number; status: string; expired: boolean; }; activeAddOns: IAccountAddOn[]; techType?: string; activatedSim?: boolean; billingRenewalPaid: boolean; billingRenewalFailed: boolean; billingRenewalPaymentDate: string; billingRenewDaysLeft: number; activationDate: string; trialDaysLeft: number; pastDue: boolean; error?: IError; hasPendingChanges?: boolean; rewards?: { earned: number; available: number; }; canceled: boolean; accountBalance: number; }