import { RetailPriceInterface } from './retail-price.interface'; import * as e from '../enums'; export interface AddonKeyInterface { appId?: string; addonId?: string; quantity?: number; } export interface AppEnablementStatusesInterface { } export interface ContactFormActionInterface { } export interface DefaultActionInterface { } export interface ExternalUrlActionInterface { url?: string; } export interface LineItemInterface { id?: string; parentId?: string; quantity?: number; editionId?: string; price?: RetailPriceInterface; defaultCustomPrice?: number; } export interface LineItemsInterface { lineItems?: LineItemInterface[]; } export interface MarketActionInterface { default?: DefaultActionInterface; externalUrl?: ExternalUrlActionInterface; contactForm?: ContactFormActionInterface; orderForm?: OrderFormActionInterface; } export interface OrderFormActionInterface { } export interface PackageInterface { created?: Date; updated?: Date; archived?: Date; updatedBy?: string; packageId?: string; partnerId?: string; marketId?: string; name?: string; icon?: string; status?: e.StatusesStatus; headerImageUrl?: string; tagline?: string; content?: string; products?: string[]; hideProductDetails?: boolean; hideProductIconsAndNames?: boolean; pricing?: PricingInterface; normalizedAnnualPrice?: number; addonKeys?: AddonKeyInterface[]; productOrder?: string[]; lineItems?: LineItemsInterface; marketAction?: MarketActionInterface; usesBillingPricing?: boolean; pricingDisplayOption?: e.PricingDisplayOption; lineItemDisplayOption?: e.LineItemDisplayOption; } export interface PriceInterface { price?: number; frequency?: e.FrequenciesFrequency; isStartingPrice?: boolean; setupFee?: number; } export interface PricingInterface { currency?: e.CurrenciesCurrency; prices?: PriceInterface[]; price?: PriceInterface; } export interface StatusesInterface { }