@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.
- package/lib/resources/access-grant.d.ts +0 -4
- package/lib/resources/acs-access-group.d.ts +0 -8
- package/lib/resources/acs-system.d.ts +14 -16
- package/lib/resources/acs-user.d.ts +0 -4
- package/lib/resources/client-session.d.ts +0 -5
- package/lib/resources/connect-webview.d.ts +1 -1
- package/lib/resources/connected-account.d.ts +1 -27
- package/lib/resources/device-provider.d.ts +1 -1
- package/lib/resources/device.d.ts +208 -241
- package/lib/resources/event.d.ts +4 -43
- package/lib/resources/phone.d.ts +30 -0
- package/lib/resources/unmanaged-access-grant.d.ts +0 -4
- package/lib/resources/unmanaged-device.d.ts +34 -31
- package/lib/resources/workspace.d.ts +0 -5
- package/lib/routes/access-codes/access-codes.d.ts +0 -4
- package/lib/routes/access-grants/access-grants.d.ts +0 -25
- package/lib/routes/acs/entrances/entrances.d.ts +0 -4
- package/lib/routes/acs/users/users.d.ts +1 -9
- package/lib/routes/acs/users/users.js +0 -1
- package/lib/routes/acs/users/users.js.map +1 -1
- package/lib/routes/client-sessions/client-sessions.d.ts +1 -16
- package/lib/routes/client-sessions/client-sessions.js +0 -1
- package/lib/routes/client-sessions/client-sessions.js.map +1 -1
- package/lib/routes/connect-webviews/connect-webviews.d.ts +2 -2
- package/lib/routes/connected-accounts/connected-accounts.d.ts +1 -1
- package/lib/routes/customers/customers.d.ts +4 -12
- package/lib/routes/devices/devices.d.ts +3 -7
- package/lib/routes/devices/unmanaged/unmanaged.d.ts +3 -3
- package/lib/routes/locks/locks.d.ts +3 -3
- package/lib/routes/noise-sensors/noise-sensors.d.ts +1 -1
- package/lib/routes/spaces/spaces.d.ts +13 -0
- package/lib/routes/thermostats/thermostats.d.ts +3 -13
- package/lib/routes/workspaces/workspaces.d.ts +0 -21
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/src/lib/resources/access-grant.ts +0 -5
- package/src/lib/resources/acs-access-group.ts +0 -20
- package/src/lib/resources/acs-system.ts +17 -35
- package/src/lib/resources/acs-user.ts +0 -4
- package/src/lib/resources/client-session.ts +0 -6
- package/src/lib/resources/connect-webview.ts +1 -0
- package/src/lib/resources/connected-account.ts +1 -28
- package/src/lib/resources/device-provider.ts +4 -0
- package/src/lib/resources/device.ts +2351 -2388
- package/src/lib/resources/event.ts +4 -53
- package/src/lib/resources/phone.ts +36 -0
- package/src/lib/resources/unmanaged-access-grant.ts +0 -5
- package/src/lib/resources/unmanaged-device.ts +119 -105
- package/src/lib/resources/workspace.ts +0 -6
- package/src/lib/routes/access-codes/access-codes.ts +0 -4
- package/src/lib/routes/access-grants/access-grants.ts +0 -27
- package/src/lib/routes/acs/entrances/entrances.ts +0 -4
- package/src/lib/routes/acs/users/users.ts +0 -10
- package/src/lib/routes/client-sessions/client-sessions.ts +0 -17
- package/src/lib/routes/connect-webviews/connect-webviews.ts +5 -0
- package/src/lib/routes/connected-accounts/connected-accounts.ts +1 -0
- package/src/lib/routes/customers/customers.ts +4 -14
- package/src/lib/routes/devices/devices.ts +14 -4
- package/src/lib/routes/devices/unmanaged/unmanaged.ts +14 -0
- package/src/lib/routes/locks/locks.ts +3 -0
- package/src/lib/routes/noise-sensors/noise-sensors.ts +1 -1
- package/src/lib/routes/spaces/spaces.ts +16 -0
- package/src/lib/routes/thermostats/thermostats.ts +3 -10
- package/src/lib/routes/workspaces/workspaces.ts +0 -21
- 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'
|
|
@@ -392,6 +394,9 @@ export type DevicesListParameters = {
|
|
|
392
394
|
| 'reolink_camera'
|
|
393
395
|
| 'unifi_protect_camera'
|
|
394
396
|
| 'sonos_speaker'
|
|
397
|
+
| 'alertify_sensor'
|
|
398
|
+
| 'hayward_pool_system'
|
|
399
|
+
| 'hayward_pool'
|
|
395
400
|
| undefined
|
|
396
401
|
/**
|
|
397
402
|
* Array of device types for which you want to list devices.
|
|
@@ -432,6 +437,7 @@ export type DevicesListParameters = {
|
|
|
432
437
|
| 'omnitec_lock'
|
|
433
438
|
| 'kisi_lock'
|
|
434
439
|
| 'aqara_lock'
|
|
440
|
+
| 'tuya_lock'
|
|
435
441
|
| 'eufy_lock'
|
|
436
442
|
| 'keynest_key'
|
|
437
443
|
| 'noiseaware_activity_zone'
|
|
@@ -441,6 +447,7 @@ export type DevicesListParameters = {
|
|
|
441
447
|
| 'honeywell_resideo_thermostat'
|
|
442
448
|
| 'tado_thermostat'
|
|
443
449
|
| 'sensi_thermostat'
|
|
450
|
+
| 'sensibo_thermostat'
|
|
444
451
|
| 'smartthings_thermostat'
|
|
445
452
|
| 'ios_phone'
|
|
446
453
|
| 'android_phone'
|
|
@@ -450,6 +457,9 @@ export type DevicesListParameters = {
|
|
|
450
457
|
| 'reolink_camera'
|
|
451
458
|
| 'unifi_protect_camera'
|
|
452
459
|
| 'sonos_speaker'
|
|
460
|
+
| 'alertify_sensor'
|
|
461
|
+
| 'hayward_pool_system'
|
|
462
|
+
| 'hayward_pool'
|
|
453
463
|
>
|
|
454
464
|
| undefined
|
|
455
465
|
/**
|
|
@@ -502,6 +512,7 @@ export type DevicesListParameters = {
|
|
|
502
512
|
| 'nest'
|
|
503
513
|
| 'noiseaware'
|
|
504
514
|
| 'sensi'
|
|
515
|
+
| 'sensibo'
|
|
505
516
|
| 'smartthings'
|
|
506
517
|
| 'tado'
|
|
507
518
|
| 'ultraloq'
|
|
@@ -511,6 +522,7 @@ export type DevicesListParameters = {
|
|
|
511
522
|
| 'reolink'
|
|
512
523
|
| 'unifi_protect'
|
|
513
524
|
| 'yale_connect'
|
|
525
|
+
| 'alertify'
|
|
514
526
|
| 'ical'
|
|
515
527
|
| 'lodgify'
|
|
516
528
|
| 'hostaway'
|
|
@@ -521,6 +533,8 @@ export type DevicesListParameters = {
|
|
|
521
533
|
| 'slack'
|
|
522
534
|
| 'yacan'
|
|
523
535
|
| 'sonos'
|
|
536
|
+
| 'hayward_omnilogic'
|
|
537
|
+
| 'tuya'
|
|
524
538
|
| undefined
|
|
525
539
|
/**
|
|
526
540
|
* Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
|
|
@@ -534,10 +548,6 @@ export type DevicesListParameters = {
|
|
|
534
548
|
* ID of the space for which you want to list devices.
|
|
535
549
|
*/
|
|
536
550
|
space_id?: string | undefined
|
|
537
|
-
/**
|
|
538
|
-
* @deprecated Use `space_id`.
|
|
539
|
-
*/
|
|
540
|
-
unstable_location_id?: string | null | undefined
|
|
541
551
|
/**
|
|
542
552
|
* Your own internal user ID for the user for which you want to list devices.
|
|
543
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'
|
|
@@ -339,6 +341,9 @@ export type DevicesUnmanagedListParameters = {
|
|
|
339
341
|
| 'reolink_camera'
|
|
340
342
|
| 'unifi_protect_camera'
|
|
341
343
|
| 'sonos_speaker'
|
|
344
|
+
| 'alertify_sensor'
|
|
345
|
+
| 'hayward_pool_system'
|
|
346
|
+
| 'hayward_pool'
|
|
342
347
|
| undefined
|
|
343
348
|
/**
|
|
344
349
|
* Array of device types for which you want to list devices.
|
|
@@ -379,6 +384,7 @@ export type DevicesUnmanagedListParameters = {
|
|
|
379
384
|
| 'omnitec_lock'
|
|
380
385
|
| 'kisi_lock'
|
|
381
386
|
| 'aqara_lock'
|
|
387
|
+
| 'tuya_lock'
|
|
382
388
|
| 'eufy_lock'
|
|
383
389
|
| 'keynest_key'
|
|
384
390
|
| 'noiseaware_activity_zone'
|
|
@@ -388,6 +394,7 @@ export type DevicesUnmanagedListParameters = {
|
|
|
388
394
|
| 'honeywell_resideo_thermostat'
|
|
389
395
|
| 'tado_thermostat'
|
|
390
396
|
| 'sensi_thermostat'
|
|
397
|
+
| 'sensibo_thermostat'
|
|
391
398
|
| 'smartthings_thermostat'
|
|
392
399
|
| 'ios_phone'
|
|
393
400
|
| 'android_phone'
|
|
@@ -397,6 +404,9 @@ export type DevicesUnmanagedListParameters = {
|
|
|
397
404
|
| 'reolink_camera'
|
|
398
405
|
| 'unifi_protect_camera'
|
|
399
406
|
| 'sonos_speaker'
|
|
407
|
+
| 'alertify_sensor'
|
|
408
|
+
| 'hayward_pool_system'
|
|
409
|
+
| 'hayward_pool'
|
|
400
410
|
>
|
|
401
411
|
| undefined
|
|
402
412
|
/**
|
|
@@ -449,6 +459,7 @@ export type DevicesUnmanagedListParameters = {
|
|
|
449
459
|
| 'nest'
|
|
450
460
|
| 'noiseaware'
|
|
451
461
|
| 'sensi'
|
|
462
|
+
| 'sensibo'
|
|
452
463
|
| 'smartthings'
|
|
453
464
|
| 'tado'
|
|
454
465
|
| 'ultraloq'
|
|
@@ -458,6 +469,7 @@ export type DevicesUnmanagedListParameters = {
|
|
|
458
469
|
| 'reolink'
|
|
459
470
|
| 'unifi_protect'
|
|
460
471
|
| 'yale_connect'
|
|
472
|
+
| 'alertify'
|
|
461
473
|
| 'ical'
|
|
462
474
|
| 'lodgify'
|
|
463
475
|
| 'hostaway'
|
|
@@ -468,6 +480,8 @@ export type DevicesUnmanagedListParameters = {
|
|
|
468
480
|
| 'slack'
|
|
469
481
|
| 'yacan'
|
|
470
482
|
| 'sonos'
|
|
483
|
+
| 'hayward_omnilogic'
|
|
484
|
+
| 'tuya'
|
|
471
485
|
| undefined
|
|
472
486
|
/**
|
|
473
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
|
|
|
@@ -220,7 +220,7 @@ export type NoiseSensorsListParameters = {
|
|
|
220
220
|
/**
|
|
221
221
|
* Manufacturers of the noise sensors that you want to list.
|
|
222
222
|
*/
|
|
223
|
-
manufacturer?: 'minut' | 'noiseaware' | undefined
|
|
223
|
+
manufacturer?: 'minut' | 'noiseaware' | 'alertify' | undefined
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
/**
|
|
@@ -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
|
/**
|
package/src/lib/version.ts
CHANGED