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;
            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<[(...)]>;
            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;
}>, ZodDiscriminatedUnion<"main_category", [ZodObject<{
    can_program_offline_access_codes: ZodOptional<ZodLiteral<true>>;
    can_program_online_access_codes: ZodOptional<ZodLiteral<true>>;
    can_remotely_lock: ZodOptional<ZodLiteral<true>>;
    can_remotely_unlock: ZodOptional<ZodLiteral<true>>;
    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, {
    can_program_offline_access_codes: undefined | true;
    can_program_online_access_codes: undefined | true;
    can_remotely_lock: undefined | true;
    can_remotely_unlock: undefined | true;
    main_category: "smartlock";
    physical_properties: {
        has_camera: boolean;
        has_physical_key: boolean;
        lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
    };
    software_features: {
        can_program_access_codes: boolean;
        can_program_access_codes_offline: boolean;
        can_program_access_schedules: boolean;
        can_remotely_unlock: boolean;
    };
}, {
    can_program_offline_access_codes: undefined | true;
    can_program_online_access_codes: undefined | true;
    can_remotely_lock: undefined | true;
    can_remotely_unlock: undefined | true;
    main_category: "smartlock";
    physical_properties: {
        has_camera: boolean;
        has_physical_key: boolean;
        lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
    };
    software_features: {
        can_program_access_codes: boolean;
        can_program_access_codes_offline: boolean;
        can_program_access_schedules: boolean;
        can_remotely_unlock: 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_humidity_sensor: boolean;
        has_noise_sensor: boolean;
        has_occupancy_detection: boolean;
        has_temperature_sensor: boolean;
    };
}, {
    main_category: "sensor";
    physical_properties: {
        has_humidity_sensor: boolean;
        has_noise_sensor: boolean;
        has_occupancy_detection: boolean;
        has_temperature_sensor: 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: {
        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: {
        can_program_climate_schedules: boolean;
    };
}, {
    main_category: "thermostat";
    physical_properties: {
        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: {
        can_program_climate_schedules: boolean;
    };
}>]>> = ...

Generated using TypeDoc