@seamapi/types 1.56.1 → 1.57.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/dist/connect.cjs +47 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +75 -11
- package/lib/seam/connect/openapi.d.ts +24 -0
- package/lib/seam/connect/openapi.js +47 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +51 -11
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +8 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.js +7 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +3 -0
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.js +1 -0
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +50 -4
- package/src/lib/seam/connect/route-types.ts +91 -11
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +9 -0
- package/src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts +1 -0
|
@@ -1622,8 +1622,12 @@ export interface Routes {
|
|
|
1622
1622
|
device_id: string;
|
|
1623
1623
|
/** Type of the device. */
|
|
1624
1624
|
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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
|
|
1625
|
-
/**
|
|
1625
|
+
/** Deprecated. Use enabled_capabilities. */
|
|
1626
1626
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
1627
|
+
/** Collection of capabilities that the device has enabled, reflecting its present configuration. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
1628
|
+
enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
1629
|
+
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
1630
|
+
supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
1627
1631
|
/** Properties of the device. */
|
|
1628
1632
|
properties: ({
|
|
1629
1633
|
/** Indicates whether the device is online. */
|
|
@@ -2068,8 +2072,12 @@ export interface Routes {
|
|
|
2068
2072
|
device_id: string;
|
|
2069
2073
|
/** Type of the device. */
|
|
2070
2074
|
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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
|
|
2071
|
-
/**
|
|
2075
|
+
/** Deprecated. Use enabled_capabilities. */
|
|
2072
2076
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
2077
|
+
/** Collection of capabilities that the device has enabled, reflecting its present configuration. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
2078
|
+
enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
2079
|
+
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
2080
|
+
supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
2073
2081
|
/** Properties of the device. */
|
|
2074
2082
|
properties: ({
|
|
2075
2083
|
/** Indicates whether the device is online. */
|
|
@@ -2525,8 +2533,10 @@ export interface Routes {
|
|
|
2525
2533
|
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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
|
|
2526
2534
|
/** Unique identifier for the account associated with the device. */
|
|
2527
2535
|
connected_account_id: string;
|
|
2528
|
-
/**
|
|
2536
|
+
/** Deprecated. Use enabled_capabilities. */
|
|
2529
2537
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
2538
|
+
/** Collection of capabilities that the device has enabled, reflecting its present configuration. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
2539
|
+
enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
2530
2540
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
2531
2541
|
workspace_id: string;
|
|
2532
2542
|
/** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
|
|
@@ -2587,8 +2597,10 @@ export interface Routes {
|
|
|
2587
2597
|
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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
|
|
2588
2598
|
/** Unique identifier for the account associated with the device. */
|
|
2589
2599
|
connected_account_id: string;
|
|
2590
|
-
/**
|
|
2600
|
+
/** Deprecated. Use enabled_capabilities. */
|
|
2591
2601
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
2602
|
+
/** Collection of capabilities that the device has enabled, reflecting its present configuration. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
2603
|
+
enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
2592
2604
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
2593
2605
|
workspace_id: string;
|
|
2594
2606
|
/** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
|
|
@@ -2793,8 +2805,12 @@ export interface Routes {
|
|
|
2793
2805
|
device_id: string;
|
|
2794
2806
|
/** Type of the device. */
|
|
2795
2807
|
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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
|
|
2796
|
-
/**
|
|
2808
|
+
/** Deprecated. Use enabled_capabilities. */
|
|
2797
2809
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
2810
|
+
/** Collection of capabilities that the device has enabled, reflecting its present configuration. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
2811
|
+
enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
2812
|
+
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
2813
|
+
supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
2798
2814
|
/** Properties of the device. */
|
|
2799
2815
|
properties: ({
|
|
2800
2816
|
/** Indicates whether the device is online. */
|
|
@@ -3217,8 +3233,12 @@ export interface Routes {
|
|
|
3217
3233
|
device_id: string;
|
|
3218
3234
|
/** Type of the device. */
|
|
3219
3235
|
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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
|
|
3220
|
-
/**
|
|
3236
|
+
/** Deprecated. Use enabled_capabilities. */
|
|
3221
3237
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
3238
|
+
/** Collection of capabilities that the device has enabled, reflecting its present configuration. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
3239
|
+
enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
3240
|
+
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
3241
|
+
supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
3222
3242
|
/** Properties of the device. */
|
|
3223
3243
|
properties: ({
|
|
3224
3244
|
/** Indicates whether the device is online. */
|
|
@@ -3663,8 +3683,12 @@ export interface Routes {
|
|
|
3663
3683
|
device_id: string;
|
|
3664
3684
|
/** Type of the device. */
|
|
3665
3685
|
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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
|
|
3666
|
-
/**
|
|
3686
|
+
/** Deprecated. Use enabled_capabilities. */
|
|
3667
3687
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
3688
|
+
/** Collection of capabilities that the device has enabled, reflecting its present configuration. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
3689
|
+
enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
3690
|
+
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
3691
|
+
supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
3668
3692
|
/** Properties of the device. */
|
|
3669
3693
|
properties: ({
|
|
3670
3694
|
/** Indicates whether the device is online. */
|
|
@@ -4087,8 +4111,12 @@ export interface Routes {
|
|
|
4087
4111
|
device_id: string;
|
|
4088
4112
|
/** Type of the device. */
|
|
4089
4113
|
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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
|
|
4090
|
-
/**
|
|
4114
|
+
/** Deprecated. Use enabled_capabilities. */
|
|
4091
4115
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
4116
|
+
/** Collection of capabilities that the device has enabled, reflecting its present configuration. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
4117
|
+
enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
4118
|
+
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
4119
|
+
supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
4092
4120
|
/** Properties of the device. */
|
|
4093
4121
|
properties: ({
|
|
4094
4122
|
/** Indicates whether the device is online. */
|
|
@@ -4941,8 +4969,12 @@ export interface Routes {
|
|
|
4941
4969
|
device_id: string;
|
|
4942
4970
|
/** Type of the device. */
|
|
4943
4971
|
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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
|
|
4944
|
-
/**
|
|
4972
|
+
/** Deprecated. Use enabled_capabilities. */
|
|
4945
4973
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
4974
|
+
/** Collection of capabilities that the device has enabled, reflecting its present configuration. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
4975
|
+
enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
4976
|
+
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
4977
|
+
supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
4946
4978
|
/** Properties of the device. */
|
|
4947
4979
|
properties: ({
|
|
4948
4980
|
/** Indicates whether the device is online. */
|
|
@@ -5417,8 +5449,12 @@ export interface Routes {
|
|
|
5417
5449
|
device_id: string;
|
|
5418
5450
|
/** Type of the device. */
|
|
5419
5451
|
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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
|
|
5420
|
-
/**
|
|
5452
|
+
/** Deprecated. Use enabled_capabilities. */
|
|
5421
5453
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
5454
|
+
/** Collection of capabilities that the device has enabled, reflecting its present configuration. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
5455
|
+
enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
5456
|
+
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
5457
|
+
supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
5422
5458
|
/** Properties of the device. */
|
|
5423
5459
|
properties: ({
|
|
5424
5460
|
/** Indicates whether the device is online. */
|
|
@@ -5990,8 +6026,12 @@ export interface Routes {
|
|
|
5990
6026
|
device_id: string;
|
|
5991
6027
|
/** Type of the device. */
|
|
5992
6028
|
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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
|
|
5993
|
-
/**
|
|
6029
|
+
/** Deprecated. Use enabled_capabilities. */
|
|
5994
6030
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
6031
|
+
/** Collection of capabilities that the device has enabled, reflecting its present configuration. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
6032
|
+
enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
6033
|
+
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
6034
|
+
supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
|
|
5995
6035
|
/** Properties of the device. */
|
|
5996
6036
|
properties: ({
|
|
5997
6037
|
/** Indicates whether the device is online. */
|
|
@@ -97,7 +97,10 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
97
97
|
export declare const managed_device: z.ZodObject<{
|
|
98
98
|
device_id: z.ZodString;
|
|
99
99
|
device_type: z.ZodUnion<[z.ZodEnum<["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"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat"]>]>;
|
|
100
|
+
/** @deprecated use enabled_capabilities for same behavior */
|
|
100
101
|
capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery"]>, "many">;
|
|
102
|
+
enabled_capabilities: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery"]>, "many">;
|
|
103
|
+
supported_capabilities: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery"]>, "many">;
|
|
101
104
|
properties: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
102
105
|
online: z.ZodBoolean;
|
|
103
106
|
name: z.ZodString;
|
|
@@ -602,7 +605,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
602
605
|
bridge_name?: string | undefined;
|
|
603
606
|
}>>;
|
|
604
607
|
nest_metadata: z.ZodOptional<z.ZodObject<{
|
|
605
|
-
nest_device_id: z.ZodString;
|
|
608
|
+
nest_device_id: z.ZodString; /** @deprecated use enabled_capabilities for same behavior */
|
|
606
609
|
device_name: z.ZodString;
|
|
607
610
|
custom_name: z.ZodString;
|
|
608
611
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2573,6 +2576,8 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2573
2576
|
}))) | undefined);
|
|
2574
2577
|
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" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
|
|
2575
2578
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
2579
|
+
enabled_capabilities: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
2580
|
+
supported_capabilities: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
2576
2581
|
errors: {
|
|
2577
2582
|
message: string;
|
|
2578
2583
|
error_code: string;
|
|
@@ -3336,6 +3341,8 @@ export declare const managed_device: z.ZodObject<{
|
|
|
3336
3341
|
}))) | undefined);
|
|
3337
3342
|
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" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
|
|
3338
3343
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
3344
|
+
enabled_capabilities: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
3345
|
+
supported_capabilities: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
3339
3346
|
errors: {
|
|
3340
3347
|
message: string;
|
|
3341
3348
|
error_code: string;
|
|
@@ -73,7 +73,14 @@ export const common_device_properties = z.object({
|
|
|
73
73
|
export const managed_device = z.object({
|
|
74
74
|
device_id: z.string().uuid().describe('Unique identifier for the device.'),
|
|
75
75
|
device_type: any_device_type.describe('Type of the device.'),
|
|
76
|
+
/** @deprecated use enabled_capabilities for same behavior */
|
|
76
77
|
capabilities_supported: z
|
|
78
|
+
.array(capabilities)
|
|
79
|
+
.describe('Deprecated. Use enabled_capabilities.'),
|
|
80
|
+
enabled_capabilities: z
|
|
81
|
+
.array(capabilities)
|
|
82
|
+
.describe('Collection of capabilities that the device has enabled, reflecting its present configuration. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.'),
|
|
83
|
+
supported_capabilities: z
|
|
77
84
|
.array(capabilities)
|
|
78
85
|
.describe('Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.'),
|
|
79
86
|
properties: common_device_properties
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/managed-device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO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;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,4CAA4C,CAAC;CAC1D,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/managed-device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAElD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAIzE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;IACvE,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,CACP,iIAAiI,CAClI;IACH,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;QACtE,yBAAyB,EAAE,CAAC;aACzB,MAAM,EAAE;aACR,QAAQ,CACP,wFAAwF,CACzF;QAEH,8BAA8B,EAAE,CAAC;aAC9B,OAAO,EAAE;aACT,QAAQ,EAAE;aACV,QAAQ,CAAC,6DAA6D,CAAC;QAC1E,6BAA6B,EAAE,CAAC;aAC7B,OAAO,EAAE;aACT,QAAQ,EAAE;aACV,QAAQ,CAAC,4DAA4D,CAAC;QACzE,0B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;SACR,IAAI,EAAE;SACN,QAAQ,CACP,sEAAsE,CACvE;IACH,MAAM,EAAE,CAAC;SACN,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;SACA,QAAQ,CACP,mYAAmY,CACpY;IACH,QAAQ,EAAE,CAAC;SACR,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;QACxB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;SACA,QAAQ,CACP,+YAA+Y,CAChZ;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,4CAA4C,CAAC;CAC1D,CAAC,CAAA"}
|
|
@@ -6,6 +6,7 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
6
6
|
device_id: z.ZodString;
|
|
7
7
|
device_type: z.ZodUnion<[z.ZodEnum<["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"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat"]>]>;
|
|
8
8
|
capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery"]>, "many">;
|
|
9
|
+
enabled_capabilities: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery"]>, "many">;
|
|
9
10
|
errors: z.ZodArray<z.ZodObject<{
|
|
10
11
|
error_code: z.ZodString;
|
|
11
12
|
message: z.ZodString;
|
|
@@ -91,6 +92,7 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
91
92
|
};
|
|
92
93
|
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" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
|
|
93
94
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
95
|
+
enabled_capabilities: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
94
96
|
errors: {
|
|
95
97
|
message: string;
|
|
96
98
|
error_code: string;
|
|
@@ -120,6 +122,7 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
120
122
|
};
|
|
121
123
|
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" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
|
|
122
124
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
125
|
+
enabled_capabilities: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
123
126
|
errors: {
|
|
124
127
|
message: string;
|
|
125
128
|
error_code: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD,MAAM,CAAC,MAAM,gBAAgB,GAAG,cAAc;KAC3C,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,sBAAsB,EAAE,IAAI;IAC5B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;CACjB,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,0EAA0E;IAC1E,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;QACnB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACrC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;YACd,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;YACxB,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE;SACtC,CAAC;QACF,aAAa,EAAE,CAAC;aACb,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,EAAE;aACV,QAAQ,CACP,0FAA0F,CAC3F;QACH,2BAA2B,EAAE,CAAC;aAC3B,OAAO,EAAE;aACT,QAAQ,CACP,uFAAuF,CACxF;aACA,QAAQ,EAAE;KACd,CAAC;CACH,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD,MAAM,CAAC,MAAM,gBAAgB,GAAG,cAAc;KAC3C,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,sBAAsB,EAAE,IAAI;IAC5B,oBAAoB,EAAE,IAAI;IAC1B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;CACjB,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,0EAA0E;IAC1E,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;QACnB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACrC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;YACd,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;YACxB,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE;SACtC,CAAC;QACF,aAAa,EAAE,CAAC;aACb,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,EAAE;aACV,QAAQ,CACP,0FAA0F,CAC3F;QACH,2BAA2B,EAAE,CAAC;aAC3B,OAAO,EAAE;aACT,QAAQ,CACP,uFAAuF,CACxF;aACA,QAAQ,EAAE;KACd,CAAC;CACH,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -497,8 +497,7 @@ export default {
|
|
|
497
497
|
device: {
|
|
498
498
|
properties: {
|
|
499
499
|
capabilities_supported: {
|
|
500
|
-
description:
|
|
501
|
-
'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
500
|
+
description: 'Deprecated. Use enabled_capabilities.',
|
|
502
501
|
items: {
|
|
503
502
|
enum: [
|
|
504
503
|
'access_code',
|
|
@@ -571,6 +570,21 @@ export default {
|
|
|
571
570
|
},
|
|
572
571
|
],
|
|
573
572
|
},
|
|
573
|
+
enabled_capabilities: {
|
|
574
|
+
description:
|
|
575
|
+
'Collection of capabilities that the device has enabled, reflecting its present configuration. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
576
|
+
items: {
|
|
577
|
+
enum: [
|
|
578
|
+
'access_code',
|
|
579
|
+
'lock',
|
|
580
|
+
'noise_detection',
|
|
581
|
+
'thermostat',
|
|
582
|
+
'battery',
|
|
583
|
+
],
|
|
584
|
+
type: 'string',
|
|
585
|
+
},
|
|
586
|
+
type: 'array',
|
|
587
|
+
},
|
|
574
588
|
errors: {
|
|
575
589
|
description:
|
|
576
590
|
'Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.',
|
|
@@ -1523,6 +1537,21 @@ export default {
|
|
|
1523
1537
|
],
|
|
1524
1538
|
description: 'Properties of the device.',
|
|
1525
1539
|
},
|
|
1540
|
+
supported_capabilities: {
|
|
1541
|
+
description:
|
|
1542
|
+
'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
1543
|
+
items: {
|
|
1544
|
+
enum: [
|
|
1545
|
+
'access_code',
|
|
1546
|
+
'lock',
|
|
1547
|
+
'noise_detection',
|
|
1548
|
+
'thermostat',
|
|
1549
|
+
'battery',
|
|
1550
|
+
],
|
|
1551
|
+
type: 'string',
|
|
1552
|
+
},
|
|
1553
|
+
type: 'array',
|
|
1554
|
+
},
|
|
1526
1555
|
warnings: {
|
|
1527
1556
|
description:
|
|
1528
1557
|
'Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.',
|
|
@@ -1547,6 +1576,8 @@ export default {
|
|
|
1547
1576
|
'device_id',
|
|
1548
1577
|
'device_type',
|
|
1549
1578
|
'capabilities_supported',
|
|
1579
|
+
'enabled_capabilities',
|
|
1580
|
+
'supported_capabilities',
|
|
1550
1581
|
'properties',
|
|
1551
1582
|
'location',
|
|
1552
1583
|
'connected_account_id',
|
|
@@ -1701,8 +1732,7 @@ export default {
|
|
|
1701
1732
|
unmanaged_device: {
|
|
1702
1733
|
properties: {
|
|
1703
1734
|
capabilities_supported: {
|
|
1704
|
-
description:
|
|
1705
|
-
'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
1735
|
+
description: 'Deprecated. Use enabled_capabilities.',
|
|
1706
1736
|
items: {
|
|
1707
1737
|
enum: [
|
|
1708
1738
|
'access_code',
|
|
@@ -1775,6 +1805,21 @@ export default {
|
|
|
1775
1805
|
},
|
|
1776
1806
|
],
|
|
1777
1807
|
},
|
|
1808
|
+
enabled_capabilities: {
|
|
1809
|
+
description:
|
|
1810
|
+
'Collection of capabilities that the device has enabled, reflecting its present configuration. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
1811
|
+
items: {
|
|
1812
|
+
enum: [
|
|
1813
|
+
'access_code',
|
|
1814
|
+
'lock',
|
|
1815
|
+
'noise_detection',
|
|
1816
|
+
'thermostat',
|
|
1817
|
+
'battery',
|
|
1818
|
+
],
|
|
1819
|
+
type: 'string',
|
|
1820
|
+
},
|
|
1821
|
+
type: 'array',
|
|
1822
|
+
},
|
|
1778
1823
|
errors: {
|
|
1779
1824
|
description:
|
|
1780
1825
|
'Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.',
|
|
@@ -1845,6 +1890,7 @@ export default {
|
|
|
1845
1890
|
'device_type',
|
|
1846
1891
|
'connected_account_id',
|
|
1847
1892
|
'capabilities_supported',
|
|
1893
|
+
'enabled_capabilities',
|
|
1848
1894
|
'workspace_id',
|
|
1849
1895
|
'errors',
|
|
1850
1896
|
'warnings',
|