| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- /**
- * 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 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,
- 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<{id: number, title: string, date: string, link: string}>
- }
- interface Coordinates {
- latitude: number,
- longitude: number
- }
- /**
- * Items of the UiSearchAddress component
- */
- interface UiSearchAddressItem {
- text: string,
- value: Coordinates,
- disabled?: boolean
- }
|