@seamapi/types 1.202.0 → 1.203.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.
@@ -5502,6 +5502,13 @@ export interface Routes {
5502
5502
  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' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat') | ('ios_phone' | 'android_phone');
5503
5503
  /** Unique identifier for the account associated with the device. */
5504
5504
  connected_account_id: string;
5505
+ /** Location information for the device. */
5506
+ location: {
5507
+ /** Name of the device location. */
5508
+ location_name?: string | undefined;
5509
+ /** Time zone of the device location. */
5510
+ timezone?: string | undefined;
5511
+ } | null;
5505
5512
  /** 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. */
5506
5513
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
5507
5514
  /** Unique identifier for the Seam workspace associated with the device. */
@@ -5614,6 +5621,13 @@ export interface Routes {
5614
5621
  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' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat') | ('ios_phone' | 'android_phone');
5615
5622
  /** Unique identifier for the account associated with the device. */
5616
5623
  connected_account_id: string;
5624
+ /** Location information for the device. */
5625
+ location: {
5626
+ /** Name of the device location. */
5627
+ location_name?: string | undefined;
5628
+ /** Time zone of the device location. */
5629
+ timezone?: string | undefined;
5630
+ } | null;
5617
5631
  /** 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. */
5618
5632
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
5619
5633
  /** Unique identifier for the Seam workspace associated with the device. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.202.0",
3
+ "version": "1.203.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -90,6 +90,8 @@ export const PROVIDER_CATEGORY_MAP = {
90
90
  'kwikset',
91
91
  'igloohome',
92
92
  'wyze',
93
+ 'lockly',
94
+ 'tedee',
93
95
  ],
94
96
 
95
97
  thermostats: ['ecobee', 'nest'],
@@ -11,6 +11,7 @@ export const unmanaged_device = device
11
11
  device_id: true,
12
12
  device_type: true,
13
13
  connected_account_id: true,
14
+ location: true,
14
15
  capabilities_supported: true,
15
16
  workspace_id: true,
16
17
  errors: true,
@@ -4048,6 +4048,21 @@ export default {
4048
4048
  type: 'array',
4049
4049
  },
4050
4050
  is_managed: { enum: [false], type: 'boolean' },
4051
+ location: {
4052
+ description: 'Location information for the device.',
4053
+ nullable: true,
4054
+ properties: {
4055
+ location_name: {
4056
+ description: 'Name of the device location.',
4057
+ type: 'string',
4058
+ },
4059
+ timezone: {
4060
+ description: 'Time zone of the device location.',
4061
+ type: 'string',
4062
+ },
4063
+ },
4064
+ type: 'object',
4065
+ },
4051
4066
  properties: {
4052
4067
  properties: {
4053
4068
  accessory_keypad: {
@@ -4203,6 +4218,7 @@ export default {
4203
4218
  'device_id',
4204
4219
  'device_type',
4205
4220
  'connected_account_id',
4221
+ 'location',
4206
4222
  'capabilities_supported',
4207
4223
  'workspace_id',
4208
4224
  'errors',
@@ -6783,6 +6783,13 @@ export interface Routes {
6783
6783
  | ('ios_phone' | 'android_phone')
6784
6784
  /** Unique identifier for the account associated with the device. */
6785
6785
  connected_account_id: string
6786
+ /** Location information for the device. */
6787
+ location: {
6788
+ /** Name of the device location. */
6789
+ location_name?: string | undefined
6790
+ /** Time zone of the device location. */
6791
+ timezone?: string | undefined
6792
+ } | null
6786
6793
  /** 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. */
6787
6794
  capabilities_supported: Array<
6788
6795
  | 'access_code'
@@ -7079,6 +7086,13 @@ export interface Routes {
7079
7086
  | ('ios_phone' | 'android_phone')
7080
7087
  /** Unique identifier for the account associated with the device. */
7081
7088
  connected_account_id: string
7089
+ /** Location information for the device. */
7090
+ location: {
7091
+ /** Name of the device location. */
7092
+ location_name?: string | undefined
7093
+ /** Time zone of the device location. */
7094
+ timezone?: string | undefined
7095
+ } | null
7082
7096
  /** 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. */
7083
7097
  capabilities_supported: Array<
7084
7098
  | 'access_code'