Variable device_model_v1Const
device_model_v1: ZodIntersection<ZodObject<{
aesthetic_variants: ZodArray<ZodObject<{
back_image: ZodOptional<ZodObject<{
height: ZodNumber;
url: ZodString;
width: ZodNumber;
}, "strip", ZodTypeAny, {
height: number;
url: string;
width: number;
}, {
height: number;
url: string;
width: number;
}>>;
display_name: ZodString;
front_image: ZodOptional<ZodObject<{
height: ZodNumber;
url: ZodString;
width: ZodNumber;
}, "strip", ZodTypeAny, {
height: number;
url: string;
width: number;
}, {
height: number;
url: string;
width: number;
}>>;
images: ZodArray<ZodObject<{
height: ZodNumber;
url: ZodString;
width: ZodNumber;
}, "strip", ZodTypeAny, {
height: number;
url: string;
width: number;
}, {
height: number;
url: string;
width: number;
}>, "many">;
manufacturer_sku: ZodOptional<ZodString>;
primary_color_hex: ZodOptional<ZodString>;
slug: ZodString;
}, "strip", ZodTypeAny, {
back_image?: { height: number; width: number; url: string; };
display_name: string;
front_image?: { height: number; width: number; url: string; };
images: ({ height: number; width: number; url: string; })[];
manufacturer_sku?: string;
primary_color_hex?: string;
slug: string;
}, {
back_image?: { height: number; width: number; url: string; };
display_name: string;
front_image?: { height: number; width: number; url: string; };
images: ({ height: number; width: number; url: string; })[];
manufacturer_sku?: string;
primary_color_hex?: string;
slug: string;
}>, "many">;
description: ZodString;
device_model_id: ZodString;
display_name: ZodString;
is_device_supported: ZodBoolean;
main_connection_type: ZodEnum<["wifi", "zwave", "zigbee", "unknown"]>;
manufacturer: ZodObject<Omit<{
device_model_count: ZodNumber;
display_name: ZodString;
integration: ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
is_connect_webview_supported: ZodBoolean;
logo: ZodOptional<ZodObject<{
height: ZodNumber;
url: ZodString;
width: ZodNumber;
}, "strip", ZodTypeAny, {
height: number;
url: string;
width: number;
}, {
height: number;
url: string;
width: number;
}>>;
manufacturer_id: ZodString;
requires_seam_support_to_add_account: ZodBoolean;
}, "device_model_count">, "strip", ZodTypeAny, {
display_name: string;
integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
is_connect_webview_supported: boolean;
logo?: {
height: number;
url: string;
width: number;
};
manufacturer_id: string;
requires_seam_support_to_add_account: boolean;
}, {
display_name: string;
integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
is_connect_webview_supported: boolean;
logo?: {
height: number;
url: string;
width: number;
};
manufacturer_id: string;
requires_seam_support_to_add_account: boolean;
}>;
power_sources: ZodArray<ZodEnum<["battery", "hardwired", "mechanical_harvesting", "wireless", "ethernet"]>, "many">;
product_url: ZodOptional<ZodString>;
}, "strip", ZodTypeAny, {
aesthetic_variants: ({ display_name: string; slug: string; images: { height: number; width: number; url: string; }[]; primary_color_hex?: string | undefined; manufacturer_sku?: string | undefined; front_image?: { ...; } | undefined; back_image?: { ...; } | undefined; })[];
description: string;
device_model_id: string;
display_name: string;
is_device_supported: boolean;
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
manufacturer: {
display_name: string;
integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
is_connect_webview_supported: boolean;
logo?: { height: number; width: number; url: string; };
manufacturer_id: string;
requires_seam_support_to_add_account: boolean;
};
power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
product_url?: string;
}, {
aesthetic_variants: ({ display_name: string; slug: string; images: { height: number; width: number; url: string; }[]; primary_color_hex?: string | undefined; manufacturer_sku?: string | undefined; front_image?: { ...; } | undefined; back_image?: { ...; } | undefined; })[];
description: string;
device_model_id: string;
display_name: string;
is_device_supported: boolean;
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
manufacturer: {
display_name: string;
integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
is_connect_webview_supported: boolean;
logo?: { height: number; width: number; url: string; };
manufacturer_id: string;
requires_seam_support_to_add_account: boolean;
};
power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
product_url?: string;
}>, ZodDiscriminatedUnion<"main_category", [ZodObject<{
main_category: ZodLiteral<"smartlock">;
physical_properties: ZodObject<{
has_camera: ZodBoolean;
has_physical_key: ZodBoolean;
lock_type: ZodEnum<["deadbolt", "lever", "mortise", "lockbox", "cylinder", "padlock", "locker", "unknown"]>;
}, "strip", ZodTypeAny, {
has_camera: boolean;
has_physical_key: boolean;
lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
}, {
has_camera: boolean;
has_physical_key: boolean;
lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
}>;
software_features: ZodObject<{
can_program_access_codes: ZodBoolean;
can_program_access_codes_offline: ZodBoolean;
can_program_access_schedules: ZodBoolean;
can_remotely_unlock: ZodBoolean;
}, "strip", ZodTypeAny, {
can_program_access_codes: boolean;
can_program_access_codes_offline: boolean;
can_program_access_schedules: boolean;
can_remotely_unlock: boolean;
}, {
can_program_access_codes: boolean;
can_program_access_codes_offline: boolean;
can_program_access_schedules: boolean;
can_remotely_unlock: boolean;
}>;
}, "strip", ZodTypeAny, {
main_category: "smartlock";
physical_properties: { lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker"; has_physical_key: boolean; has_camera: boolean; };
software_features: { can_remotely_unlock: boolean; can_program_access_codes: boolean; can_program_access_schedules: boolean; can_program_access_codes_offline: boolean; };
}, {
main_category: "smartlock";
physical_properties: { lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker"; has_physical_key: boolean; has_camera: boolean; };
software_features: { can_remotely_unlock: boolean; can_program_access_codes: boolean; can_program_access_schedules: boolean; can_program_access_codes_offline: boolean; };
}>, ZodObject<{
main_category: ZodLiteral<"sensor">;
physical_properties: ZodObject<{
has_humidity_sensor: ZodBoolean;
has_noise_sensor: ZodBoolean;
has_occupancy_detection: ZodBoolean;
has_temperature_sensor: ZodBoolean;
}, "strip", ZodTypeAny, {
has_humidity_sensor: boolean;
has_noise_sensor: boolean;
has_occupancy_detection: boolean;
has_temperature_sensor: boolean;
}, {
has_humidity_sensor: boolean;
has_noise_sensor: boolean;
has_occupancy_detection: boolean;
has_temperature_sensor: boolean;
}>;
}, "strip", ZodTypeAny, {
main_category: "sensor";
physical_properties: { has_noise_sensor: boolean; has_humidity_sensor: boolean; has_temperature_sensor: boolean; has_occupancy_detection: boolean; };
}, {
main_category: "sensor";
physical_properties: { has_noise_sensor: boolean; has_humidity_sensor: boolean; has_temperature_sensor: boolean; has_occupancy_detection: boolean; };
}>, ZodObject<{
main_category: ZodLiteral<"thermostat">;
physical_properties: ZodObject<{
available_modes: ZodArray<ZodEnum<["heat", "cool", "fan", "eco"]>, "many">;
has_humidity_sensor: ZodBoolean;
has_occupancy_detection: ZodBoolean;
has_temperature_sensor: ZodBoolean;
is_heat_pump_compatible: ZodBoolean;
supports_demand_response: ZodBoolean;
supports_emergency_heating_mode: ZodBoolean;
}, "strip", ZodTypeAny, {
available_modes: ("heat" | "cool" | "fan" | "eco")[];
has_humidity_sensor: boolean;
has_occupancy_detection: boolean;
has_temperature_sensor: boolean;
is_heat_pump_compatible: boolean;
supports_demand_response: boolean;
supports_emergency_heating_mode: boolean;
}, {
available_modes: ("heat" | "cool" | "fan" | "eco")[];
has_humidity_sensor: boolean;
has_occupancy_detection: boolean;
has_temperature_sensor: boolean;
is_heat_pump_compatible: boolean;
supports_demand_response: boolean;
supports_emergency_heating_mode: boolean;
}>;
software_features: ZodObject<{
can_program_climate_schedules: ZodBoolean;
}, "strip", ZodTypeAny, {
can_program_climate_schedules: boolean;
}, {
can_program_climate_schedules: boolean;
}>;
}, "strip", ZodTypeAny, {
main_category: "thermostat";
physical_properties: { has_humidity_sensor: boolean; has_temperature_sensor: boolean; has_occupancy_detection: boolean; available_modes: ("heat" | "cool" | "fan" | "eco")[]; is_heat_pump_compatible: boolean; supports_demand_response: boolean; supports_emergency_heating_mode: boolean; };
software_features: { can_program_climate_schedules: boolean; };
}, {
main_category: "thermostat";
physical_properties: { has_humidity_sensor: boolean; has_temperature_sensor: boolean; has_occupancy_detection: boolean; available_modes: ("heat" | "cool" | "fan" | "eco")[]; is_heat_pump_compatible: boolean; supports_demand_response: boolean; supports_emergency_heating_mode: boolean; };
software_features: { can_program_climate_schedules: boolean; };
}>]>> = ...