type AdminUserAttributes = { allowPasswordChange: boolean comment: string createdAt: string email: string firstname: string hubspotId: null | string isActive: boolean lastname: string phone: string provider: string restricted: boolean role: string uid: string updatedAt: string } type AdminUserRelationships = { houses: { data: { id: string; type: 'house' }[] meta: { destination_id: number } } } export type AdminUserUnserilized = { data: { id: string type: 'adminUser' attributes: AdminUserAttributes relationships: AdminUserRelationships } } export type AdminUser = AdminUserAttributes & { id: string destinationsIds: number[] // provide relationships housesIds: number[] // provide relationships } export type GoogleSignInResponse = { data: { allow_password_change: boolean auth_token: string comment: string | null email: string firebase_uuid: string firstname: string hubspot_id: string | null id: number is_active: boolean lastname: string login_token: string | null login_token_generated_at: string phone: string provider: 'google' restricted: boolean role: string slack_id: string | null sub_role: string uid: string } headers: Record }