@seamapi/types 1.1213.0 → 1.1215.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/seam/connect/models/devices/device.d.ts +6 -0
- package/lib/seam/connect/models/devices/device.js +14 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2 -0
- package/lib/seam/connect/models/events/devices.d.ts +12 -0
- package/lib/seam/connect/models/events/devices.js +8 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +6 -0
- package/lib/seam/connect/openapi.js +20 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +92 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +14 -0
- package/src/lib/seam/connect/models/events/devices.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +24 -0
- package/src/lib/seam/connect/route-types.ts +92 -0
|
@@ -14235,6 +14235,10 @@ export type Routes = {
|
|
|
14235
14235
|
is_online: boolean;
|
|
14236
14236
|
/** Indicates whether the lock is locked. */
|
|
14237
14237
|
is_door_locked?: boolean | undefined;
|
|
14238
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
14239
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
14240
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
14241
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
14238
14242
|
/** Properties of the device. */
|
|
14239
14243
|
properties?: ((({
|
|
14240
14244
|
/** Indicates whether the device is online. */
|
|
@@ -22708,6 +22712,10 @@ export type Routes = {
|
|
|
22708
22712
|
is_online: boolean;
|
|
22709
22713
|
/** Indicates whether the lock is locked. */
|
|
22710
22714
|
is_door_locked?: boolean | undefined;
|
|
22715
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
22716
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
22717
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
22718
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
22711
22719
|
/** Properties of the device. */
|
|
22712
22720
|
properties?: ((({
|
|
22713
22721
|
/** Indicates whether the device is online. */
|
|
@@ -50620,6 +50628,10 @@ export type Routes = {
|
|
|
50620
50628
|
is_online: boolean;
|
|
50621
50629
|
/** Indicates whether the lock is locked. */
|
|
50622
50630
|
is_door_locked?: boolean | undefined;
|
|
50631
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
50632
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
50633
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
50634
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
50623
50635
|
/** Properties of the device. */
|
|
50624
50636
|
properties?: ((({
|
|
50625
50637
|
/** Indicates whether the device is online. */
|
|
@@ -52494,6 +52506,10 @@ export type Routes = {
|
|
|
52494
52506
|
is_online: boolean;
|
|
52495
52507
|
/** Indicates whether the lock is locked. */
|
|
52496
52508
|
is_door_locked?: boolean | undefined;
|
|
52509
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
52510
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
52511
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
52512
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
52497
52513
|
/** Properties of the device. */
|
|
52498
52514
|
properties?: ((({
|
|
52499
52515
|
/** Indicates whether the device is online. */
|
|
@@ -58187,6 +58203,10 @@ export type Routes = {
|
|
|
58187
58203
|
[x: string]: string | boolean;
|
|
58188
58204
|
} | undefined;
|
|
58189
58205
|
event_type: 'device.tampered';
|
|
58206
|
+
/** Whether the device was detached from its mounting plate at the time of the event. Omitted when the provider did not report this state. */
|
|
58207
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
58208
|
+
/** Whether the device casing was tampered with at the time of the event. Omitted when the provider did not report this state. */
|
|
58209
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
58190
58210
|
} | {
|
|
58191
58211
|
/** ID of the event. */
|
|
58192
58212
|
event_id: string;
|
|
@@ -61998,6 +62018,10 @@ export type Routes = {
|
|
|
61998
62018
|
[x: string]: string | boolean;
|
|
61999
62019
|
} | undefined;
|
|
62000
62020
|
event_type: 'device.tampered';
|
|
62021
|
+
/** Whether the device was detached from its mounting plate at the time of the event. Omitted when the provider did not report this state. */
|
|
62022
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
62023
|
+
/** Whether the device casing was tampered with at the time of the event. Omitted when the provider did not report this state. */
|
|
62024
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
62001
62025
|
} | {
|
|
62002
62026
|
/** ID of the event. */
|
|
62003
62027
|
event_id: string;
|
|
@@ -65878,6 +65902,10 @@ export type Routes = {
|
|
|
65878
65902
|
is_online: boolean;
|
|
65879
65903
|
/** Indicates whether the lock is locked. */
|
|
65880
65904
|
is_door_locked?: boolean | undefined;
|
|
65905
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
65906
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
65907
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
65908
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
65881
65909
|
/** Properties of the device. */
|
|
65882
65910
|
properties?: ((({
|
|
65883
65911
|
/** Indicates whether the device is online. */
|
|
@@ -67700,6 +67728,10 @@ export type Routes = {
|
|
|
67700
67728
|
is_online: boolean;
|
|
67701
67729
|
/** Indicates whether the lock is locked. */
|
|
67702
67730
|
is_door_locked?: boolean | undefined;
|
|
67731
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
67732
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
67733
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
67734
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
67703
67735
|
/** Properties of the device. */
|
|
67704
67736
|
properties?: ((({
|
|
67705
67737
|
/** Indicates whether the device is online. */
|
|
@@ -69545,6 +69577,10 @@ export type Routes = {
|
|
|
69545
69577
|
is_online: boolean;
|
|
69546
69578
|
/** Indicates whether the lock is locked. */
|
|
69547
69579
|
is_door_locked?: boolean | undefined;
|
|
69580
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
69581
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
69582
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
69583
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
69548
69584
|
/** Properties of the device. */
|
|
69549
69585
|
properties?: ((({
|
|
69550
69586
|
/** Indicates whether the device is online. */
|
|
@@ -71366,6 +71402,10 @@ export type Routes = {
|
|
|
71366
71402
|
is_online: boolean;
|
|
71367
71403
|
/** Indicates whether the lock is locked. */
|
|
71368
71404
|
is_door_locked?: boolean | undefined;
|
|
71405
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
71406
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
71407
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
71408
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
71369
71409
|
/** Properties of the device. */
|
|
71370
71410
|
properties?: ((({
|
|
71371
71411
|
/** Indicates whether the device is online. */
|
|
@@ -82198,6 +82238,10 @@ export type Routes = {
|
|
|
82198
82238
|
is_online: boolean;
|
|
82199
82239
|
/** Indicates whether the lock is locked. */
|
|
82200
82240
|
is_door_locked?: boolean | undefined;
|
|
82241
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
82242
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
82243
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
82244
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
82201
82245
|
/** Properties of the device. */
|
|
82202
82246
|
properties?: ((({
|
|
82203
82247
|
/** Indicates whether the device is online. */
|
|
@@ -84019,6 +84063,10 @@ export type Routes = {
|
|
|
84019
84063
|
is_online: boolean;
|
|
84020
84064
|
/** Indicates whether the lock is locked. */
|
|
84021
84065
|
is_door_locked?: boolean | undefined;
|
|
84066
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
84067
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
84068
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
84069
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
84022
84070
|
/** Properties of the device. */
|
|
84023
84071
|
properties?: ((({
|
|
84024
84072
|
/** Indicates whether the device is online. */
|
|
@@ -96229,6 +96277,10 @@ export type Routes = {
|
|
|
96229
96277
|
is_online: boolean;
|
|
96230
96278
|
/** Indicates whether the lock is locked. */
|
|
96231
96279
|
is_door_locked?: boolean | undefined;
|
|
96280
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
96281
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
96282
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
96283
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
96232
96284
|
/** Properties of the device. */
|
|
96233
96285
|
properties?: ((({
|
|
96234
96286
|
/** Indicates whether the device is online. */
|
|
@@ -108810,6 +108862,10 @@ export type Routes = {
|
|
|
108810
108862
|
[x: string]: string | boolean;
|
|
108811
108863
|
} | undefined;
|
|
108812
108864
|
event_type: 'device.tampered';
|
|
108865
|
+
/** Whether the device was detached from its mounting plate at the time of the event. Omitted when the provider did not report this state. */
|
|
108866
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
108867
|
+
/** Whether the device casing was tampered with at the time of the event. Omitted when the provider did not report this state. */
|
|
108868
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
108813
108869
|
} | {
|
|
108814
108870
|
/** ID of the event. */
|
|
108815
108871
|
event_id: string;
|
|
@@ -114806,6 +114862,10 @@ export type Routes = {
|
|
|
114806
114862
|
[x: string]: string | boolean;
|
|
114807
114863
|
} | undefined;
|
|
114808
114864
|
event_type: 'device.tampered';
|
|
114865
|
+
/** Whether the device was detached from its mounting plate at the time of the event. Omitted when the provider did not report this state. */
|
|
114866
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
114867
|
+
/** Whether the device casing was tampered with at the time of the event. Omitted when the provider did not report this state. */
|
|
114868
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
114809
114869
|
} | {
|
|
114810
114870
|
/** ID of the event. */
|
|
114811
114871
|
event_id: string;
|
|
@@ -116426,6 +116486,10 @@ export type Routes = {
|
|
|
116426
116486
|
is_online: boolean;
|
|
116427
116487
|
/** Indicates whether the lock is locked. */
|
|
116428
116488
|
is_door_locked?: boolean | undefined;
|
|
116489
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
116490
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
116491
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
116492
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
116429
116493
|
/** Properties of the device. */
|
|
116430
116494
|
properties?: ((({
|
|
116431
116495
|
/** Indicates whether the device is online. */
|
|
@@ -146243,6 +146307,10 @@ export type Routes = {
|
|
|
146243
146307
|
is_online: boolean;
|
|
146244
146308
|
/** Indicates whether the lock is locked. */
|
|
146245
146309
|
is_door_locked?: boolean | undefined;
|
|
146310
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
146311
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
146312
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
146313
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
146246
146314
|
/** Properties of the device. */
|
|
146247
146315
|
properties?: ((({
|
|
146248
146316
|
/** Indicates whether the device is online. */
|
|
@@ -152572,6 +152640,10 @@ export type Routes = {
|
|
|
152572
152640
|
is_online: boolean;
|
|
152573
152641
|
/** Indicates whether the lock is locked. */
|
|
152574
152642
|
is_door_locked?: boolean | undefined;
|
|
152643
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
152644
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
152645
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
152646
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
152575
152647
|
/** Properties of the device. */
|
|
152576
152648
|
properties?: ((({
|
|
152577
152649
|
/** Indicates whether the device is online. */
|
|
@@ -154393,6 +154465,10 @@ export type Routes = {
|
|
|
154393
154465
|
is_online: boolean;
|
|
154394
154466
|
/** Indicates whether the lock is locked. */
|
|
154395
154467
|
is_door_locked?: boolean | undefined;
|
|
154468
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
154469
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
154470
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
154471
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
154396
154472
|
/** Properties of the device. */
|
|
154397
154473
|
properties?: ((({
|
|
154398
154474
|
/** Indicates whether the device is online. */
|
|
@@ -166295,6 +166371,10 @@ export type Routes = {
|
|
|
166295
166371
|
is_online: boolean;
|
|
166296
166372
|
/** Indicates whether the lock is locked. */
|
|
166297
166373
|
is_door_locked?: boolean | undefined;
|
|
166374
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
166375
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
166376
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
166377
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
166298
166378
|
/** Properties of the device. */
|
|
166299
166379
|
properties?: ((({
|
|
166300
166380
|
/** Indicates whether the device is online. */
|
|
@@ -168118,6 +168198,10 @@ export type Routes = {
|
|
|
168118
168198
|
is_online: boolean;
|
|
168119
168199
|
/** Indicates whether the lock is locked. */
|
|
168120
168200
|
is_door_locked?: boolean | undefined;
|
|
168201
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
168202
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
168203
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
168204
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
168121
168205
|
/** Properties of the device. */
|
|
168122
168206
|
properties?: ((({
|
|
168123
168207
|
/** Indicates whether the device is online. */
|
|
@@ -172294,6 +172378,10 @@ export type Routes = {
|
|
|
172294
172378
|
is_online: boolean;
|
|
172295
172379
|
/** Indicates whether the lock is locked. */
|
|
172296
172380
|
is_door_locked?: boolean | undefined;
|
|
172381
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
172382
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
172383
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
172384
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
172297
172385
|
/** Properties of the device. */
|
|
172298
172386
|
properties?: ((({
|
|
172299
172387
|
/** Indicates whether the device is online. */
|
|
@@ -181276,6 +181364,10 @@ export type Routes = {
|
|
|
181276
181364
|
[x: string]: string | boolean;
|
|
181277
181365
|
} | undefined;
|
|
181278
181366
|
event_type: 'device.tampered';
|
|
181367
|
+
/** Whether the device was detached from its mounting plate at the time of the event. Omitted when the provider did not report this state. */
|
|
181368
|
+
is_detached_from_mounting_plate?: boolean | undefined;
|
|
181369
|
+
/** Whether the device casing was tampered with at the time of the event. Omitted when the provider did not report this state. */
|
|
181370
|
+
is_casing_tampered_with?: boolean | undefined;
|
|
181279
181371
|
} | {
|
|
181280
181372
|
/** ID of the event. */
|
|
181281
181373
|
event_id: string;
|
package/package.json
CHANGED
|
@@ -1294,6 +1294,20 @@ export const device = z
|
|
|
1294
1294
|
---
|
|
1295
1295
|
Indicates whether the lock is locked.
|
|
1296
1296
|
`),
|
|
1297
|
+
is_detached_from_mounting_plate: z.boolean().optional().describe(`
|
|
1298
|
+
---
|
|
1299
|
+
undocumented: Unreleased.
|
|
1300
|
+
property_group_key: hardware
|
|
1301
|
+
---
|
|
1302
|
+
Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check \`is_online\` before acting on it.
|
|
1303
|
+
`),
|
|
1304
|
+
is_casing_tampered_with: z.boolean().optional().describe(`
|
|
1305
|
+
---
|
|
1306
|
+
undocumented: Unreleased.
|
|
1307
|
+
property_group_key: hardware
|
|
1308
|
+
---
|
|
1309
|
+
Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of \`is_detached_from_mounting_plate\`.
|
|
1310
|
+
`),
|
|
1297
1311
|
properties: common_device_properties
|
|
1298
1312
|
.and(phone_specific_properties.partial())
|
|
1299
1313
|
.and(device_metadata)
|
|
@@ -194,6 +194,18 @@ export type UnmanagedDeviceDisconnectedEvent = z.infer<
|
|
|
194
194
|
|
|
195
195
|
export const device_tampered_event = device_event.extend({
|
|
196
196
|
event_type: z.literal('device.tampered'),
|
|
197
|
+
is_detached_from_mounting_plate: z
|
|
198
|
+
.boolean()
|
|
199
|
+
.optional()
|
|
200
|
+
.describe(
|
|
201
|
+
'Whether the device was detached from its mounting plate at the time of the event. Omitted when the provider did not report this state.',
|
|
202
|
+
),
|
|
203
|
+
is_casing_tampered_with: z
|
|
204
|
+
.boolean()
|
|
205
|
+
.optional()
|
|
206
|
+
.describe(
|
|
207
|
+
'Whether the device casing was tampered with at the time of the event. Omitted when the provider did not report this state.',
|
|
208
|
+
),
|
|
197
209
|
}).describe(`
|
|
198
210
|
---
|
|
199
211
|
route_path: /devices
|
|
@@ -16838,6 +16838,20 @@ const openapi: OpenAPISpec = {
|
|
|
16838
16838
|
type: 'number',
|
|
16839
16839
|
'x-property-group-key': 'sensors',
|
|
16840
16840
|
},
|
|
16841
|
+
is_casing_tampered_with: {
|
|
16842
|
+
description:
|
|
16843
|
+
'Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`.',
|
|
16844
|
+
type: 'boolean',
|
|
16845
|
+
'x-property-group-key': 'hardware',
|
|
16846
|
+
'x-undocumented': 'Unreleased.',
|
|
16847
|
+
},
|
|
16848
|
+
is_detached_from_mounting_plate: {
|
|
16849
|
+
description:
|
|
16850
|
+
'Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it.',
|
|
16851
|
+
type: 'boolean',
|
|
16852
|
+
'x-property-group-key': 'hardware',
|
|
16853
|
+
'x-undocumented': 'Unreleased.',
|
|
16854
|
+
},
|
|
16841
16855
|
is_door_locked: {
|
|
16842
16856
|
description: 'Indicates whether the lock is locked.',
|
|
16843
16857
|
type: 'boolean',
|
|
@@ -29568,6 +29582,16 @@ const openapi: OpenAPISpec = {
|
|
|
29568
29582
|
type: 'string',
|
|
29569
29583
|
},
|
|
29570
29584
|
event_type: { enum: ['device.tampered'], type: 'string' },
|
|
29585
|
+
is_casing_tampered_with: {
|
|
29586
|
+
description:
|
|
29587
|
+
'Whether the device casing was tampered with at the time of the event. Omitted when the provider did not report this state.',
|
|
29588
|
+
type: 'boolean',
|
|
29589
|
+
},
|
|
29590
|
+
is_detached_from_mounting_plate: {
|
|
29591
|
+
description:
|
|
29592
|
+
'Whether the device was detached from its mounting plate at the time of the event. Omitted when the provider did not report this state.',
|
|
29593
|
+
type: 'boolean',
|
|
29594
|
+
},
|
|
29571
29595
|
occurred_at: {
|
|
29572
29596
|
description: 'Date and time at which the event occurred.',
|
|
29573
29597
|
format: 'date-time',
|
|
@@ -16289,6 +16289,10 @@ export type Routes = {
|
|
|
16289
16289
|
is_online: boolean
|
|
16290
16290
|
/** Indicates whether the lock is locked. */
|
|
16291
16291
|
is_door_locked?: boolean | undefined
|
|
16292
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
16293
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
16294
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
16295
|
+
is_casing_tampered_with?: boolean | undefined
|
|
16292
16296
|
/** Properties of the device. */
|
|
16293
16297
|
properties?:
|
|
16294
16298
|
| ((({
|
|
@@ -26374,6 +26378,10 @@ export type Routes = {
|
|
|
26374
26378
|
is_online: boolean
|
|
26375
26379
|
/** Indicates whether the lock is locked. */
|
|
26376
26380
|
is_door_locked?: boolean | undefined
|
|
26381
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
26382
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
26383
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
26384
|
+
is_casing_tampered_with?: boolean | undefined
|
|
26377
26385
|
/** Properties of the device. */
|
|
26378
26386
|
properties?:
|
|
26379
26387
|
| ((({
|
|
@@ -59154,6 +59162,10 @@ export type Routes = {
|
|
|
59154
59162
|
is_online: boolean
|
|
59155
59163
|
/** Indicates whether the lock is locked. */
|
|
59156
59164
|
is_door_locked?: boolean | undefined
|
|
59165
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
59166
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
59167
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
59168
|
+
is_casing_tampered_with?: boolean | undefined
|
|
59157
59169
|
/** Properties of the device. */
|
|
59158
59170
|
properties?:
|
|
59159
59171
|
| ((({
|
|
@@ -61774,6 +61786,10 @@ export type Routes = {
|
|
|
61774
61786
|
is_online: boolean
|
|
61775
61787
|
/** Indicates whether the lock is locked. */
|
|
61776
61788
|
is_door_locked?: boolean | undefined
|
|
61789
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
61790
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
61791
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
61792
|
+
is_casing_tampered_with?: boolean | undefined
|
|
61777
61793
|
/** Properties of the device. */
|
|
61778
61794
|
properties?:
|
|
61779
61795
|
| ((({
|
|
@@ -70050,6 +70066,10 @@ export type Routes = {
|
|
|
70050
70066
|
}
|
|
70051
70067
|
| undefined
|
|
70052
70068
|
event_type: 'device.tampered'
|
|
70069
|
+
/** Whether the device was detached from its mounting plate at the time of the event. Omitted when the provider did not report this state. */
|
|
70070
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
70071
|
+
/** Whether the device casing was tampered with at the time of the event. Omitted when the provider did not report this state. */
|
|
70072
|
+
is_casing_tampered_with?: boolean | undefined
|
|
70053
70073
|
}
|
|
70054
70074
|
| {
|
|
70055
70075
|
/** ID of the event. */
|
|
@@ -74571,6 +74591,10 @@ export type Routes = {
|
|
|
74571
74591
|
}
|
|
74572
74592
|
| undefined
|
|
74573
74593
|
event_type: 'device.tampered'
|
|
74594
|
+
/** Whether the device was detached from its mounting plate at the time of the event. Omitted when the provider did not report this state. */
|
|
74595
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
74596
|
+
/** Whether the device casing was tampered with at the time of the event. Omitted when the provider did not report this state. */
|
|
74597
|
+
is_casing_tampered_with?: boolean | undefined
|
|
74574
74598
|
}
|
|
74575
74599
|
| {
|
|
74576
74600
|
/** ID of the event. */
|
|
@@ -79086,6 +79110,10 @@ export type Routes = {
|
|
|
79086
79110
|
is_online: boolean
|
|
79087
79111
|
/** Indicates whether the lock is locked. */
|
|
79088
79112
|
is_door_locked?: boolean | undefined
|
|
79113
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
79114
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
79115
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
79116
|
+
is_casing_tampered_with?: boolean | undefined
|
|
79089
79117
|
/** Properties of the device. */
|
|
79090
79118
|
properties?:
|
|
79091
79119
|
| ((({
|
|
@@ -81390,6 +81418,10 @@ export type Routes = {
|
|
|
81390
81418
|
is_online: boolean
|
|
81391
81419
|
/** Indicates whether the lock is locked. */
|
|
81392
81420
|
is_door_locked?: boolean | undefined
|
|
81421
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
81422
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
81423
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
81424
|
+
is_casing_tampered_with?: boolean | undefined
|
|
81393
81425
|
/** Properties of the device. */
|
|
81394
81426
|
properties?:
|
|
81395
81427
|
| ((({
|
|
@@ -83835,6 +83867,10 @@ export type Routes = {
|
|
|
83835
83867
|
is_online: boolean
|
|
83836
83868
|
/** Indicates whether the lock is locked. */
|
|
83837
83869
|
is_door_locked?: boolean | undefined
|
|
83870
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
83871
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
83872
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
83873
|
+
is_casing_tampered_with?: boolean | undefined
|
|
83838
83874
|
/** Properties of the device. */
|
|
83839
83875
|
properties?:
|
|
83840
83876
|
| ((({
|
|
@@ -86138,6 +86174,10 @@ export type Routes = {
|
|
|
86138
86174
|
is_online: boolean
|
|
86139
86175
|
/** Indicates whether the lock is locked. */
|
|
86140
86176
|
is_door_locked?: boolean | undefined
|
|
86177
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
86178
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
86179
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
86180
|
+
is_casing_tampered_with?: boolean | undefined
|
|
86141
86181
|
/** Properties of the device. */
|
|
86142
86182
|
properties?:
|
|
86143
86183
|
| ((({
|
|
@@ -98840,6 +98880,10 @@ export type Routes = {
|
|
|
98840
98880
|
is_online: boolean
|
|
98841
98881
|
/** Indicates whether the lock is locked. */
|
|
98842
98882
|
is_door_locked?: boolean | undefined
|
|
98883
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
98884
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
98885
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
98886
|
+
is_casing_tampered_with?: boolean | undefined
|
|
98843
98887
|
/** Properties of the device. */
|
|
98844
98888
|
properties?:
|
|
98845
98889
|
| ((({
|
|
@@ -101143,6 +101187,10 @@ export type Routes = {
|
|
|
101143
101187
|
is_online: boolean
|
|
101144
101188
|
/** Indicates whether the lock is locked. */
|
|
101145
101189
|
is_door_locked?: boolean | undefined
|
|
101190
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
101191
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
101192
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
101193
|
+
is_casing_tampered_with?: boolean | undefined
|
|
101146
101194
|
/** Properties of the device. */
|
|
101147
101195
|
properties?:
|
|
101148
101196
|
| ((({
|
|
@@ -115391,6 +115439,10 @@ export type Routes = {
|
|
|
115391
115439
|
is_online: boolean
|
|
115392
115440
|
/** Indicates whether the lock is locked. */
|
|
115393
115441
|
is_door_locked?: boolean | undefined
|
|
115442
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
115443
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
115444
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
115445
|
+
is_casing_tampered_with?: boolean | undefined
|
|
115394
115446
|
/** Properties of the device. */
|
|
115395
115447
|
properties?:
|
|
115396
115448
|
| ((({
|
|
@@ -130030,6 +130082,10 @@ export type Routes = {
|
|
|
130030
130082
|
}
|
|
130031
130083
|
| undefined
|
|
130032
130084
|
event_type: 'device.tampered'
|
|
130085
|
+
/** Whether the device was detached from its mounting plate at the time of the event. Omitted when the provider did not report this state. */
|
|
130086
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
130087
|
+
/** Whether the device casing was tampered with at the time of the event. Omitted when the provider did not report this state. */
|
|
130088
|
+
is_casing_tampered_with?: boolean | undefined
|
|
130033
130089
|
}
|
|
130034
130090
|
| {
|
|
130035
130091
|
/** ID of the event. */
|
|
@@ -137094,6 +137150,10 @@ export type Routes = {
|
|
|
137094
137150
|
}
|
|
137095
137151
|
| undefined
|
|
137096
137152
|
event_type: 'device.tampered'
|
|
137153
|
+
/** Whether the device was detached from its mounting plate at the time of the event. Omitted when the provider did not report this state. */
|
|
137154
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
137155
|
+
/** Whether the device casing was tampered with at the time of the event. Omitted when the provider did not report this state. */
|
|
137156
|
+
is_casing_tampered_with?: boolean | undefined
|
|
137097
137157
|
}
|
|
137098
137158
|
| {
|
|
137099
137159
|
/** ID of the event. */
|
|
@@ -139031,6 +139091,10 @@ export type Routes = {
|
|
|
139031
139091
|
is_online: boolean
|
|
139032
139092
|
/** Indicates whether the lock is locked. */
|
|
139033
139093
|
is_door_locked?: boolean | undefined
|
|
139094
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
139095
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
139096
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
139097
|
+
is_casing_tampered_with?: boolean | undefined
|
|
139034
139098
|
/** Properties of the device. */
|
|
139035
139099
|
properties?:
|
|
139036
139100
|
| ((({
|
|
@@ -173780,6 +173844,10 @@ export type Routes = {
|
|
|
173780
173844
|
is_online: boolean
|
|
173781
173845
|
/** Indicates whether the lock is locked. */
|
|
173782
173846
|
is_door_locked?: boolean | undefined
|
|
173847
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
173848
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
173849
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
173850
|
+
is_casing_tampered_with?: boolean | undefined
|
|
173783
173851
|
/** Properties of the device. */
|
|
173784
173852
|
properties?:
|
|
173785
173853
|
| ((({
|
|
@@ -181315,6 +181383,10 @@ export type Routes = {
|
|
|
181315
181383
|
is_online: boolean
|
|
181316
181384
|
/** Indicates whether the lock is locked. */
|
|
181317
181385
|
is_door_locked?: boolean | undefined
|
|
181386
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
181387
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
181388
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
181389
|
+
is_casing_tampered_with?: boolean | undefined
|
|
181318
181390
|
/** Properties of the device. */
|
|
181319
181391
|
properties?:
|
|
181320
181392
|
| ((({
|
|
@@ -183618,6 +183690,10 @@ export type Routes = {
|
|
|
183618
183690
|
is_online: boolean
|
|
183619
183691
|
/** Indicates whether the lock is locked. */
|
|
183620
183692
|
is_door_locked?: boolean | undefined
|
|
183693
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
183694
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
183695
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
183696
|
+
is_casing_tampered_with?: boolean | undefined
|
|
183621
183697
|
/** Properties of the device. */
|
|
183622
183698
|
properties?:
|
|
183623
183699
|
| ((({
|
|
@@ -197436,6 +197512,10 @@ export type Routes = {
|
|
|
197436
197512
|
is_online: boolean
|
|
197437
197513
|
/** Indicates whether the lock is locked. */
|
|
197438
197514
|
is_door_locked?: boolean | undefined
|
|
197515
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
197516
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
197517
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
197518
|
+
is_casing_tampered_with?: boolean | undefined
|
|
197439
197519
|
/** Properties of the device. */
|
|
197440
197520
|
properties?:
|
|
197441
197521
|
| ((({
|
|
@@ -199741,6 +199821,10 @@ export type Routes = {
|
|
|
199741
199821
|
is_online: boolean
|
|
199742
199822
|
/** Indicates whether the lock is locked. */
|
|
199743
199823
|
is_door_locked?: boolean | undefined
|
|
199824
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
199825
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
199826
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
199827
|
+
is_casing_tampered_with?: boolean | undefined
|
|
199744
199828
|
/** Properties of the device. */
|
|
199745
199829
|
properties?:
|
|
199746
199830
|
| ((({
|
|
@@ -204769,6 +204853,10 @@ export type Routes = {
|
|
|
204769
204853
|
is_online: boolean
|
|
204770
204854
|
/** Indicates whether the lock is locked. */
|
|
204771
204855
|
is_door_locked?: boolean | undefined
|
|
204856
|
+
/** Indicates whether the device was last reported as detached from its mounting plate. Omitted when Seam has no accepted observation, including when the device does not support mounting plate detection, reports an unknown status, or is offline. This is the last accepted provider observation, not a guarantee of current hardware state; check `is_online` before acting on it. */
|
|
204857
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
204858
|
+
/** Indicates whether the device was last reported as having its casing opened or tampered with. Omitted when Seam has no accepted observation, including when the device does not support casing tamper detection. This is independent of `is_detached_from_mounting_plate`. */
|
|
204859
|
+
is_casing_tampered_with?: boolean | undefined
|
|
204772
204860
|
/** Properties of the device. */
|
|
204773
204861
|
properties?:
|
|
204774
204862
|
| ((({
|
|
@@ -215399,6 +215487,10 @@ export type Routes = {
|
|
|
215399
215487
|
}
|
|
215400
215488
|
| undefined
|
|
215401
215489
|
event_type: 'device.tampered'
|
|
215490
|
+
/** Whether the device was detached from its mounting plate at the time of the event. Omitted when the provider did not report this state. */
|
|
215491
|
+
is_detached_from_mounting_plate?: boolean | undefined
|
|
215492
|
+
/** Whether the device casing was tampered with at the time of the event. Omitted when the provider did not report this state. */
|
|
215493
|
+
is_casing_tampered_with?: boolean | undefined
|
|
215402
215494
|
}
|
|
215403
215495
|
| {
|
|
215404
215496
|
/** ID of the event. */
|