@seamapi/types 1.550.0 → 1.552.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 (34) hide show
  1. package/dist/connect.cjs +182 -1
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1429 -125
  4. package/dist/index.cjs +182 -1
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-credential.d.ts +8 -8
  7. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.d.ts +2 -2
  8. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +28 -28
  9. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +12 -12
  10. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +16 -16
  11. package/lib/seam/connect/models/batch.d.ts +1196 -131
  12. package/lib/seam/connect/models/devices/device-metadata.d.ts +95 -0
  13. package/lib/seam/connect/models/devices/device-metadata.js +62 -0
  14. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  15. package/lib/seam/connect/models/devices/device-type.d.ts +8 -1
  16. package/lib/seam/connect/models/devices/device-type.js +8 -0
  17. package/lib/seam/connect/models/devices/device-type.js.map +1 -1
  18. package/lib/seam/connect/models/devices/device.d.ts +136 -3
  19. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +98 -3
  20. package/lib/seam/connect/models/events/access-methods.d.ts +12 -0
  21. package/lib/seam/connect/models/events/access-methods.js +8 -0
  22. package/lib/seam/connect/models/events/access-methods.js.map +1 -1
  23. package/lib/seam/connect/models/events/seam-event.d.ts +6 -0
  24. package/lib/seam/connect/models/phones/phone-session.d.ts +14 -14
  25. package/lib/seam/connect/openapi.d.ts +128 -0
  26. package/lib/seam/connect/openapi.js +148 -0
  27. package/lib/seam/connect/openapi.js.map +1 -1
  28. package/lib/seam/connect/route-types.d.ts +691 -25
  29. package/package.json +1 -1
  30. package/src/lib/seam/connect/models/devices/device-metadata.ts +62 -0
  31. package/src/lib/seam/connect/models/devices/device-type.ts +18 -0
  32. package/src/lib/seam/connect/models/events/access-methods.ts +12 -0
  33. package/src/lib/seam/connect/openapi.ts +162 -0
  34. package/src/lib/seam/connect/route-types.ts +691 -0
@@ -11480,6 +11480,7 @@ export type Routes = {
11480
11480
  | 'tedee_lock'
11481
11481
  | 'akiles_lock'
11482
11482
  )
11483
+ | 'keynest_key'
11483
11484
  | ('noiseaware_activity_zone' | 'minut_sensor')
11484
11485
  | (
11485
11486
  | 'ecobee_thermostat'
@@ -12126,8 +12127,46 @@ export type Routes = {
12126
12127
  /** Metadata for a KeyNest device. */
12127
12128
  keynest_metadata?:
12128
12129
  | {
12130
+ /** Key ID for a KeyNest device. */
12131
+ key_id?: string | undefined
12129
12132
  /** Device name for a KeyNest device. */
12130
12133
  device_name?: string | undefined
12134
+ /** Property ID for a KeyNest device. */
12135
+ property_id?: (string | null) | undefined
12136
+ /** Property postcode for a KeyNest device. */
12137
+ property_postcode?: (string | null) | undefined
12138
+ /** Key notes for a KeyNest device. */
12139
+ key_notes?: (string | null) | undefined
12140
+ /** Subscription plan for a KeyNest device. */
12141
+ subscription_plan?: string | undefined
12142
+ /** Status type for a KeyNest device. */
12143
+ status_type?: string | undefined
12144
+ /** Current or last store ID for a KeyNest device. */
12145
+ current_or_last_store_id?: number | undefined
12146
+ /** Last movement timestamp for a KeyNest device. */
12147
+ last_movement?: string | undefined
12148
+ /** Address for a KeyNest device. */
12149
+ address?: (string | null) | undefined
12150
+ /** Current status for a KeyNest device. */
12151
+ current_status?: (string | null) | undefined
12152
+ /** Current user name for a KeyNest device. */
12153
+ current_user_name?: (string | null) | undefined
12154
+ /** Current user email for a KeyNest device. */
12155
+ current_user_email?: (string | null) | undefined
12156
+ /** Current user phone number for a KeyNest device. */
12157
+ current_user_phone_number?: (string | null) | undefined
12158
+ /** Current user company for a KeyNest device. */
12159
+ current_user_company?: (string | null) | undefined
12160
+ /** Handover method for a KeyNest device. */
12161
+ handover_method?: (string | null) | undefined
12162
+ /** KeyNest app user for a KeyNest device. */
12163
+ keynest_app_user?: (string | null) | undefined
12164
+ /** Default office ID for a KeyNest device. */
12165
+ default_office_id?: number | undefined
12166
+ /** Fob ID for a KeyNest device. */
12167
+ fob_id?: number | undefined
12168
+ /** Whether the KeyNest device has a photo. */
12169
+ has_photo?: boolean | undefined
12131
12170
  }
12132
12171
  | undefined
12133
12172
  }) &
@@ -15277,6 +15316,7 @@ export type Routes = {
15277
15316
  | 'tedee_lock'
15278
15317
  | 'akiles_lock'
15279
15318
  )
15319
+ | 'keynest_key'
15280
15320
  | ('noiseaware_activity_zone' | 'minut_sensor')
15281
15321
  | (
15282
15322
  | 'ecobee_thermostat'
@@ -15923,8 +15963,46 @@ export type Routes = {
15923
15963
  /** Metadata for a KeyNest device. */
15924
15964
  keynest_metadata?:
15925
15965
  | {
15966
+ /** Key ID for a KeyNest device. */
15967
+ key_id?: string | undefined
15926
15968
  /** Device name for a KeyNest device. */
15927
15969
  device_name?: string | undefined
15970
+ /** Property ID for a KeyNest device. */
15971
+ property_id?: (string | null) | undefined
15972
+ /** Property postcode for a KeyNest device. */
15973
+ property_postcode?: (string | null) | undefined
15974
+ /** Key notes for a KeyNest device. */
15975
+ key_notes?: (string | null) | undefined
15976
+ /** Subscription plan for a KeyNest device. */
15977
+ subscription_plan?: string | undefined
15978
+ /** Status type for a KeyNest device. */
15979
+ status_type?: string | undefined
15980
+ /** Current or last store ID for a KeyNest device. */
15981
+ current_or_last_store_id?: number | undefined
15982
+ /** Last movement timestamp for a KeyNest device. */
15983
+ last_movement?: string | undefined
15984
+ /** Address for a KeyNest device. */
15985
+ address?: (string | null) | undefined
15986
+ /** Current status for a KeyNest device. */
15987
+ current_status?: (string | null) | undefined
15988
+ /** Current user name for a KeyNest device. */
15989
+ current_user_name?: (string | null) | undefined
15990
+ /** Current user email for a KeyNest device. */
15991
+ current_user_email?: (string | null) | undefined
15992
+ /** Current user phone number for a KeyNest device. */
15993
+ current_user_phone_number?: (string | null) | undefined
15994
+ /** Current user company for a KeyNest device. */
15995
+ current_user_company?: (string | null) | undefined
15996
+ /** Handover method for a KeyNest device. */
15997
+ handover_method?: (string | null) | undefined
15998
+ /** KeyNest app user for a KeyNest device. */
15999
+ keynest_app_user?: (string | null) | undefined
16000
+ /** Default office ID for a KeyNest device. */
16001
+ default_office_id?: number | undefined
16002
+ /** Fob ID for a KeyNest device. */
16003
+ fob_id?: number | undefined
16004
+ /** Whether the KeyNest device has a photo. */
16005
+ has_photo?: boolean | undefined
15928
16006
  }
15929
16007
  | undefined
15930
16008
  }) &
@@ -19516,6 +19594,7 @@ export type Routes = {
19516
19594
  | 'tedee_lock'
19517
19595
  | 'akiles_lock'
19518
19596
  )
19597
+ | 'keynest_key'
19519
19598
  | ('noiseaware_activity_zone' | 'minut_sensor')
19520
19599
  | (
19521
19600
  | 'ecobee_thermostat'
@@ -20680,6 +20759,8 @@ export type Routes = {
20680
20759
  event_type: 'access_method.issued'
20681
20760
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
20682
20761
  code?: string | undefined
20762
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
20763
+ is_backup_code?: boolean | undefined
20683
20764
  }
20684
20765
  | {
20685
20766
  /** ID of the event. */
@@ -20750,6 +20831,8 @@ export type Routes = {
20750
20831
  event_type: 'access_method.reissued'
20751
20832
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
20752
20833
  code?: string | undefined
20834
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
20835
+ is_backup_code?: boolean | undefined
20753
20836
  }
20754
20837
  | {
20755
20838
  /** ID of the event. */
@@ -36888,6 +36971,7 @@ export type Routes = {
36888
36971
  | 'tedee_lock'
36889
36972
  | 'akiles_lock'
36890
36973
  )
36974
+ | 'keynest_key'
36891
36975
  | ('noiseaware_activity_zone' | 'minut_sensor')
36892
36976
  | (
36893
36977
  | 'ecobee_thermostat'
@@ -37534,8 +37618,46 @@ export type Routes = {
37534
37618
  /** Metadata for a KeyNest device. */
37535
37619
  keynest_metadata?:
37536
37620
  | {
37621
+ /** Key ID for a KeyNest device. */
37622
+ key_id?: string | undefined
37537
37623
  /** Device name for a KeyNest device. */
37538
37624
  device_name?: string | undefined
37625
+ /** Property ID for a KeyNest device. */
37626
+ property_id?: (string | null) | undefined
37627
+ /** Property postcode for a KeyNest device. */
37628
+ property_postcode?: (string | null) | undefined
37629
+ /** Key notes for a KeyNest device. */
37630
+ key_notes?: (string | null) | undefined
37631
+ /** Subscription plan for a KeyNest device. */
37632
+ subscription_plan?: string | undefined
37633
+ /** Status type for a KeyNest device. */
37634
+ status_type?: string | undefined
37635
+ /** Current or last store ID for a KeyNest device. */
37636
+ current_or_last_store_id?: number | undefined
37637
+ /** Last movement timestamp for a KeyNest device. */
37638
+ last_movement?: string | undefined
37639
+ /** Address for a KeyNest device. */
37640
+ address?: (string | null) | undefined
37641
+ /** Current status for a KeyNest device. */
37642
+ current_status?: (string | null) | undefined
37643
+ /** Current user name for a KeyNest device. */
37644
+ current_user_name?: (string | null) | undefined
37645
+ /** Current user email for a KeyNest device. */
37646
+ current_user_email?: (string | null) | undefined
37647
+ /** Current user phone number for a KeyNest device. */
37648
+ current_user_phone_number?: (string | null) | undefined
37649
+ /** Current user company for a KeyNest device. */
37650
+ current_user_company?: (string | null) | undefined
37651
+ /** Handover method for a KeyNest device. */
37652
+ handover_method?: (string | null) | undefined
37653
+ /** KeyNest app user for a KeyNest device. */
37654
+ keynest_app_user?: (string | null) | undefined
37655
+ /** Default office ID for a KeyNest device. */
37656
+ default_office_id?: number | undefined
37657
+ /** Fob ID for a KeyNest device. */
37658
+ fob_id?: number | undefined
37659
+ /** Whether the KeyNest device has a photo. */
37660
+ has_photo?: boolean | undefined
37539
37661
  }
37540
37662
  | undefined
37541
37663
  }) &
@@ -38377,6 +38499,7 @@ export type Routes = {
38377
38499
  | 'tedee_lock'
38378
38500
  | 'akiles_lock'
38379
38501
  )
38502
+ | 'keynest_key'
38380
38503
  | ('noiseaware_activity_zone' | 'minut_sensor')
38381
38504
  | (
38382
38505
  | 'ecobee_thermostat'
@@ -38421,6 +38544,7 @@ export type Routes = {
38421
38544
  | 'tedee_lock'
38422
38545
  | 'akiles_lock'
38423
38546
  )
38547
+ | 'keynest_key'
38424
38548
  | ('noiseaware_activity_zone' | 'minut_sensor')
38425
38549
  | (
38426
38550
  | 'ecobee_thermostat'
@@ -38580,6 +38704,7 @@ export type Routes = {
38580
38704
  | 'tedee_lock'
38581
38705
  | 'akiles_lock'
38582
38706
  )
38707
+ | 'keynest_key'
38583
38708
  | ('noiseaware_activity_zone' | 'minut_sensor')
38584
38709
  | (
38585
38710
  | 'ecobee_thermostat'
@@ -39226,8 +39351,46 @@ export type Routes = {
39226
39351
  /** Metadata for a KeyNest device. */
39227
39352
  keynest_metadata?:
39228
39353
  | {
39354
+ /** Key ID for a KeyNest device. */
39355
+ key_id?: string | undefined
39229
39356
  /** Device name for a KeyNest device. */
39230
39357
  device_name?: string | undefined
39358
+ /** Property ID for a KeyNest device. */
39359
+ property_id?: (string | null) | undefined
39360
+ /** Property postcode for a KeyNest device. */
39361
+ property_postcode?: (string | null) | undefined
39362
+ /** Key notes for a KeyNest device. */
39363
+ key_notes?: (string | null) | undefined
39364
+ /** Subscription plan for a KeyNest device. */
39365
+ subscription_plan?: string | undefined
39366
+ /** Status type for a KeyNest device. */
39367
+ status_type?: string | undefined
39368
+ /** Current or last store ID for a KeyNest device. */
39369
+ current_or_last_store_id?: number | undefined
39370
+ /** Last movement timestamp for a KeyNest device. */
39371
+ last_movement?: string | undefined
39372
+ /** Address for a KeyNest device. */
39373
+ address?: (string | null) | undefined
39374
+ /** Current status for a KeyNest device. */
39375
+ current_status?: (string | null) | undefined
39376
+ /** Current user name for a KeyNest device. */
39377
+ current_user_name?: (string | null) | undefined
39378
+ /** Current user email for a KeyNest device. */
39379
+ current_user_email?: (string | null) | undefined
39380
+ /** Current user phone number for a KeyNest device. */
39381
+ current_user_phone_number?: (string | null) | undefined
39382
+ /** Current user company for a KeyNest device. */
39383
+ current_user_company?: (string | null) | undefined
39384
+ /** Handover method for a KeyNest device. */
39385
+ handover_method?: (string | null) | undefined
39386
+ /** KeyNest app user for a KeyNest device. */
39387
+ keynest_app_user?: (string | null) | undefined
39388
+ /** Default office ID for a KeyNest device. */
39389
+ default_office_id?: number | undefined
39390
+ /** Fob ID for a KeyNest device. */
39391
+ fob_id?: number | undefined
39392
+ /** Whether the KeyNest device has a photo. */
39393
+ has_photo?: boolean | undefined
39231
39394
  }
39232
39395
  | undefined
39233
39396
  }) &
@@ -40250,6 +40413,7 @@ export type Routes = {
40250
40413
  | 'tedee_lock'
40251
40414
  | 'akiles_lock'
40252
40415
  )
40416
+ | 'keynest_key'
40253
40417
  | ('noiseaware_activity_zone' | 'minut_sensor')
40254
40418
  | (
40255
40419
  | 'ecobee_thermostat'
@@ -40742,6 +40906,7 @@ export type Routes = {
40742
40906
  | 'tedee_lock'
40743
40907
  | 'akiles_lock'
40744
40908
  )
40909
+ | 'keynest_key'
40745
40910
  | ('noiseaware_activity_zone' | 'minut_sensor')
40746
40911
  | (
40747
40912
  | 'ecobee_thermostat'
@@ -40786,6 +40951,7 @@ export type Routes = {
40786
40951
  | 'tedee_lock'
40787
40952
  | 'akiles_lock'
40788
40953
  )
40954
+ | 'keynest_key'
40789
40955
  | ('noiseaware_activity_zone' | 'minut_sensor')
40790
40956
  | (
40791
40957
  | 'ecobee_thermostat'
@@ -40945,6 +41111,7 @@ export type Routes = {
40945
41111
  | 'tedee_lock'
40946
41112
  | 'akiles_lock'
40947
41113
  )
41114
+ | 'keynest_key'
40948
41115
  | ('noiseaware_activity_zone' | 'minut_sensor')
40949
41116
  | (
40950
41117
  | 'ecobee_thermostat'
@@ -42046,6 +42213,8 @@ export type Routes = {
42046
42213
  event_type: 'access_method.issued'
42047
42214
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
42048
42215
  code?: string | undefined
42216
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
42217
+ is_backup_code?: boolean | undefined
42049
42218
  }
42050
42219
  | {
42051
42220
  /** ID of the event. */
@@ -42116,6 +42285,8 @@ export type Routes = {
42116
42285
  event_type: 'access_method.reissued'
42117
42286
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
42118
42287
  code?: string | undefined
42288
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
42289
+ is_backup_code?: boolean | undefined
42119
42290
  }
42120
42291
  | {
42121
42292
  /** ID of the event. */
@@ -44471,6 +44642,8 @@ export type Routes = {
44471
44642
  event_type: 'access_method.issued'
44472
44643
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
44473
44644
  code?: string | undefined
44645
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
44646
+ is_backup_code?: boolean | undefined
44474
44647
  }
44475
44648
  | {
44476
44649
  /** ID of the event. */
@@ -44541,6 +44714,8 @@ export type Routes = {
44541
44714
  event_type: 'access_method.reissued'
44542
44715
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
44543
44716
  code?: string | undefined
44717
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
44718
+ is_backup_code?: boolean | undefined
44544
44719
  }
44545
44720
  | {
44546
44721
  /** ID of the event. */
@@ -46215,6 +46390,7 @@ export type Routes = {
46215
46390
  | 'tedee_lock'
46216
46391
  | 'akiles_lock'
46217
46392
  )
46393
+ | 'keynest_key'
46218
46394
  | ('noiseaware_activity_zone' | 'minut_sensor')
46219
46395
  | (
46220
46396
  | 'ecobee_thermostat'
@@ -46861,8 +47037,46 @@ export type Routes = {
46861
47037
  /** Metadata for a KeyNest device. */
46862
47038
  keynest_metadata?:
46863
47039
  | {
47040
+ /** Key ID for a KeyNest device. */
47041
+ key_id?: string | undefined
46864
47042
  /** Device name for a KeyNest device. */
46865
47043
  device_name?: string | undefined
47044
+ /** Property ID for a KeyNest device. */
47045
+ property_id?: (string | null) | undefined
47046
+ /** Property postcode for a KeyNest device. */
47047
+ property_postcode?: (string | null) | undefined
47048
+ /** Key notes for a KeyNest device. */
47049
+ key_notes?: (string | null) | undefined
47050
+ /** Subscription plan for a KeyNest device. */
47051
+ subscription_plan?: string | undefined
47052
+ /** Status type for a KeyNest device. */
47053
+ status_type?: string | undefined
47054
+ /** Current or last store ID for a KeyNest device. */
47055
+ current_or_last_store_id?: number | undefined
47056
+ /** Last movement timestamp for a KeyNest device. */
47057
+ last_movement?: string | undefined
47058
+ /** Address for a KeyNest device. */
47059
+ address?: (string | null) | undefined
47060
+ /** Current status for a KeyNest device. */
47061
+ current_status?: (string | null) | undefined
47062
+ /** Current user name for a KeyNest device. */
47063
+ current_user_name?: (string | null) | undefined
47064
+ /** Current user email for a KeyNest device. */
47065
+ current_user_email?: (string | null) | undefined
47066
+ /** Current user phone number for a KeyNest device. */
47067
+ current_user_phone_number?: (string | null) | undefined
47068
+ /** Current user company for a KeyNest device. */
47069
+ current_user_company?: (string | null) | undefined
47070
+ /** Handover method for a KeyNest device. */
47071
+ handover_method?: (string | null) | undefined
47072
+ /** KeyNest app user for a KeyNest device. */
47073
+ keynest_app_user?: (string | null) | undefined
47074
+ /** Default office ID for a KeyNest device. */
47075
+ default_office_id?: number | undefined
47076
+ /** Fob ID for a KeyNest device. */
47077
+ fob_id?: number | undefined
47078
+ /** Whether the KeyNest device has a photo. */
47079
+ has_photo?: boolean | undefined
46866
47080
  }
46867
47081
  | undefined
46868
47082
  }) &
@@ -47691,6 +47905,7 @@ export type Routes = {
47691
47905
  | 'tedee_lock'
47692
47906
  | 'akiles_lock'
47693
47907
  )
47908
+ | 'keynest_key'
47694
47909
  | ('noiseaware_activity_zone' | 'minut_sensor')
47695
47910
  | (
47696
47911
  | 'ecobee_thermostat'
@@ -48337,8 +48552,46 @@ export type Routes = {
48337
48552
  /** Metadata for a KeyNest device. */
48338
48553
  keynest_metadata?:
48339
48554
  | {
48555
+ /** Key ID for a KeyNest device. */
48556
+ key_id?: string | undefined
48340
48557
  /** Device name for a KeyNest device. */
48341
48558
  device_name?: string | undefined
48559
+ /** Property ID for a KeyNest device. */
48560
+ property_id?: (string | null) | undefined
48561
+ /** Property postcode for a KeyNest device. */
48562
+ property_postcode?: (string | null) | undefined
48563
+ /** Key notes for a KeyNest device. */
48564
+ key_notes?: (string | null) | undefined
48565
+ /** Subscription plan for a KeyNest device. */
48566
+ subscription_plan?: string | undefined
48567
+ /** Status type for a KeyNest device. */
48568
+ status_type?: string | undefined
48569
+ /** Current or last store ID for a KeyNest device. */
48570
+ current_or_last_store_id?: number | undefined
48571
+ /** Last movement timestamp for a KeyNest device. */
48572
+ last_movement?: string | undefined
48573
+ /** Address for a KeyNest device. */
48574
+ address?: (string | null) | undefined
48575
+ /** Current status for a KeyNest device. */
48576
+ current_status?: (string | null) | undefined
48577
+ /** Current user name for a KeyNest device. */
48578
+ current_user_name?: (string | null) | undefined
48579
+ /** Current user email for a KeyNest device. */
48580
+ current_user_email?: (string | null) | undefined
48581
+ /** Current user phone number for a KeyNest device. */
48582
+ current_user_phone_number?: (string | null) | undefined
48583
+ /** Current user company for a KeyNest device. */
48584
+ current_user_company?: (string | null) | undefined
48585
+ /** Handover method for a KeyNest device. */
48586
+ handover_method?: (string | null) | undefined
48587
+ /** KeyNest app user for a KeyNest device. */
48588
+ keynest_app_user?: (string | null) | undefined
48589
+ /** Default office ID for a KeyNest device. */
48590
+ default_office_id?: number | undefined
48591
+ /** Fob ID for a KeyNest device. */
48592
+ fob_id?: number | undefined
48593
+ /** Whether the KeyNest device has a photo. */
48594
+ has_photo?: boolean | undefined
48342
48595
  }
48343
48596
  | undefined
48344
48597
  }) &
@@ -49347,6 +49600,7 @@ export type Routes = {
49347
49600
  | 'tedee_lock'
49348
49601
  | 'akiles_lock'
49349
49602
  )
49603
+ | 'keynest_key'
49350
49604
  | ('noiseaware_activity_zone' | 'minut_sensor')
49351
49605
  | (
49352
49606
  | 'ecobee_thermostat'
@@ -49993,8 +50247,46 @@ export type Routes = {
49993
50247
  /** Metadata for a KeyNest device. */
49994
50248
  keynest_metadata?:
49995
50249
  | {
50250
+ /** Key ID for a KeyNest device. */
50251
+ key_id?: string | undefined
49996
50252
  /** Device name for a KeyNest device. */
49997
50253
  device_name?: string | undefined
50254
+ /** Property ID for a KeyNest device. */
50255
+ property_id?: (string | null) | undefined
50256
+ /** Property postcode for a KeyNest device. */
50257
+ property_postcode?: (string | null) | undefined
50258
+ /** Key notes for a KeyNest device. */
50259
+ key_notes?: (string | null) | undefined
50260
+ /** Subscription plan for a KeyNest device. */
50261
+ subscription_plan?: string | undefined
50262
+ /** Status type for a KeyNest device. */
50263
+ status_type?: string | undefined
50264
+ /** Current or last store ID for a KeyNest device. */
50265
+ current_or_last_store_id?: number | undefined
50266
+ /** Last movement timestamp for a KeyNest device. */
50267
+ last_movement?: string | undefined
50268
+ /** Address for a KeyNest device. */
50269
+ address?: (string | null) | undefined
50270
+ /** Current status for a KeyNest device. */
50271
+ current_status?: (string | null) | undefined
50272
+ /** Current user name for a KeyNest device. */
50273
+ current_user_name?: (string | null) | undefined
50274
+ /** Current user email for a KeyNest device. */
50275
+ current_user_email?: (string | null) | undefined
50276
+ /** Current user phone number for a KeyNest device. */
50277
+ current_user_phone_number?: (string | null) | undefined
50278
+ /** Current user company for a KeyNest device. */
50279
+ current_user_company?: (string | null) | undefined
50280
+ /** Handover method for a KeyNest device. */
50281
+ handover_method?: (string | null) | undefined
50282
+ /** KeyNest app user for a KeyNest device. */
50283
+ keynest_app_user?: (string | null) | undefined
50284
+ /** Default office ID for a KeyNest device. */
50285
+ default_office_id?: number | undefined
50286
+ /** Fob ID for a KeyNest device. */
50287
+ fob_id?: number | undefined
50288
+ /** Whether the KeyNest device has a photo. */
50289
+ has_photo?: boolean | undefined
49998
50290
  }
49999
50291
  | undefined
50000
50292
  }) &
@@ -50822,6 +51114,7 @@ export type Routes = {
50822
51114
  | 'tedee_lock'
50823
51115
  | 'akiles_lock'
50824
51116
  )
51117
+ | 'keynest_key'
50825
51118
  | ('noiseaware_activity_zone' | 'minut_sensor')
50826
51119
  | (
50827
51120
  | 'ecobee_thermostat'
@@ -51468,8 +51761,46 @@ export type Routes = {
51468
51761
  /** Metadata for a KeyNest device. */
51469
51762
  keynest_metadata?:
51470
51763
  | {
51764
+ /** Key ID for a KeyNest device. */
51765
+ key_id?: string | undefined
51471
51766
  /** Device name for a KeyNest device. */
51472
51767
  device_name?: string | undefined
51768
+ /** Property ID for a KeyNest device. */
51769
+ property_id?: (string | null) | undefined
51770
+ /** Property postcode for a KeyNest device. */
51771
+ property_postcode?: (string | null) | undefined
51772
+ /** Key notes for a KeyNest device. */
51773
+ key_notes?: (string | null) | undefined
51774
+ /** Subscription plan for a KeyNest device. */
51775
+ subscription_plan?: string | undefined
51776
+ /** Status type for a KeyNest device. */
51777
+ status_type?: string | undefined
51778
+ /** Current or last store ID for a KeyNest device. */
51779
+ current_or_last_store_id?: number | undefined
51780
+ /** Last movement timestamp for a KeyNest device. */
51781
+ last_movement?: string | undefined
51782
+ /** Address for a KeyNest device. */
51783
+ address?: (string | null) | undefined
51784
+ /** Current status for a KeyNest device. */
51785
+ current_status?: (string | null) | undefined
51786
+ /** Current user name for a KeyNest device. */
51787
+ current_user_name?: (string | null) | undefined
51788
+ /** Current user email for a KeyNest device. */
51789
+ current_user_email?: (string | null) | undefined
51790
+ /** Current user phone number for a KeyNest device. */
51791
+ current_user_phone_number?: (string | null) | undefined
51792
+ /** Current user company for a KeyNest device. */
51793
+ current_user_company?: (string | null) | undefined
51794
+ /** Handover method for a KeyNest device. */
51795
+ handover_method?: (string | null) | undefined
51796
+ /** KeyNest app user for a KeyNest device. */
51797
+ keynest_app_user?: (string | null) | undefined
51798
+ /** Default office ID for a KeyNest device. */
51799
+ default_office_id?: number | undefined
51800
+ /** Fob ID for a KeyNest device. */
51801
+ fob_id?: number | undefined
51802
+ /** Whether the KeyNest device has a photo. */
51803
+ has_photo?: boolean | undefined
51473
51804
  }
51474
51805
  | undefined
51475
51806
  }) &
@@ -58181,6 +58512,7 @@ export type Routes = {
58181
58512
  | 'tedee_lock'
58182
58513
  | 'akiles_lock'
58183
58514
  )
58515
+ | 'keynest_key'
58184
58516
  | ('noiseaware_activity_zone' | 'minut_sensor')
58185
58517
  | (
58186
58518
  | 'ecobee_thermostat'
@@ -58827,8 +59159,46 @@ export type Routes = {
58827
59159
  /** Metadata for a KeyNest device. */
58828
59160
  keynest_metadata?:
58829
59161
  | {
59162
+ /** Key ID for a KeyNest device. */
59163
+ key_id?: string | undefined
58830
59164
  /** Device name for a KeyNest device. */
58831
59165
  device_name?: string | undefined
59166
+ /** Property ID for a KeyNest device. */
59167
+ property_id?: (string | null) | undefined
59168
+ /** Property postcode for a KeyNest device. */
59169
+ property_postcode?: (string | null) | undefined
59170
+ /** Key notes for a KeyNest device. */
59171
+ key_notes?: (string | null) | undefined
59172
+ /** Subscription plan for a KeyNest device. */
59173
+ subscription_plan?: string | undefined
59174
+ /** Status type for a KeyNest device. */
59175
+ status_type?: string | undefined
59176
+ /** Current or last store ID for a KeyNest device. */
59177
+ current_or_last_store_id?: number | undefined
59178
+ /** Last movement timestamp for a KeyNest device. */
59179
+ last_movement?: string | undefined
59180
+ /** Address for a KeyNest device. */
59181
+ address?: (string | null) | undefined
59182
+ /** Current status for a KeyNest device. */
59183
+ current_status?: (string | null) | undefined
59184
+ /** Current user name for a KeyNest device. */
59185
+ current_user_name?: (string | null) | undefined
59186
+ /** Current user email for a KeyNest device. */
59187
+ current_user_email?: (string | null) | undefined
59188
+ /** Current user phone number for a KeyNest device. */
59189
+ current_user_phone_number?: (string | null) | undefined
59190
+ /** Current user company for a KeyNest device. */
59191
+ current_user_company?: (string | null) | undefined
59192
+ /** Handover method for a KeyNest device. */
59193
+ handover_method?: (string | null) | undefined
59194
+ /** KeyNest app user for a KeyNest device. */
59195
+ keynest_app_user?: (string | null) | undefined
59196
+ /** Default office ID for a KeyNest device. */
59197
+ default_office_id?: number | undefined
59198
+ /** Fob ID for a KeyNest device. */
59199
+ fob_id?: number | undefined
59200
+ /** Whether the KeyNest device has a photo. */
59201
+ has_photo?: boolean | undefined
58832
59202
  }
58833
59203
  | undefined
58834
59204
  }) &
@@ -59656,6 +60026,7 @@ export type Routes = {
59656
60026
  | 'tedee_lock'
59657
60027
  | 'akiles_lock'
59658
60028
  )
60029
+ | 'keynest_key'
59659
60030
  | ('noiseaware_activity_zone' | 'minut_sensor')
59660
60031
  | (
59661
60032
  | 'ecobee_thermostat'
@@ -60302,8 +60673,46 @@ export type Routes = {
60302
60673
  /** Metadata for a KeyNest device. */
60303
60674
  keynest_metadata?:
60304
60675
  | {
60676
+ /** Key ID for a KeyNest device. */
60677
+ key_id?: string | undefined
60305
60678
  /** Device name for a KeyNest device. */
60306
60679
  device_name?: string | undefined
60680
+ /** Property ID for a KeyNest device. */
60681
+ property_id?: (string | null) | undefined
60682
+ /** Property postcode for a KeyNest device. */
60683
+ property_postcode?: (string | null) | undefined
60684
+ /** Key notes for a KeyNest device. */
60685
+ key_notes?: (string | null) | undefined
60686
+ /** Subscription plan for a KeyNest device. */
60687
+ subscription_plan?: string | undefined
60688
+ /** Status type for a KeyNest device. */
60689
+ status_type?: string | undefined
60690
+ /** Current or last store ID for a KeyNest device. */
60691
+ current_or_last_store_id?: number | undefined
60692
+ /** Last movement timestamp for a KeyNest device. */
60693
+ last_movement?: string | undefined
60694
+ /** Address for a KeyNest device. */
60695
+ address?: (string | null) | undefined
60696
+ /** Current status for a KeyNest device. */
60697
+ current_status?: (string | null) | undefined
60698
+ /** Current user name for a KeyNest device. */
60699
+ current_user_name?: (string | null) | undefined
60700
+ /** Current user email for a KeyNest device. */
60701
+ current_user_email?: (string | null) | undefined
60702
+ /** Current user phone number for a KeyNest device. */
60703
+ current_user_phone_number?: (string | null) | undefined
60704
+ /** Current user company for a KeyNest device. */
60705
+ current_user_company?: (string | null) | undefined
60706
+ /** Handover method for a KeyNest device. */
60707
+ handover_method?: (string | null) | undefined
60708
+ /** KeyNest app user for a KeyNest device. */
60709
+ keynest_app_user?: (string | null) | undefined
60710
+ /** Default office ID for a KeyNest device. */
60711
+ default_office_id?: number | undefined
60712
+ /** Fob ID for a KeyNest device. */
60713
+ fob_id?: number | undefined
60714
+ /** Whether the KeyNest device has a photo. */
60715
+ has_photo?: boolean | undefined
60307
60716
  }
60308
60717
  | undefined
60309
60718
  }) &
@@ -67201,6 +67610,8 @@ export type Routes = {
67201
67610
  event_type: 'access_method.issued'
67202
67611
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
67203
67612
  code?: string | undefined
67613
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
67614
+ is_backup_code?: boolean | undefined
67204
67615
  }
67205
67616
  | {
67206
67617
  /** ID of the event. */
@@ -67271,6 +67682,8 @@ export type Routes = {
67271
67682
  event_type: 'access_method.reissued'
67272
67683
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
67273
67684
  code?: string | undefined
67685
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
67686
+ is_backup_code?: boolean | undefined
67274
67687
  }
67275
67688
  | {
67276
67689
  /** ID of the event. */
@@ -69827,6 +70240,7 @@ export type Routes = {
69827
70240
  | 'tedee_lock'
69828
70241
  | 'akiles_lock'
69829
70242
  )
70243
+ | 'keynest_key'
69830
70244
  | ('noiseaware_activity_zone' | 'minut_sensor')
69831
70245
  | (
69832
70246
  | 'ecobee_thermostat'
@@ -70473,8 +70887,46 @@ export type Routes = {
70473
70887
  /** Metadata for a KeyNest device. */
70474
70888
  keynest_metadata?:
70475
70889
  | {
70890
+ /** Key ID for a KeyNest device. */
70891
+ key_id?: string | undefined
70476
70892
  /** Device name for a KeyNest device. */
70477
70893
  device_name?: string | undefined
70894
+ /** Property ID for a KeyNest device. */
70895
+ property_id?: (string | null) | undefined
70896
+ /** Property postcode for a KeyNest device. */
70897
+ property_postcode?: (string | null) | undefined
70898
+ /** Key notes for a KeyNest device. */
70899
+ key_notes?: (string | null) | undefined
70900
+ /** Subscription plan for a KeyNest device. */
70901
+ subscription_plan?: string | undefined
70902
+ /** Status type for a KeyNest device. */
70903
+ status_type?: string | undefined
70904
+ /** Current or last store ID for a KeyNest device. */
70905
+ current_or_last_store_id?: number | undefined
70906
+ /** Last movement timestamp for a KeyNest device. */
70907
+ last_movement?: string | undefined
70908
+ /** Address for a KeyNest device. */
70909
+ address?: (string | null) | undefined
70910
+ /** Current status for a KeyNest device. */
70911
+ current_status?: (string | null) | undefined
70912
+ /** Current user name for a KeyNest device. */
70913
+ current_user_name?: (string | null) | undefined
70914
+ /** Current user email for a KeyNest device. */
70915
+ current_user_email?: (string | null) | undefined
70916
+ /** Current user phone number for a KeyNest device. */
70917
+ current_user_phone_number?: (string | null) | undefined
70918
+ /** Current user company for a KeyNest device. */
70919
+ current_user_company?: (string | null) | undefined
70920
+ /** Handover method for a KeyNest device. */
70921
+ handover_method?: (string | null) | undefined
70922
+ /** KeyNest app user for a KeyNest device. */
70923
+ keynest_app_user?: (string | null) | undefined
70924
+ /** Default office ID for a KeyNest device. */
70925
+ default_office_id?: number | undefined
70926
+ /** Fob ID for a KeyNest device. */
70927
+ fob_id?: number | undefined
70928
+ /** Whether the KeyNest device has a photo. */
70929
+ has_photo?: boolean | undefined
70478
70930
  }
70479
70931
  | undefined
70480
70932
  }) &
@@ -76389,6 +76841,7 @@ export type Routes = {
76389
76841
  | 'tedee_lock'
76390
76842
  | 'akiles_lock'
76391
76843
  )
76844
+ | 'keynest_key'
76392
76845
  | ('noiseaware_activity_zone' | 'minut_sensor')
76393
76846
  | (
76394
76847
  | 'ecobee_thermostat'
@@ -77035,8 +77488,46 @@ export type Routes = {
77035
77488
  /** Metadata for a KeyNest device. */
77036
77489
  keynest_metadata?:
77037
77490
  | {
77491
+ /** Key ID for a KeyNest device. */
77492
+ key_id?: string | undefined
77038
77493
  /** Device name for a KeyNest device. */
77039
77494
  device_name?: string | undefined
77495
+ /** Property ID for a KeyNest device. */
77496
+ property_id?: (string | null) | undefined
77497
+ /** Property postcode for a KeyNest device. */
77498
+ property_postcode?: (string | null) | undefined
77499
+ /** Key notes for a KeyNest device. */
77500
+ key_notes?: (string | null) | undefined
77501
+ /** Subscription plan for a KeyNest device. */
77502
+ subscription_plan?: string | undefined
77503
+ /** Status type for a KeyNest device. */
77504
+ status_type?: string | undefined
77505
+ /** Current or last store ID for a KeyNest device. */
77506
+ current_or_last_store_id?: number | undefined
77507
+ /** Last movement timestamp for a KeyNest device. */
77508
+ last_movement?: string | undefined
77509
+ /** Address for a KeyNest device. */
77510
+ address?: (string | null) | undefined
77511
+ /** Current status for a KeyNest device. */
77512
+ current_status?: (string | null) | undefined
77513
+ /** Current user name for a KeyNest device. */
77514
+ current_user_name?: (string | null) | undefined
77515
+ /** Current user email for a KeyNest device. */
77516
+ current_user_email?: (string | null) | undefined
77517
+ /** Current user phone number for a KeyNest device. */
77518
+ current_user_phone_number?: (string | null) | undefined
77519
+ /** Current user company for a KeyNest device. */
77520
+ current_user_company?: (string | null) | undefined
77521
+ /** Handover method for a KeyNest device. */
77522
+ handover_method?: (string | null) | undefined
77523
+ /** KeyNest app user for a KeyNest device. */
77524
+ keynest_app_user?: (string | null) | undefined
77525
+ /** Default office ID for a KeyNest device. */
77526
+ default_office_id?: number | undefined
77527
+ /** Fob ID for a KeyNest device. */
77528
+ fob_id?: number | undefined
77529
+ /** Whether the KeyNest device has a photo. */
77530
+ has_photo?: boolean | undefined
77040
77531
  }
77041
77532
  | undefined
77042
77533
  }) &
@@ -80891,6 +81382,7 @@ export type Routes = {
80891
81382
  | 'tedee_lock'
80892
81383
  | 'akiles_lock'
80893
81384
  )
81385
+ | 'keynest_key'
80894
81386
  | ('noiseaware_activity_zone' | 'minut_sensor')
80895
81387
  | (
80896
81388
  | 'ecobee_thermostat'
@@ -81537,8 +82029,46 @@ export type Routes = {
81537
82029
  /** Metadata for a KeyNest device. */
81538
82030
  keynest_metadata?:
81539
82031
  | {
82032
+ /** Key ID for a KeyNest device. */
82033
+ key_id?: string | undefined
81540
82034
  /** Device name for a KeyNest device. */
81541
82035
  device_name?: string | undefined
82036
+ /** Property ID for a KeyNest device. */
82037
+ property_id?: (string | null) | undefined
82038
+ /** Property postcode for a KeyNest device. */
82039
+ property_postcode?: (string | null) | undefined
82040
+ /** Key notes for a KeyNest device. */
82041
+ key_notes?: (string | null) | undefined
82042
+ /** Subscription plan for a KeyNest device. */
82043
+ subscription_plan?: string | undefined
82044
+ /** Status type for a KeyNest device. */
82045
+ status_type?: string | undefined
82046
+ /** Current or last store ID for a KeyNest device. */
82047
+ current_or_last_store_id?: number | undefined
82048
+ /** Last movement timestamp for a KeyNest device. */
82049
+ last_movement?: string | undefined
82050
+ /** Address for a KeyNest device. */
82051
+ address?: (string | null) | undefined
82052
+ /** Current status for a KeyNest device. */
82053
+ current_status?: (string | null) | undefined
82054
+ /** Current user name for a KeyNest device. */
82055
+ current_user_name?: (string | null) | undefined
82056
+ /** Current user email for a KeyNest device. */
82057
+ current_user_email?: (string | null) | undefined
82058
+ /** Current user phone number for a KeyNest device. */
82059
+ current_user_phone_number?: (string | null) | undefined
82060
+ /** Current user company for a KeyNest device. */
82061
+ current_user_company?: (string | null) | undefined
82062
+ /** Handover method for a KeyNest device. */
82063
+ handover_method?: (string | null) | undefined
82064
+ /** KeyNest app user for a KeyNest device. */
82065
+ keynest_app_user?: (string | null) | undefined
82066
+ /** Default office ID for a KeyNest device. */
82067
+ default_office_id?: number | undefined
82068
+ /** Fob ID for a KeyNest device. */
82069
+ fob_id?: number | undefined
82070
+ /** Whether the KeyNest device has a photo. */
82071
+ has_photo?: boolean | undefined
81542
82072
  }
81543
82073
  | undefined
81544
82074
  }) &
@@ -82366,6 +82896,7 @@ export type Routes = {
82366
82896
  | 'tedee_lock'
82367
82897
  | 'akiles_lock'
82368
82898
  )
82899
+ | 'keynest_key'
82369
82900
  | ('noiseaware_activity_zone' | 'minut_sensor')
82370
82901
  | (
82371
82902
  | 'ecobee_thermostat'
@@ -83012,8 +83543,46 @@ export type Routes = {
83012
83543
  /** Metadata for a KeyNest device. */
83013
83544
  keynest_metadata?:
83014
83545
  | {
83546
+ /** Key ID for a KeyNest device. */
83547
+ key_id?: string | undefined
83015
83548
  /** Device name for a KeyNest device. */
83016
83549
  device_name?: string | undefined
83550
+ /** Property ID for a KeyNest device. */
83551
+ property_id?: (string | null) | undefined
83552
+ /** Property postcode for a KeyNest device. */
83553
+ property_postcode?: (string | null) | undefined
83554
+ /** Key notes for a KeyNest device. */
83555
+ key_notes?: (string | null) | undefined
83556
+ /** Subscription plan for a KeyNest device. */
83557
+ subscription_plan?: string | undefined
83558
+ /** Status type for a KeyNest device. */
83559
+ status_type?: string | undefined
83560
+ /** Current or last store ID for a KeyNest device. */
83561
+ current_or_last_store_id?: number | undefined
83562
+ /** Last movement timestamp for a KeyNest device. */
83563
+ last_movement?: string | undefined
83564
+ /** Address for a KeyNest device. */
83565
+ address?: (string | null) | undefined
83566
+ /** Current status for a KeyNest device. */
83567
+ current_status?: (string | null) | undefined
83568
+ /** Current user name for a KeyNest device. */
83569
+ current_user_name?: (string | null) | undefined
83570
+ /** Current user email for a KeyNest device. */
83571
+ current_user_email?: (string | null) | undefined
83572
+ /** Current user phone number for a KeyNest device. */
83573
+ current_user_phone_number?: (string | null) | undefined
83574
+ /** Current user company for a KeyNest device. */
83575
+ current_user_company?: (string | null) | undefined
83576
+ /** Handover method for a KeyNest device. */
83577
+ handover_method?: (string | null) | undefined
83578
+ /** KeyNest app user for a KeyNest device. */
83579
+ keynest_app_user?: (string | null) | undefined
83580
+ /** Default office ID for a KeyNest device. */
83581
+ default_office_id?: number | undefined
83582
+ /** Fob ID for a KeyNest device. */
83583
+ fob_id?: number | undefined
83584
+ /** Whether the KeyNest device has a photo. */
83585
+ has_photo?: boolean | undefined
83017
83586
  }
83018
83587
  | undefined
83019
83588
  }) &
@@ -90590,6 +91159,7 @@ export type Routes = {
90590
91159
  | 'tedee_lock'
90591
91160
  | 'akiles_lock'
90592
91161
  )
91162
+ | 'keynest_key'
90593
91163
  | ('noiseaware_activity_zone' | 'minut_sensor')
90594
91164
  | (
90595
91165
  | 'ecobee_thermostat'
@@ -91236,8 +91806,46 @@ export type Routes = {
91236
91806
  /** Metadata for a KeyNest device. */
91237
91807
  keynest_metadata?:
91238
91808
  | {
91809
+ /** Key ID for a KeyNest device. */
91810
+ key_id?: string | undefined
91239
91811
  /** Device name for a KeyNest device. */
91240
91812
  device_name?: string | undefined
91813
+ /** Property ID for a KeyNest device. */
91814
+ property_id?: (string | null) | undefined
91815
+ /** Property postcode for a KeyNest device. */
91816
+ property_postcode?: (string | null) | undefined
91817
+ /** Key notes for a KeyNest device. */
91818
+ key_notes?: (string | null) | undefined
91819
+ /** Subscription plan for a KeyNest device. */
91820
+ subscription_plan?: string | undefined
91821
+ /** Status type for a KeyNest device. */
91822
+ status_type?: string | undefined
91823
+ /** Current or last store ID for a KeyNest device. */
91824
+ current_or_last_store_id?: number | undefined
91825
+ /** Last movement timestamp for a KeyNest device. */
91826
+ last_movement?: string | undefined
91827
+ /** Address for a KeyNest device. */
91828
+ address?: (string | null) | undefined
91829
+ /** Current status for a KeyNest device. */
91830
+ current_status?: (string | null) | undefined
91831
+ /** Current user name for a KeyNest device. */
91832
+ current_user_name?: (string | null) | undefined
91833
+ /** Current user email for a KeyNest device. */
91834
+ current_user_email?: (string | null) | undefined
91835
+ /** Current user phone number for a KeyNest device. */
91836
+ current_user_phone_number?: (string | null) | undefined
91837
+ /** Current user company for a KeyNest device. */
91838
+ current_user_company?: (string | null) | undefined
91839
+ /** Handover method for a KeyNest device. */
91840
+ handover_method?: (string | null) | undefined
91841
+ /** KeyNest app user for a KeyNest device. */
91842
+ keynest_app_user?: (string | null) | undefined
91843
+ /** Default office ID for a KeyNest device. */
91844
+ default_office_id?: number | undefined
91845
+ /** Fob ID for a KeyNest device. */
91846
+ fob_id?: number | undefined
91847
+ /** Whether the KeyNest device has a photo. */
91848
+ has_photo?: boolean | undefined
91241
91849
  }
91242
91850
  | undefined
91243
91851
  }) &
@@ -92067,6 +92675,7 @@ export type Routes = {
92067
92675
  | 'tedee_lock'
92068
92676
  | 'akiles_lock'
92069
92677
  )
92678
+ | 'keynest_key'
92070
92679
  | ('noiseaware_activity_zone' | 'minut_sensor')
92071
92680
  | (
92072
92681
  | 'ecobee_thermostat'
@@ -92713,8 +93322,46 @@ export type Routes = {
92713
93322
  /** Metadata for a KeyNest device. */
92714
93323
  keynest_metadata?:
92715
93324
  | {
93325
+ /** Key ID for a KeyNest device. */
93326
+ key_id?: string | undefined
92716
93327
  /** Device name for a KeyNest device. */
92717
93328
  device_name?: string | undefined
93329
+ /** Property ID for a KeyNest device. */
93330
+ property_id?: (string | null) | undefined
93331
+ /** Property postcode for a KeyNest device. */
93332
+ property_postcode?: (string | null) | undefined
93333
+ /** Key notes for a KeyNest device. */
93334
+ key_notes?: (string | null) | undefined
93335
+ /** Subscription plan for a KeyNest device. */
93336
+ subscription_plan?: string | undefined
93337
+ /** Status type for a KeyNest device. */
93338
+ status_type?: string | undefined
93339
+ /** Current or last store ID for a KeyNest device. */
93340
+ current_or_last_store_id?: number | undefined
93341
+ /** Last movement timestamp for a KeyNest device. */
93342
+ last_movement?: string | undefined
93343
+ /** Address for a KeyNest device. */
93344
+ address?: (string | null) | undefined
93345
+ /** Current status for a KeyNest device. */
93346
+ current_status?: (string | null) | undefined
93347
+ /** Current user name for a KeyNest device. */
93348
+ current_user_name?: (string | null) | undefined
93349
+ /** Current user email for a KeyNest device. */
93350
+ current_user_email?: (string | null) | undefined
93351
+ /** Current user phone number for a KeyNest device. */
93352
+ current_user_phone_number?: (string | null) | undefined
93353
+ /** Current user company for a KeyNest device. */
93354
+ current_user_company?: (string | null) | undefined
93355
+ /** Handover method for a KeyNest device. */
93356
+ handover_method?: (string | null) | undefined
93357
+ /** KeyNest app user for a KeyNest device. */
93358
+ keynest_app_user?: (string | null) | undefined
93359
+ /** Default office ID for a KeyNest device. */
93360
+ default_office_id?: number | undefined
93361
+ /** Fob ID for a KeyNest device. */
93362
+ fob_id?: number | undefined
93363
+ /** Whether the KeyNest device has a photo. */
93364
+ has_photo?: boolean | undefined
92718
93365
  }
92719
93366
  | undefined
92720
93367
  }) &
@@ -94400,6 +95047,7 @@ export type Routes = {
94400
95047
  | 'tedee_lock'
94401
95048
  | 'akiles_lock'
94402
95049
  )
95050
+ | 'keynest_key'
94403
95051
  | ('noiseaware_activity_zone' | 'minut_sensor')
94404
95052
  | (
94405
95053
  | 'ecobee_thermostat'
@@ -95046,8 +95694,46 @@ export type Routes = {
95046
95694
  /** Metadata for a KeyNest device. */
95047
95695
  keynest_metadata?:
95048
95696
  | {
95697
+ /** Key ID for a KeyNest device. */
95698
+ key_id?: string | undefined
95049
95699
  /** Device name for a KeyNest device. */
95050
95700
  device_name?: string | undefined
95701
+ /** Property ID for a KeyNest device. */
95702
+ property_id?: (string | null) | undefined
95703
+ /** Property postcode for a KeyNest device. */
95704
+ property_postcode?: (string | null) | undefined
95705
+ /** Key notes for a KeyNest device. */
95706
+ key_notes?: (string | null) | undefined
95707
+ /** Subscription plan for a KeyNest device. */
95708
+ subscription_plan?: string | undefined
95709
+ /** Status type for a KeyNest device. */
95710
+ status_type?: string | undefined
95711
+ /** Current or last store ID for a KeyNest device. */
95712
+ current_or_last_store_id?: number | undefined
95713
+ /** Last movement timestamp for a KeyNest device. */
95714
+ last_movement?: string | undefined
95715
+ /** Address for a KeyNest device. */
95716
+ address?: (string | null) | undefined
95717
+ /** Current status for a KeyNest device. */
95718
+ current_status?: (string | null) | undefined
95719
+ /** Current user name for a KeyNest device. */
95720
+ current_user_name?: (string | null) | undefined
95721
+ /** Current user email for a KeyNest device. */
95722
+ current_user_email?: (string | null) | undefined
95723
+ /** Current user phone number for a KeyNest device. */
95724
+ current_user_phone_number?: (string | null) | undefined
95725
+ /** Current user company for a KeyNest device. */
95726
+ current_user_company?: (string | null) | undefined
95727
+ /** Handover method for a KeyNest device. */
95728
+ handover_method?: (string | null) | undefined
95729
+ /** KeyNest app user for a KeyNest device. */
95730
+ keynest_app_user?: (string | null) | undefined
95731
+ /** Default office ID for a KeyNest device. */
95732
+ default_office_id?: number | undefined
95733
+ /** Fob ID for a KeyNest device. */
95734
+ fob_id?: number | undefined
95735
+ /** Whether the KeyNest device has a photo. */
95736
+ has_photo?: boolean | undefined
95051
95737
  }
95052
95738
  | undefined
95053
95739
  }) &
@@ -98639,6 +99325,7 @@ export type Routes = {
98639
99325
  | 'tedee_lock'
98640
99326
  | 'akiles_lock'
98641
99327
  )
99328
+ | 'keynest_key'
98642
99329
  | ('noiseaware_activity_zone' | 'minut_sensor')
98643
99330
  | (
98644
99331
  | 'ecobee_thermostat'
@@ -99803,6 +100490,8 @@ export type Routes = {
99803
100490
  event_type: 'access_method.issued'
99804
100491
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
99805
100492
  code?: string | undefined
100493
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
100494
+ is_backup_code?: boolean | undefined
99806
100495
  }
99807
100496
  | {
99808
100497
  /** ID of the event. */
@@ -99873,6 +100562,8 @@ export type Routes = {
99873
100562
  event_type: 'access_method.reissued'
99874
100563
  /** The actual PIN code for code access methods (only present when mode is 'code'). */
99875
100564
  code?: string | undefined
100565
+ /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
100566
+ is_backup_code?: boolean | undefined
99876
100567
  }
99877
100568
  | {
99878
100569
  /** ID of the event. */