@seamapi/types 1.571.0 → 1.573.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 (28) hide show
  1. package/dist/connect.cjs +119 -7146
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +60 -5089
  4. package/dist/index.cjs +119 -7146
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-grants/access-grant.d.ts +2 -2
  7. package/lib/seam/connect/models/acs/acs-entrance.d.ts +0 -5
  8. package/lib/seam/connect/models/acs/metadata/dormakaba-community.d.ts +0 -3
  9. package/lib/seam/connect/models/acs/metadata/dormakaba-community.js +0 -3
  10. package/lib/seam/connect/models/acs/metadata/dormakaba-community.js.map +1 -1
  11. package/lib/seam/connect/models/batch.d.ts +39 -53
  12. package/lib/seam/connect/models/batch.js +1 -6
  13. package/lib/seam/connect/models/batch.js.map +1 -1
  14. package/lib/seam/connect/models/devices/device.d.ts +3 -0
  15. package/lib/seam/connect/models/devices/device.js +3 -0
  16. package/lib/seam/connect/models/devices/device.js.map +1 -1
  17. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +1 -0
  18. package/lib/seam/connect/models/phones/phone-session.d.ts +0 -20
  19. package/lib/seam/connect/openapi.d.ts +140 -5180
  20. package/lib/seam/connect/openapi.js +117 -7140
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +34 -21
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts +0 -5
  25. package/src/lib/seam/connect/models/batch.ts +1 -6
  26. package/src/lib/seam/connect/models/devices/device.ts +3 -0
  27. package/src/lib/seam/connect/openapi.ts +122 -8393
  28. package/src/lib/seam/connect/route-types.ts +34 -21
@@ -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. */
@@ -11439,8 +11441,6 @@ export type Routes = {
11439
11441
  } | undefined;
11440
11442
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
11441
11443
  dormakaba_community_metadata?: {
11442
- /** Name of the access point in the dormakaba Community access system. */
11443
- access_point_name: string;
11444
11444
  /** Type of access point profile in the dormakaba Community access system. */
11445
11445
  access_point_profile: string;
11446
11446
  } | undefined;
@@ -13351,6 +13351,8 @@ export type Routes = {
13351
13351
  device_id: string;
13352
13352
  /** Type of the device. */
13353
13353
  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');
13354
+ /** IDs of the spaces the device is in. */
13355
+ space_ids: string[];
13354
13356
  /** Optional nickname to describe the device, settable through Seam. */
13355
13357
  nickname?: string | undefined;
13356
13358
  /** 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. */
@@ -14620,8 +14622,6 @@ export type Routes = {
14620
14622
  } | undefined;
14621
14623
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
14622
14624
  dormakaba_community_metadata?: {
14623
- /** Name of the access point in the dormakaba Community access system. */
14624
- access_point_name: string;
14625
14625
  /** Type of access point profile in the dormakaba Community access system. */
14626
14626
  access_point_profile: string;
14627
14627
  } | undefined;
@@ -20591,8 +20591,6 @@ export type Routes = {
20591
20591
  } | undefined;
20592
20592
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
20593
20593
  dormakaba_community_metadata?: {
20594
- /** Name of the access point in the dormakaba Community access system. */
20595
- access_point_name: string;
20596
20594
  /** Type of access point profile in the dormakaba Community access system. */
20597
20595
  access_point_profile: string;
20598
20596
  } | undefined;
@@ -21959,8 +21957,6 @@ export type Routes = {
21959
21957
  } | undefined;
21960
21958
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
21961
21959
  dormakaba_community_metadata?: {
21962
- /** Name of the access point in the dormakaba Community access system. */
21963
- access_point_name: string;
21964
21960
  /** Type of access point profile in the dormakaba Community access system. */
21965
21961
  access_point_profile: string;
21966
21962
  } | undefined;
@@ -25407,8 +25403,6 @@ export type Routes = {
25407
25403
  } | undefined;
25408
25404
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
25409
25405
  dormakaba_community_metadata?: {
25410
- /** Name of the access point in the dormakaba Community access system. */
25411
- access_point_name: string;
25412
25406
  /** Type of access point profile in the dormakaba Community access system. */
25413
25407
  access_point_profile: string;
25414
25408
  } | undefined;
@@ -25576,8 +25570,6 @@ export type Routes = {
25576
25570
  } | undefined;
25577
25571
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
25578
25572
  dormakaba_community_metadata?: {
25579
- /** Name of the access point in the dormakaba Community access system. */
25580
- access_point_name: string;
25581
25573
  /** Type of access point profile in the dormakaba Community access system. */
25582
25574
  access_point_profile: string;
25583
25575
  } | undefined;
@@ -27019,8 +27011,6 @@ export type Routes = {
27019
27011
  } | undefined;
27020
27012
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
27021
27013
  dormakaba_community_metadata?: {
27022
- /** Name of the access point in the dormakaba Community access system. */
27023
- access_point_name: string;
27024
27014
  /** Type of access point profile in the dormakaba Community access system. */
27025
27015
  access_point_profile: string;
27026
27016
  } | undefined;
@@ -31853,6 +31843,8 @@ export type Routes = {
31853
31843
  device_id: string;
31854
31844
  /** Type of the device. */
31855
31845
  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');
31846
+ /** IDs of the spaces the device is in. */
31847
+ space_ids: string[];
31856
31848
  /** Optional nickname to describe the device, settable through Seam. */
31857
31849
  nickname?: string | undefined;
31858
31850
  /** 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 +33094,8 @@ export type Routes = {
33102
33094
  device_id: string;
33103
33095
  /** Type of the device. */
33104
33096
  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');
33097
+ /** IDs of the spaces the device is in. */
33098
+ space_ids: string[];
33105
33099
  /** Optional nickname to describe the device, settable through Seam. */
33106
33100
  nickname?: string | undefined;
33107
33101
  /** 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 +39248,8 @@ export type Routes = {
39254
39248
  device_id: string;
39255
39249
  /** Type of the device. */
39256
39250
  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');
39251
+ /** IDs of the spaces the device is in. */
39252
+ space_ids: string[];
39257
39253
  /** Optional nickname to describe the device, settable through Seam. */
39258
39254
  nickname?: string | undefined;
39259
39255
  /** 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 +40450,8 @@ export type Routes = {
40454
40450
  device_id: string;
40455
40451
  /** Type of the device. */
40456
40452
  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');
40453
+ /** IDs of the spaces the device is in. */
40454
+ space_ids: string[];
40457
40455
  /** Optional nickname to describe the device, settable through Seam. */
40458
40456
  nickname?: string | undefined;
40459
40457
  /** 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 +41701,8 @@ export type Routes = {
41703
41701
  device_id: string;
41704
41702
  /** Type of the device. */
41705
41703
  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');
41704
+ /** IDs of the spaces the device is in. */
41705
+ space_ids: string[];
41706
41706
  /** Optional nickname to describe the device, settable through Seam. */
41707
41707
  nickname?: string | undefined;
41708
41708
  /** 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 +42902,8 @@ export type Routes = {
42902
42902
  device_id: string;
42903
42903
  /** Type of the device. */
42904
42904
  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');
42905
+ /** IDs of the spaces the device is in. */
42906
+ space_ids: string[];
42905
42907
  /** Optional nickname to describe the device, settable through Seam. */
42906
42908
  nickname?: string | undefined;
42907
42909
  /** 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 +49191,8 @@ export type Routes = {
49189
49191
  device_id: string;
49190
49192
  /** Type of the device. */
49191
49193
  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');
49194
+ /** IDs of the spaces the device is in. */
49195
+ space_ids: string[];
49192
49196
  /** Optional nickname to describe the device, settable through Seam. */
49193
49197
  nickname?: string | undefined;
49194
49198
  /** 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 +50392,8 @@ export type Routes = {
50388
50392
  device_id: string;
50389
50393
  /** Type of the device. */
50390
50394
  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');
50395
+ /** IDs of the spaces the device is in. */
50396
+ space_ids: string[];
50391
50397
  /** Optional nickname to describe the device, settable through Seam. */
50392
50398
  nickname?: string | undefined;
50393
50399
  /** 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. */
@@ -58826,8 +58832,6 @@ export type Routes = {
58826
58832
  } | undefined;
58827
58833
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
58828
58834
  dormakaba_community_metadata?: {
58829
- /** Name of the access point in the dormakaba Community access system. */
58830
- access_point_name: string;
58831
58835
  /** Type of access point profile in the dormakaba Community access system. */
58832
58836
  access_point_profile: string;
58833
58837
  } | undefined;
@@ -59109,6 +59113,8 @@ export type Routes = {
59109
59113
  device_id: string;
59110
59114
  /** Type of the device. */
59111
59115
  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');
59116
+ /** IDs of the spaces the device is in. */
59117
+ space_ids: string[];
59112
59118
  /** Optional nickname to describe the device, settable through Seam. */
59113
59119
  nickname?: string | undefined;
59114
59120
  /** 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 +60308,6 @@ export type Routes = {
60302
60308
  can_simulate_hub_connection?: boolean | undefined;
60303
60309
  can_simulate_hub_disconnection?: boolean | undefined;
60304
60310
  can_simulate_paid_subscription?: boolean | undefined;
60305
- space_ids: string[];
60306
60311
  }[] | undefined;
60307
60312
  acs_entrances?: {
60308
60313
  /** 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). */
@@ -60379,8 +60384,6 @@ export type Routes = {
60379
60384
  } | undefined;
60380
60385
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
60381
60386
  dormakaba_community_metadata?: {
60382
- /** Name of the access point in the dormakaba Community access system. */
60383
- access_point_name: string;
60384
60387
  /** Type of access point profile in the dormakaba Community access system. */
60385
60388
  access_point_profile: string;
60386
60389
  } | undefined;
@@ -64701,6 +64704,8 @@ export type Routes = {
64701
64704
  device_id: string;
64702
64705
  /** Type of the device. */
64703
64706
  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');
64707
+ /** IDs of the spaces the device is in. */
64708
+ space_ids: string[];
64704
64709
  /** Optional nickname to describe the device, settable through Seam. */
64705
64710
  nickname?: string | undefined;
64706
64711
  /** 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 +68487,8 @@ export type Routes = {
68482
68487
  device_id: string;
68483
68488
  /** Type of the device. */
68484
68489
  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');
68490
+ /** IDs of the spaces the device is in. */
68491
+ space_ids: string[];
68485
68492
  /** Optional nickname to describe the device, settable through Seam. */
68486
68493
  nickname?: string | undefined;
68487
68494
  /** 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 +69688,8 @@ export type Routes = {
69681
69688
  device_id: string;
69682
69689
  /** Type of the device. */
69683
69690
  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');
69691
+ /** IDs of the spaces the device is in. */
69692
+ space_ids: string[];
69684
69693
  /** Optional nickname to describe the device, settable through Seam. */
69685
69694
  nickname?: string | undefined;
69686
69695
  /** 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 +76830,8 @@ export type Routes = {
76821
76830
  device_id: string;
76822
76831
  /** Type of the device. */
76823
76832
  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');
76833
+ /** IDs of the spaces the device is in. */
76834
+ space_ids: string[];
76824
76835
  /** Optional nickname to describe the device, settable through Seam. */
76825
76836
  nickname?: string | undefined;
76826
76837
  /** 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 +78033,8 @@ export type Routes = {
78022
78033
  device_id: string;
78023
78034
  /** Type of the device. */
78024
78035
  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');
78036
+ /** IDs of the spaces the device is in. */
78037
+ space_ids: string[];
78025
78038
  /** Optional nickname to describe the device, settable through Seam. */
78026
78039
  nickname?: string | undefined;
78027
78040
  /** 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 +80006,8 @@ export type Routes = {
79993
80006
  device_id: string;
79994
80007
  /** Type of the device. */
79995
80008
  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');
80009
+ /** IDs of the spaces the device is in. */
80010
+ space_ids: string[];
79996
80011
  /** Optional nickname to describe the device, settable through Seam. */
79997
80012
  nickname?: string | undefined;
79998
80013
  /** 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. */
@@ -81262,8 +81277,6 @@ export type Routes = {
81262
81277
  } | undefined;
81263
81278
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
81264
81279
  dormakaba_community_metadata?: {
81265
- /** Name of the access point in the dormakaba Community access system. */
81266
- access_point_name: string;
81267
81280
  /** Type of access point profile in the dormakaba Community access system. */
81268
81281
  access_point_profile: string;
81269
81282
  } | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.571.0",
3
+ "version": "1.573.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -2,11 +2,6 @@ import { z } from 'zod'
2
2
 
3
3
  export const acs_entrance_dormakaba_community_metadata = z
4
4
  .object({
5
- access_point_name: z
6
- .string()
7
- .describe(
8
- 'Name of the access point in the dormakaba Community access system.',
9
- ),
10
5
  access_point_profile: z
11
6
  .string()
12
7
  .describe(
@@ -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()