@seamapi/types 1.129.0 → 1.131.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 +35 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +135 -23
- package/lib/seam/connect/openapi.d.ts +44 -12
- package/lib/seam/connect/openapi.js +35 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +91 -11
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +44 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.js +13 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/phone.d.ts +6 -0
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +7 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +40 -6
- package/src/lib/seam/connect/route-types.ts +91 -11
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +19 -1
|
@@ -1938,14 +1938,22 @@ export interface Routes {
|
|
|
1938
1938
|
device_id: string;
|
|
1939
1939
|
/** Type of the device. */
|
|
1940
1940
|
device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
|
|
1941
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
1942
|
+
nickname?: string | undefined;
|
|
1943
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
1944
|
+
display_name: string;
|
|
1941
1945
|
/** 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. */
|
|
1942
1946
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
|
|
1943
1947
|
/** Properties of the device. */
|
|
1944
1948
|
properties: (({
|
|
1945
1949
|
/** Indicates whether the device is online. */
|
|
1946
1950
|
online: boolean;
|
|
1947
|
-
/** Name of the device.
|
|
1951
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
1948
1952
|
name: string;
|
|
1953
|
+
appearance: {
|
|
1954
|
+
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
1955
|
+
name: string;
|
|
1956
|
+
};
|
|
1949
1957
|
model: {
|
|
1950
1958
|
/** Display name of the device model. */
|
|
1951
1959
|
display_name: string;
|
|
@@ -2428,14 +2436,22 @@ export interface Routes {
|
|
|
2428
2436
|
device_id: string;
|
|
2429
2437
|
/** Type of the device. */
|
|
2430
2438
|
device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
|
|
2439
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
2440
|
+
nickname?: string | undefined;
|
|
2441
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
2442
|
+
display_name: string;
|
|
2431
2443
|
/** 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. */
|
|
2432
2444
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
|
|
2433
2445
|
/** Properties of the device. */
|
|
2434
2446
|
properties: (({
|
|
2435
2447
|
/** Indicates whether the device is online. */
|
|
2436
2448
|
online: boolean;
|
|
2437
|
-
/** Name of the device.
|
|
2449
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
2438
2450
|
name: string;
|
|
2451
|
+
appearance: {
|
|
2452
|
+
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
2453
|
+
name: string;
|
|
2454
|
+
};
|
|
2439
2455
|
model: {
|
|
2440
2456
|
/** Display name of the device model. */
|
|
2441
2457
|
display_name: string;
|
|
@@ -2946,7 +2962,7 @@ export interface Routes {
|
|
|
2946
2962
|
created_at: string;
|
|
2947
2963
|
is_managed: false;
|
|
2948
2964
|
properties: {
|
|
2949
|
-
/** Name of the device.
|
|
2965
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
2950
2966
|
name: string;
|
|
2951
2967
|
/** Indicates whether the device is online. */
|
|
2952
2968
|
online: boolean;
|
|
@@ -3031,7 +3047,7 @@ export interface Routes {
|
|
|
3031
3047
|
created_at: string;
|
|
3032
3048
|
is_managed: false;
|
|
3033
3049
|
properties: {
|
|
3034
|
-
/** Name of the device.
|
|
3050
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
3035
3051
|
name: string;
|
|
3036
3052
|
/** Indicates whether the device is online. */
|
|
3037
3053
|
online: boolean;
|
|
@@ -3241,14 +3257,22 @@ export interface Routes {
|
|
|
3241
3257
|
device_id: string;
|
|
3242
3258
|
/** Type of the device. */
|
|
3243
3259
|
device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
|
|
3260
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
3261
|
+
nickname?: string | undefined;
|
|
3262
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
3263
|
+
display_name: string;
|
|
3244
3264
|
/** 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. */
|
|
3245
3265
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
|
|
3246
3266
|
/** Properties of the device. */
|
|
3247
3267
|
properties: (({
|
|
3248
3268
|
/** Indicates whether the device is online. */
|
|
3249
3269
|
online: boolean;
|
|
3250
|
-
/** Name of the device.
|
|
3270
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
3251
3271
|
name: string;
|
|
3272
|
+
appearance: {
|
|
3273
|
+
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
3274
|
+
name: string;
|
|
3275
|
+
};
|
|
3252
3276
|
model: {
|
|
3253
3277
|
/** Display name of the device model. */
|
|
3254
3278
|
display_name: string;
|
|
@@ -3708,14 +3732,22 @@ export interface Routes {
|
|
|
3708
3732
|
device_id: string;
|
|
3709
3733
|
/** Type of the device. */
|
|
3710
3734
|
device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
|
|
3735
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
3736
|
+
nickname?: string | undefined;
|
|
3737
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
3738
|
+
display_name: string;
|
|
3711
3739
|
/** 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. */
|
|
3712
3740
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
|
|
3713
3741
|
/** Properties of the device. */
|
|
3714
3742
|
properties: (({
|
|
3715
3743
|
/** Indicates whether the device is online. */
|
|
3716
3744
|
online: boolean;
|
|
3717
|
-
/** Name of the device.
|
|
3745
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
3718
3746
|
name: string;
|
|
3747
|
+
appearance: {
|
|
3748
|
+
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
3749
|
+
name: string;
|
|
3750
|
+
};
|
|
3719
3751
|
model: {
|
|
3720
3752
|
/** Display name of the device model. */
|
|
3721
3753
|
display_name: string;
|
|
@@ -4198,14 +4230,22 @@ export interface Routes {
|
|
|
4198
4230
|
device_id: string;
|
|
4199
4231
|
/** Type of the device. */
|
|
4200
4232
|
device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
|
|
4233
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
4234
|
+
nickname?: string | undefined;
|
|
4235
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
4236
|
+
display_name: string;
|
|
4201
4237
|
/** 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. */
|
|
4202
4238
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
|
|
4203
4239
|
/** Properties of the device. */
|
|
4204
4240
|
properties: (({
|
|
4205
4241
|
/** Indicates whether the device is online. */
|
|
4206
4242
|
online: boolean;
|
|
4207
|
-
/** Name of the device.
|
|
4243
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
4208
4244
|
name: string;
|
|
4245
|
+
appearance: {
|
|
4246
|
+
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
4247
|
+
name: string;
|
|
4248
|
+
};
|
|
4209
4249
|
model: {
|
|
4210
4250
|
/** Display name of the device model. */
|
|
4211
4251
|
display_name: string;
|
|
@@ -4665,14 +4705,22 @@ export interface Routes {
|
|
|
4665
4705
|
device_id: string;
|
|
4666
4706
|
/** Type of the device. */
|
|
4667
4707
|
device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
|
|
4708
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
4709
|
+
nickname?: string | undefined;
|
|
4710
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
4711
|
+
display_name: string;
|
|
4668
4712
|
/** 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. */
|
|
4669
4713
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
|
|
4670
4714
|
/** Properties of the device. */
|
|
4671
4715
|
properties: (({
|
|
4672
4716
|
/** Indicates whether the device is online. */
|
|
4673
4717
|
online: boolean;
|
|
4674
|
-
/** Name of the device.
|
|
4718
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
4675
4719
|
name: string;
|
|
4720
|
+
appearance: {
|
|
4721
|
+
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
4722
|
+
name: string;
|
|
4723
|
+
};
|
|
4676
4724
|
model: {
|
|
4677
4725
|
/** Display name of the device model. */
|
|
4678
4726
|
display_name: string;
|
|
@@ -5438,6 +5486,10 @@ export interface Routes {
|
|
|
5438
5486
|
/** Unique identifier for the device. */
|
|
5439
5487
|
device_id: string;
|
|
5440
5488
|
device_type: 'android_phone' | 'ios_phone';
|
|
5489
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
5490
|
+
nickname?: string | undefined;
|
|
5491
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
5492
|
+
display_name: string;
|
|
5441
5493
|
/** 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. */
|
|
5442
5494
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
|
|
5443
5495
|
properties: {
|
|
@@ -5507,6 +5559,10 @@ export interface Routes {
|
|
|
5507
5559
|
/** Unique identifier for the device. */
|
|
5508
5560
|
device_id: string;
|
|
5509
5561
|
device_type: 'android_phone' | 'ios_phone';
|
|
5562
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
5563
|
+
nickname?: string | undefined;
|
|
5564
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
5565
|
+
display_name: string;
|
|
5510
5566
|
/** 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. */
|
|
5511
5567
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
|
|
5512
5568
|
properties: {
|
|
@@ -5761,14 +5817,22 @@ export interface Routes {
|
|
|
5761
5817
|
device_id: string;
|
|
5762
5818
|
/** Type of the device. */
|
|
5763
5819
|
device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
|
|
5820
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
5821
|
+
nickname?: string | undefined;
|
|
5822
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
5823
|
+
display_name: string;
|
|
5764
5824
|
/** 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. */
|
|
5765
5825
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
|
|
5766
5826
|
/** Properties of the device. */
|
|
5767
5827
|
properties: (({
|
|
5768
5828
|
/** Indicates whether the device is online. */
|
|
5769
5829
|
online: boolean;
|
|
5770
|
-
/** Name of the device.
|
|
5830
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
5771
5831
|
name: string;
|
|
5832
|
+
appearance: {
|
|
5833
|
+
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
5834
|
+
name: string;
|
|
5835
|
+
};
|
|
5772
5836
|
model: {
|
|
5773
5837
|
/** Display name of the device model. */
|
|
5774
5838
|
display_name: string;
|
|
@@ -6327,14 +6391,22 @@ export interface Routes {
|
|
|
6327
6391
|
device_id: string;
|
|
6328
6392
|
/** Type of the device. */
|
|
6329
6393
|
device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
|
|
6394
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
6395
|
+
nickname?: string | undefined;
|
|
6396
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
6397
|
+
display_name: string;
|
|
6330
6398
|
/** 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. */
|
|
6331
6399
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
|
|
6332
6400
|
/** Properties of the device. */
|
|
6333
6401
|
properties: (({
|
|
6334
6402
|
/** Indicates whether the device is online. */
|
|
6335
6403
|
online: boolean;
|
|
6336
|
-
/** Name of the device.
|
|
6404
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
6337
6405
|
name: string;
|
|
6406
|
+
appearance: {
|
|
6407
|
+
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
6408
|
+
name: string;
|
|
6409
|
+
};
|
|
6338
6410
|
model: {
|
|
6339
6411
|
/** Display name of the device model. */
|
|
6340
6412
|
display_name: string;
|
|
@@ -7078,14 +7150,22 @@ export interface Routes {
|
|
|
7078
7150
|
device_id: string;
|
|
7079
7151
|
/** Type of the device. */
|
|
7080
7152
|
device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
|
|
7153
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
7154
|
+
nickname?: string | undefined;
|
|
7155
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
7156
|
+
display_name: string;
|
|
7081
7157
|
/** 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. */
|
|
7082
7158
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
|
|
7083
7159
|
/** Properties of the device. */
|
|
7084
7160
|
properties: (({
|
|
7085
7161
|
/** Indicates whether the device is online. */
|
|
7086
7162
|
online: boolean;
|
|
7087
|
-
/** Name of the device.
|
|
7163
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
7088
7164
|
name: string;
|
|
7165
|
+
appearance: {
|
|
7166
|
+
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
7167
|
+
name: string;
|
|
7168
|
+
};
|
|
7089
7169
|
model: {
|
|
7090
7170
|
/** Display name of the device model. */
|
|
7091
7171
|
display_name: string;
|
|
@@ -6,6 +6,13 @@ export type BatteryStatus = z.infer<typeof battery_status>;
|
|
|
6
6
|
export declare const common_device_properties: z.ZodObject<{
|
|
7
7
|
online: z.ZodBoolean;
|
|
8
8
|
name: z.ZodString;
|
|
9
|
+
appearance: z.ZodObject<{
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
name: string;
|
|
13
|
+
}, {
|
|
14
|
+
name: string;
|
|
15
|
+
}>;
|
|
9
16
|
model: z.ZodObject<{
|
|
10
17
|
display_name: z.ZodString;
|
|
11
18
|
manufacturer_display_name: z.ZodString;
|
|
@@ -47,6 +54,9 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
47
54
|
supports_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
48
55
|
}, "strip", z.ZodTypeAny, {
|
|
49
56
|
name: string;
|
|
57
|
+
appearance: {
|
|
58
|
+
name: string;
|
|
59
|
+
};
|
|
50
60
|
online: boolean;
|
|
51
61
|
model: {
|
|
52
62
|
display_name: string;
|
|
@@ -71,6 +81,9 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
71
81
|
supports_offline_access_codes?: boolean | undefined;
|
|
72
82
|
}, {
|
|
73
83
|
name: string;
|
|
84
|
+
appearance: {
|
|
85
|
+
name: string;
|
|
86
|
+
};
|
|
74
87
|
online: boolean;
|
|
75
88
|
model: {
|
|
76
89
|
display_name: string;
|
|
@@ -111,9 +124,17 @@ export declare const managed_device: z.ZodObject<{
|
|
|
111
124
|
custom_metadata: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean, z.ZodNull]>>, Record<string, string | boolean | null>, Record<string, string | boolean | null>>>;
|
|
112
125
|
device_id: z.ZodString;
|
|
113
126
|
is_managed: z.ZodLiteral<true>;
|
|
127
|
+
display_name: z.ZodString;
|
|
114
128
|
properties: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
115
129
|
online: z.ZodBoolean;
|
|
116
130
|
name: z.ZodString;
|
|
131
|
+
appearance: z.ZodObject<{
|
|
132
|
+
name: z.ZodString;
|
|
133
|
+
}, "strip", z.ZodTypeAny, {
|
|
134
|
+
name: string;
|
|
135
|
+
}, {
|
|
136
|
+
name: string;
|
|
137
|
+
}>;
|
|
117
138
|
model: z.ZodObject<{
|
|
118
139
|
display_name: z.ZodString;
|
|
119
140
|
manufacturer_display_name: z.ZodString;
|
|
@@ -155,6 +176,9 @@ export declare const managed_device: z.ZodObject<{
|
|
|
155
176
|
supports_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
156
177
|
}, "strip", z.ZodTypeAny, {
|
|
157
178
|
name: string;
|
|
179
|
+
appearance: {
|
|
180
|
+
name: string;
|
|
181
|
+
};
|
|
158
182
|
online: boolean;
|
|
159
183
|
model: {
|
|
160
184
|
display_name: string;
|
|
@@ -179,6 +203,9 @@ export declare const managed_device: z.ZodObject<{
|
|
|
179
203
|
supports_offline_access_codes?: boolean | undefined;
|
|
180
204
|
}, {
|
|
181
205
|
name: string;
|
|
206
|
+
appearance: {
|
|
207
|
+
name: string;
|
|
208
|
+
};
|
|
182
209
|
online: boolean;
|
|
183
210
|
model: {
|
|
184
211
|
display_name: string;
|
|
@@ -2022,6 +2049,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2022
2049
|
message: string;
|
|
2023
2050
|
warning_code: string;
|
|
2024
2051
|
}>, "many">;
|
|
2052
|
+
nickname: z.ZodOptional<z.ZodString>;
|
|
2025
2053
|
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
2026
2054
|
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
2027
2055
|
can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2035,8 +2063,12 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2035
2063
|
created_at: string;
|
|
2036
2064
|
device_id: string;
|
|
2037
2065
|
is_managed: true;
|
|
2066
|
+
display_name: string;
|
|
2038
2067
|
properties: ({
|
|
2039
2068
|
name: string;
|
|
2069
|
+
appearance: {
|
|
2070
|
+
name: string;
|
|
2071
|
+
};
|
|
2040
2072
|
online: boolean;
|
|
2041
2073
|
model: {
|
|
2042
2074
|
display_name: string;
|
|
@@ -2445,6 +2477,9 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2445
2477
|
is_cooling_available?: true | undefined;
|
|
2446
2478
|
}))) & (({
|
|
2447
2479
|
name: string;
|
|
2480
|
+
appearance: {
|
|
2481
|
+
name: string;
|
|
2482
|
+
};
|
|
2448
2483
|
online: boolean;
|
|
2449
2484
|
model: {
|
|
2450
2485
|
display_name: string;
|
|
@@ -2863,6 +2898,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2863
2898
|
warning_code: string;
|
|
2864
2899
|
}[];
|
|
2865
2900
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
2901
|
+
nickname?: string | undefined;
|
|
2866
2902
|
can_remotely_unlock?: boolean | undefined;
|
|
2867
2903
|
can_remotely_lock?: boolean | undefined;
|
|
2868
2904
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -2876,8 +2912,12 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2876
2912
|
created_at: string;
|
|
2877
2913
|
device_id: string;
|
|
2878
2914
|
is_managed: true;
|
|
2915
|
+
display_name: string;
|
|
2879
2916
|
properties: ({
|
|
2880
2917
|
name: string;
|
|
2918
|
+
appearance: {
|
|
2919
|
+
name: string;
|
|
2920
|
+
};
|
|
2881
2921
|
online: boolean;
|
|
2882
2922
|
model: {
|
|
2883
2923
|
display_name: string;
|
|
@@ -3286,6 +3326,9 @@ export declare const managed_device: z.ZodObject<{
|
|
|
3286
3326
|
is_cooling_available?: true | undefined;
|
|
3287
3327
|
}))) & (({
|
|
3288
3328
|
name: string;
|
|
3329
|
+
appearance: {
|
|
3330
|
+
name: string;
|
|
3331
|
+
};
|
|
3289
3332
|
online: boolean;
|
|
3290
3333
|
model: {
|
|
3291
3334
|
display_name: string;
|
|
@@ -3704,6 +3747,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
3704
3747
|
warning_code: string;
|
|
3705
3748
|
}[];
|
|
3706
3749
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
3750
|
+
nickname?: string | undefined;
|
|
3707
3751
|
can_remotely_unlock?: boolean | undefined;
|
|
3708
3752
|
can_remotely_lock?: boolean | undefined;
|
|
3709
3753
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -11,7 +11,12 @@ export const common_device_properties = z.object({
|
|
|
11
11
|
online: z.boolean().describe('Indicates whether the device is online.'),
|
|
12
12
|
name: z
|
|
13
13
|
.string()
|
|
14
|
-
.describe('Name of the device.
|
|
14
|
+
.describe('Name of the device. Deprecated - use device.display_name instead'),
|
|
15
|
+
appearance: z.object({
|
|
16
|
+
name: z
|
|
17
|
+
.string()
|
|
18
|
+
.describe('Name of the device as seen from the provider API and application, not settable through Seam.'),
|
|
19
|
+
}),
|
|
15
20
|
model: z.object({
|
|
16
21
|
display_name: z.string().describe('Display name of the device model.'),
|
|
17
22
|
manufacturer_display_name: z
|
|
@@ -77,6 +82,13 @@ export const managed_device = z
|
|
|
77
82
|
.object({
|
|
78
83
|
device_id: z.string().uuid().describe('Unique identifier for the device.'),
|
|
79
84
|
device_type: any_device_type.describe('Type of the device.'),
|
|
85
|
+
nickname: z
|
|
86
|
+
.string()
|
|
87
|
+
.optional()
|
|
88
|
+
.describe('Optional nickname to describe the device, settable through Seam'),
|
|
89
|
+
display_name: z
|
|
90
|
+
.string()
|
|
91
|
+
.describe('Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices.'),
|
|
80
92
|
capabilities_supported: z
|
|
81
93
|
.array(capabilities)
|
|
82
94
|
.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.'),
|
|
@@ -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,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAErE,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAA;AAC3E,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;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,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,
|
|
1
|
+
{"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/manag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E;SACR,IAAI,EAAE;SACN,QAAQ,CACP,+DAA+D,CAChE;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;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;IACzD,eAAe,EAAE,eAAe,CAAC,QAAQ,EAAE;CAC5C,CAAC;KACD,KAAK,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,CAAA"}
|
|
@@ -16,6 +16,7 @@ export declare const phone: z.ZodObject<{
|
|
|
16
16
|
custom_metadata: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean, z.ZodNull]>>, Record<string, string | boolean | null>, Record<string, string | boolean | null>>>;
|
|
17
17
|
device_id: z.ZodString;
|
|
18
18
|
is_managed: z.ZodLiteral<true>;
|
|
19
|
+
display_name: z.ZodString;
|
|
19
20
|
device_type: z.ZodEnum<["android_phone", "ios_phone"]>;
|
|
20
21
|
capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
|
|
21
22
|
errors: z.ZodArray<z.ZodObject<{
|
|
@@ -41,6 +42,7 @@ export declare const phone: z.ZodObject<{
|
|
|
41
42
|
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
42
43
|
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
43
44
|
can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
nickname: z.ZodOptional<z.ZodString>;
|
|
44
46
|
properties: z.ZodObject<{
|
|
45
47
|
assa_abloy_credential_service_metadata: z.ZodOptional<z.ZodObject<{
|
|
46
48
|
has_active_endpoint: z.ZodBoolean;
|
|
@@ -93,6 +95,7 @@ export declare const phone: z.ZodObject<{
|
|
|
93
95
|
created_at: string;
|
|
94
96
|
device_id: string;
|
|
95
97
|
is_managed: true;
|
|
98
|
+
display_name: string;
|
|
96
99
|
properties: {
|
|
97
100
|
assa_abloy_credential_service_metadata?: {
|
|
98
101
|
has_active_endpoint: boolean;
|
|
@@ -116,6 +119,7 @@ export declare const phone: z.ZodObject<{
|
|
|
116
119
|
can_remotely_unlock?: boolean | undefined;
|
|
117
120
|
can_remotely_lock?: boolean | undefined;
|
|
118
121
|
can_program_online_access_codes?: boolean | undefined;
|
|
122
|
+
nickname?: string | undefined;
|
|
119
123
|
}, {
|
|
120
124
|
location: {
|
|
121
125
|
location_name?: string | undefined;
|
|
@@ -125,6 +129,7 @@ export declare const phone: z.ZodObject<{
|
|
|
125
129
|
created_at: string;
|
|
126
130
|
device_id: string;
|
|
127
131
|
is_managed: true;
|
|
132
|
+
display_name: string;
|
|
128
133
|
properties: {
|
|
129
134
|
assa_abloy_credential_service_metadata?: {
|
|
130
135
|
has_active_endpoint: boolean;
|
|
@@ -148,4 +153,5 @@ export declare const phone: z.ZodObject<{
|
|
|
148
153
|
can_remotely_unlock?: boolean | undefined;
|
|
149
154
|
can_remotely_lock?: boolean | undefined;
|
|
150
155
|
can_program_online_access_codes?: boolean | undefined;
|
|
156
|
+
nickname?: string | undefined;
|
|
151
157
|
}>;
|
|
@@ -8,6 +8,13 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
8
8
|
properties: z.ZodObject<Pick<{
|
|
9
9
|
online: z.ZodBoolean;
|
|
10
10
|
name: z.ZodString;
|
|
11
|
+
appearance: z.ZodObject<{
|
|
12
|
+
name: z.ZodString;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
name: string;
|
|
15
|
+
}, {
|
|
16
|
+
name: string;
|
|
17
|
+
}>;
|
|
11
18
|
model: z.ZodObject<{
|
|
12
19
|
display_name: z.ZodString;
|
|
13
20
|
manufacturer_display_name: z.ZodString;
|