@seamapi/types 1.1197.0 → 1.1199.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/devices/device-metadata.d.ts +43 -0
- package/lib/seam/connect/models/devices/device-metadata.js +35 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
- package/lib/seam/connect/models/devices/device-type.js +1 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +144 -25
- package/lib/seam/connect/models/devices/device.js +19 -7
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +21 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +75 -11
- package/lib/seam/connect/openapi.js +140 -16
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +650 -176
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +36 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
- package/src/lib/seam/connect/models/devices/device.ts +21 -7
- package/src/lib/seam/connect/openapi.ts +159 -19
- package/src/lib/seam/connect/route-types.ts +710 -144
|
@@ -13,8 +13,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
13
13
|
co_ppm: z.ZodOptional<z.ZodNumber>;
|
|
14
14
|
air_quality_index: z.ZodOptional<z.ZodNumber>;
|
|
15
15
|
mold_risk_level: z.ZodOptional<z.ZodString>;
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
is_occupancy_detected: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
estimated_occupant_count: z.ZodOptional<z.ZodNumber>;
|
|
18
18
|
is_smoking_detected: z.ZodOptional<z.ZodBoolean>;
|
|
19
19
|
sensor_name: z.ZodString;
|
|
20
20
|
display_name: z.ZodString;
|
|
@@ -30,8 +30,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
30
30
|
co_ppm?: number | undefined;
|
|
31
31
|
air_quality_index?: number | undefined;
|
|
32
32
|
mold_risk_level?: string | undefined;
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
is_occupancy_detected?: boolean | undefined;
|
|
34
|
+
estimated_occupant_count?: number | undefined;
|
|
35
35
|
is_smoking_detected?: boolean | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
display_name: string;
|
|
@@ -45,8 +45,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
45
45
|
co_ppm?: number | undefined;
|
|
46
46
|
air_quality_index?: number | undefined;
|
|
47
47
|
mold_risk_level?: string | undefined;
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
is_occupancy_detected?: boolean | undefined;
|
|
49
|
+
estimated_occupant_count?: number | undefined;
|
|
50
50
|
is_smoking_detected?: boolean | undefined;
|
|
51
51
|
}>, "many">>;
|
|
52
52
|
temperature_setting: z.ZodOptional<z.ZodObject<{
|
|
@@ -71,11 +71,11 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
71
71
|
co_ppm: z.ZodOptional<z.ZodNumber>;
|
|
72
72
|
air_quality_index: z.ZodOptional<z.ZodNumber>;
|
|
73
73
|
mold_risk_level: z.ZodOptional<z.ZodString>;
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
is_occupancy_detected: z.ZodOptional<z.ZodBoolean>;
|
|
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" | "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"]>]>;
|
|
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" | "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"]>]>;
|
|
79
79
|
space_ids: z.ZodArray<z.ZodString, "many">;
|
|
80
80
|
nickname: z.ZodOptional<z.ZodString>;
|
|
81
81
|
display_name: z.ZodString;
|
|
@@ -1432,6 +1432,31 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1432
1432
|
model_type?: number | undefined;
|
|
1433
1433
|
position_id?: string | null | undefined;
|
|
1434
1434
|
}>>;
|
|
1435
|
+
tuya_metadata: z.ZodOptional<z.ZodObject<{
|
|
1436
|
+
device_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1437
|
+
device_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1438
|
+
category: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1439
|
+
product_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1440
|
+
product_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1441
|
+
model: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1442
|
+
time_zone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1443
|
+
}, "strip", z.ZodTypeAny, {
|
|
1444
|
+
time_zone?: string | null | undefined;
|
|
1445
|
+
device_id?: string | undefined;
|
|
1446
|
+
model?: string | null | undefined;
|
|
1447
|
+
device_name?: string | undefined;
|
|
1448
|
+
product_name?: string | undefined;
|
|
1449
|
+
category?: string | undefined;
|
|
1450
|
+
product_id?: string | undefined;
|
|
1451
|
+
}, {
|
|
1452
|
+
time_zone?: string | null | undefined;
|
|
1453
|
+
device_id?: string | undefined;
|
|
1454
|
+
model?: string | null | undefined;
|
|
1455
|
+
device_name?: string | undefined;
|
|
1456
|
+
product_name?: string | undefined;
|
|
1457
|
+
category?: string | undefined;
|
|
1458
|
+
product_id?: string | undefined;
|
|
1459
|
+
}>>;
|
|
1435
1460
|
eufy_metadata: z.ZodOptional<z.ZodObject<{
|
|
1436
1461
|
device_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1437
1462
|
device_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -1865,6 +1890,15 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1865
1890
|
model_type?: number | undefined;
|
|
1866
1891
|
position_id?: string | null | undefined;
|
|
1867
1892
|
} | undefined;
|
|
1893
|
+
tuya_metadata?: {
|
|
1894
|
+
time_zone?: string | null | undefined;
|
|
1895
|
+
device_id?: string | undefined;
|
|
1896
|
+
model?: string | null | undefined;
|
|
1897
|
+
device_name?: string | undefined;
|
|
1898
|
+
product_name?: string | undefined;
|
|
1899
|
+
category?: string | undefined;
|
|
1900
|
+
product_id?: string | undefined;
|
|
1901
|
+
} | undefined;
|
|
1868
1902
|
eufy_metadata?: {
|
|
1869
1903
|
device_id?: string | undefined;
|
|
1870
1904
|
model?: string | undefined;
|
|
@@ -2258,6 +2292,15 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
2258
2292
|
model_type?: number | undefined;
|
|
2259
2293
|
position_id?: string | null | undefined;
|
|
2260
2294
|
} | undefined;
|
|
2295
|
+
tuya_metadata?: {
|
|
2296
|
+
time_zone?: string | null | undefined;
|
|
2297
|
+
device_id?: string | undefined;
|
|
2298
|
+
model?: string | null | undefined;
|
|
2299
|
+
device_name?: string | undefined;
|
|
2300
|
+
product_name?: string | undefined;
|
|
2301
|
+
category?: string | undefined;
|
|
2302
|
+
product_id?: string | undefined;
|
|
2303
|
+
} | undefined;
|
|
2261
2304
|
eufy_metadata?: {
|
|
2262
2305
|
device_id?: string | undefined;
|
|
2263
2306
|
model?: string | undefined;
|
|
@@ -3992,6 +4035,19 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3992
4035
|
}>, z.ZodObject<{
|
|
3993
4036
|
message: z.ZodString;
|
|
3994
4037
|
created_at: z.ZodString;
|
|
4038
|
+
} & {
|
|
4039
|
+
warning_code: z.ZodLiteral<"subscription_required_for_additional_capabilities">;
|
|
4040
|
+
}, "strip", z.ZodTypeAny, {
|
|
4041
|
+
message: string;
|
|
4042
|
+
created_at: string;
|
|
4043
|
+
warning_code: "subscription_required_for_additional_capabilities";
|
|
4044
|
+
}, {
|
|
4045
|
+
message: string;
|
|
4046
|
+
created_at: string;
|
|
4047
|
+
warning_code: "subscription_required_for_additional_capabilities";
|
|
4048
|
+
}>, z.ZodObject<{
|
|
4049
|
+
message: z.ZodString;
|
|
4050
|
+
created_at: z.ZodString;
|
|
3995
4051
|
} & {
|
|
3996
4052
|
warning_code: z.ZodLiteral<"cloud_recording_not_enabled">;
|
|
3997
4053
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4463,13 +4519,17 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4463
4519
|
warning_code: "max_access_codes_reached";
|
|
4464
4520
|
active_access_code_count: number;
|
|
4465
4521
|
max_active_access_code_count: number;
|
|
4522
|
+
} | {
|
|
4523
|
+
message: string;
|
|
4524
|
+
created_at: string;
|
|
4525
|
+
warning_code: "subscription_required_for_additional_capabilities";
|
|
4466
4526
|
} | {
|
|
4467
4527
|
message: string;
|
|
4468
4528
|
created_at: string;
|
|
4469
4529
|
warning_code: "cloud_recording_not_enabled";
|
|
4470
4530
|
})[];
|
|
4471
4531
|
custom_metadata: Record<string, string | boolean>;
|
|
4472
|
-
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");
|
|
4532
|
+
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" | "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");
|
|
4473
4533
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone" | "pool")[];
|
|
4474
4534
|
is_online: boolean;
|
|
4475
4535
|
is_managed: false;
|
|
@@ -4765,13 +4825,17 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4765
4825
|
warning_code: "max_access_codes_reached";
|
|
4766
4826
|
active_access_code_count: number;
|
|
4767
4827
|
max_active_access_code_count: number;
|
|
4828
|
+
} | {
|
|
4829
|
+
message: string;
|
|
4830
|
+
created_at: string;
|
|
4831
|
+
warning_code: "subscription_required_for_additional_capabilities";
|
|
4768
4832
|
} | {
|
|
4769
4833
|
message: string;
|
|
4770
4834
|
created_at: string;
|
|
4771
4835
|
warning_code: "cloud_recording_not_enabled";
|
|
4772
4836
|
})[];
|
|
4773
4837
|
custom_metadata: Record<string, string | boolean>;
|
|
4774
|
-
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");
|
|
4838
|
+
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" | "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");
|
|
4775
4839
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone" | "pool")[];
|
|
4776
4840
|
is_online: boolean;
|
|
4777
4841
|
is_managed: false;
|
|
@@ -14360,6 +14360,7 @@ const openapi = {
|
|
|
14360
14360
|
'omnitec_lock',
|
|
14361
14361
|
'kisi_lock',
|
|
14362
14362
|
'aqara_lock',
|
|
14363
|
+
'tuya_lock',
|
|
14363
14364
|
'eufy_lock',
|
|
14364
14365
|
],
|
|
14365
14366
|
type: 'string',
|
|
@@ -14920,6 +14921,12 @@ const openapi = {
|
|
|
14920
14921
|
thermostats: { name: 'Thermostats' },
|
|
14921
14922
|
},
|
|
14922
14923
|
},
|
|
14924
|
+
estimated_occupant_count: {
|
|
14925
|
+
description: 'Estimated number of occupants detected by the device.',
|
|
14926
|
+
format: 'float',
|
|
14927
|
+
type: 'number',
|
|
14928
|
+
'x-property-group-key': 'sensors',
|
|
14929
|
+
},
|
|
14923
14930
|
is_door_locked: {
|
|
14924
14931
|
description: 'Indicates whether the lock is locked.',
|
|
14925
14932
|
type: 'boolean',
|
|
@@ -14931,8 +14938,8 @@ const openapi = {
|
|
|
14931
14938
|
enum: [true],
|
|
14932
14939
|
type: 'boolean',
|
|
14933
14940
|
},
|
|
14934
|
-
|
|
14935
|
-
description: 'Indicates whether the device detects
|
|
14941
|
+
is_occupancy_detected: {
|
|
14942
|
+
description: 'Indicates whether the device detects occupancy.',
|
|
14936
14943
|
type: 'boolean',
|
|
14937
14944
|
'x-property-group-key': 'sensors',
|
|
14938
14945
|
},
|
|
@@ -15017,8 +15024,14 @@ const openapi = {
|
|
|
15017
15024
|
type: 'string',
|
|
15018
15025
|
'x-property-group-key': 'sensors',
|
|
15019
15026
|
},
|
|
15020
|
-
|
|
15021
|
-
description: '
|
|
15027
|
+
estimated_occupant_count: {
|
|
15028
|
+
description: 'Estimated number of occupants detected by the device.',
|
|
15029
|
+
format: 'float',
|
|
15030
|
+
type: 'number',
|
|
15031
|
+
'x-property-group-key': 'sensors',
|
|
15032
|
+
},
|
|
15033
|
+
is_occupancy_detected: {
|
|
15034
|
+
description: 'Indicates whether the device detects occupancy.',
|
|
15022
15035
|
type: 'boolean',
|
|
15023
15036
|
'x-property-group-key': 'sensors',
|
|
15024
15037
|
},
|
|
@@ -15044,12 +15057,6 @@ const openapi = {
|
|
|
15044
15057
|
type: 'number',
|
|
15045
15058
|
'x-property-group-key': 'sensors',
|
|
15046
15059
|
},
|
|
15047
|
-
occupant_count: {
|
|
15048
|
-
description: 'Number of occupants the device detects, if the device counts occupants.',
|
|
15049
|
-
format: 'float',
|
|
15050
|
-
type: 'number',
|
|
15051
|
-
'x-property-group-key': 'sensors',
|
|
15052
|
-
},
|
|
15053
15060
|
relative_humidity: {
|
|
15054
15061
|
description: 'Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity.',
|
|
15055
15062
|
format: 'float',
|
|
@@ -15099,12 +15106,6 @@ const openapi = {
|
|
|
15099
15106
|
type: 'number',
|
|
15100
15107
|
'x-property-group-key': 'sensors',
|
|
15101
15108
|
},
|
|
15102
|
-
occupant_count: {
|
|
15103
|
-
description: 'Number of occupants the device detects, if the device counts occupants.',
|
|
15104
|
-
format: 'float',
|
|
15105
|
-
type: 'number',
|
|
15106
|
-
'x-property-group-key': 'sensors',
|
|
15107
|
-
},
|
|
15108
15109
|
parent_device_id: {
|
|
15109
15110
|
description: 'ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent.',
|
|
15110
15111
|
format: 'uuid',
|
|
@@ -16691,6 +16692,42 @@ const openapi = {
|
|
|
16691
16692
|
},
|
|
16692
16693
|
type: 'object',
|
|
16693
16694
|
},
|
|
16695
|
+
tuya_metadata: {
|
|
16696
|
+
description: 'Metadata for a Tuya device.',
|
|
16697
|
+
properties: {
|
|
16698
|
+
category: {
|
|
16699
|
+
description: 'Tuya product category code for the device (e.g. ms).',
|
|
16700
|
+
type: 'string',
|
|
16701
|
+
},
|
|
16702
|
+
device_id: {
|
|
16703
|
+
description: 'Device ID for a Tuya device.',
|
|
16704
|
+
type: 'string',
|
|
16705
|
+
},
|
|
16706
|
+
device_name: {
|
|
16707
|
+
description: 'Device name for a Tuya device.',
|
|
16708
|
+
type: 'string',
|
|
16709
|
+
},
|
|
16710
|
+
model: {
|
|
16711
|
+
description: 'Model reported for a Tuya device.',
|
|
16712
|
+
nullable: true,
|
|
16713
|
+
type: 'string',
|
|
16714
|
+
},
|
|
16715
|
+
product_id: {
|
|
16716
|
+
description: 'Tuya product ID for the device.',
|
|
16717
|
+
type: 'string',
|
|
16718
|
+
},
|
|
16719
|
+
product_name: {
|
|
16720
|
+
description: 'Tuya product name for the device.',
|
|
16721
|
+
type: 'string',
|
|
16722
|
+
},
|
|
16723
|
+
time_zone: {
|
|
16724
|
+
description: 'Time zone reported for a Tuya device (e.g. +08:00).',
|
|
16725
|
+
nullable: true,
|
|
16726
|
+
type: 'string',
|
|
16727
|
+
},
|
|
16728
|
+
},
|
|
16729
|
+
type: 'object',
|
|
16730
|
+
},
|
|
16694
16731
|
two_n_metadata: {
|
|
16695
16732
|
description: 'Metadata for a 2N device.',
|
|
16696
16733
|
properties: {
|
|
@@ -18703,6 +18740,30 @@ const openapi = {
|
|
|
18703
18740
|
'x-variant-group-key': 'access_codes',
|
|
18704
18741
|
},
|
|
18705
18742
|
{
|
|
18743
|
+
description: 'Indicates that a third-party subscription is required to enable additional device capabilities.',
|
|
18744
|
+
properties: {
|
|
18745
|
+
created_at: {
|
|
18746
|
+
description: 'Date and time at which Seam created the warning.',
|
|
18747
|
+
format: 'date-time',
|
|
18748
|
+
type: 'string',
|
|
18749
|
+
},
|
|
18750
|
+
message: {
|
|
18751
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
18752
|
+
type: 'string',
|
|
18753
|
+
},
|
|
18754
|
+
warning_code: {
|
|
18755
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
18756
|
+
enum: [
|
|
18757
|
+
'subscription_required_for_additional_capabilities',
|
|
18758
|
+
],
|
|
18759
|
+
type: 'string',
|
|
18760
|
+
},
|
|
18761
|
+
},
|
|
18762
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
18763
|
+
type: 'object',
|
|
18764
|
+
},
|
|
18765
|
+
{
|
|
18766
|
+
deprecated: true,
|
|
18706
18767
|
description: "Indicates that the camera's account plan does not include cloud recording, so event media such as motion clips is unavailable.",
|
|
18707
18768
|
properties: {
|
|
18708
18769
|
created_at: {
|
|
@@ -18722,6 +18783,7 @@ const openapi = {
|
|
|
18722
18783
|
},
|
|
18723
18784
|
required: ['message', 'created_at', 'warning_code'],
|
|
18724
18785
|
type: 'object',
|
|
18786
|
+
'x-deprecated': 'Use `subscription_required_for_additional_capabilities`.',
|
|
18725
18787
|
},
|
|
18726
18788
|
],
|
|
18727
18789
|
},
|
|
@@ -18988,6 +19050,7 @@ const openapi = {
|
|
|
18988
19050
|
'eufy',
|
|
18989
19051
|
'sonos',
|
|
18990
19052
|
'hayward_omnilogic',
|
|
19053
|
+
'tuya',
|
|
18991
19054
|
],
|
|
18992
19055
|
type: 'string',
|
|
18993
19056
|
},
|
|
@@ -31257,6 +31320,30 @@ const openapi = {
|
|
|
31257
31320
|
'x-variant-group-key': 'access_codes',
|
|
31258
31321
|
},
|
|
31259
31322
|
{
|
|
31323
|
+
description: 'Indicates that a third-party subscription is required to enable additional device capabilities.',
|
|
31324
|
+
properties: {
|
|
31325
|
+
created_at: {
|
|
31326
|
+
description: 'Date and time at which Seam created the warning.',
|
|
31327
|
+
format: 'date-time',
|
|
31328
|
+
type: 'string',
|
|
31329
|
+
},
|
|
31330
|
+
message: {
|
|
31331
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
31332
|
+
type: 'string',
|
|
31333
|
+
},
|
|
31334
|
+
warning_code: {
|
|
31335
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
31336
|
+
enum: [
|
|
31337
|
+
'subscription_required_for_additional_capabilities',
|
|
31338
|
+
],
|
|
31339
|
+
type: 'string',
|
|
31340
|
+
},
|
|
31341
|
+
},
|
|
31342
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
31343
|
+
type: 'object',
|
|
31344
|
+
},
|
|
31345
|
+
{
|
|
31346
|
+
deprecated: true,
|
|
31260
31347
|
description: "Indicates that the camera's account plan does not include cloud recording, so event media such as motion clips is unavailable.",
|
|
31261
31348
|
properties: {
|
|
31262
31349
|
created_at: {
|
|
@@ -31276,6 +31363,7 @@ const openapi = {
|
|
|
31276
31363
|
},
|
|
31277
31364
|
required: ['message', 'created_at', 'warning_code'],
|
|
31278
31365
|
type: 'object',
|
|
31366
|
+
'x-deprecated': 'Use `subscription_required_for_additional_capabilities`.',
|
|
31279
31367
|
},
|
|
31280
31368
|
],
|
|
31281
31369
|
},
|
|
@@ -37416,6 +37504,7 @@ const openapi = {
|
|
|
37416
37504
|
'omnitec_lock',
|
|
37417
37505
|
'kisi_lock',
|
|
37418
37506
|
'aqara_lock',
|
|
37507
|
+
'tuya_lock',
|
|
37419
37508
|
'eufy_lock',
|
|
37420
37509
|
],
|
|
37421
37510
|
type: 'string',
|
|
@@ -38816,6 +38905,30 @@ const openapi = {
|
|
|
38816
38905
|
'x-variant-group-key': 'access_codes',
|
|
38817
38906
|
},
|
|
38818
38907
|
{
|
|
38908
|
+
description: 'Indicates that a third-party subscription is required to enable additional device capabilities.',
|
|
38909
|
+
properties: {
|
|
38910
|
+
created_at: {
|
|
38911
|
+
description: 'Date and time at which Seam created the warning.',
|
|
38912
|
+
format: 'date-time',
|
|
38913
|
+
type: 'string',
|
|
38914
|
+
},
|
|
38915
|
+
message: {
|
|
38916
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
38917
|
+
type: 'string',
|
|
38918
|
+
},
|
|
38919
|
+
warning_code: {
|
|
38920
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
38921
|
+
enum: [
|
|
38922
|
+
'subscription_required_for_additional_capabilities',
|
|
38923
|
+
],
|
|
38924
|
+
type: 'string',
|
|
38925
|
+
},
|
|
38926
|
+
},
|
|
38927
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
38928
|
+
type: 'object',
|
|
38929
|
+
},
|
|
38930
|
+
{
|
|
38931
|
+
deprecated: true,
|
|
38819
38932
|
description: "Indicates that the camera's account plan does not include cloud recording, so event media such as motion clips is unavailable.",
|
|
38820
38933
|
properties: {
|
|
38821
38934
|
created_at: {
|
|
@@ -38835,6 +38948,7 @@ const openapi = {
|
|
|
38835
38948
|
},
|
|
38836
38949
|
required: ['message', 'created_at', 'warning_code'],
|
|
38837
38950
|
type: 'object',
|
|
38951
|
+
'x-deprecated': 'Use `subscription_required_for_additional_capabilities`.',
|
|
38838
38952
|
},
|
|
38839
38953
|
],
|
|
38840
38954
|
},
|
|
@@ -47670,6 +47784,7 @@ const openapi = {
|
|
|
47670
47784
|
'eufy',
|
|
47671
47785
|
'sonos',
|
|
47672
47786
|
'hayward_omnilogic',
|
|
47787
|
+
'tuya',
|
|
47673
47788
|
'hid_cm',
|
|
47674
47789
|
'google_nest',
|
|
47675
47790
|
'slack',
|
|
@@ -51208,6 +51323,7 @@ const openapi = {
|
|
|
51208
51323
|
'omnitec_lock',
|
|
51209
51324
|
'kisi_lock',
|
|
51210
51325
|
'aqara_lock',
|
|
51326
|
+
'tuya_lock',
|
|
51211
51327
|
'eufy_lock',
|
|
51212
51328
|
],
|
|
51213
51329
|
type: 'string',
|
|
@@ -51313,6 +51429,7 @@ const openapi = {
|
|
|
51313
51429
|
'omnitec_lock',
|
|
51314
51430
|
'kisi_lock',
|
|
51315
51431
|
'aqara_lock',
|
|
51432
|
+
'tuya_lock',
|
|
51316
51433
|
'eufy_lock',
|
|
51317
51434
|
],
|
|
51318
51435
|
type: 'string',
|
|
@@ -51445,6 +51562,7 @@ const openapi = {
|
|
|
51445
51562
|
'yacan',
|
|
51446
51563
|
'sonos',
|
|
51447
51564
|
'hayward_omnilogic',
|
|
51565
|
+
'tuya',
|
|
51448
51566
|
],
|
|
51449
51567
|
type: 'string',
|
|
51450
51568
|
},
|
|
@@ -53572,6 +53690,7 @@ const openapi = {
|
|
|
53572
53690
|
'omnitec_lock',
|
|
53573
53691
|
'kisi_lock',
|
|
53574
53692
|
'aqara_lock',
|
|
53693
|
+
'tuya_lock',
|
|
53575
53694
|
'eufy_lock',
|
|
53576
53695
|
],
|
|
53577
53696
|
type: 'string',
|
|
@@ -53677,6 +53796,7 @@ const openapi = {
|
|
|
53677
53796
|
'omnitec_lock',
|
|
53678
53797
|
'kisi_lock',
|
|
53679
53798
|
'aqara_lock',
|
|
53799
|
+
'tuya_lock',
|
|
53680
53800
|
'eufy_lock',
|
|
53681
53801
|
],
|
|
53682
53802
|
type: 'string',
|
|
@@ -53809,6 +53929,7 @@ const openapi = {
|
|
|
53809
53929
|
'yacan',
|
|
53810
53930
|
'sonos',
|
|
53811
53931
|
'hayward_omnilogic',
|
|
53932
|
+
'tuya',
|
|
53812
53933
|
],
|
|
53813
53934
|
type: 'string',
|
|
53814
53935
|
},
|
|
@@ -55127,6 +55248,7 @@ const openapi = {
|
|
|
55127
55248
|
'omnitec_lock',
|
|
55128
55249
|
'kisi_lock',
|
|
55129
55250
|
'aqara_lock',
|
|
55251
|
+
'tuya_lock',
|
|
55130
55252
|
'eufy_lock',
|
|
55131
55253
|
],
|
|
55132
55254
|
type: 'string',
|
|
@@ -55174,6 +55296,7 @@ const openapi = {
|
|
|
55174
55296
|
'omnitec_lock',
|
|
55175
55297
|
'kisi_lock',
|
|
55176
55298
|
'aqara_lock',
|
|
55299
|
+
'tuya_lock',
|
|
55177
55300
|
'eufy_lock',
|
|
55178
55301
|
],
|
|
55179
55302
|
type: 'string',
|
|
@@ -55223,6 +55346,7 @@ const openapi = {
|
|
|
55223
55346
|
'omnitec',
|
|
55224
55347
|
'kisi',
|
|
55225
55348
|
'yacan',
|
|
55349
|
+
'tuya',
|
|
55226
55350
|
],
|
|
55227
55351
|
type: 'string',
|
|
55228
55352
|
},
|