@seamapi/types 1.951.0 → 1.953.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/connect.cjs +156 -5
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +343 -4
  4. package/dist/index.cjs +156 -5
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-entrance.d.ts +49 -4
  7. package/lib/seam/connect/models/acs/acs-entrance.js +7 -0
  8. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  9. package/lib/seam/connect/models/acs/metadata/salto.d.ts +2 -2
  10. package/lib/seam/connect/models/devices/device.d.ts +58 -0
  11. package/lib/seam/connect/models/devices/device.js +11 -0
  12. package/lib/seam/connect/models/devices/device.js.map +1 -1
  13. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -0
  14. package/lib/seam/connect/models/events/common.d.ts +2 -0
  15. package/lib/seam/connect/models/events/common.js +10 -0
  16. package/lib/seam/connect/models/events/common.js.map +1 -1
  17. package/lib/seam/connect/models/events/devices.d.ts +36 -0
  18. package/lib/seam/connect/models/events/devices.js +10 -1
  19. package/lib/seam/connect/models/events/devices.js.map +1 -1
  20. package/lib/seam/connect/models/events/seam-event.d.ts +18 -0
  21. package/lib/seam/connect/models/phones/phone-session.d.ts +100 -18
  22. package/lib/seam/connect/openapi.js +119 -2
  23. package/lib/seam/connect/openapi.js.map +1 -1
  24. package/lib/seam/connect/route-types.d.ts +245 -0
  25. package/package.json +1 -1
  26. package/src/lib/seam/connect/models/acs/acs-entrance.ts +10 -0
  27. package/src/lib/seam/connect/models/devices/device.ts +12 -0
  28. package/src/lib/seam/connect/models/events/common.ts +15 -0
  29. package/src/lib/seam/connect/models/events/devices.ts +12 -0
  30. package/src/lib/seam/connect/openapi.ts +138 -2
  31. package/src/lib/seam/connect/route-types.ts +308 -0
@@ -14900,6 +14900,14 @@ export type Routes = {
14900
14900
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14901
14901
  warning_code: 'salto_ks_privacy_mode'
14902
14902
  }
14903
+ | {
14904
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14905
+ message: string
14906
+ /** Date and time at which Seam created the warning. */
14907
+ created_at: string
14908
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14909
+ warning_code: 'privacy_mode'
14910
+ }
14903
14911
  | {
14904
14912
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14905
14913
  message: string
@@ -15160,6 +15168,14 @@ export type Routes = {
15160
15168
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15161
15169
  warning_code: 'salto_ks_privacy_mode'
15162
15170
  }
15171
+ | {
15172
+ /** Date and time at which Seam created the warning. */
15173
+ created_at: string
15174
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
15175
+ message: string
15176
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15177
+ warning_code: 'privacy_mode'
15178
+ }
15163
15179
  )[]
15164
15180
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
15165
15181
  latch_metadata?:
@@ -22826,6 +22842,14 @@ export type Routes = {
22826
22842
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22827
22843
  warning_code: 'salto_ks_privacy_mode'
22828
22844
  }
22845
+ | {
22846
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
22847
+ message: string
22848
+ /** Date and time at which Seam created the warning. */
22849
+ created_at: string
22850
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22851
+ warning_code: 'privacy_mode'
22852
+ }
22829
22853
  | {
22830
22854
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
22831
22855
  message: string
@@ -23086,6 +23110,14 @@ export type Routes = {
23086
23110
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23087
23111
  warning_code: 'salto_ks_privacy_mode'
23088
23112
  }
23113
+ | {
23114
+ /** Date and time at which Seam created the warning. */
23115
+ created_at: string
23116
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
23117
+ message: string
23118
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23119
+ warning_code: 'privacy_mode'
23120
+ }
23089
23121
  )[]
23090
23122
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
23091
23123
  latch_metadata?:
@@ -26695,6 +26727,14 @@ export type Routes = {
26695
26727
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26696
26728
  warning_code: 'salto_ks_privacy_mode'
26697
26729
  }
26730
+ | {
26731
+ /** Date and time at which Seam created the warning. */
26732
+ created_at: string
26733
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
26734
+ message: string
26735
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26736
+ warning_code: 'privacy_mode'
26737
+ }
26698
26738
  )[]
26699
26739
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
26700
26740
  latch_metadata?:
@@ -28768,6 +28808,14 @@ export type Routes = {
28768
28808
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
28769
28809
  warning_code: 'salto_ks_privacy_mode'
28770
28810
  }
28811
+ | {
28812
+ /** Date and time at which Seam created the warning. */
28813
+ created_at: string
28814
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
28815
+ message: string
28816
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
28817
+ warning_code: 'privacy_mode'
28818
+ }
28771
28819
  )[]
28772
28820
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
28773
28821
  latch_metadata?:
@@ -35832,6 +35880,14 @@ export type Routes = {
35832
35880
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35833
35881
  warning_code: 'salto_ks_privacy_mode'
35834
35882
  }
35883
+ | {
35884
+ /** Date and time at which Seam created the warning. */
35885
+ created_at: string
35886
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35887
+ message: string
35888
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35889
+ warning_code: 'privacy_mode'
35890
+ }
35835
35891
  )[]
35836
35892
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
35837
35893
  latch_metadata?:
@@ -36098,6 +36154,14 @@ export type Routes = {
36098
36154
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36099
36155
  warning_code: 'salto_ks_privacy_mode'
36100
36156
  }
36157
+ | {
36158
+ /** Date and time at which Seam created the warning. */
36159
+ created_at: string
36160
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36161
+ message: string
36162
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36163
+ warning_code: 'privacy_mode'
36164
+ }
36101
36165
  )[]
36102
36166
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
36103
36167
  latch_metadata?:
@@ -40150,6 +40214,14 @@ export type Routes = {
40150
40214
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40151
40215
  warning_code: 'salto_ks_privacy_mode'
40152
40216
  }
40217
+ | {
40218
+ /** Date and time at which Seam created the warning. */
40219
+ created_at: string
40220
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
40221
+ message: string
40222
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40223
+ warning_code: 'privacy_mode'
40224
+ }
40153
40225
  )[]
40154
40226
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
40155
40227
  latch_metadata?:
@@ -49097,6 +49169,14 @@ export type Routes = {
49097
49169
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
49098
49170
  warning_code: 'salto_ks_privacy_mode'
49099
49171
  }
49172
+ | {
49173
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
49174
+ message: string
49175
+ /** Date and time at which Seam created the warning. */
49176
+ created_at: string
49177
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
49178
+ warning_code: 'privacy_mode'
49179
+ }
49100
49180
  | {
49101
49181
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
49102
49182
  message: string
@@ -51167,6 +51247,14 @@ export type Routes = {
51167
51247
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51168
51248
  warning_code: 'salto_ks_privacy_mode'
51169
51249
  }
51250
+ | {
51251
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
51252
+ message: string
51253
+ /** Date and time at which Seam created the warning. */
51254
+ created_at: string
51255
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51256
+ warning_code: 'privacy_mode'
51257
+ }
51170
51258
  | {
51171
51259
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
51172
51260
  message: string
@@ -53296,6 +53384,14 @@ export type Routes = {
53296
53384
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53297
53385
  warning_code: 'salto_ks_privacy_mode'
53298
53386
  }
53387
+ | {
53388
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
53389
+ message: string
53390
+ /** Date and time at which Seam created the warning. */
53391
+ created_at: string
53392
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53393
+ warning_code: 'privacy_mode'
53394
+ }
53299
53395
  | {
53300
53396
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
53301
53397
  message: string
@@ -54147,6 +54243,14 @@ export type Routes = {
54147
54243
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54148
54244
  warning_code: 'salto_ks_privacy_mode'
54149
54245
  }
54246
+ | {
54247
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
54248
+ message: string
54249
+ /** Date and time at which Seam created the warning. */
54250
+ created_at: string
54251
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54252
+ warning_code: 'privacy_mode'
54253
+ }
54150
54254
  | {
54151
54255
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
54152
54256
  message: string
@@ -57603,6 +57707,21 @@ export type Routes = {
57603
57707
  ID of the ACS entrance associated with the access-denied event.
57604
57708
  */
57605
57709
  acs_entrance_id?: string | undefined
57710
+ /** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
57711
+ reason?:
57712
+ | {
57713
+ /** Normalized reason a lock denied access. Provider-agnostic; not all providers report every value. */
57714
+ reason_code:
57715
+ | 'unknown_code'
57716
+ | 'expired_code'
57717
+ | 'blocklisted_code'
57718
+ | 'too_many_attempts'
57719
+ | 'blocked_by_privacy_mode'
57720
+ | 'credential_error'
57721
+ /** Human-readable explanation of why access was denied. */
57722
+ message: string
57723
+ }
57724
+ | undefined
57606
57725
  }
57607
57726
  | {
57608
57727
  /** ID of the event. */
@@ -61466,6 +61585,21 @@ export type Routes = {
61466
61585
  ID of the ACS entrance associated with the access-denied event.
61467
61586
  */
61468
61587
  acs_entrance_id?: string | undefined
61588
+ /** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
61589
+ reason?:
61590
+ | {
61591
+ /** Normalized reason a lock denied access. Provider-agnostic; not all providers report every value. */
61592
+ reason_code:
61593
+ | 'unknown_code'
61594
+ | 'expired_code'
61595
+ | 'blocklisted_code'
61596
+ | 'too_many_attempts'
61597
+ | 'blocked_by_privacy_mode'
61598
+ | 'credential_error'
61599
+ /** Human-readable explanation of why access was denied. */
61600
+ message: string
61601
+ }
61602
+ | undefined
61469
61603
  }
61470
61604
  | {
61471
61605
  /** ID of the event. */
@@ -65626,6 +65760,14 @@ export type Routes = {
65626
65760
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65627
65761
  warning_code: 'salto_ks_privacy_mode'
65628
65762
  }
65763
+ | {
65764
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
65765
+ message: string
65766
+ /** Date and time at which Seam created the warning. */
65767
+ created_at: string
65768
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65769
+ warning_code: 'privacy_mode'
65770
+ }
65629
65771
  | {
65630
65772
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
65631
65773
  message: string
@@ -67452,6 +67594,14 @@ export type Routes = {
67452
67594
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67453
67595
  warning_code: 'salto_ks_privacy_mode'
67454
67596
  }
67597
+ | {
67598
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
67599
+ message: string
67600
+ /** Date and time at which Seam created the warning. */
67601
+ created_at: string
67602
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67603
+ warning_code: 'privacy_mode'
67604
+ }
67455
67605
  | {
67456
67606
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
67457
67607
  message: string
@@ -69475,6 +69625,14 @@ export type Routes = {
69475
69625
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
69476
69626
  warning_code: 'salto_ks_privacy_mode'
69477
69627
  }
69628
+ | {
69629
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
69630
+ message: string
69631
+ /** Date and time at which Seam created the warning. */
69632
+ created_at: string
69633
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
69634
+ warning_code: 'privacy_mode'
69635
+ }
69478
69636
  | {
69479
69637
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
69480
69638
  message: string
@@ -71300,6 +71458,14 @@ export type Routes = {
71300
71458
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71301
71459
  warning_code: 'salto_ks_privacy_mode'
71302
71460
  }
71461
+ | {
71462
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
71463
+ message: string
71464
+ /** Date and time at which Seam created the warning. */
71465
+ created_at: string
71466
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71467
+ warning_code: 'privacy_mode'
71468
+ }
71303
71469
  | {
71304
71470
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
71305
71471
  message: string
@@ -81034,6 +81200,14 @@ export type Routes = {
81034
81200
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81035
81201
  warning_code: 'salto_ks_privacy_mode'
81036
81202
  }
81203
+ | {
81204
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81205
+ message: string
81206
+ /** Date and time at which Seam created the warning. */
81207
+ created_at: string
81208
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81209
+ warning_code: 'privacy_mode'
81210
+ }
81037
81211
  | {
81038
81212
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81039
81213
  message: string
@@ -82859,6 +83033,14 @@ export type Routes = {
82859
83033
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82860
83034
  warning_code: 'salto_ks_privacy_mode'
82861
83035
  }
83036
+ | {
83037
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83038
+ message: string
83039
+ /** Date and time at which Seam created the warning. */
83040
+ created_at: string
83041
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83042
+ warning_code: 'privacy_mode'
83043
+ }
82862
83044
  | {
82863
83045
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82864
83046
  message: string
@@ -96807,6 +96989,21 @@ export type Routes = {
96807
96989
  ID of the ACS entrance associated with the access-denied event.
96808
96990
  */
96809
96991
  acs_entrance_id?: string | undefined
96992
+ /** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
96993
+ reason?:
96994
+ | {
96995
+ /** Normalized reason a lock denied access. Provider-agnostic; not all providers report every value. */
96996
+ reason_code:
96997
+ | 'unknown_code'
96998
+ | 'expired_code'
96999
+ | 'blocklisted_code'
97000
+ | 'too_many_attempts'
97001
+ | 'blocked_by_privacy_mode'
97002
+ | 'credential_error'
97003
+ /** Human-readable explanation of why access was denied. */
97004
+ message: string
97005
+ }
97006
+ | undefined
96810
97007
  }
96811
97008
  | {
96812
97009
  /** ID of the event. */
@@ -99182,6 +99379,14 @@ export type Routes = {
99182
99379
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
99183
99380
  warning_code: 'salto_ks_privacy_mode'
99184
99381
  }
99382
+ | {
99383
+ /** Date and time at which Seam created the warning. */
99384
+ created_at: string
99385
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
99386
+ message: string
99387
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
99388
+ warning_code: 'privacy_mode'
99389
+ }
99185
99390
  )[]
99186
99391
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
99187
99392
  latch_metadata?:
@@ -101404,6 +101609,14 @@ export type Routes = {
101404
101609
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
101405
101610
  warning_code: 'salto_ks_privacy_mode'
101406
101611
  }
101612
+ | {
101613
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
101614
+ message: string
101615
+ /** Date and time at which Seam created the warning. */
101616
+ created_at: string
101617
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
101618
+ warning_code: 'privacy_mode'
101619
+ }
101407
101620
  | {
101408
101621
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
101409
101622
  message: string
@@ -101664,6 +101877,14 @@ export type Routes = {
101664
101877
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
101665
101878
  warning_code: 'salto_ks_privacy_mode'
101666
101879
  }
101880
+ | {
101881
+ /** Date and time at which Seam created the warning. */
101882
+ created_at: string
101883
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
101884
+ message: string
101885
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
101886
+ warning_code: 'privacy_mode'
101887
+ }
101667
101888
  )[]
101668
101889
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
101669
101890
  latch_metadata?:
@@ -110203,6 +110424,14 @@ export type Routes = {
110203
110424
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
110204
110425
  warning_code: 'salto_ks_privacy_mode'
110205
110426
  }
110427
+ | {
110428
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
110429
+ message: string
110430
+ /** Date and time at which Seam created the warning. */
110431
+ created_at: string
110432
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
110433
+ warning_code: 'privacy_mode'
110434
+ }
110206
110435
  | {
110207
110436
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
110208
110437
  message: string
@@ -116072,6 +116301,14 @@ export type Routes = {
116072
116301
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
116073
116302
  warning_code: 'salto_ks_privacy_mode'
116074
116303
  }
116304
+ | {
116305
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
116306
+ message: string
116307
+ /** Date and time at which Seam created the warning. */
116308
+ created_at: string
116309
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
116310
+ warning_code: 'privacy_mode'
116311
+ }
116075
116312
  | {
116076
116313
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
116077
116314
  message: string
@@ -117897,6 +118134,14 @@ export type Routes = {
117897
118134
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
117898
118135
  warning_code: 'salto_ks_privacy_mode'
117899
118136
  }
118137
+ | {
118138
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
118139
+ message: string
118140
+ /** Date and time at which Seam created the warning. */
118141
+ created_at: string
118142
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
118143
+ warning_code: 'privacy_mode'
118144
+ }
117900
118145
  | {
117901
118146
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
117902
118147
  message: string
@@ -128566,6 +128811,14 @@ export type Routes = {
128566
128811
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
128567
128812
  warning_code: 'salto_ks_privacy_mode'
128568
128813
  }
128814
+ | {
128815
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
128816
+ message: string
128817
+ /** Date and time at which Seam created the warning. */
128818
+ created_at: string
128819
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
128820
+ warning_code: 'privacy_mode'
128821
+ }
128569
128822
  | {
128570
128823
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
128571
128824
  message: string
@@ -130393,6 +130646,14 @@ export type Routes = {
130393
130646
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
130394
130647
  warning_code: 'salto_ks_privacy_mode'
130395
130648
  }
130649
+ | {
130650
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
130651
+ message: string
130652
+ /** Date and time at which Seam created the warning. */
130653
+ created_at: string
130654
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
130655
+ warning_code: 'privacy_mode'
130656
+ }
130396
130657
  | {
130397
130658
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
130398
130659
  message: string
@@ -130661,6 +130922,14 @@ export type Routes = {
130661
130922
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
130662
130923
  warning_code: 'salto_ks_privacy_mode'
130663
130924
  }
130925
+ | {
130926
+ /** Date and time at which Seam created the warning. */
130927
+ created_at: string
130928
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
130929
+ message: string
130930
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
130931
+ warning_code: 'privacy_mode'
130932
+ }
130664
130933
  )[]
130665
130934
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
130666
130935
  latch_metadata?:
@@ -133670,6 +133939,14 @@ export type Routes = {
133670
133939
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
133671
133940
  warning_code: 'salto_ks_privacy_mode'
133672
133941
  }
133942
+ | {
133943
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
133944
+ message: string
133945
+ /** Date and time at which Seam created the warning. */
133946
+ created_at: string
133947
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
133948
+ warning_code: 'privacy_mode'
133949
+ }
133673
133950
  | {
133674
133951
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
133675
133952
  message: string
@@ -133930,6 +134207,14 @@ export type Routes = {
133930
134207
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
133931
134208
  warning_code: 'salto_ks_privacy_mode'
133932
134209
  }
134210
+ | {
134211
+ /** Date and time at which Seam created the warning. */
134212
+ created_at: string
134213
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
134214
+ message: string
134215
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
134216
+ warning_code: 'privacy_mode'
134217
+ }
133933
134218
  )[]
133934
134219
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
133935
134220
  latch_metadata?:
@@ -137656,6 +137941,14 @@ export type Routes = {
137656
137941
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
137657
137942
  warning_code: 'salto_ks_privacy_mode'
137658
137943
  }
137944
+ | {
137945
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
137946
+ message: string
137947
+ /** Date and time at which Seam created the warning. */
137948
+ created_at: string
137949
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
137950
+ warning_code: 'privacy_mode'
137951
+ }
137659
137952
  | {
137660
137953
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
137661
137954
  message: string
@@ -141664,6 +141957,21 @@ export type Routes = {
141664
141957
  ID of the ACS entrance associated with the access-denied event.
141665
141958
  */
141666
141959
  acs_entrance_id?: string | undefined
141960
+ /** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
141961
+ reason?:
141962
+ | {
141963
+ /** Normalized reason a lock denied access. Provider-agnostic; not all providers report every value. */
141964
+ reason_code:
141965
+ | 'unknown_code'
141966
+ | 'expired_code'
141967
+ | 'blocklisted_code'
141968
+ | 'too_many_attempts'
141969
+ | 'blocked_by_privacy_mode'
141970
+ | 'credential_error'
141971
+ /** Human-readable explanation of why access was denied. */
141972
+ message: string
141973
+ }
141974
+ | undefined
141667
141975
  }
141668
141976
  | {
141669
141977
  /** ID of the event. */