/* Backend validation currently undocumented can be found in code here: https://github.com/Financial-Times/newspaper-delivery-address-svc/blob/HEAD/newspaper-delivery-address-svc/src/main/java/com/ft/membership/deliveryaddress/validators/NewDeliveryAddressSpecification.java */ import { DeliveryAddress } from '../models/delivery-address'; export interface DeliveryAddressResponse extends DeliveryAddressMainInformation, DeliveryAddressNotes { } export interface DeliveryAddressMainInformation { id: string; userId: string; subscriptionNumber: string; line1: string; line2: string; line3: string; townCity: string; county: string; country: string; postcode: string; validDateFrom: string; validDateTo: string | null; addressType: string; company: string | null; poBox: boolean; } export interface DeliveryAddressNotes { deliveryNotes: string; securityNotes: string; } export interface DeliveryAddressIdResponse { addressId: string; } export interface currentAddressObject { default: DeliveryAddress | null; weekend: DeliveryAddress | null; }