@seamapi/types 1.1202.0 → 1.1203.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/acs/acs-system.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +9 -9
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -2
- 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 → set-temperature-controller-mode.d.ts} +10 -10
- package/lib/seam/connect/models/action-attempts/{set-pool-heating.js → set-temperature-controller-mode.js} +7 -7
- package/lib/seam/connect/models/action-attempts/set-temperature-controller-mode.js.map +1 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +10 -25
- package/lib/seam/connect/models/devices/device-metadata.js +7 -19
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +4 -4
- package/lib/seam/connect/models/devices/device-type.js +3 -3
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +27 -48
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +23 -38
- package/lib/seam/connect/models/events/devices.d.ts +4 -4
- package/lib/seam/connect/models/events/seam-event.d.ts +2 -2
- package/lib/seam/connect/openapi.js +32 -43
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +421 -529
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -2
- package/src/lib/seam/connect/models/action-attempts/set-temperature-controller-mode.ts +54 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +7 -23
- package/src/lib/seam/connect/models/devices/device-type.ts +3 -3
- package/src/lib/seam/connect/openapi.ts +32 -46
- package/src/lib/seam/connect/route-types.ts +421 -563
- package/lib/seam/connect/models/action-attempts/set-pool-heating.js.map +0 -1
- package/src/lib/seam/connect/models/action-attempts/set-pool-heating.ts +0 -53
|
@@ -2044,10 +2044,10 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
2044
2044
|
level: z.ZodNumber;
|
|
2045
2045
|
status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
2046
2046
|
}, "strip", z.ZodTypeAny, {
|
|
2047
|
-
status: "
|
|
2047
|
+
status: "critical" | "low" | "good" | "full";
|
|
2048
2048
|
level: number;
|
|
2049
2049
|
}, {
|
|
2050
|
-
status: "
|
|
2050
|
+
status: "critical" | "low" | "good" | "full";
|
|
2051
2051
|
level: number;
|
|
2052
2052
|
}>>;
|
|
2053
2053
|
manufacturer: z.ZodOptional<z.ZodString>;
|
|
@@ -2076,7 +2076,7 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
2076
2076
|
name: string;
|
|
2077
2077
|
};
|
|
2078
2078
|
battery?: {
|
|
2079
|
-
status: "
|
|
2079
|
+
status: "critical" | "low" | "good" | "full";
|
|
2080
2080
|
level: number;
|
|
2081
2081
|
} | undefined;
|
|
2082
2082
|
image_url?: string | undefined;
|
|
@@ -2113,7 +2113,7 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
2113
2113
|
name: string;
|
|
2114
2114
|
};
|
|
2115
2115
|
battery?: {
|
|
2116
|
-
status: "
|
|
2116
|
+
status: "critical" | "low" | "good" | "full";
|
|
2117
2117
|
level: number;
|
|
2118
2118
|
} | undefined;
|
|
2119
2119
|
image_url?: string | undefined;
|
|
@@ -2556,7 +2556,7 @@ export declare const device: z.ZodObject<{
|
|
|
2556
2556
|
estimated_occupant_count: z.ZodOptional<z.ZodNumber>;
|
|
2557
2557
|
is_smoking_detected: z.ZodOptional<z.ZodBoolean>;
|
|
2558
2558
|
device_id: z.ZodString;
|
|
2559
|
-
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" | "tuya_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" | "sensibo_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<["
|
|
2559
|
+
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" | "tuya_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" | "sensibo_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_controller" | "hayward_pool"]>]>;
|
|
2560
2560
|
space_ids: z.ZodArray<z.ZodString, "many">;
|
|
2561
2561
|
nickname: z.ZodOptional<z.ZodString>;
|
|
2562
2562
|
display_name: z.ZodString;
|
|
@@ -2624,10 +2624,10 @@ export declare const device: z.ZodObject<{
|
|
|
2624
2624
|
level: z.ZodNumber;
|
|
2625
2625
|
status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
2626
2626
|
}, "strip", z.ZodTypeAny, {
|
|
2627
|
-
status: "
|
|
2627
|
+
status: "critical" | "low" | "good" | "full";
|
|
2628
2628
|
level: number;
|
|
2629
2629
|
}, {
|
|
2630
|
-
status: "
|
|
2630
|
+
status: "critical" | "low" | "good" | "full";
|
|
2631
2631
|
level: number;
|
|
2632
2632
|
}>>;
|
|
2633
2633
|
manufacturer: z.ZodOptional<z.ZodString>;
|
|
@@ -2656,7 +2656,7 @@ export declare const device: z.ZodObject<{
|
|
|
2656
2656
|
name: string;
|
|
2657
2657
|
};
|
|
2658
2658
|
battery?: {
|
|
2659
|
-
status: "
|
|
2659
|
+
status: "critical" | "low" | "good" | "full";
|
|
2660
2660
|
level: number;
|
|
2661
2661
|
} | undefined;
|
|
2662
2662
|
image_url?: string | undefined;
|
|
@@ -2693,7 +2693,7 @@ export declare const device: z.ZodObject<{
|
|
|
2693
2693
|
name: string;
|
|
2694
2694
|
};
|
|
2695
2695
|
battery?: {
|
|
2696
|
-
status: "
|
|
2696
|
+
status: "critical" | "low" | "good" | "full";
|
|
2697
2697
|
level: number;
|
|
2698
2698
|
} | undefined;
|
|
2699
2699
|
image_url?: string | undefined;
|
|
@@ -4004,27 +4004,18 @@ export declare const device: z.ZodObject<{
|
|
|
4004
4004
|
hayward_omnilogic_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
4005
4005
|
msp_system_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4006
4006
|
backyard_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
virtual_heater_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4010
|
-
is_shared_equipment: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4011
|
-
shared_equipment_priority: z.ZodOptional<z.ZodOptional<z.ZodEnum<["high", "low"]>>>;
|
|
4007
|
+
system_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4008
|
+
system_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4012
4009
|
}, "strip", z.ZodTypeAny, {
|
|
4013
4010
|
msp_system_id?: string | undefined;
|
|
4014
4011
|
backyard_name?: string | undefined;
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
virtual_heater_id?: string | undefined;
|
|
4018
|
-
is_shared_equipment?: boolean | undefined;
|
|
4019
|
-
shared_equipment_priority?: "high" | "low" | undefined;
|
|
4012
|
+
system_id?: string | undefined;
|
|
4013
|
+
system_name?: string | undefined;
|
|
4020
4014
|
}, {
|
|
4021
4015
|
msp_system_id?: string | undefined;
|
|
4022
4016
|
backyard_name?: string | undefined;
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
virtual_heater_id?: string | undefined;
|
|
4026
|
-
is_shared_equipment?: boolean | undefined;
|
|
4027
|
-
shared_equipment_priority?: "high" | "low" | undefined;
|
|
4017
|
+
system_id?: string | undefined;
|
|
4018
|
+
system_name?: string | undefined;
|
|
4028
4019
|
}>>>;
|
|
4029
4020
|
}, "strip", z.ZodTypeAny, {
|
|
4030
4021
|
ecobee_metadata?: {
|
|
@@ -4431,11 +4422,8 @@ export declare const device: z.ZodObject<{
|
|
|
4431
4422
|
hayward_omnilogic_metadata?: {
|
|
4432
4423
|
msp_system_id?: string | undefined;
|
|
4433
4424
|
backyard_name?: string | undefined;
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
virtual_heater_id?: string | undefined;
|
|
4437
|
-
is_shared_equipment?: boolean | undefined;
|
|
4438
|
-
shared_equipment_priority?: "high" | "low" | undefined;
|
|
4425
|
+
system_id?: string | undefined;
|
|
4426
|
+
system_name?: string | undefined;
|
|
4439
4427
|
} | undefined;
|
|
4440
4428
|
}, {
|
|
4441
4429
|
ecobee_metadata?: {
|
|
@@ -4842,11 +4830,8 @@ export declare const device: z.ZodObject<{
|
|
|
4842
4830
|
hayward_omnilogic_metadata?: {
|
|
4843
4831
|
msp_system_id?: string | undefined;
|
|
4844
4832
|
backyard_name?: string | undefined;
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
virtual_heater_id?: string | undefined;
|
|
4848
|
-
is_shared_equipment?: boolean | undefined;
|
|
4849
|
-
shared_equipment_priority?: "high" | "low" | undefined;
|
|
4833
|
+
system_id?: string | undefined;
|
|
4834
|
+
system_name?: string | undefined;
|
|
4850
4835
|
} | undefined;
|
|
4851
4836
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
4852
4837
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -6885,7 +6870,7 @@ export declare const device: z.ZodObject<{
|
|
|
6885
6870
|
warning_code: "cloud_recording_not_enabled";
|
|
6886
6871
|
})[];
|
|
6887
6872
|
custom_metadata: Record<string, string | boolean>;
|
|
6888
|
-
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" | "tuya_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "sensibo_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor" | ("
|
|
6873
|
+
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" | "tuya_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "sensibo_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor" | ("hayward_pool_controller" | "hayward_pool");
|
|
6889
6874
|
space_ids: string[];
|
|
6890
6875
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone" | "pool")[];
|
|
6891
6876
|
is_online: boolean;
|
|
@@ -6959,7 +6944,7 @@ export declare const device: z.ZodObject<{
|
|
|
6959
6944
|
name: string;
|
|
6960
6945
|
};
|
|
6961
6946
|
battery?: {
|
|
6962
|
-
status: "
|
|
6947
|
+
status: "critical" | "low" | "good" | "full";
|
|
6963
6948
|
level: number;
|
|
6964
6949
|
} | undefined;
|
|
6965
6950
|
image_url?: string | undefined;
|
|
@@ -7396,11 +7381,8 @@ export declare const device: z.ZodObject<{
|
|
|
7396
7381
|
hayward_omnilogic_metadata?: {
|
|
7397
7382
|
msp_system_id?: string | undefined;
|
|
7398
7383
|
backyard_name?: string | undefined;
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
virtual_heater_id?: string | undefined;
|
|
7402
|
-
is_shared_equipment?: boolean | undefined;
|
|
7403
|
-
shared_equipment_priority?: "high" | "low" | undefined;
|
|
7384
|
+
system_id?: string | undefined;
|
|
7385
|
+
system_name?: string | undefined;
|
|
7404
7386
|
} | undefined;
|
|
7405
7387
|
} & {
|
|
7406
7388
|
code_constraints?: ({
|
|
@@ -7873,7 +7855,7 @@ export declare const device: z.ZodObject<{
|
|
|
7873
7855
|
warning_code: "cloud_recording_not_enabled";
|
|
7874
7856
|
})[];
|
|
7875
7857
|
custom_metadata: Record<string, string | boolean>;
|
|
7876
|
-
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" | "tuya_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "sensibo_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor" | ("
|
|
7858
|
+
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" | "tuya_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "sensibo_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor" | ("hayward_pool_controller" | "hayward_pool");
|
|
7877
7859
|
space_ids: string[];
|
|
7878
7860
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone" | "pool")[];
|
|
7879
7861
|
is_online: boolean;
|
|
@@ -7947,7 +7929,7 @@ export declare const device: z.ZodObject<{
|
|
|
7947
7929
|
name: string;
|
|
7948
7930
|
};
|
|
7949
7931
|
battery?: {
|
|
7950
|
-
status: "
|
|
7932
|
+
status: "critical" | "low" | "good" | "full";
|
|
7951
7933
|
level: number;
|
|
7952
7934
|
} | undefined;
|
|
7953
7935
|
image_url?: string | undefined;
|
|
@@ -8384,11 +8366,8 @@ export declare const device: z.ZodObject<{
|
|
|
8384
8366
|
hayward_omnilogic_metadata?: {
|
|
8385
8367
|
msp_system_id?: string | undefined;
|
|
8386
8368
|
backyard_name?: string | undefined;
|
|
8387
|
-
|
|
8388
|
-
|
|
8389
|
-
virtual_heater_id?: string | undefined;
|
|
8390
|
-
is_shared_equipment?: boolean | undefined;
|
|
8391
|
-
shared_equipment_priority?: "high" | "low" | undefined;
|
|
8369
|
+
system_id?: string | undefined;
|
|
8370
|
+
system_name?: string | undefined;
|
|
8392
8371
|
} | undefined;
|
|
8393
8372
|
} & {
|
|
8394
8373
|
code_constraints?: ({
|
|
@@ -75,7 +75,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
75
75
|
estimated_occupant_count: z.ZodOptional<z.ZodNumber>;
|
|
76
76
|
is_smoking_detected: z.ZodOptional<z.ZodBoolean>;
|
|
77
77
|
device_id: z.ZodString;
|
|
78
|
-
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" | "tuya_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" | "sensibo_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<["
|
|
78
|
+
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" | "tuya_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" | "sensibo_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_controller" | "hayward_pool"]>]>;
|
|
79
79
|
space_ids: z.ZodArray<z.ZodString, "many">;
|
|
80
80
|
nickname: z.ZodOptional<z.ZodString>;
|
|
81
81
|
display_name: z.ZodString;
|
|
@@ -143,10 +143,10 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
143
143
|
level: z.ZodNumber;
|
|
144
144
|
status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
145
145
|
}, "strip", z.ZodTypeAny, {
|
|
146
|
-
status: "
|
|
146
|
+
status: "critical" | "low" | "good" | "full";
|
|
147
147
|
level: number;
|
|
148
148
|
}, {
|
|
149
|
-
status: "
|
|
149
|
+
status: "critical" | "low" | "good" | "full";
|
|
150
150
|
level: number;
|
|
151
151
|
}>>;
|
|
152
152
|
manufacturer: z.ZodOptional<z.ZodString>;
|
|
@@ -175,7 +175,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
175
175
|
name: string;
|
|
176
176
|
};
|
|
177
177
|
battery?: {
|
|
178
|
-
status: "
|
|
178
|
+
status: "critical" | "low" | "good" | "full";
|
|
179
179
|
level: number;
|
|
180
180
|
} | undefined;
|
|
181
181
|
image_url?: string | undefined;
|
|
@@ -212,7 +212,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
212
212
|
name: string;
|
|
213
213
|
};
|
|
214
214
|
battery?: {
|
|
215
|
-
status: "
|
|
215
|
+
status: "critical" | "low" | "good" | "full";
|
|
216
216
|
level: number;
|
|
217
217
|
} | undefined;
|
|
218
218
|
image_url?: string | undefined;
|
|
@@ -1523,27 +1523,18 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1523
1523
|
hayward_omnilogic_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1524
1524
|
msp_system_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1525
1525
|
backyard_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
virtual_heater_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1529
|
-
is_shared_equipment: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1530
|
-
shared_equipment_priority: z.ZodOptional<z.ZodOptional<z.ZodEnum<["high", "low"]>>>;
|
|
1526
|
+
system_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1527
|
+
system_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1531
1528
|
}, "strip", z.ZodTypeAny, {
|
|
1532
1529
|
msp_system_id?: string | undefined;
|
|
1533
1530
|
backyard_name?: string | undefined;
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
virtual_heater_id?: string | undefined;
|
|
1537
|
-
is_shared_equipment?: boolean | undefined;
|
|
1538
|
-
shared_equipment_priority?: "high" | "low" | undefined;
|
|
1531
|
+
system_id?: string | undefined;
|
|
1532
|
+
system_name?: string | undefined;
|
|
1539
1533
|
}, {
|
|
1540
1534
|
msp_system_id?: string | undefined;
|
|
1541
1535
|
backyard_name?: string | undefined;
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
virtual_heater_id?: string | undefined;
|
|
1545
|
-
is_shared_equipment?: boolean | undefined;
|
|
1546
|
-
shared_equipment_priority?: "high" | "low" | undefined;
|
|
1536
|
+
system_id?: string | undefined;
|
|
1537
|
+
system_name?: string | undefined;
|
|
1547
1538
|
}>>>;
|
|
1548
1539
|
}, "strip", z.ZodTypeAny, {
|
|
1549
1540
|
ecobee_metadata?: {
|
|
@@ -1950,11 +1941,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1950
1941
|
hayward_omnilogic_metadata?: {
|
|
1951
1942
|
msp_system_id?: string | undefined;
|
|
1952
1943
|
backyard_name?: string | undefined;
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
virtual_heater_id?: string | undefined;
|
|
1956
|
-
is_shared_equipment?: boolean | undefined;
|
|
1957
|
-
shared_equipment_priority?: "high" | "low" | undefined;
|
|
1944
|
+
system_id?: string | undefined;
|
|
1945
|
+
system_name?: string | undefined;
|
|
1958
1946
|
} | undefined;
|
|
1959
1947
|
}, {
|
|
1960
1948
|
ecobee_metadata?: {
|
|
@@ -2361,11 +2349,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
2361
2349
|
hayward_omnilogic_metadata?: {
|
|
2362
2350
|
msp_system_id?: string | undefined;
|
|
2363
2351
|
backyard_name?: string | undefined;
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
virtual_heater_id?: string | undefined;
|
|
2367
|
-
is_shared_equipment?: boolean | undefined;
|
|
2368
|
-
shared_equipment_priority?: "high" | "low" | undefined;
|
|
2352
|
+
system_id?: string | undefined;
|
|
2353
|
+
system_name?: string | undefined;
|
|
2369
2354
|
} | undefined;
|
|
2370
2355
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
2371
2356
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -4231,10 +4216,10 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4231
4216
|
level: z.ZodNumber;
|
|
4232
4217
|
status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
4233
4218
|
}, "strip", z.ZodTypeAny, {
|
|
4234
|
-
status: "
|
|
4219
|
+
status: "critical" | "low" | "good" | "full";
|
|
4235
4220
|
level: number;
|
|
4236
4221
|
}, {
|
|
4237
|
-
status: "
|
|
4222
|
+
status: "critical" | "low" | "good" | "full";
|
|
4238
4223
|
level: number;
|
|
4239
4224
|
}>>;
|
|
4240
4225
|
manufacturer: z.ZodOptional<z.ZodString>;
|
|
@@ -4260,7 +4245,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4260
4245
|
};
|
|
4261
4246
|
online: boolean;
|
|
4262
4247
|
battery?: {
|
|
4263
|
-
status: "
|
|
4248
|
+
status: "critical" | "low" | "good" | "full";
|
|
4264
4249
|
level: number;
|
|
4265
4250
|
} | undefined;
|
|
4266
4251
|
image_url?: string | undefined;
|
|
@@ -4288,7 +4273,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4288
4273
|
};
|
|
4289
4274
|
online: boolean;
|
|
4290
4275
|
battery?: {
|
|
4291
|
-
status: "
|
|
4276
|
+
status: "critical" | "low" | "good" | "full";
|
|
4292
4277
|
level: number;
|
|
4293
4278
|
} | undefined;
|
|
4294
4279
|
image_url?: string | undefined;
|
|
@@ -4572,7 +4557,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4572
4557
|
warning_code: "cloud_recording_not_enabled";
|
|
4573
4558
|
})[];
|
|
4574
4559
|
custom_metadata: Record<string, string | boolean>;
|
|
4575
|
-
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" | "tuya_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "sensibo_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor" | ("
|
|
4560
|
+
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" | "tuya_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "sensibo_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor" | ("hayward_pool_controller" | "hayward_pool");
|
|
4576
4561
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone" | "pool")[];
|
|
4577
4562
|
is_online: boolean;
|
|
4578
4563
|
is_managed: false;
|
|
@@ -4620,7 +4605,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4620
4605
|
};
|
|
4621
4606
|
online: boolean;
|
|
4622
4607
|
battery?: {
|
|
4623
|
-
status: "
|
|
4608
|
+
status: "critical" | "low" | "good" | "full";
|
|
4624
4609
|
level: number;
|
|
4625
4610
|
} | undefined;
|
|
4626
4611
|
image_url?: string | undefined;
|
|
@@ -4878,7 +4863,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4878
4863
|
warning_code: "cloud_recording_not_enabled";
|
|
4879
4864
|
})[];
|
|
4880
4865
|
custom_metadata: Record<string, string | boolean>;
|
|
4881
|
-
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" | "tuya_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "sensibo_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor" | ("
|
|
4866
|
+
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" | "tuya_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "sensibo_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor" | ("hayward_pool_controller" | "hayward_pool");
|
|
4882
4867
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone" | "pool")[];
|
|
4883
4868
|
is_online: boolean;
|
|
4884
4869
|
is_managed: false;
|
|
@@ -4926,7 +4911,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4926
4911
|
};
|
|
4927
4912
|
online: boolean;
|
|
4928
4913
|
battery?: {
|
|
4929
|
-
status: "
|
|
4914
|
+
status: "critical" | "low" | "good" | "full";
|
|
4930
4915
|
level: number;
|
|
4931
4916
|
} | undefined;
|
|
4932
4917
|
image_url?: string | undefined;
|
|
@@ -587,7 +587,7 @@ export declare const device_battery_status_changed_event: z.ZodObject<{
|
|
|
587
587
|
event_id: string;
|
|
588
588
|
occurred_at: string;
|
|
589
589
|
event_type: "device.battery_status_changed";
|
|
590
|
-
battery_status: "
|
|
590
|
+
battery_status: "critical" | "low" | "good" | "full";
|
|
591
591
|
customer_key?: string | undefined;
|
|
592
592
|
event_description?: string | undefined;
|
|
593
593
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -601,7 +601,7 @@ export declare const device_battery_status_changed_event: z.ZodObject<{
|
|
|
601
601
|
event_id: string;
|
|
602
602
|
occurred_at: string;
|
|
603
603
|
event_type: "device.battery_status_changed";
|
|
604
|
-
battery_status: "
|
|
604
|
+
battery_status: "critical" | "low" | "good" | "full";
|
|
605
605
|
customer_key?: string | undefined;
|
|
606
606
|
event_description?: string | undefined;
|
|
607
607
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -2827,7 +2827,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2827
2827
|
event_id: string;
|
|
2828
2828
|
occurred_at: string;
|
|
2829
2829
|
event_type: "device.battery_status_changed";
|
|
2830
|
-
battery_status: "
|
|
2830
|
+
battery_status: "critical" | "low" | "good" | "full";
|
|
2831
2831
|
customer_key?: string | undefined;
|
|
2832
2832
|
event_description?: string | undefined;
|
|
2833
2833
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -2841,7 +2841,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2841
2841
|
event_id: string;
|
|
2842
2842
|
occurred_at: string;
|
|
2843
2843
|
event_type: "device.battery_status_changed";
|
|
2844
|
-
battery_status: "
|
|
2844
|
+
battery_status: "critical" | "low" | "good" | "full";
|
|
2845
2845
|
customer_key?: string | undefined;
|
|
2846
2846
|
event_description?: string | undefined;
|
|
2847
2847
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -4715,7 +4715,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
4715
4715
|
event_id: string;
|
|
4716
4716
|
occurred_at: string;
|
|
4717
4717
|
event_type: "device.battery_status_changed";
|
|
4718
|
-
battery_status: "
|
|
4718
|
+
battery_status: "critical" | "low" | "good" | "full";
|
|
4719
4719
|
customer_key?: string | undefined;
|
|
4720
4720
|
event_description?: string | undefined;
|
|
4721
4721
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -4729,7 +4729,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
4729
4729
|
event_id: string;
|
|
4730
4730
|
occurred_at: string;
|
|
4731
4731
|
event_type: "device.battery_status_changed";
|
|
4732
|
-
battery_status: "
|
|
4732
|
+
battery_status: "critical" | "low" | "good" | "full";
|
|
4733
4733
|
customer_key?: string | undefined;
|
|
4734
4734
|
event_description?: string | undefined;
|
|
4735
4735
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|