@seamapi/types 1.209.1 → 1.211.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/connect.cjs +14 -0
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2905 -1397
  4. package/dist/devicedb.d.cts +199 -795
  5. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +18 -12
  6. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +29 -13
  7. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +6 -4
  8. package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
  9. package/lib/seam/connect/models/acs/acs-entrance.d.ts +12 -12
  10. package/lib/seam/connect/models/acs/acs-system.d.ts +55 -27
  11. package/lib/seam/connect/models/acs/acs-system.js +7 -0
  12. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  13. package/lib/seam/connect/models/acs/acs-user.d.ts +40 -36
  14. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -165
  15. package/lib/seam/connect/models/action-attempts/common.d.ts +12 -6
  16. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +140 -77
  17. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +20 -11
  18. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +20 -11
  19. package/lib/seam/connect/models/action-attempts/set-cool.d.ts +20 -11
  20. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +20 -11
  21. package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +20 -11
  22. package/lib/seam/connect/models/action-attempts/set-heat.d.ts +20 -11
  23. package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +20 -11
  24. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +20 -11
  25. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +20 -16
  26. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +33 -29
  27. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +213 -48
  28. package/lib/seam/connect/models/devices/device-provider.d.ts +7 -5
  29. package/lib/seam/connect/models/devices/device.d.ts +188 -1036
  30. package/lib/seam/connect/models/devices/phone.d.ts +2023 -15
  31. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2034 -16
  32. package/lib/seam/connect/models/events/access-codes.d.ts +306 -238
  33. package/lib/seam/connect/models/events/acs/common.d.ts +5 -4
  34. package/lib/seam/connect/models/events/acs/credentials.d.ts +18 -12
  35. package/lib/seam/connect/models/events/acs/index.d.ts +26 -18
  36. package/lib/seam/connect/models/events/acs/systems.d.ts +16 -12
  37. package/lib/seam/connect/models/events/acs/users.d.ts +18 -12
  38. package/lib/seam/connect/models/events/action-attempts.d.ts +16 -12
  39. package/lib/seam/connect/models/events/client-sessions.d.ts +14 -10
  40. package/lib/seam/connect/models/events/connected-accounts.d.ts +98 -70
  41. package/lib/seam/connect/models/events/devices.d.ts +412 -312
  42. package/lib/seam/connect/models/events/enrollment-automations.d.ts +14 -10
  43. package/lib/seam/connect/models/events/phones.d.ts +14 -10
  44. package/lib/seam/connect/models/events/seam-event.d.ts +456 -344
  45. package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +6 -5
  46. package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
  47. package/lib/seam/connect/openapi.d.ts +15 -0
  48. package/lib/seam/connect/openapi.js +9 -0
  49. package/lib/seam/connect/openapi.js.map +1 -1
  50. package/lib/seam/connect/route-types.d.ts +20 -0
  51. package/lib/seam/devicedb/models/device-model.d.ts +6 -4
  52. package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
  53. package/lib/seam/devicedb/route-specs.d.ts +132 -730
  54. package/package.json +5 -1
  55. package/src/lib/seam/connect/models/acs/acs-system.ts +7 -0
  56. package/src/lib/seam/connect/openapi.ts +9 -0
  57. package/src/lib/seam/connect/route-types.ts +28 -0
@@ -85,7 +85,7 @@ declare const thermostat: z.ZodObject<{
85
85
  };
86
86
  }>;
87
87
  type ThermostatProperties = z.infer<typeof thermostat>;
88
- declare const device_model_category_specific_properties: z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<{
88
+ declare const device_model_category_specific_properties: z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<z.objectUtil.extendShape<{
89
89
  main_category: z.ZodLiteral<"smartlock">;
90
90
  physical_properties: z.ZodObject<{
91
91
  lock_type: z.ZodEnum<["deadbolt", "lever", "mortise", "lockbox", "cylinder", "padlock", "locker", "unknown"]>;
@@ -116,11 +116,12 @@ declare const device_model_category_specific_properties: z.ZodDiscriminatedUnion
116
116
  can_program_access_schedules: boolean;
117
117
  can_program_access_codes_offline: boolean;
118
118
  }>;
119
+ }, Pick<{
119
120
  can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
120
121
  can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
121
122
  can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
122
123
  can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
123
- }, "strip", z.ZodTypeAny, {
124
+ }, "can_remotely_unlock" | "can_remotely_lock" | "can_program_offline_access_codes" | "can_program_online_access_codes">>, "strip", z.ZodTypeAny, {
124
125
  main_category: "smartlock";
125
126
  physical_properties: {
126
127
  has_physical_key: boolean;
@@ -961,7 +962,7 @@ declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
961
962
  }[];
962
963
  power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
963
964
  product_url?: string | undefined;
964
- }>, z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<{
965
+ }>, z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<z.objectUtil.extendShape<{
965
966
  main_category: z.ZodLiteral<"smartlock">;
966
967
  physical_properties: z.ZodObject<{
967
968
  lock_type: z.ZodEnum<["deadbolt", "lever", "mortise", "lockbox", "cylinder", "padlock", "locker", "unknown"]>;
@@ -992,11 +993,12 @@ declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
992
993
  can_program_access_schedules: boolean;
993
994
  can_program_access_codes_offline: boolean;
994
995
  }>;
996
+ }, Pick<{
995
997
  can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
996
998
  can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
997
999
  can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
998
1000
  can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
999
- }, "strip", z.ZodTypeAny, {
1001
+ }, "can_remotely_unlock" | "can_remotely_lock" | "can_program_offline_access_codes" | "can_program_online_access_codes">>, "strip", z.ZodTypeAny, {
1000
1002
  main_category: "smartlock";
1001
1003
  physical_properties: {
1002
1004
  has_physical_key: boolean;
@@ -1691,7 +1693,7 @@ declare const routes: {
1691
1693
  }[];
1692
1694
  power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1693
1695
  product_url?: string | undefined;
1694
- }>, z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<{
1696
+ }>, z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<z.objectUtil.extendShape<{
1695
1697
  main_category: z.ZodLiteral<"smartlock">;
1696
1698
  physical_properties: z.ZodObject<{
1697
1699
  lock_type: z.ZodEnum<["deadbolt", "lever", "mortise", "lockbox", "cylinder", "padlock", "locker", "unknown"]>;
@@ -1722,11 +1724,12 @@ declare const routes: {
1722
1724
  can_program_access_schedules: boolean;
1723
1725
  can_program_access_codes_offline: boolean;
1724
1726
  }>;
1727
+ }, Pick<{
1725
1728
  can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
1726
1729
  can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
1727
1730
  can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
1728
1731
  can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
1729
- }, "strip", z.ZodTypeAny, {
1732
+ }, "can_remotely_unlock" | "can_remotely_lock" | "can_program_offline_access_codes" | "can_program_online_access_codes">>, "strip", z.ZodTypeAny, {
1730
1733
  main_category: "smartlock";
1731
1734
  physical_properties: {
1732
1735
  has_physical_key: boolean;
@@ -1932,7 +1935,7 @@ declare const routes: {
1932
1935
  main_category: "accessory";
1933
1936
  }>]>>;
1934
1937
  }, "strip", z.ZodTypeAny, {
1935
- device_model: ({
1938
+ device_model: {
1936
1939
  display_name: string;
1937
1940
  description: string;
1938
1941
  device_model_id: string;
@@ -1992,7 +1995,7 @@ declare const routes: {
1992
1995
  }[];
1993
1996
  power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1994
1997
  product_url?: string | undefined;
1995
- } & {
1998
+ } & ({
1996
1999
  main_category: "smartlock";
1997
2000
  physical_properties: {
1998
2001
  has_physical_key: boolean;
@@ -2009,7 +2012,49 @@ declare const routes: {
2009
2012
  can_remotely_lock?: true | undefined;
2010
2013
  can_program_offline_access_codes?: true | undefined;
2011
2014
  can_program_online_access_codes?: true | undefined;
2012
- }) | ({
2015
+ } | {
2016
+ main_category: "sensor";
2017
+ physical_properties: {
2018
+ has_noise_sensor: boolean;
2019
+ has_humidity_sensor: boolean;
2020
+ has_temperature_sensor: boolean;
2021
+ has_occupancy_detection: boolean;
2022
+ };
2023
+ } | {
2024
+ main_category: "thermostat";
2025
+ physical_properties: {
2026
+ has_humidity_sensor: boolean;
2027
+ has_temperature_sensor: boolean;
2028
+ has_occupancy_detection: boolean;
2029
+ available_modes: ("heat" | "cool" | "fan" | "eco")[];
2030
+ is_heat_pump_compatible: boolean;
2031
+ supports_demand_response: boolean;
2032
+ supports_emergency_heating_mode: boolean;
2033
+ };
2034
+ software_features: {
2035
+ can_program_climate_schedules: boolean;
2036
+ };
2037
+ } | {
2038
+ main_category: "relay";
2039
+ } | {
2040
+ main_category: "intercom";
2041
+ physical_properties: {
2042
+ has_camera: boolean;
2043
+ has_rfid_reader: boolean;
2044
+ has_nfc_reader: boolean;
2045
+ has_wiegand_interface: boolean;
2046
+ };
2047
+ software_features: {
2048
+ can_remotely_unlock: boolean;
2049
+ can_program_access_codes: boolean;
2050
+ can_unlock_with_face_recognition: boolean;
2051
+ supports_onvif: boolean;
2052
+ };
2053
+ } | {
2054
+ main_category: "accessory";
2055
+ });
2056
+ }, {
2057
+ device_model: {
2013
2058
  display_name: string;
2014
2059
  description: string;
2015
2060
  device_model_id: string;
@@ -2069,7 +2114,24 @@ declare const routes: {
2069
2114
  }[];
2070
2115
  power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
2071
2116
  product_url?: string | undefined;
2072
- } & {
2117
+ } & ({
2118
+ main_category: "smartlock";
2119
+ physical_properties: {
2120
+ has_physical_key: boolean;
2121
+ lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
2122
+ has_camera: boolean;
2123
+ };
2124
+ software_features: {
2125
+ can_remotely_unlock: boolean;
2126
+ can_program_access_codes: boolean;
2127
+ can_program_access_schedules: boolean;
2128
+ can_program_access_codes_offline: boolean;
2129
+ };
2130
+ can_remotely_unlock?: true | undefined;
2131
+ can_remotely_lock?: true | undefined;
2132
+ can_program_offline_access_codes?: true | undefined;
2133
+ can_program_online_access_codes?: true | undefined;
2134
+ } | {
2073
2135
  main_category: "sensor";
2074
2136
  physical_properties: {
2075
2137
  has_noise_sensor: boolean;
@@ -2077,11 +2139,120 @@ declare const routes: {
2077
2139
  has_temperature_sensor: boolean;
2078
2140
  has_occupancy_detection: boolean;
2079
2141
  };
2080
- }) | ({
2081
- display_name: string;
2082
- description: string;
2083
- device_model_id: string;
2084
- manufacturer: {
2142
+ } | {
2143
+ main_category: "thermostat";
2144
+ physical_properties: {
2145
+ has_humidity_sensor: boolean;
2146
+ has_temperature_sensor: boolean;
2147
+ has_occupancy_detection: boolean;
2148
+ available_modes: ("heat" | "cool" | "fan" | "eco")[];
2149
+ is_heat_pump_compatible: boolean;
2150
+ supports_demand_response: boolean;
2151
+ supports_emergency_heating_mode: boolean;
2152
+ };
2153
+ software_features: {
2154
+ can_program_climate_schedules: boolean;
2155
+ };
2156
+ } | {
2157
+ main_category: "relay";
2158
+ } | {
2159
+ main_category: "intercom";
2160
+ physical_properties: {
2161
+ has_camera: boolean;
2162
+ has_rfid_reader?: boolean | undefined;
2163
+ has_nfc_reader?: boolean | undefined;
2164
+ has_wiegand_interface?: boolean | undefined;
2165
+ };
2166
+ software_features: {
2167
+ can_remotely_unlock: boolean;
2168
+ can_program_access_codes: boolean;
2169
+ can_unlock_with_face_recognition?: boolean | undefined;
2170
+ supports_onvif?: boolean | undefined;
2171
+ };
2172
+ } | {
2173
+ main_category: "accessory";
2174
+ });
2175
+ }>;
2176
+ };
2177
+ readonly '/api/v1/device_models/list': {
2178
+ readonly auth: "publishable_key";
2179
+ readonly methods: readonly ["GET", "OPTIONS"];
2180
+ readonly queryParams: z.ZodObject<{
2181
+ main_category: z.ZodOptional<z.ZodEnum<["smartlock", "sensor", "thermostat", "relay", "intercom", "accessory"]>>;
2182
+ manufacturer_id: z.ZodOptional<z.ZodString>;
2183
+ manufacturer_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2184
+ /** @deprecated */
2185
+ integration_status: z.ZodOptional<z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>>;
2186
+ integration_support_levels: z.ZodOptional<z.ZodArray<z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>, "many">>;
2187
+ text_search: z.ZodOptional<z.ZodString>;
2188
+ include_if: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2189
+ exclude_if: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2190
+ }, "strip", z.ZodTypeAny, {
2191
+ manufacturer_id?: string | undefined;
2192
+ main_category?: "thermostat" | "smartlock" | "sensor" | "relay" | "intercom" | "accessory" | undefined;
2193
+ manufacturer_ids?: string[] | undefined;
2194
+ integration_status?: "stable" | "beta" | "planned" | "unsupported" | "inquire" | undefined;
2195
+ integration_support_levels?: ("stable" | "beta" | "planned" | "unsupported" | "inquire")[] | undefined;
2196
+ text_search?: string | undefined;
2197
+ include_if?: string[] | undefined;
2198
+ exclude_if?: string[] | undefined;
2199
+ }, {
2200
+ manufacturer_id?: string | undefined;
2201
+ main_category?: "thermostat" | "smartlock" | "sensor" | "relay" | "intercom" | "accessory" | undefined;
2202
+ manufacturer_ids?: string[] | undefined;
2203
+ integration_status?: "stable" | "beta" | "planned" | "unsupported" | "inquire" | undefined;
2204
+ integration_support_levels?: ("stable" | "beta" | "planned" | "unsupported" | "inquire")[] | undefined;
2205
+ text_search?: string | undefined;
2206
+ include_if?: string[] | undefined;
2207
+ exclude_if?: string[] | undefined;
2208
+ }>;
2209
+ readonly jsonResponse: z.ZodObject<{
2210
+ device_models: z.ZodArray<z.ZodIntersection<z.ZodObject<{
2211
+ device_model_id: z.ZodString;
2212
+ manufacturer: z.ZodObject<Omit<{
2213
+ manufacturer_id: z.ZodString;
2214
+ display_name: z.ZodString;
2215
+ logo: z.ZodOptional<z.ZodObject<{
2216
+ url: z.ZodString;
2217
+ width: z.ZodNumber;
2218
+ height: z.ZodNumber;
2219
+ }, "strip", z.ZodTypeAny, {
2220
+ url: string;
2221
+ width: number;
2222
+ height: number;
2223
+ }, {
2224
+ url: string;
2225
+ width: number;
2226
+ height: number;
2227
+ }>>;
2228
+ integration: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
2229
+ integration_support_level: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
2230
+ is_connect_webview_supported: z.ZodBoolean;
2231
+ requires_seam_support_to_add_account: z.ZodBoolean;
2232
+ device_model_count: z.ZodNumber;
2233
+ annotations: z.ZodArray<z.ZodObject<{
2234
+ annotation_code: z.ZodEnum<["subscription_required"]>;
2235
+ message: z.ZodString;
2236
+ }, "strip", z.ZodTypeAny, {
2237
+ message: string;
2238
+ annotation_code: "subscription_required";
2239
+ }, {
2240
+ message: string;
2241
+ annotation_code: "subscription_required";
2242
+ }>, "many">;
2243
+ website: z.ZodOptional<z.ZodString>;
2244
+ legal_name: z.ZodOptional<z.ZodString>;
2245
+ parent_organization: z.ZodOptional<z.ZodString>;
2246
+ headquarters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2247
+ countries_of_origin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2248
+ founding_year: z.ZodOptional<z.ZodString>;
2249
+ us_customer_support_tel: z.ZodOptional<z.ZodString>;
2250
+ us_customer_support_email: z.ZodOptional<z.ZodString>;
2251
+ /** @deprecated */
2252
+ us_customer_support_contact_url: z.ZodOptional<z.ZodString>;
2253
+ seam_api_guide: z.ZodOptional<z.ZodString>;
2254
+ description: z.ZodOptional<z.ZodString>;
2255
+ }, "device_model_count">, "strip", z.ZodTypeAny, {
2085
2256
  manufacturer_id: string;
2086
2257
  display_name: string;
2087
2258
  integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
@@ -2108,54 +2279,7 @@ declare const routes: {
2108
2279
  us_customer_support_contact_url?: string | undefined;
2109
2280
  seam_api_guide?: string | undefined;
2110
2281
  description?: string | undefined;
2111
- };
2112
- is_device_supported: boolean;
2113
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
2114
- hardware: {
2115
- has_physical_key?: boolean | undefined;
2116
- };
2117
- aesthetic_variants: {
2118
- display_name: string;
2119
- slug: string;
2120
- images: {
2121
- url: string;
2122
- width: number;
2123
- height: number;
2124
- }[];
2125
- primary_color_hex?: string | undefined;
2126
- manufacturer_sku?: string | undefined;
2127
- front_image?: {
2128
- url: string;
2129
- width: number;
2130
- height: number;
2131
- } | undefined;
2132
- back_image?: {
2133
- url: string;
2134
- width: number;
2135
- height: number;
2136
- } | undefined;
2137
- }[];
2138
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
2139
- product_url?: string | undefined;
2140
- } & {
2141
- main_category: "thermostat";
2142
- physical_properties: {
2143
- has_humidity_sensor: boolean;
2144
- has_temperature_sensor: boolean;
2145
- has_occupancy_detection: boolean;
2146
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
2147
- is_heat_pump_compatible: boolean;
2148
- supports_demand_response: boolean;
2149
- supports_emergency_heating_mode: boolean;
2150
- };
2151
- software_features: {
2152
- can_program_climate_schedules: boolean;
2153
- };
2154
- }) | ({
2155
- display_name: string;
2156
- description: string;
2157
- device_model_id: string;
2158
- manufacturer: {
2282
+ }, {
2159
2283
  manufacturer_id: string;
2160
2284
  display_name: string;
2161
2285
  integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
@@ -2182,736 +2306,15 @@ declare const routes: {
2182
2306
  us_customer_support_contact_url?: string | undefined;
2183
2307
  seam_api_guide?: string | undefined;
2184
2308
  description?: string | undefined;
2185
- };
2186
- is_device_supported: boolean;
2187
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
2188
- hardware: {
2189
- has_physical_key?: boolean | undefined;
2190
- };
2191
- aesthetic_variants: {
2192
- display_name: string;
2193
- slug: string;
2194
- images: {
2195
- url: string;
2196
- width: number;
2197
- height: number;
2198
- }[];
2199
- primary_color_hex?: string | undefined;
2200
- manufacturer_sku?: string | undefined;
2201
- front_image?: {
2202
- url: string;
2203
- width: number;
2204
- height: number;
2205
- } | undefined;
2206
- back_image?: {
2207
- url: string;
2208
- width: number;
2209
- height: number;
2210
- } | undefined;
2211
- }[];
2212
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
2213
- product_url?: string | undefined;
2214
- } & {
2215
- main_category: "relay";
2216
- }) | ({
2217
- display_name: string;
2218
- description: string;
2219
- device_model_id: string;
2220
- manufacturer: {
2221
- manufacturer_id: string;
2222
- display_name: string;
2223
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2224
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2225
- is_connect_webview_supported: boolean;
2226
- requires_seam_support_to_add_account: boolean;
2227
- annotations: {
2228
- message: string;
2229
- annotation_code: "subscription_required";
2230
- }[];
2231
- logo?: {
2232
- url: string;
2233
- width: number;
2234
- height: number;
2235
- } | undefined;
2236
- website?: string | undefined;
2237
- legal_name?: string | undefined;
2238
- parent_organization?: string | undefined;
2239
- headquarters?: string[] | undefined;
2240
- countries_of_origin?: string[] | undefined;
2241
- founding_year?: string | undefined;
2242
- us_customer_support_tel?: string | undefined;
2243
- us_customer_support_email?: string | undefined;
2244
- us_customer_support_contact_url?: string | undefined;
2245
- seam_api_guide?: string | undefined;
2246
- description?: string | undefined;
2247
- };
2248
- is_device_supported: boolean;
2249
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
2250
- hardware: {
2251
- has_physical_key?: boolean | undefined;
2252
- };
2253
- aesthetic_variants: {
2254
- display_name: string;
2255
- slug: string;
2256
- images: {
2257
- url: string;
2258
- width: number;
2259
- height: number;
2260
- }[];
2261
- primary_color_hex?: string | undefined;
2262
- manufacturer_sku?: string | undefined;
2263
- front_image?: {
2264
- url: string;
2265
- width: number;
2266
- height: number;
2267
- } | undefined;
2268
- back_image?: {
2269
- url: string;
2270
- width: number;
2271
- height: number;
2272
- } | undefined;
2273
- }[];
2274
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
2275
- product_url?: string | undefined;
2276
- } & {
2277
- main_category: "intercom";
2278
- physical_properties: {
2279
- has_camera: boolean;
2280
- has_rfid_reader: boolean;
2281
- has_nfc_reader: boolean;
2282
- has_wiegand_interface: boolean;
2283
- };
2284
- software_features: {
2285
- can_remotely_unlock: boolean;
2286
- can_program_access_codes: boolean;
2287
- can_unlock_with_face_recognition: boolean;
2288
- supports_onvif: boolean;
2289
- };
2290
- }) | ({
2291
- display_name: string;
2292
- description: string;
2293
- device_model_id: string;
2294
- manufacturer: {
2295
- manufacturer_id: string;
2296
- display_name: string;
2297
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2298
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2299
- is_connect_webview_supported: boolean;
2300
- requires_seam_support_to_add_account: boolean;
2301
- annotations: {
2302
- message: string;
2303
- annotation_code: "subscription_required";
2304
- }[];
2305
- logo?: {
2306
- url: string;
2307
- width: number;
2308
- height: number;
2309
- } | undefined;
2310
- website?: string | undefined;
2311
- legal_name?: string | undefined;
2312
- parent_organization?: string | undefined;
2313
- headquarters?: string[] | undefined;
2314
- countries_of_origin?: string[] | undefined;
2315
- founding_year?: string | undefined;
2316
- us_customer_support_tel?: string | undefined;
2317
- us_customer_support_email?: string | undefined;
2318
- us_customer_support_contact_url?: string | undefined;
2319
- seam_api_guide?: string | undefined;
2320
- description?: string | undefined;
2321
- };
2322
- is_device_supported: boolean;
2323
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
2324
- hardware: {
2325
- has_physical_key?: boolean | undefined;
2326
- };
2327
- aesthetic_variants: {
2328
- display_name: string;
2329
- slug: string;
2330
- images: {
2331
- url: string;
2332
- width: number;
2333
- height: number;
2334
- }[];
2335
- primary_color_hex?: string | undefined;
2336
- manufacturer_sku?: string | undefined;
2337
- front_image?: {
2338
- url: string;
2339
- width: number;
2340
- height: number;
2341
- } | undefined;
2342
- back_image?: {
2343
- url: string;
2344
- width: number;
2345
- height: number;
2346
- } | undefined;
2347
- }[];
2348
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
2349
- product_url?: string | undefined;
2350
- } & {
2351
- main_category: "accessory";
2352
- });
2353
- }, {
2354
- device_model: ({
2355
- display_name: string;
2356
- description: string;
2357
- device_model_id: string;
2358
- manufacturer: {
2359
- manufacturer_id: string;
2360
- display_name: string;
2361
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2362
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2363
- is_connect_webview_supported: boolean;
2364
- requires_seam_support_to_add_account: boolean;
2365
- annotations: {
2366
- message: string;
2367
- annotation_code: "subscription_required";
2368
- }[];
2369
- logo?: {
2370
- url: string;
2371
- width: number;
2372
- height: number;
2373
- } | undefined;
2374
- website?: string | undefined;
2375
- legal_name?: string | undefined;
2376
- parent_organization?: string | undefined;
2377
- headquarters?: string[] | undefined;
2378
- countries_of_origin?: string[] | undefined;
2379
- founding_year?: string | undefined;
2380
- us_customer_support_tel?: string | undefined;
2381
- us_customer_support_email?: string | undefined;
2382
- us_customer_support_contact_url?: string | undefined;
2383
- seam_api_guide?: string | undefined;
2384
- description?: string | undefined;
2385
- };
2386
- is_device_supported: boolean;
2387
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
2388
- hardware: {
2389
- has_physical_key?: boolean | undefined;
2390
- };
2391
- aesthetic_variants: {
2392
- display_name: string;
2393
- slug: string;
2394
- images: {
2395
- url: string;
2396
- width: number;
2397
- height: number;
2398
- }[];
2399
- primary_color_hex?: string | undefined;
2400
- manufacturer_sku?: string | undefined;
2401
- front_image?: {
2402
- url: string;
2403
- width: number;
2404
- height: number;
2405
- } | undefined;
2406
- back_image?: {
2407
- url: string;
2408
- width: number;
2409
- height: number;
2410
- } | undefined;
2411
- }[];
2412
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
2413
- product_url?: string | undefined;
2414
- } & {
2415
- main_category: "smartlock";
2416
- physical_properties: {
2417
- has_physical_key: boolean;
2418
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
2419
- has_camera: boolean;
2420
- };
2421
- software_features: {
2422
- can_remotely_unlock: boolean;
2423
- can_program_access_codes: boolean;
2424
- can_program_access_schedules: boolean;
2425
- can_program_access_codes_offline: boolean;
2426
- };
2427
- can_remotely_unlock?: true | undefined;
2428
- can_remotely_lock?: true | undefined;
2429
- can_program_offline_access_codes?: true | undefined;
2430
- can_program_online_access_codes?: true | undefined;
2431
- }) | ({
2432
- display_name: string;
2433
- description: string;
2434
- device_model_id: string;
2435
- manufacturer: {
2436
- manufacturer_id: string;
2437
- display_name: string;
2438
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2439
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2440
- is_connect_webview_supported: boolean;
2441
- requires_seam_support_to_add_account: boolean;
2442
- annotations: {
2443
- message: string;
2444
- annotation_code: "subscription_required";
2445
- }[];
2446
- logo?: {
2447
- url: string;
2448
- width: number;
2449
- height: number;
2450
- } | undefined;
2451
- website?: string | undefined;
2452
- legal_name?: string | undefined;
2453
- parent_organization?: string | undefined;
2454
- headquarters?: string[] | undefined;
2455
- countries_of_origin?: string[] | undefined;
2456
- founding_year?: string | undefined;
2457
- us_customer_support_tel?: string | undefined;
2458
- us_customer_support_email?: string | undefined;
2459
- us_customer_support_contact_url?: string | undefined;
2460
- seam_api_guide?: string | undefined;
2461
- description?: string | undefined;
2462
- };
2463
- is_device_supported: boolean;
2464
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
2465
- hardware: {
2466
- has_physical_key?: boolean | undefined;
2467
- };
2468
- aesthetic_variants: {
2469
- display_name: string;
2470
- slug: string;
2471
- images: {
2472
- url: string;
2473
- width: number;
2474
- height: number;
2475
- }[];
2476
- primary_color_hex?: string | undefined;
2477
- manufacturer_sku?: string | undefined;
2478
- front_image?: {
2479
- url: string;
2480
- width: number;
2481
- height: number;
2482
- } | undefined;
2483
- back_image?: {
2484
- url: string;
2485
- width: number;
2486
- height: number;
2487
- } | undefined;
2488
- }[];
2489
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
2490
- product_url?: string | undefined;
2491
- } & {
2492
- main_category: "sensor";
2493
- physical_properties: {
2494
- has_noise_sensor: boolean;
2495
- has_humidity_sensor: boolean;
2496
- has_temperature_sensor: boolean;
2497
- has_occupancy_detection: boolean;
2498
- };
2499
- }) | ({
2500
- display_name: string;
2501
- description: string;
2502
- device_model_id: string;
2503
- manufacturer: {
2504
- manufacturer_id: string;
2505
- display_name: string;
2506
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2507
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2508
- is_connect_webview_supported: boolean;
2509
- requires_seam_support_to_add_account: boolean;
2510
- annotations: {
2511
- message: string;
2512
- annotation_code: "subscription_required";
2513
- }[];
2514
- logo?: {
2515
- url: string;
2516
- width: number;
2517
- height: number;
2518
- } | undefined;
2519
- website?: string | undefined;
2520
- legal_name?: string | undefined;
2521
- parent_organization?: string | undefined;
2522
- headquarters?: string[] | undefined;
2523
- countries_of_origin?: string[] | undefined;
2524
- founding_year?: string | undefined;
2525
- us_customer_support_tel?: string | undefined;
2526
- us_customer_support_email?: string | undefined;
2527
- us_customer_support_contact_url?: string | undefined;
2528
- seam_api_guide?: string | undefined;
2529
- description?: string | undefined;
2530
- };
2531
- is_device_supported: boolean;
2532
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
2533
- hardware: {
2534
- has_physical_key?: boolean | undefined;
2535
- };
2536
- aesthetic_variants: {
2537
- display_name: string;
2538
- slug: string;
2539
- images: {
2540
- url: string;
2541
- width: number;
2542
- height: number;
2543
- }[];
2544
- primary_color_hex?: string | undefined;
2545
- manufacturer_sku?: string | undefined;
2546
- front_image?: {
2547
- url: string;
2548
- width: number;
2549
- height: number;
2550
- } | undefined;
2551
- back_image?: {
2552
- url: string;
2553
- width: number;
2554
- height: number;
2555
- } | undefined;
2556
- }[];
2557
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
2558
- product_url?: string | undefined;
2559
- } & {
2560
- main_category: "thermostat";
2561
- physical_properties: {
2562
- has_humidity_sensor: boolean;
2563
- has_temperature_sensor: boolean;
2564
- has_occupancy_detection: boolean;
2565
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
2566
- is_heat_pump_compatible: boolean;
2567
- supports_demand_response: boolean;
2568
- supports_emergency_heating_mode: boolean;
2569
- };
2570
- software_features: {
2571
- can_program_climate_schedules: boolean;
2572
- };
2573
- }) | ({
2574
- display_name: string;
2575
- description: string;
2576
- device_model_id: string;
2577
- manufacturer: {
2578
- manufacturer_id: string;
2579
- display_name: string;
2580
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2581
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2582
- is_connect_webview_supported: boolean;
2583
- requires_seam_support_to_add_account: boolean;
2584
- annotations: {
2585
- message: string;
2586
- annotation_code: "subscription_required";
2587
- }[];
2588
- logo?: {
2589
- url: string;
2590
- width: number;
2591
- height: number;
2592
- } | undefined;
2593
- website?: string | undefined;
2594
- legal_name?: string | undefined;
2595
- parent_organization?: string | undefined;
2596
- headquarters?: string[] | undefined;
2597
- countries_of_origin?: string[] | undefined;
2598
- founding_year?: string | undefined;
2599
- us_customer_support_tel?: string | undefined;
2600
- us_customer_support_email?: string | undefined;
2601
- us_customer_support_contact_url?: string | undefined;
2602
- seam_api_guide?: string | undefined;
2603
- description?: string | undefined;
2604
- };
2605
- is_device_supported: boolean;
2606
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
2607
- hardware: {
2608
- has_physical_key?: boolean | undefined;
2609
- };
2610
- aesthetic_variants: {
2611
- display_name: string;
2612
- slug: string;
2613
- images: {
2614
- url: string;
2615
- width: number;
2616
- height: number;
2617
- }[];
2618
- primary_color_hex?: string | undefined;
2619
- manufacturer_sku?: string | undefined;
2620
- front_image?: {
2621
- url: string;
2622
- width: number;
2623
- height: number;
2624
- } | undefined;
2625
- back_image?: {
2626
- url: string;
2627
- width: number;
2628
- height: number;
2629
- } | undefined;
2630
- }[];
2631
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
2632
- product_url?: string | undefined;
2633
- } & {
2634
- main_category: "relay";
2635
- }) | ({
2636
- display_name: string;
2637
- description: string;
2638
- device_model_id: string;
2639
- manufacturer: {
2640
- manufacturer_id: string;
2641
- display_name: string;
2642
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2643
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2644
- is_connect_webview_supported: boolean;
2645
- requires_seam_support_to_add_account: boolean;
2646
- annotations: {
2647
- message: string;
2648
- annotation_code: "subscription_required";
2649
- }[];
2650
- logo?: {
2651
- url: string;
2652
- width: number;
2653
- height: number;
2654
- } | undefined;
2655
- website?: string | undefined;
2656
- legal_name?: string | undefined;
2657
- parent_organization?: string | undefined;
2658
- headquarters?: string[] | undefined;
2659
- countries_of_origin?: string[] | undefined;
2660
- founding_year?: string | undefined;
2661
- us_customer_support_tel?: string | undefined;
2662
- us_customer_support_email?: string | undefined;
2663
- us_customer_support_contact_url?: string | undefined;
2664
- seam_api_guide?: string | undefined;
2665
- description?: string | undefined;
2666
- };
2667
- is_device_supported: boolean;
2668
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
2669
- hardware: {
2670
- has_physical_key?: boolean | undefined;
2671
- };
2672
- aesthetic_variants: {
2673
- display_name: string;
2674
- slug: string;
2675
- images: {
2676
- url: string;
2677
- width: number;
2678
- height: number;
2679
- }[];
2680
- primary_color_hex?: string | undefined;
2681
- manufacturer_sku?: string | undefined;
2682
- front_image?: {
2683
- url: string;
2684
- width: number;
2685
- height: number;
2686
- } | undefined;
2687
- back_image?: {
2688
- url: string;
2689
- width: number;
2690
- height: number;
2691
- } | undefined;
2692
- }[];
2693
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
2694
- product_url?: string | undefined;
2695
- } & {
2696
- main_category: "intercom";
2697
- physical_properties: {
2698
- has_camera: boolean;
2699
- has_rfid_reader?: boolean | undefined;
2700
- has_nfc_reader?: boolean | undefined;
2701
- has_wiegand_interface?: boolean | undefined;
2702
- };
2703
- software_features: {
2704
- can_remotely_unlock: boolean;
2705
- can_program_access_codes: boolean;
2706
- can_unlock_with_face_recognition?: boolean | undefined;
2707
- supports_onvif?: boolean | undefined;
2708
- };
2709
- }) | ({
2710
- display_name: string;
2711
- description: string;
2712
- device_model_id: string;
2713
- manufacturer: {
2714
- manufacturer_id: string;
2715
- display_name: string;
2716
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2717
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2718
- is_connect_webview_supported: boolean;
2719
- requires_seam_support_to_add_account: boolean;
2720
- annotations: {
2721
- message: string;
2722
- annotation_code: "subscription_required";
2723
- }[];
2724
- logo?: {
2725
- url: string;
2726
- width: number;
2727
- height: number;
2728
- } | undefined;
2729
- website?: string | undefined;
2730
- legal_name?: string | undefined;
2731
- parent_organization?: string | undefined;
2732
- headquarters?: string[] | undefined;
2733
- countries_of_origin?: string[] | undefined;
2734
- founding_year?: string | undefined;
2735
- us_customer_support_tel?: string | undefined;
2736
- us_customer_support_email?: string | undefined;
2737
- us_customer_support_contact_url?: string | undefined;
2738
- seam_api_guide?: string | undefined;
2739
- description?: string | undefined;
2740
- };
2741
- is_device_supported: boolean;
2742
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
2743
- hardware: {
2744
- has_physical_key?: boolean | undefined;
2745
- };
2746
- aesthetic_variants: {
2747
- display_name: string;
2748
- slug: string;
2749
- images: {
2750
- url: string;
2751
- width: number;
2752
- height: number;
2753
- }[];
2754
- primary_color_hex?: string | undefined;
2755
- manufacturer_sku?: string | undefined;
2756
- front_image?: {
2757
- url: string;
2758
- width: number;
2759
- height: number;
2760
- } | undefined;
2761
- back_image?: {
2762
- url: string;
2763
- width: number;
2764
- height: number;
2765
- } | undefined;
2766
- }[];
2767
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
2768
- product_url?: string | undefined;
2769
- } & {
2770
- main_category: "accessory";
2771
- });
2772
- }>;
2773
- };
2774
- readonly '/api/v1/device_models/list': {
2775
- readonly auth: "publishable_key";
2776
- readonly methods: readonly ["GET", "OPTIONS"];
2777
- readonly queryParams: z.ZodObject<{
2778
- main_category: z.ZodOptional<z.ZodEnum<["smartlock", "sensor", "thermostat", "relay", "intercom", "accessory"]>>;
2779
- manufacturer_id: z.ZodOptional<z.ZodString>;
2780
- manufacturer_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2781
- /** @deprecated */
2782
- integration_status: z.ZodOptional<z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>>;
2783
- integration_support_levels: z.ZodOptional<z.ZodArray<z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>, "many">>;
2784
- text_search: z.ZodOptional<z.ZodString>;
2785
- include_if: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2786
- exclude_if: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2787
- }, "strip", z.ZodTypeAny, {
2788
- main_category?: "thermostat" | "smartlock" | "sensor" | "relay" | "intercom" | "accessory" | undefined;
2789
- manufacturer_id?: string | undefined;
2790
- manufacturer_ids?: string[] | undefined;
2791
- integration_status?: "stable" | "beta" | "planned" | "unsupported" | "inquire" | undefined;
2792
- integration_support_levels?: ("stable" | "beta" | "planned" | "unsupported" | "inquire")[] | undefined;
2793
- text_search?: string | undefined;
2794
- include_if?: string[] | undefined;
2795
- exclude_if?: string[] | undefined;
2796
- }, {
2797
- main_category?: "thermostat" | "smartlock" | "sensor" | "relay" | "intercom" | "accessory" | undefined;
2798
- manufacturer_id?: string | undefined;
2799
- manufacturer_ids?: string[] | undefined;
2800
- integration_status?: "stable" | "beta" | "planned" | "unsupported" | "inquire" | undefined;
2801
- integration_support_levels?: ("stable" | "beta" | "planned" | "unsupported" | "inquire")[] | undefined;
2802
- text_search?: string | undefined;
2803
- include_if?: string[] | undefined;
2804
- exclude_if?: string[] | undefined;
2805
- }>;
2806
- readonly jsonResponse: z.ZodObject<{
2807
- device_models: z.ZodArray<z.ZodIntersection<z.ZodObject<{
2808
- device_model_id: z.ZodString;
2809
- manufacturer: z.ZodObject<Omit<{
2810
- manufacturer_id: z.ZodString;
2811
- display_name: z.ZodString;
2812
- logo: z.ZodOptional<z.ZodObject<{
2813
- url: z.ZodString;
2814
- width: z.ZodNumber;
2815
- height: z.ZodNumber;
2816
- }, "strip", z.ZodTypeAny, {
2817
- url: string;
2818
- width: number;
2819
- height: number;
2820
- }, {
2821
- url: string;
2822
- width: number;
2823
- height: number;
2824
- }>>;
2825
- integration: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
2826
- integration_support_level: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
2827
- is_connect_webview_supported: z.ZodBoolean;
2828
- requires_seam_support_to_add_account: z.ZodBoolean;
2829
- device_model_count: z.ZodNumber;
2830
- annotations: z.ZodArray<z.ZodObject<{
2831
- annotation_code: z.ZodEnum<["subscription_required"]>;
2832
- message: z.ZodString;
2833
- }, "strip", z.ZodTypeAny, {
2834
- message: string;
2835
- annotation_code: "subscription_required";
2836
- }, {
2837
- message: string;
2838
- annotation_code: "subscription_required";
2839
- }>, "many">;
2840
- website: z.ZodOptional<z.ZodString>;
2841
- legal_name: z.ZodOptional<z.ZodString>;
2842
- parent_organization: z.ZodOptional<z.ZodString>;
2843
- headquarters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2844
- countries_of_origin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2845
- founding_year: z.ZodOptional<z.ZodString>;
2846
- us_customer_support_tel: z.ZodOptional<z.ZodString>;
2847
- us_customer_support_email: z.ZodOptional<z.ZodString>;
2848
- /** @deprecated */
2849
- us_customer_support_contact_url: z.ZodOptional<z.ZodString>;
2850
- seam_api_guide: z.ZodOptional<z.ZodString>;
2851
- description: z.ZodOptional<z.ZodString>;
2852
- }, "device_model_count">, "strip", z.ZodTypeAny, {
2853
- manufacturer_id: string;
2854
- display_name: string;
2855
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2856
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2857
- is_connect_webview_supported: boolean;
2858
- requires_seam_support_to_add_account: boolean;
2859
- annotations: {
2860
- message: string;
2861
- annotation_code: "subscription_required";
2862
- }[];
2863
- logo?: {
2864
- url: string;
2865
- width: number;
2866
- height: number;
2867
- } | undefined;
2868
- website?: string | undefined;
2869
- legal_name?: string | undefined;
2870
- parent_organization?: string | undefined;
2871
- headquarters?: string[] | undefined;
2872
- countries_of_origin?: string[] | undefined;
2873
- founding_year?: string | undefined;
2874
- us_customer_support_tel?: string | undefined;
2875
- us_customer_support_email?: string | undefined;
2876
- us_customer_support_contact_url?: string | undefined;
2877
- seam_api_guide?: string | undefined;
2878
- description?: string | undefined;
2879
- }, {
2880
- manufacturer_id: string;
2881
- display_name: string;
2882
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2883
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
2884
- is_connect_webview_supported: boolean;
2885
- requires_seam_support_to_add_account: boolean;
2886
- annotations: {
2887
- message: string;
2888
- annotation_code: "subscription_required";
2889
- }[];
2890
- logo?: {
2891
- url: string;
2892
- width: number;
2893
- height: number;
2894
- } | undefined;
2895
- website?: string | undefined;
2896
- legal_name?: string | undefined;
2897
- parent_organization?: string | undefined;
2898
- headquarters?: string[] | undefined;
2899
- countries_of_origin?: string[] | undefined;
2900
- founding_year?: string | undefined;
2901
- us_customer_support_tel?: string | undefined;
2902
- us_customer_support_email?: string | undefined;
2903
- us_customer_support_contact_url?: string | undefined;
2904
- seam_api_guide?: string | undefined;
2905
- description?: string | undefined;
2906
- }>;
2907
- is_device_supported: z.ZodBoolean;
2908
- display_name: z.ZodString;
2909
- description: z.ZodString;
2910
- product_url: z.ZodOptional<z.ZodString>;
2911
- main_connection_type: z.ZodEnum<["wifi", "zwave", "zigbee", "unknown"]>;
2912
- hardware: z.ZodObject<{
2913
- has_physical_key: z.ZodOptional<z.ZodBoolean>;
2914
- }, "strip", z.ZodTypeAny, {
2309
+ }>;
2310
+ is_device_supported: z.ZodBoolean;
2311
+ display_name: z.ZodString;
2312
+ description: z.ZodString;
2313
+ product_url: z.ZodOptional<z.ZodString>;
2314
+ main_connection_type: z.ZodEnum<["wifi", "zwave", "zigbee", "unknown"]>;
2315
+ hardware: z.ZodObject<{
2316
+ has_physical_key: z.ZodOptional<z.ZodBoolean>;
2317
+ }, "strip", z.ZodTypeAny, {
2915
2318
  has_physical_key?: boolean | undefined;
2916
2319
  }, {
2917
2320
  has_physical_key?: boolean | undefined;
@@ -3122,7 +2525,7 @@ declare const routes: {
3122
2525
  }[];
3123
2526
  power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
3124
2527
  product_url?: string | undefined;
3125
- }>, z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<{
2528
+ }>, z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<z.objectUtil.extendShape<{
3126
2529
  main_category: z.ZodLiteral<"smartlock">;
3127
2530
  physical_properties: z.ZodObject<{
3128
2531
  lock_type: z.ZodEnum<["deadbolt", "lever", "mortise", "lockbox", "cylinder", "padlock", "locker", "unknown"]>;
@@ -3153,11 +2556,12 @@ declare const routes: {
3153
2556
  can_program_access_schedules: boolean;
3154
2557
  can_program_access_codes_offline: boolean;
3155
2558
  }>;
2559
+ }, Pick<{
3156
2560
  can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
3157
2561
  can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
3158
2562
  can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
3159
2563
  can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
3160
- }, "strip", z.ZodTypeAny, {
2564
+ }, "can_remotely_unlock" | "can_remotely_lock" | "can_program_offline_access_codes" | "can_program_online_access_codes">>, "strip", z.ZodTypeAny, {
3161
2565
  main_category: "smartlock";
3162
2566
  physical_properties: {
3163
2567
  has_physical_key: boolean;