Variable base_device_model_v1Const
base_device_model_v1: 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;
url: string;
width: number;
};
display_name: string;
front_image?: {
height: number;
url: string;
width: number;
};
images: {
height: number;
url: string;
width: number;
}[];
manufacturer_sku?: string;
primary_color_hex?: string;
slug: string;
}, {
back_image?: {
height: number;
url: string;
width: number;
};
display_name: string;
front_image?: {
height: number;
url: string;
width: number;
};
images: {
height: number;
url: string;
width: number;
}[];
manufacturer_sku?: string;
primary_color_hex?: string;
slug: string;
}>, "many">;
description: ZodString;
device_model_id: ZodString;
display_name: ZodString;
hardware: ZodObject<{
has_physical_key: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
has_physical_key?: boolean;
}, {
has_physical_key?: boolean;
}>;
is_device_supported: ZodBoolean;
main_connection_type: ZodEnum<["wifi", "zwave", "zigbee", "unknown"]>;
manufacturer: ZodObject<Omit<{
annotations: ZodArray<ZodObject<{
annotation_code: ZodEnum<["subscription_required"]>;
message: ZodString;
}, "strip", ZodTypeAny, {
annotation_code: "subscription_required";
message: string;
}, {
annotation_code: "subscription_required";
message: string;
}>, "many">;
device_model_count: ZodNumber;
display_name: ZodString;
integration: ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
integration_support_level: 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, {
annotations: {
annotation_code: "subscription_required";
message: string;
}[];
display_name: string;
integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
is_connect_webview_supported: boolean;
logo?: {
height: number;
url: string;
width: number;
};
manufacturer_id: string;
requires_seam_support_to_add_account: boolean;
}, {
annotations: {
annotation_code: "subscription_required";
message: string;
}[];
display_name: string;
integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "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: {
back_image?: {
height: number;
url: string;
width: number;
};
display_name: string;
front_image?: {
height: number;
url: string;
width: number;
};
images: {
height: number;
url: string;
width: number;
}[];
manufacturer_sku?: string;
primary_color_hex?: string;
slug: string;
}[];
description: string;
device_model_id: string;
display_name: string;
hardware: {
has_physical_key?: boolean;
};
is_device_supported: boolean;
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
manufacturer: {
annotations: {
annotation_code: "subscription_required";
message: string;
}[];
display_name: string;
integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "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: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
product_url?: string;
}, {
aesthetic_variants: {
back_image?: {
height: number;
url: string;
width: number;
};
display_name: string;
front_image?: {
height: number;
url: string;
width: number;
};
images: {
height: number;
url: string;
width: number;
}[];
manufacturer_sku?: string;
primary_color_hex?: string;
slug: string;
}[];
description: string;
device_model_id: string;
display_name: string;
hardware: {
has_physical_key?: boolean;
};
is_device_supported: boolean;
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
manufacturer: {
annotations: {
annotation_code: "subscription_required";
message: string;
}[];
display_name: string;
integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "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: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
product_url?: string;
}> = ...
Type declaration
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;
url: string;
width: number;
};
display_name: string;
front_image?: {
height: number;
url: string;
width: number;
};
images: {
height: number;
url: string;
width: number;
}[];
manufacturer_sku?: string;
primary_color_hex?: string;
slug: string;
}, {
back_image?: {
height: number;
url: string;
width: number;
};
display_name: string;
front_image?: {
height: number;
url: string;
width: number;
};
images: {
height: number;
url: string;
width: number;
}[];
manufacturer_sku?: string;
primary_color_hex?: string;
slug: string;
}>, "many">
description: ZodString
device_model_id: ZodString
display_name: ZodString
hardware: ZodObject<{
has_physical_key: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
has_physical_key?: boolean;
}, {
has_physical_key?: boolean;
}>
is_device_supported: ZodBoolean
main_connection_type: ZodEnum<["wifi", "zwave", "zigbee", "unknown"]>
manufacturer: ZodObject<Omit<{
annotations: ZodArray<ZodObject<{
annotation_code: ZodEnum<["subscription_required"]>;
message: ZodString;
}, "strip", ZodTypeAny, {
annotation_code: "subscription_required";
message: string;
}, {
annotation_code: "subscription_required";
message: string;
}>, "many">;
device_model_count: ZodNumber;
display_name: ZodString;
integration: ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
integration_support_level: 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, {
annotations: {
annotation_code: "subscription_required";
message: string;
}[];
display_name: string;
integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
is_connect_webview_supported: boolean;
logo?: {
height: number;
url: string;
width: number;
};
manufacturer_id: string;
requires_seam_support_to_add_account: boolean;
}, {
annotations: {
annotation_code: "subscription_required";
message: string;
}[];
display_name: string;
integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "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>
Type declaration
aesthetic_variants: {
back_image?: {
height: number;
url: string;
width: number;
};
display_name: string;
front_image?: {
height: number;
url: string;
width: number;
};
images: {
height: number;
url: string;
width: number;
}[];
manufacturer_sku?: string;
primary_color_hex?: string;
slug: string;
}[]
description: string
device_model_id: string
display_name: string
hardware: {
has_physical_key?: boolean;
}
Optional
has_physical_key?: boolean
is_device_supported: boolean
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee"
manufacturer: {
annotations: {
annotation_code: "subscription_required";
message: string;
}[];
display_name: string;
integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
is_connect_webview_supported: boolean;
logo?: {
height: number;
url: string;
width: number;
};
manufacturer_id: string;
requires_seam_support_to_add_account: boolean;
}
annotations: {
annotation_code: "subscription_required";
message: string;
}[]
display_name: string
integration: "beta" | "stable" | "planned" | "unsupported" | "inquire"
integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire"
is_connect_webview_supported: boolean
Optional
logo?: {
height: number;
url: string;
width: number;
}
height: number
url: string
width: number
manufacturer_id: string
requires_seam_support_to_add_account: boolean
power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[]
Optional
product_url?: string
Type declaration
aesthetic_variants: {
back_image?: {
height: number;
url: string;
width: number;
};
display_name: string;
front_image?: {
height: number;
url: string;
width: number;
};
images: {
height: number;
url: string;
width: number;
}[];
manufacturer_sku?: string;
primary_color_hex?: string;
slug: string;
}[]
description: string
device_model_id: string
display_name: string
hardware: {
has_physical_key?: boolean;
}
Optional
has_physical_key?: boolean
is_device_supported: boolean
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee"
manufacturer: {
annotations: {
annotation_code: "subscription_required";
message: string;
}[];
display_name: string;
integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
is_connect_webview_supported: boolean;
logo?: {
height: number;
url: string;
width: number;
};
manufacturer_id: string;
requires_seam_support_to_add_account: boolean;
}
annotations: {
annotation_code: "subscription_required";
message: string;
}[]
display_name: string
integration: "beta" | "stable" | "planned" | "unsupported" | "inquire"
integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire"
is_connect_webview_supported: boolean
Optional
logo?: {
height: number;
url: string;
width: number;
}
height: number
url: string
width: number
manufacturer_id: string
requires_seam_support_to_add_account: boolean
power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[]
Optional
product_url?: string
Deprecated