@seamapi/types 1.567.0 → 1.568.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 +117 -7130
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +60 -5049
- package/dist/index.cjs +117 -7130
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +2 -2
- package/lib/seam/connect/models/batch.d.ts +39 -18
- package/lib/seam/connect/models/batch.js +1 -6
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +3 -0
- package/lib/seam/connect/models/devices/device.js +3 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +1 -0
- package/lib/seam/connect/openapi.d.ts +140 -5172
- package/lib/seam/connect/openapi.js +115 -7127
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +34 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/batch.ts +1 -6
- package/src/lib/seam/connect/models/devices/device.ts +3 -0
- package/src/lib/seam/connect/openapi.ts +120 -8378
- package/src/lib/seam/connect/route-types.ts +34 -1
|
@@ -10170,6 +10170,8 @@ export type Routes = {
|
|
|
10170
10170
|
device_id: string;
|
|
10171
10171
|
/** Type of the device. */
|
|
10172
10172
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
10173
|
+
/** IDs of the spaces the device is in. */
|
|
10174
|
+
space_ids: string[];
|
|
10173
10175
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
10174
10176
|
nickname?: string | undefined;
|
|
10175
10177
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
@@ -13351,6 +13353,8 @@ export type Routes = {
|
|
|
13351
13353
|
device_id: string;
|
|
13352
13354
|
/** Type of the device. */
|
|
13353
13355
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
13356
|
+
/** IDs of the spaces the device is in. */
|
|
13357
|
+
space_ids: string[];
|
|
13354
13358
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
13355
13359
|
nickname?: string | undefined;
|
|
13356
13360
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
@@ -31853,6 +31857,8 @@ export type Routes = {
|
|
|
31853
31857
|
device_id: string;
|
|
31854
31858
|
/** Type of the device. */
|
|
31855
31859
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
31860
|
+
/** IDs of the spaces the device is in. */
|
|
31861
|
+
space_ids: string[];
|
|
31856
31862
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
31857
31863
|
nickname?: string | undefined;
|
|
31858
31864
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
@@ -33102,6 +33108,8 @@ export type Routes = {
|
|
|
33102
33108
|
device_id: string;
|
|
33103
33109
|
/** Type of the device. */
|
|
33104
33110
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
33111
|
+
/** IDs of the spaces the device is in. */
|
|
33112
|
+
space_ids: string[];
|
|
33105
33113
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
33106
33114
|
nickname?: string | undefined;
|
|
33107
33115
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
@@ -39254,6 +39262,8 @@ export type Routes = {
|
|
|
39254
39262
|
device_id: string;
|
|
39255
39263
|
/** Type of the device. */
|
|
39256
39264
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
39265
|
+
/** IDs of the spaces the device is in. */
|
|
39266
|
+
space_ids: string[];
|
|
39257
39267
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
39258
39268
|
nickname?: string | undefined;
|
|
39259
39269
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
@@ -40454,6 +40464,8 @@ export type Routes = {
|
|
|
40454
40464
|
device_id: string;
|
|
40455
40465
|
/** Type of the device. */
|
|
40456
40466
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
40467
|
+
/** IDs of the spaces the device is in. */
|
|
40468
|
+
space_ids: string[];
|
|
40457
40469
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
40458
40470
|
nickname?: string | undefined;
|
|
40459
40471
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
@@ -41703,6 +41715,8 @@ export type Routes = {
|
|
|
41703
41715
|
device_id: string;
|
|
41704
41716
|
/** Type of the device. */
|
|
41705
41717
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
41718
|
+
/** IDs of the spaces the device is in. */
|
|
41719
|
+
space_ids: string[];
|
|
41706
41720
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
41707
41721
|
nickname?: string | undefined;
|
|
41708
41722
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
@@ -42902,6 +42916,8 @@ export type Routes = {
|
|
|
42902
42916
|
device_id: string;
|
|
42903
42917
|
/** Type of the device. */
|
|
42904
42918
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
42919
|
+
/** IDs of the spaces the device is in. */
|
|
42920
|
+
space_ids: string[];
|
|
42905
42921
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
42906
42922
|
nickname?: string | undefined;
|
|
42907
42923
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
@@ -49189,6 +49205,8 @@ export type Routes = {
|
|
|
49189
49205
|
device_id: string;
|
|
49190
49206
|
/** Type of the device. */
|
|
49191
49207
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
49208
|
+
/** IDs of the spaces the device is in. */
|
|
49209
|
+
space_ids: string[];
|
|
49192
49210
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
49193
49211
|
nickname?: string | undefined;
|
|
49194
49212
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
@@ -50388,6 +50406,8 @@ export type Routes = {
|
|
|
50388
50406
|
device_id: string;
|
|
50389
50407
|
/** Type of the device. */
|
|
50390
50408
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
50409
|
+
/** IDs of the spaces the device is in. */
|
|
50410
|
+
space_ids: string[];
|
|
50391
50411
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
50392
50412
|
nickname?: string | undefined;
|
|
50393
50413
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
@@ -59109,6 +59129,8 @@ export type Routes = {
|
|
|
59109
59129
|
device_id: string;
|
|
59110
59130
|
/** Type of the device. */
|
|
59111
59131
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
59132
|
+
/** IDs of the spaces the device is in. */
|
|
59133
|
+
space_ids: string[];
|
|
59112
59134
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
59113
59135
|
nickname?: string | undefined;
|
|
59114
59136
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
@@ -60302,7 +60324,6 @@ export type Routes = {
|
|
|
60302
60324
|
can_simulate_hub_connection?: boolean | undefined;
|
|
60303
60325
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
60304
60326
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
60305
|
-
space_ids: string[];
|
|
60306
60327
|
}[] | undefined;
|
|
60307
60328
|
acs_entrances?: {
|
|
60308
60329
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -64701,6 +64722,8 @@ export type Routes = {
|
|
|
64701
64722
|
device_id: string;
|
|
64702
64723
|
/** Type of the device. */
|
|
64703
64724
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
64725
|
+
/** IDs of the spaces the device is in. */
|
|
64726
|
+
space_ids: string[];
|
|
64704
64727
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
64705
64728
|
nickname?: string | undefined;
|
|
64706
64729
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
@@ -68482,6 +68505,8 @@ export type Routes = {
|
|
|
68482
68505
|
device_id: string;
|
|
68483
68506
|
/** Type of the device. */
|
|
68484
68507
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
68508
|
+
/** IDs of the spaces the device is in. */
|
|
68509
|
+
space_ids: string[];
|
|
68485
68510
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
68486
68511
|
nickname?: string | undefined;
|
|
68487
68512
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
@@ -69681,6 +69706,8 @@ export type Routes = {
|
|
|
69681
69706
|
device_id: string;
|
|
69682
69707
|
/** Type of the device. */
|
|
69683
69708
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
69709
|
+
/** IDs of the spaces the device is in. */
|
|
69710
|
+
space_ids: string[];
|
|
69684
69711
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
69685
69712
|
nickname?: string | undefined;
|
|
69686
69713
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
@@ -76821,6 +76848,8 @@ export type Routes = {
|
|
|
76821
76848
|
device_id: string;
|
|
76822
76849
|
/** Type of the device. */
|
|
76823
76850
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
76851
|
+
/** IDs of the spaces the device is in. */
|
|
76852
|
+
space_ids: string[];
|
|
76824
76853
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
76825
76854
|
nickname?: string | undefined;
|
|
76826
76855
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
@@ -78022,6 +78051,8 @@ export type Routes = {
|
|
|
78022
78051
|
device_id: string;
|
|
78023
78052
|
/** Type of the device. */
|
|
78024
78053
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
78054
|
+
/** IDs of the spaces the device is in. */
|
|
78055
|
+
space_ids: string[];
|
|
78025
78056
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
78026
78057
|
nickname?: string | undefined;
|
|
78027
78058
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
@@ -79993,6 +80024,8 @@ export type Routes = {
|
|
|
79993
80024
|
device_id: string;
|
|
79994
80025
|
/** Type of the device. */
|
|
79995
80026
|
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' | 'akiles_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone');
|
|
80027
|
+
/** IDs of the spaces the device is in. */
|
|
80028
|
+
space_ids: string[];
|
|
79996
80029
|
/** Optional nickname to describe the device, settable through Seam. */
|
|
79997
80030
|
nickname?: string | undefined;
|
|
79998
80031
|
/** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
package/package.json
CHANGED
|
@@ -36,12 +36,7 @@ export const spaces_batch = z
|
|
|
36
36
|
.object({
|
|
37
37
|
batch_type: z.literal('spaces'),
|
|
38
38
|
spaces: space.array().optional(),
|
|
39
|
-
devices: device
|
|
40
|
-
.extend({
|
|
41
|
-
space_ids: z.array(z.string().uuid()),
|
|
42
|
-
})
|
|
43
|
-
.array()
|
|
44
|
-
.optional(),
|
|
39
|
+
devices: device.array().optional(),
|
|
45
40
|
acs_entrances: acs_entrance.array().optional(),
|
|
46
41
|
connected_accounts: connected_account.array().optional(),
|
|
47
42
|
acs_systems: acs_system.array().optional(),
|
|
@@ -691,6 +691,9 @@ export const device = z
|
|
|
691
691
|
.object({
|
|
692
692
|
device_id: z.string().uuid().describe('ID of the device.'),
|
|
693
693
|
device_type: any_device_type.describe('Type of the device.'),
|
|
694
|
+
space_ids: z
|
|
695
|
+
.array(z.string().uuid())
|
|
696
|
+
.describe('IDs of the spaces the device is in.'),
|
|
694
697
|
nickname: z
|
|
695
698
|
.string()
|
|
696
699
|
.optional()
|