@seamapi/types 1.1188.0 → 1.1190.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.
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +75 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/set-pool-heating.d.ts +77 -0
- package/lib/seam/connect/models/action-attempts/set-pool-heating.js +43 -0
- package/lib/seam/connect/models/action-attempts/set-pool-heating.js.map +1 -0
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +3 -3
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +3 -3
- package/lib/seam/connect/models/devices/capabilities-supported.d.ts +1 -1
- package/lib/seam/connect/models/devices/capabilities-supported.js +1 -0
- package/lib/seam/connect/models/devices/capabilities-supported.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +3 -0
- package/lib/seam/connect/models/devices/device-provider.js +1 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +12 -1
- package/lib/seam/connect/models/devices/device-type.js +15 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +206 -101
- package/lib/seam/connect/models/devices/device.js +46 -1
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/index.d.ts +2 -0
- package/lib/seam/connect/models/devices/index.js +2 -0
- package/lib/seam/connect/models/devices/index.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +21 -0
- package/lib/seam/connect/models/devices/pool.d.ts +20 -0
- package/lib/seam/connect/models/devices/pool.js +26 -0
- package/lib/seam/connect/models/devices/pool.js.map +1 -0
- package/lib/seam/connect/models/devices/temperature-controller.d.ts +44 -0
- package/lib/seam/connect/models/devices/temperature-controller.js +29 -0
- package/lib/seam/connect/models/devices/temperature-controller.js.map +1 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +119 -70
- package/lib/seam/connect/models/devices/unmanaged-device.js +5 -2
- package/lib/seam/connect/models/devices/unmanaged-device.js.map +1 -1
- package/lib/seam/connect/models/provider-capability.d.ts +1 -1
- package/lib/seam/connect/models/provider-capability.js +1 -0
- package/lib/seam/connect/models/provider-capability.js.map +1 -1
- package/lib/seam/connect/openapi.js +536 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +9160 -899
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/enums.ts +2 -0
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
- package/src/lib/seam/connect/models/action-attempts/set-pool-heating.ts +53 -0
- package/src/lib/seam/connect/models/devices/capabilities-supported.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +25 -0
- package/src/lib/seam/connect/models/devices/device.ts +52 -2
- package/src/lib/seam/connect/models/devices/index.ts +2 -0
- package/src/lib/seam/connect/models/devices/pool.ts +45 -0
- package/src/lib/seam/connect/models/devices/temperature-controller.ts +50 -0
- package/src/lib/seam/connect/models/devices/unmanaged-device.ts +21 -14
- package/src/lib/seam/connect/models/provider-capability.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +585 -2
- package/src/lib/seam/connect/route-types.ts +36423 -26133
|
@@ -30,6 +30,7 @@ export declare const device_capability_flags: z.ZodObject<{
|
|
|
30
30
|
can_play_speaker_chime: z.ZodOptional<z.ZodBoolean>;
|
|
31
31
|
can_play_speaker_favorite: z.ZodOptional<z.ZodBoolean>;
|
|
32
32
|
can_play_speaker_audio_clip: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
+
can_control_temperature: z.ZodOptional<z.ZodBoolean>;
|
|
33
34
|
}, "strip", z.ZodTypeAny, {
|
|
34
35
|
can_remotely_unlock?: boolean | undefined;
|
|
35
36
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -61,6 +62,7 @@ export declare const device_capability_flags: z.ZodObject<{
|
|
|
61
62
|
can_play_speaker_chime?: boolean | undefined;
|
|
62
63
|
can_play_speaker_favorite?: boolean | undefined;
|
|
63
64
|
can_play_speaker_audio_clip?: boolean | undefined;
|
|
65
|
+
can_control_temperature?: boolean | undefined;
|
|
64
66
|
}, {
|
|
65
67
|
can_remotely_unlock?: boolean | undefined;
|
|
66
68
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -92,6 +94,7 @@ export declare const device_capability_flags: z.ZodObject<{
|
|
|
92
94
|
can_play_speaker_chime?: boolean | undefined;
|
|
93
95
|
can_play_speaker_favorite?: boolean | undefined;
|
|
94
96
|
can_play_speaker_audio_clip?: boolean | undefined;
|
|
97
|
+
can_control_temperature?: boolean | undefined;
|
|
95
98
|
}>;
|
|
96
99
|
export declare const battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
97
100
|
export type BatteryStatus = z.infer<typeof battery_status>;
|
|
@@ -1022,6 +1025,19 @@ declare const device_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObje
|
|
|
1022
1025
|
}>, z.ZodObject<{
|
|
1023
1026
|
message: z.ZodString;
|
|
1024
1027
|
created_at: z.ZodString;
|
|
1028
|
+
} & {
|
|
1029
|
+
warning_code: z.ZodLiteral<"service_mode">;
|
|
1030
|
+
}, "strip", z.ZodTypeAny, {
|
|
1031
|
+
message: string;
|
|
1032
|
+
created_at: string;
|
|
1033
|
+
warning_code: "service_mode";
|
|
1034
|
+
}, {
|
|
1035
|
+
message: string;
|
|
1036
|
+
created_at: string;
|
|
1037
|
+
warning_code: "service_mode";
|
|
1038
|
+
}>, z.ZodObject<{
|
|
1039
|
+
message: z.ZodString;
|
|
1040
|
+
created_at: z.ZodString;
|
|
1025
1041
|
} & {
|
|
1026
1042
|
warning_code: z.ZodLiteral<"provider_issue">;
|
|
1027
1043
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1427,6 +1443,20 @@ export declare const device_warning_map: z.ZodObject<{
|
|
|
1427
1443
|
created_at: string;
|
|
1428
1444
|
warning_code: "hub_required_for_additional_capabilities";
|
|
1429
1445
|
}>>;
|
|
1446
|
+
service_mode: z.ZodOptional<z.ZodObject<{
|
|
1447
|
+
message: z.ZodString;
|
|
1448
|
+
created_at: z.ZodString;
|
|
1449
|
+
} & {
|
|
1450
|
+
warning_code: z.ZodLiteral<"service_mode">;
|
|
1451
|
+
}, "strip", z.ZodTypeAny, {
|
|
1452
|
+
message: string;
|
|
1453
|
+
created_at: string;
|
|
1454
|
+
warning_code: "service_mode";
|
|
1455
|
+
}, {
|
|
1456
|
+
message: string;
|
|
1457
|
+
created_at: string;
|
|
1458
|
+
warning_code: "service_mode";
|
|
1459
|
+
}>>;
|
|
1430
1460
|
provider_issue: z.ZodOptional<z.ZodObject<{
|
|
1431
1461
|
message: z.ZodString;
|
|
1432
1462
|
created_at: z.ZodString;
|
|
@@ -1642,6 +1672,11 @@ export declare const device_warning_map: z.ZodObject<{
|
|
|
1642
1672
|
created_at: string;
|
|
1643
1673
|
warning_code: "hub_required_for_additional_capabilities";
|
|
1644
1674
|
} | undefined;
|
|
1675
|
+
service_mode?: {
|
|
1676
|
+
message: string;
|
|
1677
|
+
created_at: string;
|
|
1678
|
+
warning_code: "service_mode";
|
|
1679
|
+
} | undefined;
|
|
1645
1680
|
provider_issue?: {
|
|
1646
1681
|
message: string;
|
|
1647
1682
|
created_at: string;
|
|
@@ -1790,6 +1825,11 @@ export declare const device_warning_map: z.ZodObject<{
|
|
|
1790
1825
|
created_at: string;
|
|
1791
1826
|
warning_code: "hub_required_for_additional_capabilities";
|
|
1792
1827
|
} | undefined;
|
|
1828
|
+
service_mode?: {
|
|
1829
|
+
message: string;
|
|
1830
|
+
created_at: string;
|
|
1831
|
+
warning_code: "service_mode";
|
|
1832
|
+
} | undefined;
|
|
1793
1833
|
provider_issue?: {
|
|
1794
1834
|
message: string;
|
|
1795
1835
|
created_at: string;
|
|
@@ -2404,6 +2444,9 @@ export declare const device_and_connected_account_error_options: (z.ZodObject<{
|
|
|
2404
2444
|
is_device_error: false;
|
|
2405
2445
|
}>)[];
|
|
2406
2446
|
export declare const device: z.ZodObject<{
|
|
2447
|
+
salt_ppm: z.ZodOptional<z.ZodNumber>;
|
|
2448
|
+
is_spa: z.ZodOptional<z.ZodBoolean>;
|
|
2449
|
+
is_water_circulating: z.ZodOptional<z.ZodBoolean>;
|
|
2407
2450
|
named_sensors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2408
2451
|
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
2409
2452
|
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2450,6 +2493,19 @@ export declare const device: z.ZodObject<{
|
|
|
2450
2493
|
occupant_count?: number | undefined;
|
|
2451
2494
|
is_smoking_detected?: boolean | undefined;
|
|
2452
2495
|
}>, "many">>;
|
|
2496
|
+
temperature_setting: z.ZodOptional<z.ZodObject<{
|
|
2497
|
+
controller_mode: z.ZodEnum<["heat", "off"]>;
|
|
2498
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
2499
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
2500
|
+
}, "strip", z.ZodTypeAny, {
|
|
2501
|
+
controller_mode: "off" | "heat";
|
|
2502
|
+
heating_set_point_celsius?: number | undefined;
|
|
2503
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
2504
|
+
}, {
|
|
2505
|
+
controller_mode: "off" | "heat";
|
|
2506
|
+
heating_set_point_celsius?: number | undefined;
|
|
2507
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
2508
|
+
}>>;
|
|
2453
2509
|
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
2454
2510
|
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
2455
2511
|
relative_humidity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2463,12 +2519,14 @@ export declare const device: z.ZodObject<{
|
|
|
2463
2519
|
occupant_count: z.ZodOptional<z.ZodNumber>;
|
|
2464
2520
|
is_smoking_detected: z.ZodOptional<z.ZodBoolean>;
|
|
2465
2521
|
device_id: z.ZodString;
|
|
2466
|
-
device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "eufy_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera"]>, z.ZodEnum<["sonos_speaker"]>, z.ZodEnum<["alertify_sensor"]>]>;
|
|
2522
|
+
device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "eufy_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera"]>, z.ZodEnum<["sonos_speaker"]>, z.ZodEnum<["alertify_sensor"]>, z.ZodEnum<["hayward_pool_system" | "hayward_pool"]>]>;
|
|
2467
2523
|
space_ids: z.ZodArray<z.ZodString, "many">;
|
|
2468
2524
|
nickname: z.ZodOptional<z.ZodString>;
|
|
2469
2525
|
display_name: z.ZodString;
|
|
2470
|
-
capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
|
|
2471
|
-
|
|
2526
|
+
capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone", "pool"]>, "many">;
|
|
2527
|
+
is_online: z.ZodBoolean;
|
|
2528
|
+
is_door_locked: z.ZodOptional<z.ZodBoolean>;
|
|
2529
|
+
properties: z.ZodOptional<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
2472
2530
|
online: z.ZodBoolean;
|
|
2473
2531
|
name: z.ZodString;
|
|
2474
2532
|
accessory_keypad: z.ZodOptional<z.ZodObject<{
|
|
@@ -5585,7 +5643,7 @@ export declare const device: z.ZodObject<{
|
|
|
5585
5643
|
thermostat_daily_program_period_precision_minutes?: number | undefined;
|
|
5586
5644
|
max_unique_climate_presets_per_thermostat_weekly_program?: number | undefined;
|
|
5587
5645
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
5588
|
-
}
|
|
5646
|
+
}>>>>;
|
|
5589
5647
|
location: z.ZodOptional<z.ZodObject<{
|
|
5590
5648
|
location_name: z.ZodOptional<z.ZodString>;
|
|
5591
5649
|
room_name: z.ZodOptional<z.ZodString>;
|
|
@@ -6238,6 +6296,19 @@ export declare const device: z.ZodObject<{
|
|
|
6238
6296
|
}>, z.ZodObject<{
|
|
6239
6297
|
message: z.ZodString;
|
|
6240
6298
|
created_at: z.ZodString;
|
|
6299
|
+
} & {
|
|
6300
|
+
warning_code: z.ZodLiteral<"service_mode">;
|
|
6301
|
+
}, "strip", z.ZodTypeAny, {
|
|
6302
|
+
message: string;
|
|
6303
|
+
created_at: string;
|
|
6304
|
+
warning_code: "service_mode";
|
|
6305
|
+
}, {
|
|
6306
|
+
message: string;
|
|
6307
|
+
created_at: string;
|
|
6308
|
+
warning_code: "service_mode";
|
|
6309
|
+
}>, z.ZodObject<{
|
|
6310
|
+
message: z.ZodString;
|
|
6311
|
+
created_at: z.ZodString;
|
|
6241
6312
|
} & {
|
|
6242
6313
|
warning_code: z.ZodLiteral<"provider_issue">;
|
|
6243
6314
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6396,6 +6467,7 @@ export declare const device: z.ZodObject<{
|
|
|
6396
6467
|
can_play_speaker_chime: z.ZodOptional<z.ZodBoolean>;
|
|
6397
6468
|
can_play_speaker_favorite: z.ZodOptional<z.ZodBoolean>;
|
|
6398
6469
|
can_play_speaker_audio_clip: z.ZodOptional<z.ZodBoolean>;
|
|
6470
|
+
can_control_temperature: z.ZodOptional<z.ZodBoolean>;
|
|
6399
6471
|
}, "strip", z.ZodTypeAny, {
|
|
6400
6472
|
display_name: string;
|
|
6401
6473
|
device_id: string;
|
|
@@ -6592,6 +6664,10 @@ export declare const device: z.ZodObject<{
|
|
|
6592
6664
|
message: string;
|
|
6593
6665
|
created_at: string;
|
|
6594
6666
|
warning_code: "hub_required_for_additional_capabilities";
|
|
6667
|
+
} | {
|
|
6668
|
+
message: string;
|
|
6669
|
+
created_at: string;
|
|
6670
|
+
warning_code: "service_mode";
|
|
6595
6671
|
} | {
|
|
6596
6672
|
message: string;
|
|
6597
6673
|
created_at: string;
|
|
@@ -6624,10 +6700,65 @@ export declare const device: z.ZodObject<{
|
|
|
6624
6700
|
warning_code: "cloud_recording_not_enabled";
|
|
6625
6701
|
})[];
|
|
6626
6702
|
custom_metadata: Record<string, string | boolean>;
|
|
6627
|
-
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor";
|
|
6703
|
+
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor" | ("hayward_pool_system" | "hayward_pool");
|
|
6628
6704
|
space_ids: string[];
|
|
6629
|
-
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
6630
|
-
|
|
6705
|
+
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone" | "pool")[];
|
|
6706
|
+
is_online: boolean;
|
|
6707
|
+
is_managed: true;
|
|
6708
|
+
temperature_fahrenheit?: number | undefined;
|
|
6709
|
+
temperature_celsius?: number | undefined;
|
|
6710
|
+
relative_humidity?: number | undefined;
|
|
6711
|
+
noise_level_nrs?: number | undefined;
|
|
6712
|
+
is_spa?: boolean | undefined;
|
|
6713
|
+
is_water_circulating?: boolean | undefined;
|
|
6714
|
+
salt_ppm?: number | undefined;
|
|
6715
|
+
temperature_setting?: {
|
|
6716
|
+
controller_mode: "off" | "heat";
|
|
6717
|
+
heating_set_point_celsius?: number | undefined;
|
|
6718
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
6719
|
+
} | undefined;
|
|
6720
|
+
can_remotely_unlock?: boolean | undefined;
|
|
6721
|
+
can_remotely_lock?: boolean | undefined;
|
|
6722
|
+
can_program_offline_access_codes?: boolean | undefined;
|
|
6723
|
+
can_program_online_access_codes?: boolean | undefined;
|
|
6724
|
+
can_hvac_heat?: boolean | undefined;
|
|
6725
|
+
can_hvac_cool?: boolean | undefined;
|
|
6726
|
+
can_hvac_heat_cool?: boolean | undefined;
|
|
6727
|
+
can_turn_off_hvac?: boolean | undefined;
|
|
6728
|
+
can_activate_weekly_program?: boolean | undefined;
|
|
6729
|
+
can_simulate_removal?: boolean | undefined;
|
|
6730
|
+
can_simulate_connection?: boolean | undefined;
|
|
6731
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
6732
|
+
can_unlock_with_code?: boolean | undefined;
|
|
6733
|
+
can_run_thermostat_programs?: boolean | undefined;
|
|
6734
|
+
can_program_thermostat_programs_as_weekday_weekend?: boolean | undefined;
|
|
6735
|
+
can_program_thermostat_programs_as_different_each_day?: boolean | undefined;
|
|
6736
|
+
can_program_thermostat_programs_as_same_each_day?: boolean | undefined;
|
|
6737
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
6738
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
6739
|
+
can_simulate_paid_subscription?: boolean | undefined;
|
|
6740
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
6741
|
+
can_stream_live_video?: boolean | undefined;
|
|
6742
|
+
can_set_speaker_volume?: boolean | undefined;
|
|
6743
|
+
can_mute_speaker?: boolean | undefined;
|
|
6744
|
+
can_unmute_speaker?: boolean | undefined;
|
|
6745
|
+
can_pause_speaker_playback?: boolean | undefined;
|
|
6746
|
+
can_resume_speaker_playback?: boolean | undefined;
|
|
6747
|
+
can_play_speaker_chime?: boolean | undefined;
|
|
6748
|
+
can_play_speaker_favorite?: boolean | undefined;
|
|
6749
|
+
can_play_speaker_audio_clip?: boolean | undefined;
|
|
6750
|
+
can_control_temperature?: boolean | undefined;
|
|
6751
|
+
noise_level_decibels?: number | undefined;
|
|
6752
|
+
co2_ppm?: number | undefined;
|
|
6753
|
+
co_ppm?: number | undefined;
|
|
6754
|
+
air_quality_index?: number | undefined;
|
|
6755
|
+
mold_risk_level?: string | undefined;
|
|
6756
|
+
is_occupied?: boolean | undefined;
|
|
6757
|
+
occupant_count?: number | undefined;
|
|
6758
|
+
is_smoking_detected?: boolean | undefined;
|
|
6759
|
+
nickname?: string | undefined;
|
|
6760
|
+
is_door_locked?: boolean | undefined;
|
|
6761
|
+
properties?: ({
|
|
6631
6762
|
name: string;
|
|
6632
6763
|
model: {
|
|
6633
6764
|
display_name: string;
|
|
@@ -7258,51 +7389,7 @@ export declare const device: z.ZodObject<{
|
|
|
7258
7389
|
thermostat_daily_program_period_precision_minutes?: number | undefined;
|
|
7259
7390
|
max_unique_climate_presets_per_thermostat_weekly_program?: number | undefined;
|
|
7260
7391
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
7261
|
-
};
|
|
7262
|
-
is_managed: true;
|
|
7263
|
-
temperature_fahrenheit?: number | undefined;
|
|
7264
|
-
temperature_celsius?: number | undefined;
|
|
7265
|
-
relative_humidity?: number | undefined;
|
|
7266
|
-
noise_level_nrs?: number | undefined;
|
|
7267
|
-
can_remotely_unlock?: boolean | undefined;
|
|
7268
|
-
can_remotely_lock?: boolean | undefined;
|
|
7269
|
-
can_program_offline_access_codes?: boolean | undefined;
|
|
7270
|
-
can_program_online_access_codes?: boolean | undefined;
|
|
7271
|
-
can_hvac_heat?: boolean | undefined;
|
|
7272
|
-
can_hvac_cool?: boolean | undefined;
|
|
7273
|
-
can_hvac_heat_cool?: boolean | undefined;
|
|
7274
|
-
can_turn_off_hvac?: boolean | undefined;
|
|
7275
|
-
can_activate_weekly_program?: boolean | undefined;
|
|
7276
|
-
can_simulate_removal?: boolean | undefined;
|
|
7277
|
-
can_simulate_connection?: boolean | undefined;
|
|
7278
|
-
can_simulate_disconnection?: boolean | undefined;
|
|
7279
|
-
can_unlock_with_code?: boolean | undefined;
|
|
7280
|
-
can_run_thermostat_programs?: boolean | undefined;
|
|
7281
|
-
can_program_thermostat_programs_as_weekday_weekend?: boolean | undefined;
|
|
7282
|
-
can_program_thermostat_programs_as_different_each_day?: boolean | undefined;
|
|
7283
|
-
can_program_thermostat_programs_as_same_each_day?: boolean | undefined;
|
|
7284
|
-
can_simulate_hub_connection?: boolean | undefined;
|
|
7285
|
-
can_simulate_hub_disconnection?: boolean | undefined;
|
|
7286
|
-
can_simulate_paid_subscription?: boolean | undefined;
|
|
7287
|
-
can_configure_auto_lock?: boolean | undefined;
|
|
7288
|
-
can_stream_live_video?: boolean | undefined;
|
|
7289
|
-
can_set_speaker_volume?: boolean | undefined;
|
|
7290
|
-
can_mute_speaker?: boolean | undefined;
|
|
7291
|
-
can_unmute_speaker?: boolean | undefined;
|
|
7292
|
-
can_pause_speaker_playback?: boolean | undefined;
|
|
7293
|
-
can_resume_speaker_playback?: boolean | undefined;
|
|
7294
|
-
can_play_speaker_chime?: boolean | undefined;
|
|
7295
|
-
can_play_speaker_favorite?: boolean | undefined;
|
|
7296
|
-
can_play_speaker_audio_clip?: boolean | undefined;
|
|
7297
|
-
noise_level_decibels?: number | undefined;
|
|
7298
|
-
co2_ppm?: number | undefined;
|
|
7299
|
-
co_ppm?: number | undefined;
|
|
7300
|
-
air_quality_index?: number | undefined;
|
|
7301
|
-
mold_risk_level?: string | undefined;
|
|
7302
|
-
is_occupied?: boolean | undefined;
|
|
7303
|
-
occupant_count?: number | undefined;
|
|
7304
|
-
is_smoking_detected?: boolean | undefined;
|
|
7305
|
-
nickname?: string | undefined;
|
|
7392
|
+
}) | undefined;
|
|
7306
7393
|
location?: {
|
|
7307
7394
|
time_zone?: string | undefined;
|
|
7308
7395
|
location_name?: string | undefined;
|
|
@@ -7532,6 +7619,10 @@ export declare const device: z.ZodObject<{
|
|
|
7532
7619
|
message: string;
|
|
7533
7620
|
created_at: string;
|
|
7534
7621
|
warning_code: "hub_required_for_additional_capabilities";
|
|
7622
|
+
} | {
|
|
7623
|
+
message: string;
|
|
7624
|
+
created_at: string;
|
|
7625
|
+
warning_code: "service_mode";
|
|
7535
7626
|
} | {
|
|
7536
7627
|
message: string;
|
|
7537
7628
|
created_at: string;
|
|
@@ -7564,10 +7655,65 @@ export declare const device: z.ZodObject<{
|
|
|
7564
7655
|
warning_code: "cloud_recording_not_enabled";
|
|
7565
7656
|
})[];
|
|
7566
7657
|
custom_metadata: Record<string, string | boolean>;
|
|
7567
|
-
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor";
|
|
7658
|
+
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor" | ("hayward_pool_system" | "hayward_pool");
|
|
7568
7659
|
space_ids: string[];
|
|
7569
|
-
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
7570
|
-
|
|
7660
|
+
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone" | "pool")[];
|
|
7661
|
+
is_online: boolean;
|
|
7662
|
+
is_managed: true;
|
|
7663
|
+
temperature_fahrenheit?: number | undefined;
|
|
7664
|
+
temperature_celsius?: number | undefined;
|
|
7665
|
+
relative_humidity?: number | undefined;
|
|
7666
|
+
noise_level_nrs?: number | undefined;
|
|
7667
|
+
is_spa?: boolean | undefined;
|
|
7668
|
+
is_water_circulating?: boolean | undefined;
|
|
7669
|
+
salt_ppm?: number | undefined;
|
|
7670
|
+
temperature_setting?: {
|
|
7671
|
+
controller_mode: "off" | "heat";
|
|
7672
|
+
heating_set_point_celsius?: number | undefined;
|
|
7673
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
7674
|
+
} | undefined;
|
|
7675
|
+
can_remotely_unlock?: boolean | undefined;
|
|
7676
|
+
can_remotely_lock?: boolean | undefined;
|
|
7677
|
+
can_program_offline_access_codes?: boolean | undefined;
|
|
7678
|
+
can_program_online_access_codes?: boolean | undefined;
|
|
7679
|
+
can_hvac_heat?: boolean | undefined;
|
|
7680
|
+
can_hvac_cool?: boolean | undefined;
|
|
7681
|
+
can_hvac_heat_cool?: boolean | undefined;
|
|
7682
|
+
can_turn_off_hvac?: boolean | undefined;
|
|
7683
|
+
can_activate_weekly_program?: boolean | undefined;
|
|
7684
|
+
can_simulate_removal?: boolean | undefined;
|
|
7685
|
+
can_simulate_connection?: boolean | undefined;
|
|
7686
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
7687
|
+
can_unlock_with_code?: boolean | undefined;
|
|
7688
|
+
can_run_thermostat_programs?: boolean | undefined;
|
|
7689
|
+
can_program_thermostat_programs_as_weekday_weekend?: boolean | undefined;
|
|
7690
|
+
can_program_thermostat_programs_as_different_each_day?: boolean | undefined;
|
|
7691
|
+
can_program_thermostat_programs_as_same_each_day?: boolean | undefined;
|
|
7692
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
7693
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
7694
|
+
can_simulate_paid_subscription?: boolean | undefined;
|
|
7695
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
7696
|
+
can_stream_live_video?: boolean | undefined;
|
|
7697
|
+
can_set_speaker_volume?: boolean | undefined;
|
|
7698
|
+
can_mute_speaker?: boolean | undefined;
|
|
7699
|
+
can_unmute_speaker?: boolean | undefined;
|
|
7700
|
+
can_pause_speaker_playback?: boolean | undefined;
|
|
7701
|
+
can_resume_speaker_playback?: boolean | undefined;
|
|
7702
|
+
can_play_speaker_chime?: boolean | undefined;
|
|
7703
|
+
can_play_speaker_favorite?: boolean | undefined;
|
|
7704
|
+
can_play_speaker_audio_clip?: boolean | undefined;
|
|
7705
|
+
can_control_temperature?: boolean | undefined;
|
|
7706
|
+
noise_level_decibels?: number | undefined;
|
|
7707
|
+
co2_ppm?: number | undefined;
|
|
7708
|
+
co_ppm?: number | undefined;
|
|
7709
|
+
air_quality_index?: number | undefined;
|
|
7710
|
+
mold_risk_level?: string | undefined;
|
|
7711
|
+
is_occupied?: boolean | undefined;
|
|
7712
|
+
occupant_count?: number | undefined;
|
|
7713
|
+
is_smoking_detected?: boolean | undefined;
|
|
7714
|
+
nickname?: string | undefined;
|
|
7715
|
+
is_door_locked?: boolean | undefined;
|
|
7716
|
+
properties?: ({
|
|
7571
7717
|
name: string;
|
|
7572
7718
|
model: {
|
|
7573
7719
|
display_name: string;
|
|
@@ -8198,51 +8344,7 @@ export declare const device: z.ZodObject<{
|
|
|
8198
8344
|
thermostat_daily_program_period_precision_minutes?: number | undefined;
|
|
8199
8345
|
max_unique_climate_presets_per_thermostat_weekly_program?: number | undefined;
|
|
8200
8346
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
8201
|
-
};
|
|
8202
|
-
is_managed: true;
|
|
8203
|
-
temperature_fahrenheit?: number | undefined;
|
|
8204
|
-
temperature_celsius?: number | undefined;
|
|
8205
|
-
relative_humidity?: number | undefined;
|
|
8206
|
-
noise_level_nrs?: number | undefined;
|
|
8207
|
-
can_remotely_unlock?: boolean | undefined;
|
|
8208
|
-
can_remotely_lock?: boolean | undefined;
|
|
8209
|
-
can_program_offline_access_codes?: boolean | undefined;
|
|
8210
|
-
can_program_online_access_codes?: boolean | undefined;
|
|
8211
|
-
can_hvac_heat?: boolean | undefined;
|
|
8212
|
-
can_hvac_cool?: boolean | undefined;
|
|
8213
|
-
can_hvac_heat_cool?: boolean | undefined;
|
|
8214
|
-
can_turn_off_hvac?: boolean | undefined;
|
|
8215
|
-
can_activate_weekly_program?: boolean | undefined;
|
|
8216
|
-
can_simulate_removal?: boolean | undefined;
|
|
8217
|
-
can_simulate_connection?: boolean | undefined;
|
|
8218
|
-
can_simulate_disconnection?: boolean | undefined;
|
|
8219
|
-
can_unlock_with_code?: boolean | undefined;
|
|
8220
|
-
can_run_thermostat_programs?: boolean | undefined;
|
|
8221
|
-
can_program_thermostat_programs_as_weekday_weekend?: boolean | undefined;
|
|
8222
|
-
can_program_thermostat_programs_as_different_each_day?: boolean | undefined;
|
|
8223
|
-
can_program_thermostat_programs_as_same_each_day?: boolean | undefined;
|
|
8224
|
-
can_simulate_hub_connection?: boolean | undefined;
|
|
8225
|
-
can_simulate_hub_disconnection?: boolean | undefined;
|
|
8226
|
-
can_simulate_paid_subscription?: boolean | undefined;
|
|
8227
|
-
can_configure_auto_lock?: boolean | undefined;
|
|
8228
|
-
can_stream_live_video?: boolean | undefined;
|
|
8229
|
-
can_set_speaker_volume?: boolean | undefined;
|
|
8230
|
-
can_mute_speaker?: boolean | undefined;
|
|
8231
|
-
can_unmute_speaker?: boolean | undefined;
|
|
8232
|
-
can_pause_speaker_playback?: boolean | undefined;
|
|
8233
|
-
can_resume_speaker_playback?: boolean | undefined;
|
|
8234
|
-
can_play_speaker_chime?: boolean | undefined;
|
|
8235
|
-
can_play_speaker_favorite?: boolean | undefined;
|
|
8236
|
-
can_play_speaker_audio_clip?: boolean | undefined;
|
|
8237
|
-
noise_level_decibels?: number | undefined;
|
|
8238
|
-
co2_ppm?: number | undefined;
|
|
8239
|
-
co_ppm?: number | undefined;
|
|
8240
|
-
air_quality_index?: number | undefined;
|
|
8241
|
-
mold_risk_level?: string | undefined;
|
|
8242
|
-
is_occupied?: boolean | undefined;
|
|
8243
|
-
occupant_count?: number | undefined;
|
|
8244
|
-
is_smoking_detected?: boolean | undefined;
|
|
8245
|
-
nickname?: string | undefined;
|
|
8347
|
+
}) | undefined;
|
|
8246
8348
|
location?: {
|
|
8247
8349
|
time_zone?: string | undefined;
|
|
8248
8350
|
location_name?: string | undefined;
|
|
@@ -8277,5 +8379,8 @@ export declare const device: z.ZodObject<{
|
|
|
8277
8379
|
is_smoking_detected?: boolean | undefined;
|
|
8278
8380
|
}[] | undefined;
|
|
8279
8381
|
}>;
|
|
8280
|
-
|
|
8382
|
+
type DeviceFromSchema = z.infer<typeof device>;
|
|
8383
|
+
export type Device = Omit<DeviceFromSchema, 'properties'> & {
|
|
8384
|
+
properties: NonNullable<DeviceFromSchema['properties']>;
|
|
8385
|
+
};
|
|
8281
8386
|
export {};
|
|
@@ -7,6 +7,8 @@ import { capability_properties } from './capability-properties/index.js';
|
|
|
7
7
|
import { device_metadata } from './device-metadata.js';
|
|
8
8
|
import { any_device_type } from './device-type.js';
|
|
9
9
|
import { phone_specific_properties } from './phone-properties.js';
|
|
10
|
+
import { pool_fields, pool_system_fields } from './pool.js';
|
|
11
|
+
import { temperature_controller_fields } from './temperature-controller.js';
|
|
10
12
|
export const device_capability_flags = z
|
|
11
13
|
.object({
|
|
12
14
|
can_remotely_unlock: z
|
|
@@ -123,6 +125,12 @@ export const device_capability_flags = z
|
|
|
123
125
|
---
|
|
124
126
|
Indicates whether the speaker supports playing an audio clip from a URL.
|
|
125
127
|
`),
|
|
128
|
+
can_control_temperature: z.boolean().describe(`
|
|
129
|
+
---
|
|
130
|
+
undocumented: Unreleased.
|
|
131
|
+
---
|
|
132
|
+
Indicates whether the device supports controlling its primary target temperature.
|
|
133
|
+
`),
|
|
126
134
|
})
|
|
127
135
|
.partial();
|
|
128
136
|
export const battery_status = z.enum(['critical', 'low', 'good', 'full'])
|
|
@@ -538,6 +546,15 @@ const hub_required_for_additional_capabilities = common_device_warning.extend({
|
|
|
538
546
|
---
|
|
539
547
|
Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.
|
|
540
548
|
`);
|
|
549
|
+
const service_mode = common_device_warning.extend({
|
|
550
|
+
warning_code: z.literal('service_mode').describe(warning_code_description),
|
|
551
|
+
}).describe(`
|
|
552
|
+
---
|
|
553
|
+
variant_group_key: pools
|
|
554
|
+
undocumented: Unreleased.
|
|
555
|
+
---
|
|
556
|
+
Indicates that a technician has put the pool controller in service mode. Schedules and remote changes will not run until it is switched back.
|
|
557
|
+
`);
|
|
541
558
|
const provider_issue = common_device_warning.extend({
|
|
542
559
|
warning_code: z.literal('provider_issue').describe(warning_code_description),
|
|
543
560
|
}).describe(`
|
|
@@ -634,6 +651,7 @@ const device_warning = z.discriminatedUnion('warning_code', [
|
|
|
634
651
|
time_zone_mismatch,
|
|
635
652
|
two_n_device_missing_timezone,
|
|
636
653
|
hub_required_for_additional_capabilities,
|
|
654
|
+
service_mode,
|
|
637
655
|
provider_issue,
|
|
638
656
|
keynest_unsupported_locker,
|
|
639
657
|
accessory_keypad_setup_required,
|
|
@@ -665,6 +683,7 @@ export const device_warning_map = z.object({
|
|
|
665
683
|
time_zone_mismatch: time_zone_mismatch.optional(),
|
|
666
684
|
two_n_device_missing_timezone: two_n_device_missing_timezone.optional(),
|
|
667
685
|
hub_required_for_additional_capabilities: hub_required_for_additional_capabilities.optional(),
|
|
686
|
+
service_mode: service_mode.optional(),
|
|
668
687
|
provider_issue: provider_issue.optional(),
|
|
669
688
|
keynest_unsupported_locker: keynest_unsupported_locker.optional(),
|
|
670
689
|
accessory_keypad_setup_required: accessory_keypad_setup_required.optional(),
|
|
@@ -1036,10 +1055,25 @@ export const device = z
|
|
|
1036
1055
|
capabilities_supported: z.array(capabilities).describe(`
|
|
1037
1056
|
Collection of capabilities that the device supports when connected to Seam. Values are \`access_code\`, which indicates that the device can manage and utilize digital PIN codes for secure access; \`lock\`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; \`noise_detection\`, which indicates that the device supports monitoring and responding to ambient noise levels; \`thermostat\`, which indicates that the device can regulate and adjust indoor temperatures; \`battery\`, which indicates that the device can manage battery life and health; and \`phone\`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://www.seam.co/docs/capability-guides/device-and-system-capabilities#capability-flags).
|
|
1038
1057
|
`),
|
|
1058
|
+
is_online: z.boolean().describe(`
|
|
1059
|
+
---
|
|
1060
|
+
undocumented: Unreleased.
|
|
1061
|
+
property_group_key: hardware
|
|
1062
|
+
---
|
|
1063
|
+
Indicates whether the device is online.
|
|
1064
|
+
`),
|
|
1065
|
+
is_door_locked: z.boolean().optional().describe(`
|
|
1066
|
+
---
|
|
1067
|
+
undocumented: Unreleased.
|
|
1068
|
+
property_group_key: locks
|
|
1069
|
+
---
|
|
1070
|
+
Indicates whether the lock is locked.
|
|
1071
|
+
`),
|
|
1039
1072
|
properties: common_device_properties
|
|
1040
1073
|
.and(phone_specific_properties.partial())
|
|
1041
1074
|
.and(device_metadata)
|
|
1042
|
-
.and(capability_properties)
|
|
1075
|
+
.and(capability_properties)
|
|
1076
|
+
.optional().describe(`
|
|
1043
1077
|
---
|
|
1044
1078
|
property_groups:
|
|
1045
1079
|
locks:
|
|
@@ -1110,6 +1144,8 @@ export const device = z
|
|
|
1110
1144
|
name: Hardware
|
|
1111
1145
|
noise_sensors:
|
|
1112
1146
|
name: Noise Sensors
|
|
1147
|
+
pools:
|
|
1148
|
+
name: Pools
|
|
1113
1149
|
phones:
|
|
1114
1150
|
name: Phones
|
|
1115
1151
|
provider_metadata:
|
|
@@ -1130,6 +1166,8 @@ export const device = z
|
|
|
1130
1166
|
name: Hardware
|
|
1131
1167
|
noise_sensors:
|
|
1132
1168
|
name: Noise Sensors
|
|
1169
|
+
pools:
|
|
1170
|
+
name: Pools
|
|
1133
1171
|
phones:
|
|
1134
1172
|
name: Phones
|
|
1135
1173
|
provider_metadata:
|
|
@@ -1155,6 +1193,7 @@ export const device = z
|
|
|
1155
1193
|
Manufacturer of the device. Represents the hardware brand, which may differ from the provider.
|
|
1156
1194
|
`),
|
|
1157
1195
|
...sensor_measurements.shape,
|
|
1196
|
+
...temperature_controller_fields.shape,
|
|
1158
1197
|
named_sensors: z
|
|
1159
1198
|
.array(named_sensor)
|
|
1160
1199
|
.describe(`
|
|
@@ -1164,6 +1203,8 @@ export const device = z
|
|
|
1164
1203
|
Additional sensors of the same kind on the device, each with a stable \`sensor_name\`. Present only when the device has more than one sensor of a kind or no single main sensor.
|
|
1165
1204
|
`)
|
|
1166
1205
|
.optional(),
|
|
1206
|
+
...pool_fields.shape,
|
|
1207
|
+
...pool_system_fields.shape,
|
|
1167
1208
|
})
|
|
1168
1209
|
.merge(device_capability_flags).describe(`
|
|
1169
1210
|
---
|
|
@@ -1181,8 +1222,12 @@ export const device = z
|
|
|
1181
1222
|
name: Noise Sensors
|
|
1182
1223
|
sensors:
|
|
1183
1224
|
name: Sensors
|
|
1225
|
+
temperature_controllers:
|
|
1226
|
+
name: Temperature Controllers
|
|
1184
1227
|
speakers:
|
|
1185
1228
|
name: Speakers
|
|
1229
|
+
pools:
|
|
1230
|
+
name: Pools
|
|
1186
1231
|
phones:
|
|
1187
1232
|
name: Phones
|
|
1188
1233
|
provider_metadata:
|