@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.
- package/dist/connect.cjs +20 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +47 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +18 -0
- package/lib/seam/connect/models/devices/unmanaged-device.js +1 -0
- package/lib/seam/connect/models/devices/unmanaged-device.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +15 -0
- package/lib/seam/connect/openapi.js +16 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +14 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
- package/src/lib/seam/connect/models/devices/unmanaged-device.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +16 -0
- package/src/lib/seam/connect/route-types.ts +14 -0
|
@@ -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
|
@@ -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'
|