@seamapi/types
Advanced tools
Comparing version 0.25.0 to 0.26.0
@@ -74,13 +74,3 @@ import { z } from 'zod'; | ||
}>, z.ZodUnion<[z.ZodObject<{ | ||
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>; | ||
temperature_celsius: z.ZodOptional<z.ZodNumber>; | ||
relative_humidity: z.ZodOptional<z.ZodNumber>; | ||
can_enable_automatic_heating: z.ZodOptional<z.ZodBoolean>; | ||
can_enable_automatic_cooling: z.ZodOptional<z.ZodBoolean>; | ||
available_hvac_mode_settings: z.ZodOptional<z.ZodArray<z.ZodEnum<["off", "heat", "cool", "heatcool"]>, "many">>; | ||
is_heating: z.ZodOptional<z.ZodBoolean>; | ||
is_cooling: z.ZodOptional<z.ZodBoolean>; | ||
is_fan_running: z.ZodOptional<z.ZodBoolean>; | ||
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>; | ||
current_climate_setting: z.ZodOptional<z.ZodObject<{ | ||
default_climate_setting: z.ZodOptional<z.ZodOptional<z.ZodObject<{ | ||
automatic_heating_enabled: z.ZodBoolean; | ||
@@ -97,3 +87,3 @@ automatic_cooling_enabled: z.ZodBoolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -107,3 +97,3 @@ cooling_set_point_celsius?: number | undefined; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -114,4 +104,14 @@ cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
}>>; | ||
default_climate_setting: z.ZodOptional<z.ZodOptional<z.ZodObject<{ | ||
}>>>; | ||
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>; | ||
temperature_celsius: z.ZodOptional<z.ZodNumber>; | ||
relative_humidity: z.ZodOptional<z.ZodNumber>; | ||
can_enable_automatic_heating: z.ZodOptional<z.ZodBoolean>; | ||
can_enable_automatic_cooling: z.ZodOptional<z.ZodBoolean>; | ||
available_hvac_mode_settings: z.ZodOptional<z.ZodArray<z.ZodEnum<["off", "heat", "cool", "heatcool"]>, "many">>; | ||
is_heating: z.ZodOptional<z.ZodBoolean>; | ||
is_cooling: z.ZodOptional<z.ZodBoolean>; | ||
is_fan_running: z.ZodOptional<z.ZodBoolean>; | ||
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>; | ||
current_climate_setting: z.ZodOptional<z.ZodObject<{ | ||
automatic_heating_enabled: z.ZodBoolean; | ||
@@ -128,3 +128,3 @@ automatic_cooling_enabled: z.ZodBoolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -138,3 +138,3 @@ cooling_set_point_celsius?: number | undefined; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -145,3 +145,3 @@ cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
}>>>; | ||
}>>; | ||
is_climate_setting_schedule_active: z.ZodOptional<z.ZodBoolean>; | ||
@@ -151,7 +151,7 @@ active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<{ | ||
created_at: z.ZodString; | ||
climate_setting_schedule_id: z.ZodString; | ||
schedule_type: z.ZodLiteral<"time_bound">; | ||
device_id: z.ZodString; | ||
schedule_starts_at: z.ZodString; | ||
schedule_ends_at: z.ZodString; | ||
climate_setting_schedule_id: z.ZodString; | ||
schedule_type: z.ZodLiteral<"time_bound">; | ||
automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>; | ||
@@ -167,11 +167,11 @@ automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>; | ||
created_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
device_id: string; | ||
schedule_starts_at: string; | ||
schedule_ends_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
name?: string | undefined; | ||
automatic_heating_enabled?: boolean | undefined; | ||
automatic_cooling_enabled?: boolean | undefined; | ||
hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined; | ||
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined; | ||
cooling_set_point_celsius?: number | undefined; | ||
@@ -184,11 +184,11 @@ heating_set_point_celsius?: number | undefined; | ||
created_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
device_id: string; | ||
schedule_starts_at: string; | ||
schedule_ends_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
name?: string | undefined; | ||
automatic_heating_enabled?: boolean | undefined; | ||
automatic_cooling_enabled?: boolean | undefined; | ||
hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined; | ||
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined; | ||
cooling_set_point_celsius?: number | undefined; | ||
@@ -213,2 +213,12 @@ heating_set_point_celsius?: number | undefined; | ||
}, "strip", z.ZodTypeAny, { | ||
default_climate_setting?: { | ||
automatic_heating_enabled: boolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_celsius?: number | undefined; | ||
cooling_set_point_fahrenheit?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
} | undefined; | ||
temperature_fahrenheit?: number | undefined; | ||
@@ -219,3 +229,3 @@ temperature_celsius?: number | undefined; | ||
can_enable_automatic_cooling?: boolean | undefined; | ||
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heatcool")[] | undefined; | ||
available_hvac_mode_settings?: ("cool" | "heat" | "off" | "heatcool")[] | undefined; | ||
is_heating?: boolean | undefined; | ||
@@ -228,3 +238,3 @@ is_cooling?: boolean | undefined; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -236,24 +246,14 @@ cooling_set_point_celsius?: number | undefined; | ||
} | undefined; | ||
default_climate_setting?: { | ||
automatic_heating_enabled: boolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_celsius?: number | undefined; | ||
cooling_set_point_fahrenheit?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
} | undefined; | ||
is_climate_setting_schedule_active?: boolean | undefined; | ||
active_climate_setting_schedule?: { | ||
created_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
device_id: string; | ||
schedule_starts_at: string; | ||
schedule_ends_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
name?: string | undefined; | ||
automatic_heating_enabled?: boolean | undefined; | ||
automatic_cooling_enabled?: boolean | undefined; | ||
hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined; | ||
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined; | ||
cooling_set_point_celsius?: number | undefined; | ||
@@ -278,2 +278,12 @@ heating_set_point_celsius?: number | undefined; | ||
}, { | ||
default_climate_setting?: { | ||
automatic_heating_enabled: boolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_celsius?: number | undefined; | ||
cooling_set_point_fahrenheit?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
} | undefined; | ||
temperature_fahrenheit?: number | undefined; | ||
@@ -284,3 +294,3 @@ temperature_celsius?: number | undefined; | ||
can_enable_automatic_cooling?: boolean | undefined; | ||
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heatcool")[] | undefined; | ||
available_hvac_mode_settings?: ("cool" | "heat" | "off" | "heatcool")[] | undefined; | ||
is_heating?: boolean | undefined; | ||
@@ -293,3 +303,3 @@ is_cooling?: boolean | undefined; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -301,24 +311,14 @@ cooling_set_point_celsius?: number | undefined; | ||
} | undefined; | ||
default_climate_setting?: { | ||
automatic_heating_enabled: boolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_celsius?: number | undefined; | ||
cooling_set_point_fahrenheit?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
} | undefined; | ||
is_climate_setting_schedule_active?: boolean | undefined; | ||
active_climate_setting_schedule?: { | ||
created_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
device_id: string; | ||
schedule_starts_at: string; | ||
schedule_ends_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
name?: string | undefined; | ||
automatic_heating_enabled?: boolean | undefined; | ||
automatic_cooling_enabled?: boolean | undefined; | ||
hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined; | ||
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined; | ||
cooling_set_point_celsius?: number | undefined; | ||
@@ -343,14 +343,3 @@ heating_set_point_celsius?: number | undefined; | ||
}>, z.ZodObject<{ | ||
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>; | ||
temperature_celsius: z.ZodOptional<z.ZodNumber>; | ||
relative_humidity: z.ZodOptional<z.ZodNumber>; | ||
can_enable_automatic_heating: z.ZodOptional<z.ZodBoolean>; | ||
can_enable_automatic_cooling: z.ZodOptional<z.ZodBoolean>; | ||
available_hvac_mode_settings: z.ZodOptional<z.ZodArray<z.ZodEnum<["off", "heat", "cool", "heatcool"]>, "many">>; | ||
is_cooling_available: z.ZodOptional<z.ZodLiteral<false>>; | ||
is_heating: z.ZodOptional<z.ZodBoolean>; | ||
is_cooling: z.ZodOptional<z.ZodBoolean>; | ||
is_fan_running: z.ZodOptional<z.ZodBoolean>; | ||
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>; | ||
current_climate_setting: z.ZodOptional<z.ZodObject<{ | ||
default_climate_setting: z.ZodOptional<z.ZodOptional<z.ZodObject<{ | ||
automatic_heating_enabled: z.ZodBoolean; | ||
@@ -367,3 +356,3 @@ automatic_cooling_enabled: z.ZodBoolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -377,3 +366,3 @@ cooling_set_point_celsius?: number | undefined; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -384,4 +373,15 @@ cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
}>>; | ||
default_climate_setting: z.ZodOptional<z.ZodOptional<z.ZodObject<{ | ||
}>>>; | ||
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>; | ||
temperature_celsius: z.ZodOptional<z.ZodNumber>; | ||
relative_humidity: z.ZodOptional<z.ZodNumber>; | ||
can_enable_automatic_heating: z.ZodOptional<z.ZodBoolean>; | ||
can_enable_automatic_cooling: z.ZodOptional<z.ZodBoolean>; | ||
available_hvac_mode_settings: z.ZodOptional<z.ZodArray<z.ZodEnum<["off", "heat", "cool", "heatcool"]>, "many">>; | ||
is_cooling_available: z.ZodOptional<z.ZodLiteral<false>>; | ||
is_heating: z.ZodOptional<z.ZodBoolean>; | ||
is_cooling: z.ZodOptional<z.ZodBoolean>; | ||
is_fan_running: z.ZodOptional<z.ZodBoolean>; | ||
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>; | ||
current_climate_setting: z.ZodOptional<z.ZodObject<{ | ||
automatic_heating_enabled: z.ZodBoolean; | ||
@@ -398,3 +398,3 @@ automatic_cooling_enabled: z.ZodBoolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -408,3 +408,3 @@ cooling_set_point_celsius?: number | undefined; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -415,3 +415,3 @@ cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
}>>>; | ||
}>>; | ||
is_climate_setting_schedule_active: z.ZodOptional<z.ZodBoolean>; | ||
@@ -421,7 +421,7 @@ active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<{ | ||
created_at: z.ZodString; | ||
climate_setting_schedule_id: z.ZodString; | ||
schedule_type: z.ZodLiteral<"time_bound">; | ||
device_id: z.ZodString; | ||
schedule_starts_at: z.ZodString; | ||
schedule_ends_at: z.ZodString; | ||
climate_setting_schedule_id: z.ZodString; | ||
schedule_type: z.ZodLiteral<"time_bound">; | ||
automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>; | ||
@@ -437,11 +437,11 @@ automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>; | ||
created_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
device_id: string; | ||
schedule_starts_at: string; | ||
schedule_ends_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
name?: string | undefined; | ||
automatic_heating_enabled?: boolean | undefined; | ||
automatic_cooling_enabled?: boolean | undefined; | ||
hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined; | ||
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined; | ||
cooling_set_point_celsius?: number | undefined; | ||
@@ -454,11 +454,11 @@ heating_set_point_celsius?: number | undefined; | ||
created_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
device_id: string; | ||
schedule_starts_at: string; | ||
schedule_ends_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
name?: string | undefined; | ||
automatic_heating_enabled?: boolean | undefined; | ||
automatic_cooling_enabled?: boolean | undefined; | ||
hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined; | ||
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined; | ||
cooling_set_point_celsius?: number | undefined; | ||
@@ -476,2 +476,12 @@ heating_set_point_celsius?: number | undefined; | ||
}, "strip", z.ZodTypeAny, { | ||
default_climate_setting?: { | ||
automatic_heating_enabled: boolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_celsius?: number | undefined; | ||
cooling_set_point_fahrenheit?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
} | undefined; | ||
temperature_fahrenheit?: number | undefined; | ||
@@ -482,3 +492,3 @@ temperature_celsius?: number | undefined; | ||
can_enable_automatic_cooling?: boolean | undefined; | ||
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heatcool")[] | undefined; | ||
available_hvac_mode_settings?: ("cool" | "heat" | "off" | "heatcool")[] | undefined; | ||
is_cooling_available?: false | undefined; | ||
@@ -492,3 +502,3 @@ is_heating?: boolean | undefined; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -500,24 +510,14 @@ cooling_set_point_celsius?: number | undefined; | ||
} | undefined; | ||
default_climate_setting?: { | ||
automatic_heating_enabled: boolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_celsius?: number | undefined; | ||
cooling_set_point_fahrenheit?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
} | undefined; | ||
is_climate_setting_schedule_active?: boolean | undefined; | ||
active_climate_setting_schedule?: { | ||
created_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
device_id: string; | ||
schedule_starts_at: string; | ||
schedule_ends_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
name?: string | undefined; | ||
automatic_heating_enabled?: boolean | undefined; | ||
automatic_cooling_enabled?: boolean | undefined; | ||
hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined; | ||
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined; | ||
cooling_set_point_celsius?: number | undefined; | ||
@@ -535,2 +535,12 @@ heating_set_point_celsius?: number | undefined; | ||
}, { | ||
default_climate_setting?: { | ||
automatic_heating_enabled: boolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_celsius?: number | undefined; | ||
cooling_set_point_fahrenheit?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
} | undefined; | ||
temperature_fahrenheit?: number | undefined; | ||
@@ -541,3 +551,3 @@ temperature_celsius?: number | undefined; | ||
can_enable_automatic_cooling?: boolean | undefined; | ||
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heatcool")[] | undefined; | ||
available_hvac_mode_settings?: ("cool" | "heat" | "off" | "heatcool")[] | undefined; | ||
is_cooling_available?: false | undefined; | ||
@@ -551,3 +561,3 @@ is_heating?: boolean | undefined; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -559,24 +569,14 @@ cooling_set_point_celsius?: number | undefined; | ||
} | undefined; | ||
default_climate_setting?: { | ||
automatic_heating_enabled: boolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_celsius?: number | undefined; | ||
cooling_set_point_fahrenheit?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
} | undefined; | ||
is_climate_setting_schedule_active?: boolean | undefined; | ||
active_climate_setting_schedule?: { | ||
created_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
device_id: string; | ||
schedule_starts_at: string; | ||
schedule_ends_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
name?: string | undefined; | ||
automatic_heating_enabled?: boolean | undefined; | ||
automatic_cooling_enabled?: boolean | undefined; | ||
hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined; | ||
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined; | ||
cooling_set_point_celsius?: number | undefined; | ||
@@ -594,14 +594,3 @@ heating_set_point_celsius?: number | undefined; | ||
}>, z.ZodObject<{ | ||
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>; | ||
temperature_celsius: z.ZodOptional<z.ZodNumber>; | ||
relative_humidity: z.ZodOptional<z.ZodNumber>; | ||
can_enable_automatic_heating: z.ZodOptional<z.ZodBoolean>; | ||
can_enable_automatic_cooling: z.ZodOptional<z.ZodBoolean>; | ||
available_hvac_mode_settings: z.ZodOptional<z.ZodArray<z.ZodEnum<["off", "heat", "cool", "heatcool"]>, "many">>; | ||
is_heating_available: z.ZodOptional<z.ZodLiteral<false>>; | ||
is_heating: z.ZodOptional<z.ZodBoolean>; | ||
is_cooling: z.ZodOptional<z.ZodBoolean>; | ||
is_fan_running: z.ZodOptional<z.ZodBoolean>; | ||
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>; | ||
current_climate_setting: z.ZodOptional<z.ZodObject<{ | ||
default_climate_setting: z.ZodOptional<z.ZodOptional<z.ZodObject<{ | ||
automatic_heating_enabled: z.ZodBoolean; | ||
@@ -618,3 +607,3 @@ automatic_cooling_enabled: z.ZodBoolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -628,3 +617,3 @@ cooling_set_point_celsius?: number | undefined; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -635,4 +624,15 @@ cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
}>>; | ||
default_climate_setting: z.ZodOptional<z.ZodOptional<z.ZodObject<{ | ||
}>>>; | ||
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>; | ||
temperature_celsius: z.ZodOptional<z.ZodNumber>; | ||
relative_humidity: z.ZodOptional<z.ZodNumber>; | ||
can_enable_automatic_heating: z.ZodOptional<z.ZodBoolean>; | ||
can_enable_automatic_cooling: z.ZodOptional<z.ZodBoolean>; | ||
available_hvac_mode_settings: z.ZodOptional<z.ZodArray<z.ZodEnum<["off", "heat", "cool", "heatcool"]>, "many">>; | ||
is_heating_available: z.ZodOptional<z.ZodLiteral<false>>; | ||
is_heating: z.ZodOptional<z.ZodBoolean>; | ||
is_cooling: z.ZodOptional<z.ZodBoolean>; | ||
is_fan_running: z.ZodOptional<z.ZodBoolean>; | ||
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>; | ||
current_climate_setting: z.ZodOptional<z.ZodObject<{ | ||
automatic_heating_enabled: z.ZodBoolean; | ||
@@ -649,3 +649,3 @@ automatic_cooling_enabled: z.ZodBoolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -659,3 +659,3 @@ cooling_set_point_celsius?: number | undefined; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -666,3 +666,3 @@ cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
}>>>; | ||
}>>; | ||
is_climate_setting_schedule_active: z.ZodOptional<z.ZodBoolean>; | ||
@@ -672,7 +672,7 @@ active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<{ | ||
created_at: z.ZodString; | ||
climate_setting_schedule_id: z.ZodString; | ||
schedule_type: z.ZodLiteral<"time_bound">; | ||
device_id: z.ZodString; | ||
schedule_starts_at: z.ZodString; | ||
schedule_ends_at: z.ZodString; | ||
climate_setting_schedule_id: z.ZodString; | ||
schedule_type: z.ZodLiteral<"time_bound">; | ||
automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>; | ||
@@ -688,11 +688,11 @@ automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>; | ||
created_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
device_id: string; | ||
schedule_starts_at: string; | ||
schedule_ends_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
name?: string | undefined; | ||
automatic_heating_enabled?: boolean | undefined; | ||
automatic_cooling_enabled?: boolean | undefined; | ||
hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined; | ||
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined; | ||
cooling_set_point_celsius?: number | undefined; | ||
@@ -705,11 +705,11 @@ heating_set_point_celsius?: number | undefined; | ||
created_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
device_id: string; | ||
schedule_starts_at: string; | ||
schedule_ends_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
name?: string | undefined; | ||
automatic_heating_enabled?: boolean | undefined; | ||
automatic_cooling_enabled?: boolean | undefined; | ||
hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined; | ||
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined; | ||
cooling_set_point_celsius?: number | undefined; | ||
@@ -727,2 +727,12 @@ heating_set_point_celsius?: number | undefined; | ||
}, "strip", z.ZodTypeAny, { | ||
default_climate_setting?: { | ||
automatic_heating_enabled: boolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_celsius?: number | undefined; | ||
cooling_set_point_fahrenheit?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
} | undefined; | ||
temperature_fahrenheit?: number | undefined; | ||
@@ -733,3 +743,3 @@ temperature_celsius?: number | undefined; | ||
can_enable_automatic_cooling?: boolean | undefined; | ||
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heatcool")[] | undefined; | ||
available_hvac_mode_settings?: ("cool" | "heat" | "off" | "heatcool")[] | undefined; | ||
is_heating_available?: false | undefined; | ||
@@ -743,3 +753,3 @@ is_heating?: boolean | undefined; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -751,24 +761,14 @@ cooling_set_point_celsius?: number | undefined; | ||
} | undefined; | ||
default_climate_setting?: { | ||
automatic_heating_enabled: boolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_celsius?: number | undefined; | ||
cooling_set_point_fahrenheit?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
} | undefined; | ||
is_climate_setting_schedule_active?: boolean | undefined; | ||
active_climate_setting_schedule?: { | ||
created_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
device_id: string; | ||
schedule_starts_at: string; | ||
schedule_ends_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
name?: string | undefined; | ||
automatic_heating_enabled?: boolean | undefined; | ||
automatic_cooling_enabled?: boolean | undefined; | ||
hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined; | ||
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined; | ||
cooling_set_point_celsius?: number | undefined; | ||
@@ -786,2 +786,12 @@ heating_set_point_celsius?: number | undefined; | ||
}, { | ||
default_climate_setting?: { | ||
automatic_heating_enabled: boolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_celsius?: number | undefined; | ||
cooling_set_point_fahrenheit?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
} | undefined; | ||
temperature_fahrenheit?: number | undefined; | ||
@@ -792,3 +802,3 @@ temperature_celsius?: number | undefined; | ||
can_enable_automatic_cooling?: boolean | undefined; | ||
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heatcool")[] | undefined; | ||
available_hvac_mode_settings?: ("cool" | "heat" | "off" | "heatcool")[] | undefined; | ||
is_heating_available?: false | undefined; | ||
@@ -802,3 +812,3 @@ is_heating?: boolean | undefined; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
@@ -810,24 +820,14 @@ cooling_set_point_celsius?: number | undefined; | ||
} | undefined; | ||
default_climate_setting?: { | ||
automatic_heating_enabled: boolean; | ||
automatic_cooling_enabled: boolean; | ||
hvac_mode_setting: "off" | "heat" | "cool" | "heatcool"; | ||
manual_override_allowed: boolean; | ||
cooling_set_point_celsius?: number | undefined; | ||
heating_set_point_celsius?: number | undefined; | ||
cooling_set_point_fahrenheit?: number | undefined; | ||
heating_set_point_fahrenheit?: number | undefined; | ||
} | undefined; | ||
is_climate_setting_schedule_active?: boolean | undefined; | ||
active_climate_setting_schedule?: { | ||
created_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
device_id: string; | ||
schedule_starts_at: string; | ||
schedule_ends_at: string; | ||
climate_setting_schedule_id: string; | ||
schedule_type: "time_bound"; | ||
name?: string | undefined; | ||
automatic_heating_enabled?: boolean | undefined; | ||
automatic_cooling_enabled?: boolean | undefined; | ||
hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined; | ||
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined; | ||
cooling_set_point_celsius?: number | undefined; | ||
@@ -834,0 +834,0 @@ heating_set_point_celsius?: number | undefined; |
@@ -380,7 +380,7 @@ import { z } from 'zod'; | ||
device_num: number; | ||
unlock_method?: "bridge" | "doorking" | undefined; | ||
unlock_method?: "doorking" | "bridge" | undefined; | ||
}, { | ||
name: string; | ||
device_num: number; | ||
unlock_method?: "bridge" | "doorking" | undefined; | ||
unlock_method?: "doorking" | "bridge" | undefined; | ||
}>>; | ||
@@ -553,3 +553,3 @@ igloohome_metadata: z.ZodOptional<z.ZodObject<{ | ||
device_num: number; | ||
unlock_method?: "bridge" | "doorking" | undefined; | ||
unlock_method?: "doorking" | "bridge" | undefined; | ||
} | undefined; | ||
@@ -690,3 +690,3 @@ igloohome_metadata?: { | ||
device_num: number; | ||
unlock_method?: "bridge" | "doorking" | undefined; | ||
unlock_method?: "doorking" | "bridge" | undefined; | ||
} | undefined; | ||
@@ -693,0 +693,0 @@ igloohome_metadata?: { |
@@ -7,3 +7,3 @@ import { z } from 'zod'; | ||
device_id: z.ZodString; | ||
device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat"]>]>; | ||
device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "avigilon_alta_entry"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat"]>]>; | ||
capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery"]>, "many">; | ||
@@ -73,4 +73,3 @@ errors: z.ZodArray<z.ZodObject<{ | ||
device_id: string; | ||
device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat"; | ||
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[]; | ||
is_managed: false; | ||
properties: { | ||
@@ -87,2 +86,4 @@ name: string; | ||
}; | ||
device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat" | "avigilon_alta_entry"; | ||
capabilities_supported: ("access_code" | "thermostat" | "lock" | "noise_detection" | "battery")[]; | ||
errors: { | ||
@@ -96,3 +97,2 @@ message: string; | ||
}[]; | ||
is_managed: false; | ||
}, { | ||
@@ -103,4 +103,3 @@ connected_account_id: string; | ||
device_id: string; | ||
device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat"; | ||
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[]; | ||
is_managed: false; | ||
properties: { | ||
@@ -117,2 +116,4 @@ name: string; | ||
}; | ||
device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat" | "avigilon_alta_entry"; | ||
capabilities_supported: ("access_code" | "thermostat" | "lock" | "noise_detection" | "battery")[]; | ||
errors: { | ||
@@ -126,4 +127,3 @@ message: string; | ||
}[]; | ||
is_managed: false; | ||
}>; | ||
export type UnmanagedDevice = z.infer<typeof unmanaged_device>; |
{ | ||
"name": "@seamapi/types", | ||
"version": "0.25.0", | ||
"version": "0.26.0", | ||
"description": "TypeScript types for the Seam API.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2409135
40234