@seamapi/types 0.20.0 → 0.20.1

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.
@@ -480,11 +480,11 @@ export declare const managed_device: z.ZodObject<{
480
480
  }, "strip", z.ZodTypeAny, {
481
481
  name: string;
482
482
  device_num: number;
483
- unlock_method?: "doorking" | "bridge" | undefined;
483
+ unlock_method?: "bridge" | "doorking" | undefined;
484
484
  }, {
485
485
  name: string;
486
486
  device_num: number;
487
- unlock_method?: "doorking" | "bridge" | undefined;
487
+ unlock_method?: "bridge" | "doorking" | undefined;
488
488
  }>>;
489
489
  igloohome_metadata: z.ZodOptional<z.ZodObject<{
490
490
  device_id: z.ZodString;
@@ -674,7 +674,7 @@ export declare const managed_device: z.ZodObject<{
674
674
  seam_bridge_metadata?: {
675
675
  name: string;
676
676
  device_num: number;
677
- unlock_method?: "doorking" | "bridge" | undefined;
677
+ unlock_method?: "bridge" | "doorking" | undefined;
678
678
  } | undefined;
679
679
  igloohome_metadata?: {
680
680
  device_id: string;
@@ -812,7 +812,7 @@ export declare const managed_device: z.ZodObject<{
812
812
  seam_bridge_metadata?: {
813
813
  name: string;
814
814
  device_num: number;
815
- unlock_method?: "doorking" | "bridge" | undefined;
815
+ unlock_method?: "bridge" | "doorking" | undefined;
816
816
  } | undefined;
817
817
  igloohome_metadata?: {
818
818
  device_id: string;
@@ -899,7 +899,7 @@ export declare const managed_device: z.ZodObject<{
899
899
  }, "strip", z.ZodTypeAny, {
900
900
  automatic_heating_enabled: boolean;
901
901
  automatic_cooling_enabled: boolean;
902
- hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
902
+ hvac_mode_setting: "off" | "heat" | "cool" | "heatcool";
903
903
  manual_override_allowed: boolean;
904
904
  cooling_set_point_celsius?: number | undefined;
905
905
  heating_set_point_celsius?: number | undefined;
@@ -908,7 +908,7 @@ export declare const managed_device: z.ZodObject<{
908
908
  }, {
909
909
  automatic_heating_enabled: boolean;
910
910
  automatic_cooling_enabled: boolean;
911
- hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
911
+ hvac_mode_setting: "off" | "heat" | "cool" | "heatcool";
912
912
  manual_override_allowed: boolean;
913
913
  cooling_set_point_celsius?: number | undefined;
914
914
  heating_set_point_celsius?: number | undefined;
@@ -927,7 +927,7 @@ export declare const managed_device: z.ZodObject<{
927
927
  }, "strip", z.ZodTypeAny, {
928
928
  automatic_heating_enabled: boolean;
929
929
  automatic_cooling_enabled: boolean;
930
- hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
930
+ hvac_mode_setting: "off" | "heat" | "cool" | "heatcool";
931
931
  manual_override_allowed: boolean;
932
932
  cooling_set_point_celsius?: number | undefined;
933
933
  heating_set_point_celsius?: number | undefined;
@@ -936,7 +936,7 @@ export declare const managed_device: z.ZodObject<{
936
936
  }, {
937
937
  automatic_heating_enabled: boolean;
938
938
  automatic_cooling_enabled: boolean;
939
- hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
939
+ hvac_mode_setting: "off" | "heat" | "cool" | "heatcool";
940
940
  manual_override_allowed: boolean;
941
941
  cooling_set_point_celsius?: number | undefined;
942
942
  heating_set_point_celsius?: number | undefined;
@@ -947,11 +947,11 @@ export declare const managed_device: z.ZodObject<{
947
947
  active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<{
948
948
  name: z.ZodOptional<z.ZodString>;
949
949
  created_at: z.ZodString;
950
+ climate_setting_schedule_id: z.ZodString;
951
+ schedule_type: z.ZodLiteral<"time_bound">;
950
952
  device_id: z.ZodString;
951
953
  schedule_starts_at: z.ZodString;
952
954
  schedule_ends_at: z.ZodString;
953
- climate_setting_schedule_id: z.ZodString;
954
- schedule_type: z.ZodLiteral<"time_bound">;
955
955
  automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
956
956
  automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
957
957
  hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heatcool"]>>;
@@ -962,15 +962,15 @@ export declare const managed_device: z.ZodObject<{
962
962
  manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
963
963
  }, "strip", z.ZodTypeAny, {
964
964
  created_at: string;
965
+ climate_setting_schedule_id: string;
966
+ schedule_type: "time_bound";
965
967
  device_id: string;
966
968
  schedule_starts_at: string;
967
969
  schedule_ends_at: string;
968
- climate_setting_schedule_id: string;
969
- schedule_type: "time_bound";
970
970
  name?: string | undefined;
971
971
  automatic_heating_enabled?: boolean | undefined;
972
972
  automatic_cooling_enabled?: boolean | undefined;
973
- hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
973
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined;
974
974
  cooling_set_point_celsius?: number | undefined;
975
975
  heating_set_point_celsius?: number | undefined;
976
976
  cooling_set_point_fahrenheit?: number | undefined;
@@ -978,15 +978,15 @@ export declare const managed_device: z.ZodObject<{
978
978
  manual_override_allowed?: boolean | undefined;
979
979
  }, {
980
980
  created_at: string;
981
+ climate_setting_schedule_id: string;
982
+ schedule_type: "time_bound";
981
983
  device_id: string;
982
984
  schedule_starts_at: string;
983
985
  schedule_ends_at: string;
984
- climate_setting_schedule_id: string;
985
- schedule_type: "time_bound";
986
986
  name?: string | undefined;
987
987
  automatic_heating_enabled?: boolean | undefined;
988
988
  automatic_cooling_enabled?: boolean | undefined;
989
- hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
989
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined;
990
990
  cooling_set_point_celsius?: number | undefined;
991
991
  heating_set_point_celsius?: number | undefined;
992
992
  cooling_set_point_fahrenheit?: number | undefined;
@@ -1015,7 +1015,7 @@ export declare const managed_device: z.ZodObject<{
1015
1015
  relative_humidity?: number | undefined;
1016
1016
  can_enable_automatic_heating?: boolean | undefined;
1017
1017
  can_enable_automatic_cooling?: boolean | undefined;
1018
- available_hvac_mode_settings?: ("cool" | "heat" | "off" | "heatcool")[] | undefined;
1018
+ available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heatcool")[] | undefined;
1019
1019
  is_heating?: boolean | undefined;
1020
1020
  is_cooling?: boolean | undefined;
1021
1021
  is_fan_running?: boolean | undefined;
@@ -1023,7 +1023,7 @@ export declare const managed_device: z.ZodObject<{
1023
1023
  current_climate_setting?: {
1024
1024
  automatic_heating_enabled: boolean;
1025
1025
  automatic_cooling_enabled: boolean;
1026
- hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
1026
+ hvac_mode_setting: "off" | "heat" | "cool" | "heatcool";
1027
1027
  manual_override_allowed: boolean;
1028
1028
  cooling_set_point_celsius?: number | undefined;
1029
1029
  heating_set_point_celsius?: number | undefined;
@@ -1033,7 +1033,7 @@ export declare const managed_device: z.ZodObject<{
1033
1033
  default_climate_setting?: {
1034
1034
  automatic_heating_enabled: boolean;
1035
1035
  automatic_cooling_enabled: boolean;
1036
- hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
1036
+ hvac_mode_setting: "off" | "heat" | "cool" | "heatcool";
1037
1037
  manual_override_allowed: boolean;
1038
1038
  cooling_set_point_celsius?: number | undefined;
1039
1039
  heating_set_point_celsius?: number | undefined;
@@ -1043,15 +1043,15 @@ export declare const managed_device: z.ZodObject<{
1043
1043
  is_climate_setting_schedule_active?: boolean | undefined;
1044
1044
  active_climate_setting_schedule?: {
1045
1045
  created_at: string;
1046
+ climate_setting_schedule_id: string;
1047
+ schedule_type: "time_bound";
1046
1048
  device_id: string;
1047
1049
  schedule_starts_at: string;
1048
1050
  schedule_ends_at: string;
1049
- climate_setting_schedule_id: string;
1050
- schedule_type: "time_bound";
1051
1051
  name?: string | undefined;
1052
1052
  automatic_heating_enabled?: boolean | undefined;
1053
1053
  automatic_cooling_enabled?: boolean | undefined;
1054
- hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
1054
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined;
1055
1055
  cooling_set_point_celsius?: number | undefined;
1056
1056
  heating_set_point_celsius?: number | undefined;
1057
1057
  cooling_set_point_fahrenheit?: number | undefined;
@@ -1080,7 +1080,7 @@ export declare const managed_device: z.ZodObject<{
1080
1080
  relative_humidity?: number | undefined;
1081
1081
  can_enable_automatic_heating?: boolean | undefined;
1082
1082
  can_enable_automatic_cooling?: boolean | undefined;
1083
- available_hvac_mode_settings?: ("cool" | "heat" | "off" | "heatcool")[] | undefined;
1083
+ available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heatcool")[] | undefined;
1084
1084
  is_heating?: boolean | undefined;
1085
1085
  is_cooling?: boolean | undefined;
1086
1086
  is_fan_running?: boolean | undefined;
@@ -1088,7 +1088,7 @@ export declare const managed_device: z.ZodObject<{
1088
1088
  current_climate_setting?: {
1089
1089
  automatic_heating_enabled: boolean;
1090
1090
  automatic_cooling_enabled: boolean;
1091
- hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
1091
+ hvac_mode_setting: "off" | "heat" | "cool" | "heatcool";
1092
1092
  manual_override_allowed: boolean;
1093
1093
  cooling_set_point_celsius?: number | undefined;
1094
1094
  heating_set_point_celsius?: number | undefined;
@@ -1098,7 +1098,7 @@ export declare const managed_device: z.ZodObject<{
1098
1098
  default_climate_setting?: {
1099
1099
  automatic_heating_enabled: boolean;
1100
1100
  automatic_cooling_enabled: boolean;
1101
- hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
1101
+ hvac_mode_setting: "off" | "heat" | "cool" | "heatcool";
1102
1102
  manual_override_allowed: boolean;
1103
1103
  cooling_set_point_celsius?: number | undefined;
1104
1104
  heating_set_point_celsius?: number | undefined;
@@ -1108,15 +1108,15 @@ export declare const managed_device: z.ZodObject<{
1108
1108
  is_climate_setting_schedule_active?: boolean | undefined;
1109
1109
  active_climate_setting_schedule?: {
1110
1110
  created_at: string;
1111
+ climate_setting_schedule_id: string;
1112
+ schedule_type: "time_bound";
1111
1113
  device_id: string;
1112
1114
  schedule_starts_at: string;
1113
1115
  schedule_ends_at: string;
1114
- climate_setting_schedule_id: string;
1115
- schedule_type: "time_bound";
1116
1116
  name?: string | undefined;
1117
1117
  automatic_heating_enabled?: boolean | undefined;
1118
1118
  automatic_cooling_enabled?: boolean | undefined;
1119
- hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
1119
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined;
1120
1120
  cooling_set_point_celsius?: number | undefined;
1121
1121
  heating_set_point_celsius?: number | undefined;
1122
1122
  cooling_set_point_fahrenheit?: number | undefined;
@@ -1167,7 +1167,8 @@ export declare const managed_device: z.ZodObject<{
1167
1167
  workspace_id: string;
1168
1168
  created_at: string;
1169
1169
  device_id: string;
1170
- is_managed: true;
1170
+ device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
1171
+ capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
1171
1172
  properties: {
1172
1173
  name: string;
1173
1174
  online: boolean;
@@ -1290,7 +1291,7 @@ export declare const managed_device: z.ZodObject<{
1290
1291
  seam_bridge_metadata?: {
1291
1292
  name: string;
1292
1293
  device_num: number;
1293
- unlock_method?: "doorking" | "bridge" | undefined;
1294
+ unlock_method?: "bridge" | "doorking" | undefined;
1294
1295
  } | undefined;
1295
1296
  igloohome_metadata?: {
1296
1297
  device_id: string;
@@ -1344,7 +1345,7 @@ export declare const managed_device: z.ZodObject<{
1344
1345
  relative_humidity?: number | undefined;
1345
1346
  can_enable_automatic_heating?: boolean | undefined;
1346
1347
  can_enable_automatic_cooling?: boolean | undefined;
1347
- available_hvac_mode_settings?: ("cool" | "heat" | "off" | "heatcool")[] | undefined;
1348
+ available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heatcool")[] | undefined;
1348
1349
  is_heating?: boolean | undefined;
1349
1350
  is_cooling?: boolean | undefined;
1350
1351
  is_fan_running?: boolean | undefined;
@@ -1352,7 +1353,7 @@ export declare const managed_device: z.ZodObject<{
1352
1353
  current_climate_setting?: {
1353
1354
  automatic_heating_enabled: boolean;
1354
1355
  automatic_cooling_enabled: boolean;
1355
- hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
1356
+ hvac_mode_setting: "off" | "heat" | "cool" | "heatcool";
1356
1357
  manual_override_allowed: boolean;
1357
1358
  cooling_set_point_celsius?: number | undefined;
1358
1359
  heating_set_point_celsius?: number | undefined;
@@ -1362,7 +1363,7 @@ export declare const managed_device: z.ZodObject<{
1362
1363
  default_climate_setting?: {
1363
1364
  automatic_heating_enabled: boolean;
1364
1365
  automatic_cooling_enabled: boolean;
1365
- hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
1366
+ hvac_mode_setting: "off" | "heat" | "cool" | "heatcool";
1366
1367
  manual_override_allowed: boolean;
1367
1368
  cooling_set_point_celsius?: number | undefined;
1368
1369
  heating_set_point_celsius?: number | undefined;
@@ -1372,15 +1373,15 @@ export declare const managed_device: z.ZodObject<{
1372
1373
  is_climate_setting_schedule_active?: boolean | undefined;
1373
1374
  active_climate_setting_schedule?: {
1374
1375
  created_at: string;
1376
+ climate_setting_schedule_id: string;
1377
+ schedule_type: "time_bound";
1375
1378
  device_id: string;
1376
1379
  schedule_starts_at: string;
1377
1380
  schedule_ends_at: string;
1378
- climate_setting_schedule_id: string;
1379
- schedule_type: "time_bound";
1380
1381
  name?: string | undefined;
1381
1382
  automatic_heating_enabled?: boolean | undefined;
1382
1383
  automatic_cooling_enabled?: boolean | undefined;
1383
- hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
1384
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined;
1384
1385
  cooling_set_point_celsius?: number | undefined;
1385
1386
  heating_set_point_celsius?: number | undefined;
1386
1387
  cooling_set_point_fahrenheit?: number | undefined;
@@ -1388,8 +1389,6 @@ export declare const managed_device: z.ZodObject<{
1388
1389
  manual_override_allowed?: boolean | undefined;
1389
1390
  } | undefined;
1390
1391
  };
1391
- device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
1392
- capabilities_supported: ("access_code" | "thermostat" | "lock" | "noise_detection" | "battery")[];
1393
1392
  errors: {
1394
1393
  message: string;
1395
1394
  error_code: string;
@@ -1398,6 +1397,7 @@ export declare const managed_device: z.ZodObject<{
1398
1397
  message: string;
1399
1398
  warning_code: string;
1400
1399
  }[];
1400
+ is_managed: true;
1401
1401
  }, {
1402
1402
  location: {
1403
1403
  location_name?: string | undefined;
@@ -1407,7 +1407,8 @@ export declare const managed_device: z.ZodObject<{
1407
1407
  workspace_id: string;
1408
1408
  created_at: string;
1409
1409
  device_id: string;
1410
- is_managed: true;
1410
+ device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
1411
+ capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
1411
1412
  properties: {
1412
1413
  name: string;
1413
1414
  online: boolean;
@@ -1530,7 +1531,7 @@ export declare const managed_device: z.ZodObject<{
1530
1531
  seam_bridge_metadata?: {
1531
1532
  name: string;
1532
1533
  device_num: number;
1533
- unlock_method?: "doorking" | "bridge" | undefined;
1534
+ unlock_method?: "bridge" | "doorking" | undefined;
1534
1535
  } | undefined;
1535
1536
  igloohome_metadata?: {
1536
1537
  device_id: string;
@@ -1584,7 +1585,7 @@ export declare const managed_device: z.ZodObject<{
1584
1585
  relative_humidity?: number | undefined;
1585
1586
  can_enable_automatic_heating?: boolean | undefined;
1586
1587
  can_enable_automatic_cooling?: boolean | undefined;
1587
- available_hvac_mode_settings?: ("cool" | "heat" | "off" | "heatcool")[] | undefined;
1588
+ available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heatcool")[] | undefined;
1588
1589
  is_heating?: boolean | undefined;
1589
1590
  is_cooling?: boolean | undefined;
1590
1591
  is_fan_running?: boolean | undefined;
@@ -1592,7 +1593,7 @@ export declare const managed_device: z.ZodObject<{
1592
1593
  current_climate_setting?: {
1593
1594
  automatic_heating_enabled: boolean;
1594
1595
  automatic_cooling_enabled: boolean;
1595
- hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
1596
+ hvac_mode_setting: "off" | "heat" | "cool" | "heatcool";
1596
1597
  manual_override_allowed: boolean;
1597
1598
  cooling_set_point_celsius?: number | undefined;
1598
1599
  heating_set_point_celsius?: number | undefined;
@@ -1602,7 +1603,7 @@ export declare const managed_device: z.ZodObject<{
1602
1603
  default_climate_setting?: {
1603
1604
  automatic_heating_enabled: boolean;
1604
1605
  automatic_cooling_enabled: boolean;
1605
- hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
1606
+ hvac_mode_setting: "off" | "heat" | "cool" | "heatcool";
1606
1607
  manual_override_allowed: boolean;
1607
1608
  cooling_set_point_celsius?: number | undefined;
1608
1609
  heating_set_point_celsius?: number | undefined;
@@ -1612,15 +1613,15 @@ export declare const managed_device: z.ZodObject<{
1612
1613
  is_climate_setting_schedule_active?: boolean | undefined;
1613
1614
  active_climate_setting_schedule?: {
1614
1615
  created_at: string;
1616
+ climate_setting_schedule_id: string;
1617
+ schedule_type: "time_bound";
1615
1618
  device_id: string;
1616
1619
  schedule_starts_at: string;
1617
1620
  schedule_ends_at: string;
1618
- climate_setting_schedule_id: string;
1619
- schedule_type: "time_bound";
1620
1621
  name?: string | undefined;
1621
1622
  automatic_heating_enabled?: boolean | undefined;
1622
1623
  automatic_cooling_enabled?: boolean | undefined;
1623
- hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
1624
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" | undefined;
1624
1625
  cooling_set_point_celsius?: number | undefined;
1625
1626
  heating_set_point_celsius?: number | undefined;
1626
1627
  cooling_set_point_fahrenheit?: number | undefined;
@@ -1628,8 +1629,6 @@ export declare const managed_device: z.ZodObject<{
1628
1629
  manual_override_allowed?: boolean | undefined;
1629
1630
  } | undefined;
1630
1631
  };
1631
- device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
1632
- capabilities_supported: ("access_code" | "thermostat" | "lock" | "noise_detection" | "battery")[];
1633
1632
  errors: {
1634
1633
  message: string;
1635
1634
  error_code: string;
@@ -1638,6 +1637,7 @@ export declare const managed_device: z.ZodObject<{
1638
1637
  message: string;
1639
1638
  warning_code: string;
1640
1639
  }[];
1640
+ is_managed: true;
1641
1641
  }>;
1642
1642
  export type ManagedDevice = z.infer<typeof managed_device>;
1643
1643
  export type ManagedDeviceWithBackendMetadata<MetadataKey extends keyof z.infer<typeof device_metadata>> = Simplify<ManagedDevice & {
@@ -64,7 +64,8 @@ export declare const unmanaged_device: z.ZodObject<{
64
64
  workspace_id: string;
65
65
  created_at: string;
66
66
  device_id: string;
67
- is_managed: false;
67
+ device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
68
+ capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
68
69
  properties: {
69
70
  name: string;
70
71
  online: boolean;
@@ -75,8 +76,6 @@ export declare const unmanaged_device: z.ZodObject<{
75
76
  image_url?: string | undefined;
76
77
  image_alt_text?: string | undefined;
77
78
  };
78
- device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
79
- capabilities_supported: ("access_code" | "thermostat" | "lock" | "noise_detection" | "battery")[];
80
79
  errors: {
81
80
  message: string;
82
81
  error_code: string;
@@ -85,12 +84,14 @@ export declare const unmanaged_device: z.ZodObject<{
85
84
  message: string;
86
85
  warning_code: string;
87
86
  }[];
87
+ is_managed: false;
88
88
  }, {
89
89
  connected_account_id: string;
90
90
  workspace_id: string;
91
91
  created_at: string;
92
92
  device_id: string;
93
- is_managed: false;
93
+ device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
94
+ capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
94
95
  properties: {
95
96
  name: string;
96
97
  online: boolean;
@@ -101,8 +102,6 @@ export declare const unmanaged_device: z.ZodObject<{
101
102
  image_url?: string | undefined;
102
103
  image_alt_text?: string | undefined;
103
104
  };
104
- device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
105
- capabilities_supported: ("access_code" | "thermostat" | "lock" | "noise_detection" | "battery")[];
106
105
  errors: {
107
106
  message: string;
108
107
  error_code: string;
@@ -111,5 +110,6 @@ export declare const unmanaged_device: z.ZodObject<{
111
110
  message: string;
112
111
  warning_code: string;
113
112
  }[];
113
+ is_managed: false;
114
114
  }>;
115
115
  export type UnmanagedDevice = z.infer<typeof unmanaged_device>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",