export interface AegonLifeOfferings { pageHeader: PageHeader; pageContent: PageContent[]; } export interface Datum { type: string; id: string; links: PurpleLinks; status: boolean; title: string; path: Path; meta_tags: any[]; body: null; banner: PageHeader[]; components: Components; tag_name: TagName; } export interface PageHeader { type: string; id: string; links: PurpleLinks; banner_link: any[]; description: null; it_is_game: boolean; attach_modal_window: boolean; title: string; meta: BannerMeta; banner_image: TagName; modal_window: TagName; } export interface TagName { data: any[] | null; links: TagNameLinks; } export interface TagNameLinks { related: Self; self: Self; } export interface Self { href: string; } export interface PurpleLinks { self: Self; } export interface BannerMeta { target_revision_id: number; drupal_internal__target_id: number; } export interface Components { type: string; id: string; links: PurpleLinks; title: string; body: null; meta: ComponentsMeta; paragraphs: Paragraph[]; } export interface ComponentsMeta { drupal_internal__target_id: number; } export interface PageContent { type: string; id: string; links: PurpleLinks; status: boolean; title: string; path: Path; body: Body; link: Link; meta: ComponentsMeta; offering_type: OfferingType; paragraphs: Paragraph[]; } export interface Paragraph { type: string; id: string; links: PurpleLinks; meta: BannerMeta; content?: PageContent[]; item?: Item; } export interface Body { value: string; format: string; processed: string; summary?: string; } export interface Link { uri: string; title: string; options: Options; } export interface Options { attributes: Attributes; } export interface Attributes { class: string[]; } export interface OfferingType { type: string; id: string; links: PurpleLinks; name?: string; description: null; meta: ComponentsMeta; image?: Image; } export interface Image { type: string; id: string; links: FluffyLinks; filename: string; uri: URIClass; filemime: string; status: boolean; meta: FluffyMeta; } export interface FluffyLinks { coh_small: PurpleCohSmall; coh_xx_small: PurpleCohSmall; self: Self; } export interface PurpleCohSmall { href: string; meta: PurpleMeta; } export interface PurpleMeta { width: string; height: string; rel: string[]; } export interface FluffyMeta { alt: string; title: string; width: number; height: number; drupal_internal__target_id: number; imageDerivatives: ImageDerivatives; } export interface ImageDerivatives { links: ImageDerivativesLinks; } export interface ImageDerivativesLinks { coh_small: FluffyCohSmall; coh_xx_small: FluffyCohSmall; } export interface FluffyCohSmall { href: string; title: string; type: string; meta: TentacledMeta; } export interface TentacledMeta { rel: string; width: number; height: number; } export interface URIClass { value: string; url: string; } export interface Path { alias: null | string; pid: number | null; langcode: string; } export interface Item { type: string; id: string; links: PurpleLinks; subtitle: null; title: null; meta: BannerMeta; component: ItemComponent[]; image: TagName; tag: TagName; } export interface ItemComponent { type: string; id: string; links: PurpleLinks; link: Link | null; subtitle: Body | null; title: string; meta: BannerMeta; component: ComponentComponent[]; image: TagName; tag: TagName; } export interface ComponentComponent { type: string; id: string; links: PurpleLinks; description?: null; link?: Link; attach_modal_window: boolean; meta: BannerMeta; modal_window: TagName; title?: string; image?: OfferingType[]; } export interface Jsonapi { version: string; meta: JsonapiMeta; parsed: boolean; } export interface JsonapiMeta { links: PurpleLinks; } export interface AegonLifeOfferingsMeta { count: string; }