@seamapi/types 1.570.0 → 1.572.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 +7136 -137
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +6021 -1072
  4. package/dist/index.cjs +7136 -137
  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 +18 -74
  12. package/lib/seam/connect/models/batch.js +6 -1
  13. package/lib/seam/connect/models/batch.js.map +1 -1
  14. package/lib/seam/connect/models/devices/device.d.ts +0 -3
  15. package/lib/seam/connect/models/devices/device.js +0 -3
  16. package/lib/seam/connect/models/devices/device.js.map +1 -1
  17. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +0 -1
  18. package/lib/seam/connect/models/phones/phone-session.d.ts +0 -20
  19. package/lib/seam/connect/openapi.d.ts +5172 -148
  20. package/lib/seam/connect/openapi.js +7133 -132
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +1 -54
  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 +6 -1
  26. package/src/lib/seam/connect/models/devices/device.ts +0 -3
  27. package/src/lib/seam/connect/openapi.ts +8381 -136
  28. package/src/lib/seam/connect/route-types.ts +1 -54
@@ -10170,8 +10170,6 @@ 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[];
10175
10173
  /** Optional nickname to describe the device, settable through Seam. */
10176
10174
  nickname?: string | undefined;
10177
10175
  /** 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. */
@@ -11441,8 +11439,6 @@ export type Routes = {
11441
11439
  } | undefined;
11442
11440
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
11443
11441
  dormakaba_community_metadata?: {
11444
- /** Name of the access point in the dormakaba Community access system. */
11445
- access_point_name: string;
11446
11442
  /** Type of access point profile in the dormakaba Community access system. */
11447
11443
  access_point_profile: string;
11448
11444
  } | undefined;
@@ -13353,8 +13349,6 @@ export type Routes = {
13353
13349
  device_id: string;
13354
13350
  /** Type of the device. */
13355
13351
  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[];
13358
13352
  /** Optional nickname to describe the device, settable through Seam. */
13359
13353
  nickname?: string | undefined;
13360
13354
  /** 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. */
@@ -14624,8 +14618,6 @@ export type Routes = {
14624
14618
  } | undefined;
14625
14619
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
14626
14620
  dormakaba_community_metadata?: {
14627
- /** Name of the access point in the dormakaba Community access system. */
14628
- access_point_name: string;
14629
14621
  /** Type of access point profile in the dormakaba Community access system. */
14630
14622
  access_point_profile: string;
14631
14623
  } | undefined;
@@ -20595,8 +20587,6 @@ export type Routes = {
20595
20587
  } | undefined;
20596
20588
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
20597
20589
  dormakaba_community_metadata?: {
20598
- /** Name of the access point in the dormakaba Community access system. */
20599
- access_point_name: string;
20600
20590
  /** Type of access point profile in the dormakaba Community access system. */
20601
20591
  access_point_profile: string;
20602
20592
  } | undefined;
@@ -21963,8 +21953,6 @@ export type Routes = {
21963
21953
  } | undefined;
21964
21954
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
21965
21955
  dormakaba_community_metadata?: {
21966
- /** Name of the access point in the dormakaba Community access system. */
21967
- access_point_name: string;
21968
21956
  /** Type of access point profile in the dormakaba Community access system. */
21969
21957
  access_point_profile: string;
21970
21958
  } | undefined;
@@ -25411,8 +25399,6 @@ export type Routes = {
25411
25399
  } | undefined;
25412
25400
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
25413
25401
  dormakaba_community_metadata?: {
25414
- /** Name of the access point in the dormakaba Community access system. */
25415
- access_point_name: string;
25416
25402
  /** Type of access point profile in the dormakaba Community access system. */
25417
25403
  access_point_profile: string;
25418
25404
  } | undefined;
@@ -25580,8 +25566,6 @@ export type Routes = {
25580
25566
  } | undefined;
25581
25567
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
25582
25568
  dormakaba_community_metadata?: {
25583
- /** Name of the access point in the dormakaba Community access system. */
25584
- access_point_name: string;
25585
25569
  /** Type of access point profile in the dormakaba Community access system. */
25586
25570
  access_point_profile: string;
25587
25571
  } | undefined;
@@ -27023,8 +27007,6 @@ export type Routes = {
27023
27007
  } | undefined;
27024
27008
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
27025
27009
  dormakaba_community_metadata?: {
27026
- /** Name of the access point in the dormakaba Community access system. */
27027
- access_point_name: string;
27028
27010
  /** Type of access point profile in the dormakaba Community access system. */
27029
27011
  access_point_profile: string;
27030
27012
  } | undefined;
@@ -31857,8 +31839,6 @@ export type Routes = {
31857
31839
  device_id: string;
31858
31840
  /** Type of the device. */
31859
31841
  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[];
31862
31842
  /** Optional nickname to describe the device, settable through Seam. */
31863
31843
  nickname?: string | undefined;
31864
31844
  /** 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. */
@@ -33108,8 +33088,6 @@ export type Routes = {
33108
33088
  device_id: string;
33109
33089
  /** Type of the device. */
33110
33090
  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[];
33113
33091
  /** Optional nickname to describe the device, settable through Seam. */
33114
33092
  nickname?: string | undefined;
33115
33093
  /** 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. */
@@ -39262,8 +39240,6 @@ export type Routes = {
39262
39240
  device_id: string;
39263
39241
  /** Type of the device. */
39264
39242
  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[];
39267
39243
  /** Optional nickname to describe the device, settable through Seam. */
39268
39244
  nickname?: string | undefined;
39269
39245
  /** 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. */
@@ -40464,8 +40440,6 @@ export type Routes = {
40464
40440
  device_id: string;
40465
40441
  /** Type of the device. */
40466
40442
  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[];
40469
40443
  /** Optional nickname to describe the device, settable through Seam. */
40470
40444
  nickname?: string | undefined;
40471
40445
  /** 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. */
@@ -41715,8 +41689,6 @@ export type Routes = {
41715
41689
  device_id: string;
41716
41690
  /** Type of the device. */
41717
41691
  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[];
41720
41692
  /** Optional nickname to describe the device, settable through Seam. */
41721
41693
  nickname?: string | undefined;
41722
41694
  /** 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. */
@@ -42916,8 +42888,6 @@ export type Routes = {
42916
42888
  device_id: string;
42917
42889
  /** Type of the device. */
42918
42890
  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[];
42921
42891
  /** Optional nickname to describe the device, settable through Seam. */
42922
42892
  nickname?: string | undefined;
42923
42893
  /** 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. */
@@ -49205,8 +49175,6 @@ export type Routes = {
49205
49175
  device_id: string;
49206
49176
  /** Type of the device. */
49207
49177
  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[];
49210
49178
  /** Optional nickname to describe the device, settable through Seam. */
49211
49179
  nickname?: string | undefined;
49212
49180
  /** 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. */
@@ -50406,8 +50374,6 @@ export type Routes = {
50406
50374
  device_id: string;
50407
50375
  /** Type of the device. */
50408
50376
  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[];
50411
50377
  /** Optional nickname to describe the device, settable through Seam. */
50412
50378
  nickname?: string | undefined;
50413
50379
  /** 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. */
@@ -58846,8 +58812,6 @@ export type Routes = {
58846
58812
  } | undefined;
58847
58813
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
58848
58814
  dormakaba_community_metadata?: {
58849
- /** Name of the access point in the dormakaba Community access system. */
58850
- access_point_name: string;
58851
58815
  /** Type of access point profile in the dormakaba Community access system. */
58852
58816
  access_point_profile: string;
58853
58817
  } | undefined;
@@ -59129,8 +59093,6 @@ export type Routes = {
59129
59093
  device_id: string;
59130
59094
  /** Type of the device. */
59131
59095
  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[];
59134
59096
  /** Optional nickname to describe the device, settable through Seam. */
59135
59097
  nickname?: string | undefined;
59136
59098
  /** 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. */
@@ -60324,6 +60286,7 @@ export type Routes = {
60324
60286
  can_simulate_hub_connection?: boolean | undefined;
60325
60287
  can_simulate_hub_disconnection?: boolean | undefined;
60326
60288
  can_simulate_paid_subscription?: boolean | undefined;
60289
+ space_ids: string[];
60327
60290
  }[] | undefined;
60328
60291
  acs_entrances?: {
60329
60292
  /** 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). */
@@ -60400,8 +60363,6 @@ export type Routes = {
60400
60363
  } | undefined;
60401
60364
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
60402
60365
  dormakaba_community_metadata?: {
60403
- /** Name of the access point in the dormakaba Community access system. */
60404
- access_point_name: string;
60405
60366
  /** Type of access point profile in the dormakaba Community access system. */
60406
60367
  access_point_profile: string;
60407
60368
  } | undefined;
@@ -64722,8 +64683,6 @@ export type Routes = {
64722
64683
  device_id: string;
64723
64684
  /** Type of the device. */
64724
64685
  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[];
64727
64686
  /** Optional nickname to describe the device, settable through Seam. */
64728
64687
  nickname?: string | undefined;
64729
64688
  /** 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. */
@@ -68505,8 +68464,6 @@ export type Routes = {
68505
68464
  device_id: string;
68506
68465
  /** Type of the device. */
68507
68466
  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[];
68510
68467
  /** Optional nickname to describe the device, settable through Seam. */
68511
68468
  nickname?: string | undefined;
68512
68469
  /** 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. */
@@ -69706,8 +69663,6 @@ export type Routes = {
69706
69663
  device_id: string;
69707
69664
  /** Type of the device. */
69708
69665
  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[];
69711
69666
  /** Optional nickname to describe the device, settable through Seam. */
69712
69667
  nickname?: string | undefined;
69713
69668
  /** 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. */
@@ -76848,8 +76803,6 @@ export type Routes = {
76848
76803
  device_id: string;
76849
76804
  /** Type of the device. */
76850
76805
  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[];
76853
76806
  /** Optional nickname to describe the device, settable through Seam. */
76854
76807
  nickname?: string | undefined;
76855
76808
  /** 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. */
@@ -78051,8 +78004,6 @@ export type Routes = {
78051
78004
  device_id: string;
78052
78005
  /** Type of the device. */
78053
78006
  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[];
78056
78007
  /** Optional nickname to describe the device, settable through Seam. */
78057
78008
  nickname?: string | undefined;
78058
78009
  /** 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. */
@@ -80024,8 +79975,6 @@ export type Routes = {
80024
79975
  device_id: string;
80025
79976
  /** Type of the device. */
80026
79977
  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[];
80029
79978
  /** Optional nickname to describe the device, settable through Seam. */
80030
79979
  nickname?: string | undefined;
80031
79980
  /** 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. */
@@ -81295,8 +81244,6 @@ export type Routes = {
81295
81244
  } | undefined;
81296
81245
  /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
81297
81246
  dormakaba_community_metadata?: {
81298
- /** Name of the access point in the dormakaba Community access system. */
81299
- access_point_name: string;
81300
81247
  /** Type of access point profile in the dormakaba Community access system. */
81301
81248
  access_point_profile: string;
81302
81249
  } | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.570.0",
3
+ "version": "1.572.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,7 +36,12 @@ export const spaces_batch = z
36
36
  .object({
37
37
  batch_type: z.literal('spaces'),
38
38
  spaces: space.array().optional(),
39
- devices: device.array().optional(),
39
+ devices: device
40
+ .extend({
41
+ space_ids: z.array(z.string().uuid()),
42
+ })
43
+ .array()
44
+ .optional(),
40
45
  acs_entrances: acs_entrance.array().optional(),
41
46
  connected_accounts: connected_account.array().optional(),
42
47
  acs_systems: acs_system.array().optional(),
@@ -691,9 +691,6 @@ 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.'),
697
694
  nickname: z
698
695
  .string()
699
696
  .optional()