/** * Structures data as returned by the API and consumed by the structures page */ interface Address { type: string, // type: 'ADDRESS_PRACTICE' | 'ADDRESS_OTHER' | 'ADDRESS_HEAD_OFFICE' | 'ADDRESS_CONTACT' | 'ADDRESS_BILL', latitude: number, longitude: number, streetAddress: string, postalCode: string, addressCity: string, country: string } interface Article { id: number, date: string, link: string, title: string } interface Structure { readonly id: number, name: string, logoId: string | null, principalType: string | null, website: string | null, mapAddress: Address | null, postalAddress: Address | null, addresses: Array
, telphone: string | null, mobilPhone: string | null, email: string | null, facebook: string | null, twitter: string | null, instagram: string | null, youtube: string | null, practices: Array, n1Id: number | null, n1Name: string | null, n2Id: number | null, n3Id: number | null, n4Id: number | null, n5Id: number | null, parents: Array, description: string | null, imageId: string | null, articles: Array
} interface Coordinates { latitude: number, longitude: number } /** * Items of the UiSearchAddress component */ interface UiSearchAddressItem { text: string, value: Coordinates, disabled?: boolean }