export interface IAddress { id?: string; isDefault?: boolean; profileId?: string; formattedAddress?: string; createdAt?: string; createdBy?: string; updatedBy?: string; updatedAt?: string; address1?: string; address2?: string; city?: string; country?: string; state?: string; postalCode?: string; main_text?: string; name?: string; components?: Array; addresses?: IAddress[]; billingName?: string; } export interface IAutoCompleteAddressComponents { longName: string; shortName: string; types: Array; } export interface IShipmentValidity { locality: string; administrative_area_level_1: string; postalCode: string; address1: string; } export interface IShipmentEstimation { serviceType?: string; originZip?: string; destinationZip?: string; days?: string; } export interface ITrackEvent { eventTime: string; eventDate: string; event: string; eventCity: string; eventState: string; eventZIPCode: string; eventCountry: string; firmName: string; name: string; authorizedAgent: boolean; eventCode: string; } export interface IShipmentTracking { trackInfo: { class: string; classOfMailCode: string; destinationCity: string; destinationState: string; destinationZip: string; emailEnabled: boolean; kahalaIndicator: boolean; mailTypeCode: string; mPDATE: string; mPSUFFIX: string; originCity: string; originState: string; originZip: string; podEnabled: boolean; tPodEnabled: boolean; restoreEnabled: boolean; rramEnabled: boolean; rreEnabled: boolean; service: string; serviceTypeCode: string; status: string; statusCategory: string; statusSummary: string; tABLECODE: string; trackSummary: ITrackEvent; trackDetail: ITrackEvent[]; }; } export interface IAddresses { meta: { count: number; }; addresses: Array; }