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",
>;
countries_of_origin: ZodOptional<ZodArray<ZodString, "many">>;
description: ZodOptional<ZodString>;
device_model_count: ZodNumber;
display_name: ZodString;
founding_year: ZodOptional<ZodString>;
headquarters: ZodOptional<ZodArray<ZodString, "many">>;
integration: ZodEnum<
["stable", "beta", "planned", "unsupported", "inquire"],
>;
integration_support_level: ZodEnum<
["stable", "beta", "planned", "unsupported", "inquire"],
>;
is_connect_webview_supported: ZodBoolean;
legal_name: ZodOptional<ZodString>;
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;
parent_organization: ZodOptional<ZodString>;
requires_seam_support_to_add_account: ZodBoolean;
seam_api_guide: ZodOptional<ZodString>;
us_customer_support_contact_url: ZodOptional<ZodString>;
us_customer_support_email: ZodOptional<ZodString>;
us_customer_support_tel: ZodOptional<ZodString>;
website: ZodOptional<ZodString>;
},
"device_model_count",
>,
"strip",
ZodTypeAny,
{
annotations: {
annotation_code: "subscription_required";
message: string;
}[];
countries_of_origin?: string[];
description?: string;
display_name: string;
founding_year?: string;
headquarters?: string[];
integration: "beta"
| "stable"
| "planned"
| "unsupported"
| "inquire";
integration_support_level:
| "beta"
| "stable"
| "planned"
| "unsupported"
| "inquire";
is_connect_webview_supported: boolean;
legal_name?: string;
logo?: { height: number; url: string; width: number };
manufacturer_id: string;
parent_organization?: string;
requires_seam_support_to_add_account: boolean;
seam_api_guide?: string;
us_customer_support_contact_url?: string;
us_customer_support_email?: string;
us_customer_support_tel?: string;
website?: string;
},
{
annotations: {
annotation_code: "subscription_required";
message: string;
}[];
countries_of_origin?: string[];
description?: string;
display_name: string;
founding_year?: string;
headquarters?: string[];
integration: "beta"
| "stable"
| "planned"
| "unsupported"
| "inquire";
integration_support_level:
| "beta"
| "stable"
| "planned"
| "unsupported"
| "inquire";
is_connect_webview_supported: boolean;
legal_name?: string;
logo?: { height: number; url: string; width: number };
manufacturer_id: string;
parent_organization?: string;
requires_seam_support_to_add_account: boolean;
seam_api_guide?: string;
us_customer_support_contact_url?: string;
us_customer_support_email?: string;
us_customer_support_tel?: string;
website?: string;
},
>;
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;
}[];
countries_of_origin?: string[];
description?: string;
display_name: string;
founding_year?: string;
headquarters?: string[];
integration: "beta"
| "stable"
| "planned"
| "unsupported"
| "inquire";
integration_support_level:
| "beta"
| "stable"
| "planned"
| "unsupported"
| "inquire";
is_connect_webview_supported: boolean;
legal_name?: string;
logo?: { height: number; url: string; width: number };
manufacturer_id: string;
parent_organization?: string;
requires_seam_support_to_add_account: boolean;
seam_api_guide?: string;
us_customer_support_contact_url?: string;
us_customer_support_email?: string;
us_customer_support_tel?: string;
website?: string;
};
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;
}[];
countries_of_origin?: string[];
description?: string;
display_name: string;
founding_year?: string;
headquarters?: string[];
integration: "beta"
| "stable"
| "planned"
| "unsupported"
| "inquire";
integration_support_level:
| "beta"
| "stable"
| "planned"
| "unsupported"
| "inquire";
is_connect_webview_supported: boolean;
legal_name?: string;
logo?: { height: number; url: string; width: number };
manufacturer_id: string;
parent_organization?: string;
requires_seam_support_to_add_account: boolean;
seam_api_guide?: string;
us_customer_support_contact_url?: string;
us_customer_support_email?: string;
us_customer_support_tel?: string;
website?: string;
};
power_sources: (
| "battery"
| "hardwired"
| "mechanical_harvesting"
| "wireless"
| "ethernet"
)[];
product_url?: string;
},
> = ...