export type Pool = { alarmDeactivationCode: string | null alarmDeactivationType: string | null depthMax: number | null depthMin: number | null equipmentId: string heater: string heaterComment: string | null heaterTemperature: number | null id: string length: number | null options: string[] poolType: string security: string surface: number | null treatment: string type: 'pool' width: number | null } export type PoolPayload = { pool: { alarm_deactivation_code: string | null alarm_deactivation_type: string | null depth_max: number depth_min: number heater_comment: string | null heater_temperature: number | null heater: string length: number options: string[] pool_type: string security: string surface: number treatment: string width: number } }