@seamapi/types 1.65.0 → 1.67.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/connect.cjs +123 -80
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +317 -320
  4. package/lib/seam/connect/openapi.d.ts +254 -276
  5. package/lib/seam/connect/openapi.js +114 -71
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +62 -43
  8. package/lib/seam/connect/unstable/models/acs/access_group.js +1 -1
  9. package/lib/seam/connect/unstable/models/acs/access_group.js.map +1 -1
  10. package/lib/seam/connect/unstable/models/acs/user.d.ts +15 -6
  11. package/lib/seam/connect/unstable/models/acs/user.js +5 -2
  12. package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
  13. package/lib/seam/connect/unstable/models/devices/capabilities-supported.d.ts +1 -1
  14. package/lib/seam/connect/unstable/models/devices/capabilities-supported.js +1 -0
  15. package/lib/seam/connect/unstable/models/devices/capabilities-supported.js.map +1 -1
  16. package/lib/seam/connect/unstable/models/devices/device-type.d.ts +10 -1
  17. package/lib/seam/connect/unstable/models/devices/device-type.js +8 -0
  18. package/lib/seam/connect/unstable/models/devices/device-type.js.map +1 -1
  19. package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +6 -6
  20. package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +6 -6
  21. package/package.json +1 -1
  22. package/src/lib/seam/connect/openapi.ts +114 -71
  23. package/src/lib/seam/connect/route-types.ts +129 -43
  24. package/src/lib/seam/connect/unstable/models/acs/access_group.ts +1 -1
  25. package/src/lib/seam/connect/unstable/models/acs/user.ts +5 -2
  26. package/src/lib/seam/connect/unstable/models/devices/capabilities-supported.ts +1 -0
  27. package/src/lib/seam/connect/unstable/models/devices/device-type.ts +20 -0
@@ -19,7 +19,7 @@ export interface Routes {
19
19
  use_offline_access_code?: boolean | undefined;
20
20
  is_offline_access_code?: boolean | undefined;
21
21
  is_one_time_use?: boolean | undefined;
22
- max_time_rounding?: ('1hour' | '1day' | '1h' | '1d') | undefined;
22
+ max_time_rounding?: '1hour' | '1day' | '1h' | '1d';
23
23
  };
24
24
  commonParams: {};
25
25
  formData: {};
@@ -113,7 +113,7 @@ export interface Routes {
113
113
  use_offline_access_code?: boolean | undefined;
114
114
  is_offline_access_code?: boolean | undefined;
115
115
  is_one_time_use?: boolean | undefined;
116
- max_time_rounding?: ('1hour' | '1day' | '1h' | '1d') | undefined;
116
+ max_time_rounding?: '1hour' | '1day' | '1h' | '1d';
117
117
  };
118
118
  commonParams: {};
119
119
  formData: {};
@@ -705,9 +705,12 @@ export interface Routes {
705
705
  workspace_id: string;
706
706
  created_at: string;
707
707
  display_name: string;
708
- external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user';
709
- external_type_display_name: string;
708
+ external_type?: ('pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user') | undefined;
709
+ external_type_display_name?: string | undefined;
710
710
  is_suspended: boolean;
711
+ starts_at?: string | undefined;
712
+ ends_at?: string | undefined;
713
+ is_virtual: boolean;
711
714
  full_name?: string | undefined;
712
715
  /** Deprecated: use email_address. */
713
716
  email?: string | undefined;
@@ -1060,6 +1063,10 @@ export interface Routes {
1060
1063
  jsonBody: {
1061
1064
  acs_system_id: string;
1062
1065
  acs_access_group_ids?: string[];
1066
+ access_schedule?: {
1067
+ starts_at: string;
1068
+ ends_at: string;
1069
+ } | undefined;
1063
1070
  full_name?: string | undefined;
1064
1071
  /** Deprecated: use email_address. */
1065
1072
  email?: string | undefined;
@@ -1076,9 +1083,12 @@ export interface Routes {
1076
1083
  workspace_id: string;
1077
1084
  created_at: string;
1078
1085
  display_name: string;
1079
- external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user';
1080
- external_type_display_name: string;
1086
+ external_type?: ('pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user') | undefined;
1087
+ external_type_display_name?: string | undefined;
1081
1088
  is_suspended: boolean;
1089
+ starts_at?: string | undefined;
1090
+ ends_at?: string | undefined;
1091
+ is_virtual: boolean;
1082
1092
  full_name?: string | undefined;
1083
1093
  /** Deprecated: use email_address. */
1084
1094
  email?: string | undefined;
@@ -1115,9 +1125,12 @@ export interface Routes {
1115
1125
  workspace_id: string;
1116
1126
  created_at: string;
1117
1127
  display_name: string;
1118
- external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user';
1119
- external_type_display_name: string;
1128
+ external_type?: ('pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user') | undefined;
1129
+ external_type_display_name?: string | undefined;
1120
1130
  is_suspended: boolean;
1131
+ starts_at?: string | undefined;
1132
+ ends_at?: string | undefined;
1133
+ is_virtual: boolean;
1121
1134
  full_name?: string | undefined;
1122
1135
  /** Deprecated: use email_address. */
1123
1136
  email?: string | undefined;
@@ -1143,9 +1156,12 @@ export interface Routes {
1143
1156
  workspace_id: string;
1144
1157
  created_at: string;
1145
1158
  display_name: string;
1146
- external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user';
1147
- external_type_display_name: string;
1159
+ external_type?: ('pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user') | undefined;
1160
+ external_type_display_name?: string | undefined;
1148
1161
  is_suspended: boolean;
1162
+ starts_at?: string | undefined;
1163
+ ends_at?: string | undefined;
1164
+ is_virtual: boolean;
1149
1165
  full_name?: string | undefined;
1150
1166
  /** Deprecated: use email_address. */
1151
1167
  email?: string | undefined;
@@ -1425,7 +1441,7 @@ export interface Routes {
1425
1441
  device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
1426
1442
  custom_redirect_url?: string | undefined;
1427
1443
  custom_redirect_failure_url?: string | undefined;
1428
- accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'yale_access' | 'hid_cm'> | undefined;
1444
+ accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'yale_access' | 'hid_cm'> | undefined;
1429
1445
  provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
1430
1446
  custom_metadata?: Record<string, string | number | null | boolean> | undefined;
1431
1447
  automatically_manage_new_devices?: boolean | undefined;
@@ -1672,9 +1688,9 @@ export interface Routes {
1672
1688
  /** Unique identifier for the device. */
1673
1689
  device_id: string;
1674
1690
  /** Type of the device. */
1675
- 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
1691
+ 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone');
1676
1692
  /** 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; and "battery," which indicates that the device can manage battery life and health. */
1677
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
1693
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
1678
1694
  /** Properties of the device. */
1679
1695
  properties: ({
1680
1696
  /** Indicates whether the device is online. */
@@ -2123,8 +2139,8 @@ export interface Routes {
2123
2139
  connected_account_id?: string | undefined;
2124
2140
  connected_account_ids?: string[] | undefined;
2125
2141
  connect_webview_id?: string | undefined;
2126
- 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat')) | undefined;
2127
- device_types?: Array<('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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat')> | undefined;
2142
+ 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone')) | undefined;
2143
+ device_types?: Array<('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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone')> | undefined;
2128
2144
  manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'minut' | 'two_n' | 'ttlock' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'controlbyweb' | 'smartthings' | 'dormakaba_oracode') | undefined;
2129
2145
  device_ids?: string[] | undefined;
2130
2146
  limit?: number;
@@ -2137,9 +2153,9 @@ export interface Routes {
2137
2153
  /** Unique identifier for the device. */
2138
2154
  device_id: string;
2139
2155
  /** Type of the device. */
2140
- 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
2156
+ 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone');
2141
2157
  /** 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; and "battery," which indicates that the device can manage battery life and health. */
2142
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2158
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
2143
2159
  /** Properties of the device. */
2144
2160
  properties: ({
2145
2161
  /** Indicates whether the device is online. */
@@ -2611,11 +2627,11 @@ export interface Routes {
2611
2627
  /** Unique identifier for the device. */
2612
2628
  device_id: string;
2613
2629
  /** Type of the device. */
2614
- 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
2630
+ 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone');
2615
2631
  /** Unique identifier for the account associated with the device. */
2616
2632
  connected_account_id: string;
2617
2633
  /** 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; and "battery," which indicates that the device can manage battery life and health. */
2618
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2634
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
2619
2635
  /** Unique identifier for the Seam workspace associated with the device. */
2620
2636
  workspace_id: string;
2621
2637
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
@@ -2679,8 +2695,8 @@ export interface Routes {
2679
2695
  connected_account_id?: string | undefined;
2680
2696
  connected_account_ids?: string[] | undefined;
2681
2697
  connect_webview_id?: string | undefined;
2682
- 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat')) | undefined;
2683
- device_types?: Array<('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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat')> | undefined;
2698
+ 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone')) | undefined;
2699
+ device_types?: Array<('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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone')> | undefined;
2684
2700
  manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'minut' | 'two_n' | 'ttlock' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'controlbyweb' | 'smartthings' | 'dormakaba_oracode') | undefined;
2685
2701
  device_ids?: string[] | undefined;
2686
2702
  limit?: number;
@@ -2693,11 +2709,11 @@ export interface Routes {
2693
2709
  /** Unique identifier for the device. */
2694
2710
  device_id: string;
2695
2711
  /** Type of the device. */
2696
- 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
2712
+ 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone');
2697
2713
  /** Unique identifier for the account associated with the device. */
2698
2714
  connected_account_id: string;
2699
2715
  /** 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; and "battery," which indicates that the device can manage battery life and health. */
2700
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2716
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
2701
2717
  /** Unique identifier for the Seam workspace associated with the device. */
2702
2718
  workspace_id: string;
2703
2719
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
@@ -2921,9 +2937,9 @@ export interface Routes {
2921
2937
  /** Unique identifier for the device. */
2922
2938
  device_id: string;
2923
2939
  /** Type of the device. */
2924
- 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
2940
+ 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone');
2925
2941
  /** 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; and "battery," which indicates that the device can manage battery life and health. */
2926
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2942
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
2927
2943
  /** Properties of the device. */
2928
2944
  properties: ({
2929
2945
  /** Indicates whether the device is online. */
@@ -3364,9 +3380,9 @@ export interface Routes {
3364
3380
  /** Unique identifier for the device. */
3365
3381
  device_id: string;
3366
3382
  /** Type of the device. */
3367
- 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
3383
+ 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone');
3368
3384
  /** 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; and "battery," which indicates that the device can manage battery life and health. */
3369
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
3385
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
3370
3386
  /** Properties of the device. */
3371
3387
  properties: ({
3372
3388
  /** Indicates whether the device is online. */
@@ -3815,8 +3831,8 @@ export interface Routes {
3815
3831
  connected_account_id?: string | undefined;
3816
3832
  connected_account_ids?: string[] | undefined;
3817
3833
  connect_webview_id?: string | undefined;
3818
- 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat')) | undefined;
3819
- device_types?: Array<('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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat')> | undefined;
3834
+ 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone')) | undefined;
3835
+ device_types?: Array<('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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone')> | undefined;
3820
3836
  manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'minut' | 'two_n' | 'ttlock' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'controlbyweb' | 'smartthings' | 'dormakaba_oracode') | undefined;
3821
3837
  device_ids?: string[] | undefined;
3822
3838
  limit?: number;
@@ -3829,9 +3845,9 @@ export interface Routes {
3829
3845
  /** Unique identifier for the device. */
3830
3846
  device_id: string;
3831
3847
  /** Type of the device. */
3832
- 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
3848
+ 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone');
3833
3849
  /** 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; and "battery," which indicates that the device can manage battery life and health. */
3834
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
3850
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
3835
3851
  /** Properties of the device. */
3836
3852
  properties: ({
3837
3853
  /** Indicates whether the device is online. */
@@ -4272,9 +4288,9 @@ export interface Routes {
4272
4288
  /** Unique identifier for the device. */
4273
4289
  device_id: string;
4274
4290
  /** Type of the device. */
4275
- 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
4291
+ 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone');
4276
4292
  /** 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; and "battery," which indicates that the device can manage battery life and health. */
4277
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
4293
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
4278
4294
  /** Properties of the device. */
4279
4295
  properties: ({
4280
4296
  /** Indicates whether the device is online. */
@@ -5153,9 +5169,9 @@ export interface Routes {
5153
5169
  /** Unique identifier for the device. */
5154
5170
  device_id: string;
5155
5171
  /** Type of the device. */
5156
- 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
5172
+ 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone');
5157
5173
  /** 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; and "battery," which indicates that the device can manage battery life and health. */
5158
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
5174
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
5159
5175
  /** Properties of the device. */
5160
5176
  properties: ({
5161
5177
  /** Indicates whether the device is online. */
@@ -5634,8 +5650,8 @@ export interface Routes {
5634
5650
  connected_account_id?: string | undefined;
5635
5651
  connected_account_ids?: string[] | undefined;
5636
5652
  connect_webview_id?: string | undefined;
5637
- 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat')) | undefined;
5638
- device_types?: Array<('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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat')> | undefined;
5653
+ 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone')) | undefined;
5654
+ device_types?: Array<('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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone')> | undefined;
5639
5655
  manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'minut' | 'two_n' | 'ttlock' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'controlbyweb' | 'smartthings' | 'dormakaba_oracode') | undefined;
5640
5656
  device_ids?: string[] | undefined;
5641
5657
  limit?: number;
@@ -5648,9 +5664,9 @@ export interface Routes {
5648
5664
  /** Unique identifier for the device. */
5649
5665
  device_id: string;
5650
5666
  /** Type of the device. */
5651
- 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
5667
+ 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone');
5652
5668
  /** 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; and "battery," which indicates that the device can manage battery life and health. */
5653
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
5669
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
5654
5670
  /** Properties of the device. */
5655
5671
  properties: ({
5656
5672
  /** Indicates whether the device is online. */
@@ -6240,9 +6256,9 @@ export interface Routes {
6240
6256
  /** Unique identifier for the device. */
6241
6257
  device_id: string;
6242
6258
  /** Type of the device. */
6243
- 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
6259
+ 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' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat') | ('ios_phone' | 'android_phone');
6244
6260
  /** 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; and "battery," which indicates that the device can manage battery life and health. */
6245
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
6261
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
6246
6262
  /** Properties of the device. */
6247
6263
  properties: ({
6248
6264
  /** Indicates whether the device is online. */
@@ -6698,9 +6714,12 @@ export interface Routes {
6698
6714
  workspace_id: string;
6699
6715
  created_at: string;
6700
6716
  display_name: string;
6701
- external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user';
6702
- external_type_display_name: string;
6717
+ external_type?: ('pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user') | undefined;
6718
+ external_type_display_name?: string | undefined;
6703
6719
  is_suspended: boolean;
6720
+ starts_at?: string | undefined;
6721
+ ends_at?: string | undefined;
6722
+ is_virtual: boolean;
6704
6723
  full_name?: string | undefined;
6705
6724
  /** Deprecated: use email_address. */
6706
6725
  email?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- // If changed, update seam.acs_access_group.access_group_type check constraint
2
+ // If changed, update seam.acs_access_group.external_type generated column
3
3
  export const acs_access_group_external_type = z.enum([
4
4
  'pti_unit',
5
5
  'pti_access_level',
@@ -1 +1 @@
1
- {"version":3,"file":"access_group.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/access_group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,8EAA8E;AAC9E,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC;IACnD,UAAU;IACV,kBAAkB;IAClB,oBAAoB;IACpB,aAAa;CACd,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACtC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,iBAAiB,EAAE,8BAA8B,CAAC,QAAQ,CACxD,+BAA+B,CAChC;IACD,8BAA8B,EAAE,CAAC;SAC9B,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,aAAa,EAAE,8BAA8B;IAC7C,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA"}
1
+ {"version":3,"file":"access_group.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/access_group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,0EAA0E;AAC1E,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC;IACnD,UAAU;IACV,kBAAkB;IAClB,oBAAoB;IACpB,aAAa;CACd,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACtC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,iBAAiB,EAAE,8BAA8B,CAAC,QAAQ,CACxD,+BAA+B,CAChC;IACD,8BAA8B,EAAE,CAAC;SAC9B,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,aAAa,EAAE,8BAA8B;IAC7C,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA"}
@@ -5,11 +5,14 @@ export declare const acs_user: z.ZodObject<{
5
5
  workspace_id: z.ZodString;
6
6
  created_at: z.ZodString;
7
7
  acs_system_id: z.ZodString;
8
- external_type: z.ZodEnum<["pti_user", "brivo_user", "hid_cm_user", "salto_site_user"]>;
9
- external_type_display_name: z.ZodString;
8
+ external_type: z.ZodOptional<z.ZodEnum<["pti_user", "brivo_user", "hid_cm_user", "salto_site_user"]>>;
9
+ external_type_display_name: z.ZodOptional<z.ZodString>;
10
10
  acs_user_id: z.ZodString;
11
11
  display_name: z.ZodString;
12
12
  is_suspended: z.ZodBoolean;
13
+ is_virtual: z.ZodBoolean;
14
+ starts_at: z.ZodOptional<z.ZodString>;
15
+ ends_at: z.ZodOptional<z.ZodString>;
13
16
  hid_acs_system_id: z.ZodOptional<z.ZodString>;
14
17
  full_name: z.ZodOptional<z.ZodString>;
15
18
  email: z.ZodOptional<z.ZodString>;
@@ -19,11 +22,14 @@ export declare const acs_user: z.ZodObject<{
19
22
  workspace_id: string;
20
23
  created_at: string;
21
24
  acs_system_id: string;
22
- external_type: "pti_user" | "brivo_user" | "hid_cm_user" | "salto_site_user";
23
- external_type_display_name: string;
24
25
  acs_user_id: string;
25
26
  display_name: string;
26
27
  is_suspended: boolean;
28
+ is_virtual: boolean;
29
+ external_type?: "pti_user" | "brivo_user" | "hid_cm_user" | "salto_site_user" | undefined;
30
+ external_type_display_name?: string | undefined;
31
+ starts_at?: string | undefined;
32
+ ends_at?: string | undefined;
27
33
  hid_acs_system_id?: string | undefined;
28
34
  full_name?: string | undefined;
29
35
  email?: string | undefined;
@@ -33,11 +39,14 @@ export declare const acs_user: z.ZodObject<{
33
39
  workspace_id: string;
34
40
  created_at: string;
35
41
  acs_system_id: string;
36
- external_type: "pti_user" | "brivo_user" | "hid_cm_user" | "salto_site_user";
37
- external_type_display_name: string;
38
42
  acs_user_id: string;
39
43
  display_name: string;
40
44
  is_suspended: boolean;
45
+ is_virtual: boolean;
46
+ external_type?: "pti_user" | "brivo_user" | "hid_cm_user" | "salto_site_user" | undefined;
47
+ external_type_display_name?: string | undefined;
48
+ starts_at?: string | undefined;
49
+ ends_at?: string | undefined;
41
50
  hid_acs_system_id?: string | undefined;
42
51
  full_name?: string | undefined;
43
52
  email?: string | undefined;
@@ -32,9 +32,12 @@ export const acs_user = z
32
32
  workspace_id: z.string().uuid(),
33
33
  created_at: z.string().datetime(),
34
34
  display_name: z.string(),
35
- external_type: acs_user_external_type,
36
- external_type_display_name: z.string(),
35
+ external_type: acs_user_external_type.optional(),
36
+ external_type_display_name: z.string().optional(),
37
37
  is_suspended: z.boolean(),
38
+ starts_at: z.string().datetime().optional(),
39
+ ends_at: z.string().datetime().optional(),
40
+ is_virtual: z.boolean(),
38
41
  })
39
42
  .merge(user_fields);
40
43
  //# sourceMappingURL=user.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,UAAU;IACV,YAAY;IACZ,aAAa;IACb,iBAAiB;CAClB,CAAC,CAAA;AAIF,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM;KAC1B,MAAM,EAAE;KACR,IAAI,EAAE;KACN,MAAM,CACL,CAAC,GAAG,EAAE,EAAE;IACN,iDAAiD;IACjD,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACtC,CAAC,EACD;IACE,OAAO,EAAE,oDAAoD;CAC9D,CACF,CAAA;AAEH,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,KAAK,EAAE;SACP,QAAQ,EAAE;SACV,QAAQ,CAAC,gCAAgC,CAAC;IAC7C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC;KACtB,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,sBAAsB;IACrC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;CAC1B,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA"}
1
+ {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,UAAU;IACV,YAAY;IACZ,aAAa;IACb,iBAAiB;CAClB,CAAC,CAAA;AAIF,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM;KAC1B,MAAM,EAAE;KACR,IAAI,EAAE;KACN,MAAM,CACL,CAAC,GAAG,EAAE,EAAE;IACN,iDAAiD;IACjD,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACtC,CAAC,EACD;IACE,OAAO,EAAE,oDAAoD;CAC9D,CACF,CAAA;AAEH,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,KAAK,EAAE;SACP,QAAQ,EAAE;SACV,QAAQ,CAAC,gCAAgC,CAAC;IAC7C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC;KACtB,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,sBAAsB,CAAC,QAAQ,EAAE;IAChD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;IACzB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACzC,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;CACxB,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA"}
@@ -1,3 +1,3 @@
1
1
  import { z } from 'zod';
2
- export declare const capabilities: z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery"]>;
2
+ export declare const capabilities: z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>;
3
3
  export type Capabilities = z.infer<typeof capabilities>;
@@ -5,5 +5,6 @@ export const capabilities = z.enum([
5
5
  'noise_detection',
6
6
  'thermostat',
7
7
  'battery',
8
+ 'phone',
8
9
  ]);
9
10
  //# sourceMappingURL=capabilities-supported.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"capabilities-supported.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/capabilities-supported.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,IAAI,CAAC;IACjC,aAAa;IACb,MAAM;IACN,iBAAiB;IACjB,YAAY;IACZ,SAAS;CACV,CAAC,CAAA"}
1
+ {"version":3,"file":"capabilities-supported.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/capabilities-supported.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,IAAI,CAAC;IACjC,aAAa;IACb,MAAM;IACN,iBAAiB;IACjB,YAAY;IACZ,SAAS;IACT,OAAO;CACR,CAAC,CAAA"}
@@ -49,6 +49,15 @@ type ThermostatDeviceTypeFromMapping = (typeof THERMOSTAT_DEVICE_TYPE)[keyof typ
49
49
  export declare const THERMOSTAT_DEVICE_TYPE_LIST: ThermostatDeviceTypeFromMapping[];
50
50
  export declare const thermostat_device_type: z.ZodEnum<[ThermostatDeviceTypeFromMapping]>;
51
51
  export type ThermostatDeviceType = z.infer<typeof thermostat_device_type>;
52
- export declare const any_device_type: z.ZodUnion<[z.ZodEnum<[LockDeviceTypeFromMapping]>, z.ZodEnum<[NoiseSensorDeviceTypeFromMapping]>, z.ZodEnum<[ThermostatDeviceTypeFromMapping]>]>;
52
+ /** Phones */
53
+ export declare const PHONE_DEVICE_TYPE: {
54
+ readonly IOS_PHONE: "ios_phone";
55
+ readonly ANDROID_PHONE: "android_phone";
56
+ };
57
+ type PhoneDeviceTypeFromMapping = (typeof PHONE_DEVICE_TYPE)[keyof typeof PHONE_DEVICE_TYPE];
58
+ export declare const PHONE_DEVICE_TYPE_LIST: PhoneDeviceTypeFromMapping[];
59
+ export declare const phone_device_type: z.ZodEnum<[PhoneDeviceTypeFromMapping]>;
60
+ export type PhoneDeviceType = z.infer<typeof phone_device_type>;
61
+ export declare const any_device_type: z.ZodUnion<[z.ZodEnum<[LockDeviceTypeFromMapping]>, z.ZodEnum<[NoiseSensorDeviceTypeFromMapping]>, z.ZodEnum<[ThermostatDeviceTypeFromMapping]>, z.ZodEnum<[PhoneDeviceTypeFromMapping]>]>;
53
62
  export type AnyDeviceType = z.infer<typeof any_device_type>;
54
63
  export {};
@@ -43,9 +43,17 @@ export const THERMOSTAT_DEVICE_TYPE = {
43
43
  };
44
44
  export const THERMOSTAT_DEVICE_TYPE_LIST = Object.values(THERMOSTAT_DEVICE_TYPE);
45
45
  export const thermostat_device_type = z.enum(Object.values(THERMOSTAT_DEVICE_TYPE));
46
+ /** Phones */
47
+ export const PHONE_DEVICE_TYPE = {
48
+ IOS_PHONE: 'ios_phone',
49
+ ANDROID_PHONE: 'android_phone',
50
+ };
51
+ export const PHONE_DEVICE_TYPE_LIST = Object.values(PHONE_DEVICE_TYPE);
52
+ export const phone_device_type = z.enum(Object.values(PHONE_DEVICE_TYPE_LIST));
46
53
  export const any_device_type = z.union([
47
54
  lock_device_type,
48
55
  noise_sensor_device_type,
49
56
  thermostat_device_type,
57
+ phone_device_type,
50
58
  ]);
51
59
  //# sourceMappingURL=device-type.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"device-type.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/device-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,YAAY;AACZ,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,kBAAkB,EAAE,oBAAoB;IACxC,iBAAiB,EAAE,mBAAmB;IACtC,mBAAmB,EAAE,qBAAqB;IAC1C,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,YAAY,EAAE,cAAc;IAC5B,UAAU,EAAE,YAAY;IACxB,gBAAgB,EAAE,kBAAkB;IACpC,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,cAAc,EAAE,gBAAgB;IAChC,mBAAmB,EAAE,qBAAqB;IAC1C,WAAW,EAAE,aAAa;IAC1B,cAAc,EAAE,gBAAgB;IAChC,YAAY,EAAE,cAAc;IAC5B,gBAAgB,EAAE,kBAAkB;IACpC,sBAAsB,EAAE,wBAAwB;CACxC,CAAA;AAKV,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAChD,gBAAgB,CACc,CAAA;AAEhC,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CACpC,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAgC,CAC/D,CAAA;AAID,oBAAoB;AACpB,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,wBAAwB,EAAE,0BAA0B;IACpD,YAAY,EAAE,cAAc;CACpB,CAAA;AAKV,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CAAC,MAAM,CACxD,wBAAwB,CACa,CAAA;AAEvC,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAC5C,MAAM,CAAC,MAAM,CAAC,wBAAwB,CAAuC,CAC9E,CAAA;AAID,kBAAkB;AAClB,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;CAC1B,CAAA;AAKV,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAC,MAAM,CACtD,sBAAsB,CACc,CAAA;AAEtC,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAC1C,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAsC,CAC3E,CAAA;AAID,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC;IACrC,gBAAgB;IAChB,wBAAwB;IACxB,sBAAsB;CACvB,CAAC,CAAA"}
1
+ {"version":3,"file":"device-type.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/device-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,YAAY;AACZ,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,kBAAkB,EAAE,oBAAoB;IACxC,iBAAiB,EAAE,mBAAmB;IACtC,mBAAmB,EAAE,qBAAqB;IAC1C,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,YAAY,EAAE,cAAc;IAC5B,UAAU,EAAE,YAAY;IACxB,gBAAgB,EAAE,kBAAkB;IACpC,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,cAAc,EAAE,gBAAgB;IAChC,mBAAmB,EAAE,qBAAqB;IAC1C,WAAW,EAAE,aAAa;IAC1B,cAAc,EAAE,gBAAgB;IAChC,YAAY,EAAE,cAAc;IAC5B,gBAAgB,EAAE,kBAAkB;IACpC,sBAAsB,EAAE,wBAAwB;CACxC,CAAA;AAKV,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAChD,gBAAgB,CACc,CAAA;AAEhC,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CACpC,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAgC,CAC/D,CAAA;AAID,oBAAoB;AACpB,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,wBAAwB,EAAE,0BAA0B;IACpD,YAAY,EAAE,cAAc;CACpB,CAAA;AAKV,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CAAC,MAAM,CACxD,wBAAwB,CACa,CAAA;AAEvC,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAC5C,MAAM,CAAC,MAAM,CAAC,wBAAwB,CAAuC,CAC9E,CAAA;AAID,kBAAkB;AAClB,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;CAC1B,CAAA;AAKV,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAC,MAAM,CACtD,sBAAsB,CACc,CAAA;AAEtC,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAC1C,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAsC,CAC3E,CAAA;AAID,aAAa;AACb,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,eAAe;CACtB,CAAA;AAKV,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,CACjD,iBAAiB,CACc,CAAA;AAEjC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CACrC,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAiC,CACtE,CAAA;AAID,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC;IACrC,gBAAgB;IAChB,wBAAwB;IACxB,sBAAsB;IACtB,iBAAiB;CAClB,CAAC,CAAA"}
@@ -96,8 +96,8 @@ export declare const common_device_properties: z.ZodObject<{
96
96
  }>;
97
97
  export declare const managed_device: z.ZodObject<{
98
98
  device_id: z.ZodString;
99
- 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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat"]>]>;
100
- capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery"]>, "many">;
99
+ 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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>]>;
100
+ capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
101
101
  properties: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
102
102
  online: z.ZodBoolean;
103
103
  name: z.ZodString;
@@ -2705,8 +2705,8 @@ export declare const managed_device: z.ZodObject<{
2705
2705
  max_cooling_set_point_fahrenheit?: number | undefined;
2706
2706
  is_cooling_available?: true | undefined;
2707
2707
  }))) | undefined);
2708
- 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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
2709
- capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
2708
+ 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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat" | "ios_phone" | "android_phone";
2709
+ capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
2710
2710
  errors: {
2711
2711
  message: string;
2712
2712
  error_code: string;
@@ -3500,8 +3500,8 @@ export declare const managed_device: z.ZodObject<{
3500
3500
  max_cooling_set_point_fahrenheit?: number | undefined;
3501
3501
  is_cooling_available?: true | undefined;
3502
3502
  }))) | undefined);
3503
- 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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
3504
- capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
3503
+ 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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat" | "ios_phone" | "android_phone";
3504
+ capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
3505
3505
  errors: {
3506
3506
  message: string;
3507
3507
  error_code: string;