@seamapi/http 2.50.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 (64) 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 +112 -254
  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/spaces/spaces.d.ts +13 -0
  31. package/lib/routes/thermostats/thermostats.d.ts +3 -13
  32. package/lib/routes/workspaces/workspaces.d.ts +0 -21
  33. package/lib/version.d.ts +1 -1
  34. package/lib/version.js +1 -1
  35. package/package.json +2 -2
  36. package/src/lib/resources/access-grant.ts +0 -5
  37. package/src/lib/resources/acs-access-group.ts +0 -20
  38. package/src/lib/resources/acs-system.ts +17 -35
  39. package/src/lib/resources/acs-user.ts +0 -4
  40. package/src/lib/resources/client-session.ts +0 -6
  41. package/src/lib/resources/connect-webview.ts +1 -0
  42. package/src/lib/resources/connected-account.ts +1 -28
  43. package/src/lib/resources/device-provider.ts +3 -0
  44. package/src/lib/resources/device.ts +2297 -2448
  45. package/src/lib/resources/event.ts +4 -53
  46. package/src/lib/resources/phone.ts +36 -0
  47. package/src/lib/resources/unmanaged-access-grant.ts +0 -5
  48. package/src/lib/resources/unmanaged-device.ts +118 -105
  49. package/src/lib/resources/workspace.ts +0 -6
  50. package/src/lib/routes/access-codes/access-codes.ts +0 -4
  51. package/src/lib/routes/access-grants/access-grants.ts +0 -27
  52. package/src/lib/routes/acs/entrances/entrances.ts +0 -4
  53. package/src/lib/routes/acs/users/users.ts +0 -10
  54. package/src/lib/routes/client-sessions/client-sessions.ts +0 -17
  55. package/src/lib/routes/connect-webviews/connect-webviews.ts +4 -0
  56. package/src/lib/routes/connected-accounts/connected-accounts.ts +1 -0
  57. package/src/lib/routes/customers/customers.ts +4 -14
  58. package/src/lib/routes/devices/devices.ts +11 -4
  59. package/src/lib/routes/devices/unmanaged/unmanaged.ts +11 -0
  60. package/src/lib/routes/locks/locks.ts +3 -0
  61. package/src/lib/routes/spaces/spaces.ts +16 -0
  62. package/src/lib/routes/thermostats/thermostats.ts +3 -10
  63. package/src/lib/routes/workspaces/workspaces.ts +0 -21
  64. package/src/lib/version.ts +1 -1
@@ -374,6 +374,7 @@ export type DevicesListParameters = {
374
374
  | 'omnitec_lock'
375
375
  | 'kisi_lock'
376
376
  | 'aqara_lock'
377
+ | 'tuya_lock'
377
378
  | 'eufy_lock'
378
379
  | 'keynest_key'
379
380
  | 'noiseaware_activity_zone'
@@ -383,6 +384,7 @@ export type DevicesListParameters = {
383
384
  | 'honeywell_resideo_thermostat'
384
385
  | 'tado_thermostat'
385
386
  | 'sensi_thermostat'
387
+ | 'sensibo_thermostat'
386
388
  | 'smartthings_thermostat'
387
389
  | 'ios_phone'
388
390
  | 'android_phone'
@@ -393,6 +395,8 @@ export type DevicesListParameters = {
393
395
  | 'unifi_protect_camera'
394
396
  | 'sonos_speaker'
395
397
  | 'alertify_sensor'
398
+ | 'hayward_pool_system'
399
+ | 'hayward_pool'
396
400
  | undefined
397
401
  /**
398
402
  * Array of device types for which you want to list devices.
@@ -433,6 +437,7 @@ export type DevicesListParameters = {
433
437
  | 'omnitec_lock'
434
438
  | 'kisi_lock'
435
439
  | 'aqara_lock'
440
+ | 'tuya_lock'
436
441
  | 'eufy_lock'
437
442
  | 'keynest_key'
438
443
  | 'noiseaware_activity_zone'
@@ -442,6 +447,7 @@ export type DevicesListParameters = {
442
447
  | 'honeywell_resideo_thermostat'
443
448
  | 'tado_thermostat'
444
449
  | 'sensi_thermostat'
450
+ | 'sensibo_thermostat'
445
451
  | 'smartthings_thermostat'
446
452
  | 'ios_phone'
447
453
  | 'android_phone'
@@ -452,6 +458,8 @@ export type DevicesListParameters = {
452
458
  | 'unifi_protect_camera'
453
459
  | 'sonos_speaker'
454
460
  | 'alertify_sensor'
461
+ | 'hayward_pool_system'
462
+ | 'hayward_pool'
455
463
  >
456
464
  | undefined
457
465
  /**
@@ -504,6 +512,7 @@ export type DevicesListParameters = {
504
512
  | 'nest'
505
513
  | 'noiseaware'
506
514
  | 'sensi'
515
+ | 'sensibo'
507
516
  | 'smartthings'
508
517
  | 'tado'
509
518
  | 'ultraloq'
@@ -524,6 +533,8 @@ export type DevicesListParameters = {
524
533
  | 'slack'
525
534
  | 'yacan'
526
535
  | 'sonos'
536
+ | 'hayward_omnilogic'
537
+ | 'tuya'
527
538
  | undefined
528
539
  /**
529
540
  * Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
@@ -537,10 +548,6 @@ export type DevicesListParameters = {
537
548
  * ID of the space for which you want to list devices.
538
549
  */
539
550
  space_id?: string | undefined
540
- /**
541
- * @deprecated Use `space_id`.
542
- */
543
- unstable_location_id?: string | null | undefined
544
551
  /**
545
552
  * Your own internal user ID for the user for which you want to list devices.
546
553
  */
@@ -321,6 +321,7 @@ export type DevicesUnmanagedListParameters = {
321
321
  | 'omnitec_lock'
322
322
  | 'kisi_lock'
323
323
  | 'aqara_lock'
324
+ | 'tuya_lock'
324
325
  | 'eufy_lock'
325
326
  | 'keynest_key'
326
327
  | 'noiseaware_activity_zone'
@@ -330,6 +331,7 @@ export type DevicesUnmanagedListParameters = {
330
331
  | 'honeywell_resideo_thermostat'
331
332
  | 'tado_thermostat'
332
333
  | 'sensi_thermostat'
334
+ | 'sensibo_thermostat'
333
335
  | 'smartthings_thermostat'
334
336
  | 'ios_phone'
335
337
  | 'android_phone'
@@ -340,6 +342,8 @@ export type DevicesUnmanagedListParameters = {
340
342
  | 'unifi_protect_camera'
341
343
  | 'sonos_speaker'
342
344
  | 'alertify_sensor'
345
+ | 'hayward_pool_system'
346
+ | 'hayward_pool'
343
347
  | undefined
344
348
  /**
345
349
  * Array of device types for which you want to list devices.
@@ -380,6 +384,7 @@ export type DevicesUnmanagedListParameters = {
380
384
  | 'omnitec_lock'
381
385
  | 'kisi_lock'
382
386
  | 'aqara_lock'
387
+ | 'tuya_lock'
383
388
  | 'eufy_lock'
384
389
  | 'keynest_key'
385
390
  | 'noiseaware_activity_zone'
@@ -389,6 +394,7 @@ export type DevicesUnmanagedListParameters = {
389
394
  | 'honeywell_resideo_thermostat'
390
395
  | 'tado_thermostat'
391
396
  | 'sensi_thermostat'
397
+ | 'sensibo_thermostat'
392
398
  | 'smartthings_thermostat'
393
399
  | 'ios_phone'
394
400
  | 'android_phone'
@@ -399,6 +405,8 @@ export type DevicesUnmanagedListParameters = {
399
405
  | 'unifi_protect_camera'
400
406
  | 'sonos_speaker'
401
407
  | 'alertify_sensor'
408
+ | 'hayward_pool_system'
409
+ | 'hayward_pool'
402
410
  >
403
411
  | undefined
404
412
  /**
@@ -451,6 +459,7 @@ export type DevicesUnmanagedListParameters = {
451
459
  | 'nest'
452
460
  | 'noiseaware'
453
461
  | 'sensi'
462
+ | 'sensibo'
454
463
  | 'smartthings'
455
464
  | 'tado'
456
465
  | 'ultraloq'
@@ -471,6 +480,8 @@ export type DevicesUnmanagedListParameters = {
471
480
  | 'slack'
472
481
  | 'yacan'
473
482
  | 'sonos'
483
+ | 'hayward_omnilogic'
484
+ | 'tuya'
474
485
  | undefined
475
486
  /**
476
487
  * Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
@@ -392,6 +392,7 @@ export type LocksListParameters = {
392
392
  | 'omnitec_lock'
393
393
  | 'kisi_lock'
394
394
  | 'aqara_lock'
395
+ | 'tuya_lock'
395
396
  | 'eufy_lock'
396
397
  | undefined
397
398
  /**
@@ -433,6 +434,7 @@ export type LocksListParameters = {
433
434
  | 'omnitec_lock'
434
435
  | 'kisi_lock'
435
436
  | 'aqara_lock'
437
+ | 'tuya_lock'
436
438
  | 'eufy_lock'
437
439
  >
438
440
  | undefined
@@ -476,6 +478,7 @@ export type LocksListParameters = {
476
478
  | 'omnitec'
477
479
  | 'kisi'
478
480
  | 'yacan'
481
+ | 'tuya'
479
482
  | undefined
480
483
  }
481
484
 
@@ -761,6 +761,22 @@ export type SpacesUpdateParameters = {
761
761
  * IDs of the devices that you want to set for the space. If specified, this will replace all existing devices.
762
762
  */
763
763
  device_ids?: Array<string> | undefined
764
+ /**
765
+ * Geographic coordinates of the space. Pass null to clear them. Seam keeps this value until the connected PMS reports different coordinates for the space.
766
+ */
767
+ geolocation?:
768
+ | {
769
+ /**
770
+ * Latitude of the space, in decimal degrees.
771
+ */
772
+ latitude?: number | undefined
773
+ /**
774
+ * Longitude of the space, in decimal degrees.
775
+ */
776
+ longitude?: number | undefined
777
+ }
778
+ | null
779
+ | undefined
764
780
  /**
765
781
  * Name of the space.
766
782
  */
@@ -670,11 +670,6 @@ export type ThermostatsCreateClimatePresetParameters = {
670
670
  * 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`.
671
671
  */
672
672
  hvac_mode_setting?: 'off' | 'heat' | 'cool' | 'heat_cool' | 'eco' | undefined
673
- /**
674
- * Indicates whether a person at the thermostat or using the API can change the thermostat's settings.
675
- * @deprecated Use 'thermostat_schedule.is_override_allowed'
676
- */
677
- manual_override_allowed?: boolean | undefined
678
673
  /**
679
674
  * User-friendly name to identify the [climate preset](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-climate-presets).
680
675
  */
@@ -809,6 +804,7 @@ export type ThermostatsListParameters = {
809
804
  | 'honeywell_resideo_thermostat'
810
805
  | 'tado_thermostat'
811
806
  | 'sensi_thermostat'
807
+ | 'sensibo_thermostat'
812
808
  | 'smartthings_thermostat'
813
809
  | undefined
814
810
  /**
@@ -821,6 +817,7 @@ export type ThermostatsListParameters = {
821
817
  | 'honeywell_resideo_thermostat'
822
818
  | 'tado_thermostat'
823
819
  | 'sensi_thermostat'
820
+ | 'sensibo_thermostat'
824
821
  | 'smartthings_thermostat'
825
822
  >
826
823
  | undefined
@@ -832,6 +829,7 @@ export type ThermostatsListParameters = {
832
829
  | 'honeywell_resideo'
833
830
  | 'nest'
834
831
  | 'sensi'
832
+ | 'sensibo'
835
833
  | 'smartthings'
836
834
  | 'tado'
837
835
  | undefined
@@ -1063,11 +1061,6 @@ export type ThermostatsUpdateClimatePresetParameters = {
1063
1061
  * 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`.
1064
1062
  */
1065
1063
  hvac_mode_setting?: 'off' | 'heat' | 'cool' | 'heat_cool' | 'eco' | undefined
1066
- /**
1067
- * 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).
1068
- * @deprecated Use 'thermostat_schedule.is_override_allowed'
1069
- */
1070
- manual_override_allowed?: boolean | undefined
1071
1064
  /**
1072
1065
  * User-friendly name to identify the [climate preset](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-climate-presets).
1073
1066
  */
@@ -270,11 +270,6 @@ export class SeamHttpWorkspaces {
270
270
  }
271
271
 
272
272
  export type WorkspacesCreateParameters = {
273
- /**
274
- * Company name for the new workspace.
275
- * @deprecated Use `connect_partner_name` instead.
276
- */
277
- company_name?: string | undefined
278
273
  /**
279
274
  * Connect partner name for the new workspace.
280
275
  */
@@ -315,22 +310,6 @@ export type WorkspacesCreateParameters = {
315
310
  * 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.
316
311
  */
317
312
  organization_id?: string | undefined
318
- /**
319
- * @deprecated Use `connect_webview_customization.webview_logo_shape` instead.
320
- */
321
- webview_logo_shape?: 'circle' | 'square' | undefined
322
- /**
323
- * @deprecated Use `connect_webview_customization.webview_primary_button_color` instead.
324
- */
325
- webview_primary_button_color?: string | undefined
326
- /**
327
- * @deprecated Use `connect_webview_customization.webview_primary_button_text_color` instead.
328
- */
329
- webview_primary_button_text_color?: string | undefined
330
- /**
331
- * @deprecated Use `connect_webview_customization.webview_success_message` instead.
332
- */
333
- webview_success_message?: string | undefined
334
313
  }
335
314
 
336
315
  /**
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '2.50.0'
1
+ const seamapiJavascriptHttpVersion = '2.51.0'
2
2
 
3
3
  export default seamapiJavascriptHttpVersion