| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- /**
- * 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<Address>,
- telphone: string | null,
- mobilPhone: string | null,
- email: string | null,
- facebook: string | null,
- twitter: string | null,
- instagram: string | null,
- youtube: string | null,
- practices: Array<string>,
- n1Id: number | null,
- n1Name: string | null,
- n2Id: number | null,
- n3Id: number | null,
- n4Id: number | null,
- n5Id: number | null,
- parents: Array<number>,
- description: string | null,
- imageId: string | null,
- articles: Array<Article>
- }
- interface Coordinates {
- latitude: number,
- longitude: number
- }
- /**
- * Items of the UiSearchAddress component
- */
- interface UiSearchAddressItem {
- text: string,
- value: Coordinates,
- disabled?: boolean
- }
|