@seamapi/http 2.49.0 → 2.51.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 (66) hide show
  1. package/lib/resources/access-grant.d.ts +0 -4
  2. package/lib/resources/acs-access-group.d.ts +0 -8
  3. package/lib/resources/acs-system.d.ts +14 -16
  4. package/lib/resources/acs-user.d.ts +0 -4
  5. package/lib/resources/client-session.d.ts +0 -5
  6. package/lib/resources/connect-webview.d.ts +1 -1
  7. package/lib/resources/connected-account.d.ts +1 -27
  8. package/lib/resources/device-provider.d.ts +1 -1
  9. package/lib/resources/device.d.ts +208 -241
  10. package/lib/resources/event.d.ts +4 -43
  11. package/lib/resources/phone.d.ts +30 -0
  12. package/lib/resources/unmanaged-access-grant.d.ts +0 -4
  13. package/lib/resources/unmanaged-device.d.ts +34 -31
  14. package/lib/resources/workspace.d.ts +0 -5
  15. package/lib/routes/access-codes/access-codes.d.ts +0 -4
  16. package/lib/routes/access-grants/access-grants.d.ts +0 -25
  17. package/lib/routes/acs/entrances/entrances.d.ts +0 -4
  18. package/lib/routes/acs/users/users.d.ts +1 -9
  19. package/lib/routes/acs/users/users.js +0 -1
  20. package/lib/routes/acs/users/users.js.map +1 -1
  21. package/lib/routes/client-sessions/client-sessions.d.ts +1 -16
  22. package/lib/routes/client-sessions/client-sessions.js +0 -1
  23. package/lib/routes/client-sessions/client-sessions.js.map +1 -1
  24. package/lib/routes/connect-webviews/connect-webviews.d.ts +2 -2
  25. package/lib/routes/connected-accounts/connected-accounts.d.ts +1 -1
  26. package/lib/routes/customers/customers.d.ts +4 -12
  27. package/lib/routes/devices/devices.d.ts +3 -7
  28. package/lib/routes/devices/unmanaged/unmanaged.d.ts +3 -3
  29. package/lib/routes/locks/locks.d.ts +3 -3
  30. package/lib/routes/noise-sensors/noise-sensors.d.ts +1 -1
  31. package/lib/routes/spaces/spaces.d.ts +13 -0
  32. package/lib/routes/thermostats/thermostats.d.ts +3 -13
  33. package/lib/routes/workspaces/workspaces.d.ts +0 -21
  34. package/lib/version.d.ts +1 -1
  35. package/lib/version.js +1 -1
  36. package/package.json +2 -2
  37. package/src/lib/resources/access-grant.ts +0 -5
  38. package/src/lib/resources/acs-access-group.ts +0 -20
  39. package/src/lib/resources/acs-system.ts +17 -35
  40. package/src/lib/resources/acs-user.ts +0 -4
  41. package/src/lib/resources/client-session.ts +0 -6
  42. package/src/lib/resources/connect-webview.ts +1 -0
  43. package/src/lib/resources/connected-account.ts +1 -28
  44. package/src/lib/resources/device-provider.ts +4 -0
  45. package/src/lib/resources/device.ts +2351 -2388
  46. package/src/lib/resources/event.ts +4 -53
  47. package/src/lib/resources/phone.ts +36 -0
  48. package/src/lib/resources/unmanaged-access-grant.ts +0 -5
  49. package/src/lib/resources/unmanaged-device.ts +119 -105
  50. package/src/lib/resources/workspace.ts +0 -6
  51. package/src/lib/routes/access-codes/access-codes.ts +0 -4
  52. package/src/lib/routes/access-grants/access-grants.ts +0 -27
  53. package/src/lib/routes/acs/entrances/entrances.ts +0 -4
  54. package/src/lib/routes/acs/users/users.ts +0 -10
  55. package/src/lib/routes/client-sessions/client-sessions.ts +0 -17
  56. package/src/lib/routes/connect-webviews/connect-webviews.ts +5 -0
  57. package/src/lib/routes/connected-accounts/connected-accounts.ts +1 -0
  58. package/src/lib/routes/customers/customers.ts +4 -14
  59. package/src/lib/routes/devices/devices.ts +14 -4
  60. package/src/lib/routes/devices/unmanaged/unmanaged.ts +14 -0
  61. package/src/lib/routes/locks/locks.ts +3 -0
  62. package/src/lib/routes/noise-sensors/noise-sensors.ts +1 -1
  63. package/src/lib/routes/spaces/spaces.ts +16 -0
  64. package/src/lib/routes/thermostats/thermostats.ts +3 -10
  65. package/src/lib/routes/workspaces/workspaces.ts +0 -21
  66. package/src/lib/version.ts +1 -1
@@ -84,11 +84,11 @@ export type DevicesUnmanagedListParameters = {
84
84
  /**
85
85
  * Device type for which you want to list devices.
86
86
  */
87
- 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' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'yale_access_lock' | 'yale_home_lock' | 'yale_connect_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'yacan_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock' | 'eufy_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' | 'ring_camera' | 'tapo_camera' | 'arlo_camera' | 'reolink_camera' | 'unifi_protect_camera' | 'sonos_speaker' | undefined;
87
+ 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' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'yale_access_lock' | 'yale_home_lock' | 'yale_connect_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'yacan_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock' | 'tuya_lock' | 'eufy_lock' | 'keynest_key' | 'noiseaware_activity_zone' | 'minut_sensor' | 'ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'sensibo_thermostat' | 'smartthings_thermostat' | 'ios_phone' | 'android_phone' | 'ring_camera' | 'tapo_camera' | 'arlo_camera' | 'reolink_camera' | 'unifi_protect_camera' | 'sonos_speaker' | 'alertify_sensor' | 'hayward_pool_system' | 'hayward_pool' | undefined;
88
88
  /**
89
89
  * Array of device types for which you want to list devices.
90
90
  */
91
- device_types?: Array<'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' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'yale_access_lock' | 'yale_home_lock' | 'yale_connect_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'yacan_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock' | 'eufy_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' | 'ring_camera' | 'tapo_camera' | 'arlo_camera' | 'reolink_camera' | 'unifi_protect_camera' | 'sonos_speaker'> | undefined;
91
+ device_types?: Array<'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' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'yale_access_lock' | 'yale_home_lock' | 'yale_connect_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'yacan_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock' | 'tuya_lock' | 'eufy_lock' | 'keynest_key' | 'noiseaware_activity_zone' | 'minut_sensor' | 'ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'sensibo_thermostat' | 'smartthings_thermostat' | 'ios_phone' | 'android_phone' | 'ring_camera' | 'tapo_camera' | 'arlo_camera' | 'reolink_camera' | 'unifi_protect_camera' | 'sonos_speaker' | 'alertify_sensor' | 'hayward_pool_system' | 'hayward_pool'> | undefined;
92
92
  /**
93
93
  * Numerical limit on the number of devices to return.
94
94
  */
@@ -96,7 +96,7 @@ export type DevicesUnmanagedListParameters = {
96
96
  /**
97
97
  * Manufacturer for which you want to list devices.
98
98
  */
99
- manufacturer?: 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'tedee' | 'keyincode' | 'ubiquiti' | 'akiles' | 'aqara' | 'ecobee' | 'eufy' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'lockly' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'tapo' | 'arlo' | 'reolink' | 'unifi_protect' | 'yale_connect' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'slack' | 'yacan' | 'sonos' | undefined;
99
+ manufacturer?: 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'tedee' | 'keyincode' | 'ubiquiti' | 'akiles' | 'aqara' | 'ecobee' | 'eufy' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'lockly' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'sensibo' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'tapo' | 'arlo' | 'reolink' | 'unifi_protect' | 'yale_connect' | 'alertify' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'slack' | 'yacan' | 'sonos' | 'hayward_omnilogic' | 'tuya' | undefined;
100
100
  /**
101
101
  * Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
102
102
  */
@@ -98,15 +98,15 @@ export type LocksListParameters = {
98
98
  /**
99
99
  * Device type of the locks that you want to list.
100
100
  */
101
- 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' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'yale_access_lock' | 'yale_home_lock' | 'yale_connect_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'yacan_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock' | 'eufy_lock' | undefined;
101
+ 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' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'yale_access_lock' | 'yale_home_lock' | 'yale_connect_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'yacan_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock' | 'tuya_lock' | 'eufy_lock' | undefined;
102
102
  /**
103
103
  * Device types of the locks that you want to list.
104
104
  */
105
- device_types?: Array<'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' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'yale_access_lock' | 'yale_home_lock' | 'yale_connect_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'yacan_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock' | 'eufy_lock'> | undefined;
105
+ device_types?: Array<'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' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'yale_access_lock' | 'yale_home_lock' | 'yale_connect_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'yacan_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock' | 'tuya_lock' | 'eufy_lock'> | undefined;
106
106
  /**
107
107
  * Manufacturer of the locks that you want to list.
108
108
  */
109
- manufacturer?: 'akuvox' | 'august' | 'brivo' | 'butterflymx' | 'avigilon_alta' | 'doorking' | 'genie' | 'igloo' | 'linear' | 'kwikset' | 'nuki' | 'salto' | 'schlage' | 'seam' | 'wyze' | 'yale' | 'two_n' | 'controlbyweb' | 'ttlock' | 'igloohome' | 'four_suites' | 'tedee' | 'keyincode' | 'akiles' | 'aqara' | 'eufy' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'korelock' | 'lockly' | 'smartthings' | 'ultraloq' | 'yale_connect' | 'omnitec' | 'kisi' | 'yacan' | undefined;
109
+ manufacturer?: 'akuvox' | 'august' | 'brivo' | 'butterflymx' | 'avigilon_alta' | 'doorking' | 'genie' | 'igloo' | 'linear' | 'kwikset' | 'nuki' | 'salto' | 'schlage' | 'seam' | 'wyze' | 'yale' | 'two_n' | 'controlbyweb' | 'ttlock' | 'igloohome' | 'four_suites' | 'tedee' | 'keyincode' | 'akiles' | 'aqara' | 'eufy' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'korelock' | 'lockly' | 'smartthings' | 'ultraloq' | 'yale_connect' | 'omnitec' | 'kisi' | 'yacan' | 'tuya' | undefined;
110
110
  };
111
111
  /**
112
112
  * @deprecated Use LocksListRequest instead.
@@ -48,7 +48,7 @@ export type NoiseSensorsListParameters = {
48
48
  /**
49
49
  * Manufacturers of the noise sensors that you want to list.
50
50
  */
51
- manufacturer?: 'minut' | 'noiseaware' | undefined;
51
+ manufacturer?: 'minut' | 'noiseaware' | 'alertify' | undefined;
52
52
  };
53
53
  /**
54
54
  * @deprecated Use NoiseSensorsListRequest instead.
@@ -338,6 +338,19 @@ export type SpacesUpdateParameters = {
338
338
  * IDs of the devices that you want to set for the space. If specified, this will replace all existing devices.
339
339
  */
340
340
  device_ids?: Array<string> | undefined;
341
+ /**
342
+ * Geographic coordinates of the space. Pass null to clear them. Seam keeps this value until the connected PMS reports different coordinates for the space.
343
+ */
344
+ geolocation?: {
345
+ /**
346
+ * Latitude of the space, in decimal degrees.
347
+ */
348
+ latitude?: number | undefined;
349
+ /**
350
+ * Longitude of the space, in decimal degrees.
351
+ */
352
+ longitude?: number | undefined;
353
+ } | null | undefined;
341
354
  /**
342
355
  * Name of the space.
343
356
  */
@@ -191,11 +191,6 @@ export type ThermostatsCreateClimatePresetParameters = {
191
191
  * Desired [HVAC mode](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.
192
192
  */
193
193
  hvac_mode_setting?: 'off' | 'heat' | 'cool' | 'heat_cool' | 'eco' | undefined;
194
- /**
195
- * Indicates whether a person at the thermostat or using the API can change the thermostat's settings.
196
- * @deprecated Use 'thermostat_schedule.is_override_allowed'
197
- */
198
- manual_override_allowed?: boolean | undefined;
199
194
  /**
200
195
  * User-friendly name to identify the [climate preset](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-climate-presets).
201
196
  */
@@ -293,15 +288,15 @@ export type ThermostatsListParameters = {
293
288
  /**
294
289
  * Device type by which you want to filter thermostat devices.
295
290
  */
296
- device_type?: 'ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat' | undefined;
291
+ device_type?: 'ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'sensibo_thermostat' | 'smartthings_thermostat' | undefined;
297
292
  /**
298
293
  * Array of device types by which you want to filter thermostat devices.
299
294
  */
300
- device_types?: Array<'ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat'> | undefined;
295
+ device_types?: Array<'ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'sensibo_thermostat' | 'smartthings_thermostat'> | undefined;
301
296
  /**
302
297
  * Manufacturer by which you want to filter thermostat devices.
303
298
  */
304
- manufacturer?: 'ecobee' | 'honeywell_resideo' | 'nest' | 'sensi' | 'smartthings' | 'tado' | undefined;
299
+ manufacturer?: 'ecobee' | 'honeywell_resideo' | 'nest' | 'sensi' | 'sensibo' | 'smartthings' | 'tado' | undefined;
305
300
  };
306
301
  /**
307
302
  * @deprecated Use ThermostatsListRequest instead.
@@ -480,11 +475,6 @@ export type ThermostatsUpdateClimatePresetParameters = {
480
475
  * Desired [HVAC mode](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.
481
476
  */
482
477
  hvac_mode_setting?: 'off' | 'heat' | 'cool' | 'heat_cool' | 'eco' | undefined;
483
- /**
484
- * Indicates whether a person at the thermostat can change the thermostat's settings. See [Specifying Manual Override Permissions](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).
485
- * @deprecated Use 'thermostat_schedule.is_override_allowed'
486
- */
487
- manual_override_allowed?: boolean | undefined;
488
478
  /**
489
479
  * User-friendly name to identify the [climate preset](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-climate-presets).
490
480
  */
@@ -38,11 +38,6 @@ export declare class SeamHttpWorkspaces {
38
38
  update(parameters?: WorkspacesUpdateParameters, options?: WorkspacesUpdateOptions): WorkspacesUpdateRequest;
39
39
  }
40
40
  export type WorkspacesCreateParameters = {
41
- /**
42
- * Company name for the new workspace.
43
- * @deprecated Use `connect_partner_name` instead.
44
- */
45
- company_name?: string | undefined;
46
41
  /**
47
42
  * Connect partner name for the new workspace.
48
43
  */
@@ -80,22 +75,6 @@ export type WorkspacesCreateParameters = {
80
75
  * ID of the organization to associate with the new workspace. If omitted, the new workspace is associated with the organization that you administer, if you administer exactly one. If you administer no organization, Seam creates one for you and associates the new workspace with it.
81
76
  */
82
77
  organization_id?: string | undefined;
83
- /**
84
- * @deprecated Use `connect_webview_customization.webview_logo_shape` instead.
85
- */
86
- webview_logo_shape?: 'circle' | 'square' | undefined;
87
- /**
88
- * @deprecated Use `connect_webview_customization.webview_primary_button_color` instead.
89
- */
90
- webview_primary_button_color?: string | undefined;
91
- /**
92
- * @deprecated Use `connect_webview_customization.webview_primary_button_text_color` instead.
93
- */
94
- webview_primary_button_text_color?: string | undefined;
95
- /**
96
- * @deprecated Use `connect_webview_customization.webview_success_message` instead.
97
- */
98
- webview_success_message?: string | undefined;
99
78
  };
100
79
  /**
101
80
  * @deprecated Use WorkspacesCreateRequest instead.
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const seamapiJavascriptHttpVersion = "2.49.0";
1
+ declare const seamapiJavascriptHttpVersion = "2.51.0";
2
2
  export default seamapiJavascriptHttpVersion;
package/lib/version.js CHANGED
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '2.49.0';
1
+ const seamapiJavascriptHttpVersion = '2.51.0';
2
2
  export default seamapiJavascriptHttpVersion;
3
3
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/http",
3
- "version": "2.49.0",
3
+ "version": "2.51.0",
4
4
  "description": "JavaScript HTTP client for the Seam API written in TypeScript.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -88,7 +88,7 @@
88
88
  "@seamapi/blueprint": "^1.13.2",
89
89
  "@seamapi/fake-seam-connect": "^2.0.4",
90
90
  "@seamapi/smith": "^1.2.0",
91
- "@seamapi/types": "1.1183.0",
91
+ "@seamapi/types": "1.1201.0",
92
92
  "@types/jsonwebtoken": "^9.0.6",
93
93
  "@types/node": "^24.10.9",
94
94
  "ava": "^8.0.1",
@@ -100,11 +100,6 @@ export type AccessGrant = {
100
100
  * Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method.
101
101
  */
102
102
  instant_key_url?: string | undefined
103
- /**
104
- * @deprecated Use `space_ids`.
105
- */
106
- location_ids: Array<string>
107
-
108
103
  /**
109
104
  * Name of the Access Grant. If not provided, the display name will be computed.
110
105
  */
@@ -11,26 +11,6 @@
11
11
  * To learn whether your access control system supports access groups, see the corresponding [system integration guide](https://www.seam.co/docs/device-and-system-integration-guides#access-control-systems).
12
12
  */
13
13
  export type AcsAccessGroup = {
14
- /**
15
- * @deprecated Use `external_type`.
16
- */
17
- access_group_type:
18
- | 'pti_unit'
19
- | 'pti_access_level'
20
- | 'salto_ks_access_group'
21
- | 'brivo_group'
22
- | 'salto_space_group'
23
- | 'dormakaba_community_access_group'
24
- | 'dormakaba_ambiance_access_group'
25
- | 'avigilon_alta_group'
26
- | 'kisi_access_group'
27
- | 'akiles_member_group'
28
-
29
- /**
30
- * @deprecated Use `external_type_display_name`.
31
- */
32
- access_group_type_display_name: string
33
-
34
14
  /**
35
15
  * `starts_at` and `ends_at` timestamps for the access group's access.
36
16
  */
@@ -29,12 +29,6 @@ export type AcsSystem = {
29
29
  */
30
30
  connected_account_id: string
31
31
 
32
- /**
33
- * IDs of the [connected accounts](https://www.seam.co/docs/core-concepts/connected-accounts) associated with the [access control system](https://www.seam.co/docs/low-level-apis/access-systems).
34
- * @deprecated Use `connected_account_id`.
35
- */
36
- connected_account_ids: Array<string>
37
-
38
32
  /**
39
33
  * Date and time at which the [access control system](https://www.seam.co/docs/low-level-apis/access-systems) was created.
40
34
  */
@@ -296,32 +290,6 @@ export type AcsSystem = {
296
290
  */
297
291
  name: string
298
292
 
299
- /**
300
- * @deprecated Use `external_type`.
301
- */
302
- system_type?:
303
- | 'pti_site'
304
- | 'avigilon_alta_org'
305
- | 'salto_ks_site'
306
- | 'salto_space_system'
307
- | 'brivo_account'
308
- | 'hid_credential_manager_organization'
309
- | 'visionline_system'
310
- | 'assa_abloy_credential_service'
311
- | 'latch_building'
312
- | 'dormakaba_community_site'
313
- | 'dormakaba_ambiance_site'
314
- | 'legic_connect_credential_service'
315
- | 'assa_abloy_vostio'
316
- | 'assa_abloy_vostio_credential_service'
317
- | 'hotek_site'
318
- | 'kisi_organization'
319
- | 'akiles_organization'
320
- | undefined
321
- /**
322
- * @deprecated Use `external_type_display_name`.
323
- */
324
- system_type_display_name?: string | undefined
325
293
  /**
326
294
  * Visionline-specific metadata for the [access control system](https://www.seam.co/docs/low-level-apis/access-systems).
327
295
  */
@@ -364,7 +332,7 @@ export type AcsSystem = {
364
332
  */
365
333
  warning_code: 'salto_ks_subscription_limit_almost_reached'
366
334
  } /**
367
- * Indicates the [access control system](https://www.seam.co/docs/low-level-apis/access-systems) time zone could not be determined because the reported physical location does not match the time zone configured on the physical [ACS entrances](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details).
335
+ * Indicates that the Salto KS site does not accept custom PIN codes, either because its Salto subscription does not include the Custom PIN feature or because Custom PIN is turned off in the site's settings. Salto KS generates every PIN on the site, so a PIN code requested on an access grant or reservation is replaced with a Salto-generated one. The message says which of the two applies.
368
336
  */
369
337
  | {
370
338
  /**
@@ -378,9 +346,23 @@ export type AcsSystem = {
378
346
  message: string
379
347
 
380
348
  /**
381
- * @deprecated this field is deprecated.
349
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
350
+ */
351
+ warning_code: 'salto_ks_custom_pins_not_supported'
352
+ } /**
353
+ * Indicates the [access control system](https://www.seam.co/docs/low-level-apis/access-systems) time zone could not be determined because the reported physical location does not match the time zone configured on the physical [ACS entrances](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details).
354
+ */
355
+ | {
356
+ /**
357
+ * Date and time at which Seam created the warning.
358
+ */
359
+ created_at: string
360
+
361
+ /**
362
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
382
363
  */
383
- misconfigured_acs_entrance_ids?: Array<string> | undefined
364
+ message: string
365
+
384
366
  /**
385
367
  * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
386
368
  */
@@ -51,10 +51,6 @@ export type AcsUser = {
51
51
  */
52
52
  display_name: string
53
53
 
54
- /**
55
- * @deprecated use email_address.
56
- */
57
- email?: string | undefined
58
54
  /**
59
55
  * Email address of the [access system user](https://www.seam.co/docs/low-level-apis/access-systems/user-management).
60
56
  */
@@ -62,12 +62,6 @@ export type ClientSession = {
62
62
  * ID of the [user identity](https://www.seam.co/docs/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with the client session.
63
63
  */
64
64
  user_identity_id?: string | undefined
65
- /**
66
- * IDs of the [user identities](https://www.seam.co/docs/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with the client session.
67
- * @deprecated Use `user_identity_id` instead.
68
- */
69
- user_identity_ids: Array<string>
70
-
71
65
  /**
72
66
  * ID of the workspace associated with the client session.
73
67
  */
@@ -27,6 +27,7 @@ export type ConnectWebview = {
27
27
  | 'access_control'
28
28
  | 'camera'
29
29
  | 'speaker'
30
+ | 'pool'
30
31
  >
31
32
 
32
33
  /**
@@ -17,6 +17,7 @@ export type ConnectedAccount = {
17
17
  | 'access_control'
18
18
  | 'camera'
19
19
  | 'speaker'
20
+ | 'pool'
20
21
  >
21
22
 
22
23
  /**
@@ -220,34 +221,6 @@ export type ConnectedAccount = {
220
221
  * IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration.
221
222
  */
222
223
  time_zone?: string | undefined
223
- /**
224
- * User identifier associated with the connected account.
225
- * @deprecated Use `display_name` instead.
226
- */
227
- user_identifier?:
228
- | {
229
- /**
230
- * API URL for the user identifier associated with the connected account.
231
- */
232
- api_url?: string | undefined
233
- /**
234
- * Email address of the user identifier associated with the connected account.
235
- */
236
- email?: string | undefined
237
- /**
238
- * Indicates whether the user identifier associated with the connected account is exclusive.
239
- */
240
- exclusive?: boolean | undefined
241
- /**
242
- * Phone number of the user identifier associated with the connected account.
243
- */
244
- phone?: string | undefined
245
- /**
246
- * Username of the user identifier associated with the connected account.
247
- */
248
- username?: string | undefined
249
- }
250
- | undefined
251
224
  /**
252
225
  * Warnings associated with the connected account.
253
226
  */
@@ -145,6 +145,7 @@ export type DeviceProvider = {
145
145
  | 'tado'
146
146
  | 'salto_space'
147
147
  | 'sensi'
148
+ | 'sensibo'
148
149
  | 'keynest'
149
150
  | 'korelock'
150
151
  | 'keyincode'
@@ -160,6 +161,7 @@ export type DeviceProvider = {
160
161
  | 'reolink'
161
162
  | 'unifi_protect'
162
163
  | 'yale_connect'
164
+ | 'alertify'
163
165
  | 'ical'
164
166
  | 'lodgify'
165
167
  | 'hostaway'
@@ -170,6 +172,8 @@ export type DeviceProvider = {
170
172
  | 'aqara'
171
173
  | 'eufy'
172
174
  | 'sonos'
175
+ | 'hayward_omnilogic'
176
+ | 'tuya'
173
177
 
174
178
  /**
175
179
  * Display name for the device provider.