@seamapi/types 1.437.1 → 1.439.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 (63) hide show
  1. package/dist/connect.cjs +1315 -190
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +8832 -319
  4. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  5. package/lib/seam/connect/internal/schemas.js +1 -1
  6. package/lib/seam/connect/internal/schemas.js.map +1 -1
  7. package/lib/seam/connect/model-types.d.ts +1 -1
  8. package/lib/seam/connect/models/batches/batch.d.ts +5669 -0
  9. package/lib/seam/connect/models/batches/batch.js +8 -0
  10. package/lib/seam/connect/models/batches/batch.js.map +1 -0
  11. package/lib/seam/connect/models/batches/index.d.ts +2 -0
  12. package/lib/seam/connect/models/batches/index.js +3 -0
  13. package/lib/seam/connect/models/batches/index.js.map +1 -0
  14. package/lib/seam/connect/models/batches/spaces.d.ts +5669 -0
  15. package/lib/seam/connect/models/batches/spaces.js +13 -0
  16. package/lib/seam/connect/models/batches/spaces.js.map +1 -0
  17. package/lib/seam/connect/models/events/access-codes.d.ts +204 -0
  18. package/lib/seam/connect/models/events/access-codes.js +7 -0
  19. package/lib/seam/connect/models/events/access-codes.js.map +1 -1
  20. package/lib/seam/connect/models/events/connect-webviews.d.ts +6 -0
  21. package/lib/seam/connect/models/events/connect-webviews.js +5 -0
  22. package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
  23. package/lib/seam/connect/models/events/connected-accounts.d.ts +42 -0
  24. package/lib/seam/connect/models/events/connected-accounts.js +4 -0
  25. package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
  26. package/lib/seam/connect/models/events/devices.d.ts +396 -0
  27. package/lib/seam/connect/models/events/devices.js +7 -0
  28. package/lib/seam/connect/models/events/devices.js.map +1 -1
  29. package/lib/seam/connect/models/events/phones.d.ts +6 -0
  30. package/lib/seam/connect/models/events/phones.js +4 -0
  31. package/lib/seam/connect/models/events/phones.js.map +1 -1
  32. package/lib/seam/connect/models/events/seam-event.d.ts +327 -0
  33. package/lib/seam/connect/models/events/seam-event.js +1 -1
  34. package/lib/seam/connect/models/index.d.ts +1 -0
  35. package/lib/seam/connect/models/index.js +1 -0
  36. package/lib/seam/connect/models/index.js.map +1 -1
  37. package/lib/seam/connect/models/user-identities/user-identity.d.ts +3 -0
  38. package/lib/seam/connect/models/user-identities/user-identity.js +3 -0
  39. package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
  40. package/lib/seam/connect/openapi.d.ts +783 -25
  41. package/lib/seam/connect/openapi.js +1068 -0
  42. package/lib/seam/connect/openapi.js.map +1 -1
  43. package/lib/seam/connect/route-types.d.ts +1755 -0
  44. package/lib/seam/connect/schemas.d.ts +1 -1
  45. package/lib/seam/connect/schemas.js +1 -1
  46. package/lib/seam/connect/schemas.js.map +1 -1
  47. package/package.json +1 -1
  48. package/src/lib/seam/connect/internal/schemas.ts +1 -0
  49. package/src/lib/seam/connect/model-types.ts +1 -0
  50. package/src/lib/seam/connect/models/batches/batch.ts +12 -0
  51. package/src/lib/seam/connect/models/batches/index.ts +2 -0
  52. package/src/lib/seam/connect/models/batches/spaces.ts +16 -0
  53. package/src/lib/seam/connect/models/events/access-codes.ts +11 -0
  54. package/src/lib/seam/connect/models/events/connect-webviews.ts +8 -0
  55. package/src/lib/seam/connect/models/events/connected-accounts.ts +6 -0
  56. package/src/lib/seam/connect/models/events/devices.ts +11 -0
  57. package/src/lib/seam/connect/models/events/phones.ts +6 -0
  58. package/src/lib/seam/connect/models/events/seam-event.ts +1 -1
  59. package/src/lib/seam/connect/models/index.ts +1 -0
  60. package/src/lib/seam/connect/models/user-identities/user-identity.ts +5 -0
  61. package/src/lib/seam/connect/openapi.ts +1186 -0
  62. package/src/lib/seam/connect/route-types.ts +2536 -0
  63. package/src/lib/seam/connect/schemas.ts +1 -0
@@ -18662,6 +18662,8 @@ export interface Routes {
18662
18662
  access_method_id?: string | undefined
18663
18663
  /** ID of the connected account for which you want to retrieve all entrances. */
18664
18664
  connected_account_id?: string | undefined
18665
+ /** IDs of the entrances for which you want to retrieve all entrances. */
18666
+ acs_entrance_ids?: string[] | undefined
18665
18667
  }
18666
18668
  formData: {}
18667
18669
  jsonResponse: {
@@ -28965,6 +28967,18 @@ export interface Routes {
28965
28967
  formData: {}
28966
28968
  jsonResponse: {}
28967
28969
  }
28970
+ '/devices/simulate/connect_to_hub': {
28971
+ route: '/devices/simulate/connect_to_hub'
28972
+ method: 'POST'
28973
+ queryParams: {}
28974
+ jsonBody: {
28975
+ /** ID of the device whose hub you want to reconnect. */
28976
+ device_id: string
28977
+ }
28978
+ commonParams: {}
28979
+ formData: {}
28980
+ jsonResponse: {}
28981
+ }
28968
28982
  '/devices/simulate/disconnect': {
28969
28983
  route: '/devices/simulate/disconnect'
28970
28984
  method: 'POST'
@@ -28977,6 +28991,18 @@ export interface Routes {
28977
28991
  formData: {}
28978
28992
  jsonResponse: {}
28979
28993
  }
28994
+ '/devices/simulate/disconnect_from_hub': {
28995
+ route: '/devices/simulate/disconnect_from_hub'
28996
+ method: 'POST'
28997
+ queryParams: {}
28998
+ jsonBody: {
28999
+ /** ID of the device whose hub you want to disconnect. */
29000
+ device_id: string
29001
+ }
29002
+ commonParams: {}
29003
+ formData: {}
29004
+ jsonResponse: {}
29005
+ }
28980
29006
  '/devices/simulate/remove': {
28981
29007
  route: '/devices/simulate/remove'
28982
29008
  method: 'POST'
@@ -30233,6 +30259,14 @@ export interface Routes {
30233
30259
  device_id: string
30234
30260
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30235
30261
  connected_account_id: string
30262
+ /** Custom metadata of the device, present when device_id is provided. */
30263
+ device_custom_metadata?:
30264
+ | Record<string, string | boolean>
30265
+ | undefined
30266
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30267
+ connected_account_custom_metadata?:
30268
+ | Record<string, string | boolean>
30269
+ | undefined
30236
30270
  event_type: 'access_code.created'
30237
30271
  }
30238
30272
  | {
@@ -30250,6 +30284,14 @@ export interface Routes {
30250
30284
  device_id: string
30251
30285
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30252
30286
  connected_account_id: string
30287
+ /** Custom metadata of the device, present when device_id is provided. */
30288
+ device_custom_metadata?:
30289
+ | Record<string, string | boolean>
30290
+ | undefined
30291
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30292
+ connected_account_custom_metadata?:
30293
+ | Record<string, string | boolean>
30294
+ | undefined
30253
30295
  event_type: 'access_code.changed'
30254
30296
  }
30255
30297
  | {
@@ -30267,6 +30309,14 @@ export interface Routes {
30267
30309
  device_id: string
30268
30310
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30269
30311
  connected_account_id: string
30312
+ /** Custom metadata of the device, present when device_id is provided. */
30313
+ device_custom_metadata?:
30314
+ | Record<string, string | boolean>
30315
+ | undefined
30316
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30317
+ connected_account_custom_metadata?:
30318
+ | Record<string, string | boolean>
30319
+ | undefined
30270
30320
  event_type: 'access_code.scheduled_on_device'
30271
30321
  /** Code for the affected access code. */
30272
30322
  code: string
@@ -30286,6 +30336,14 @@ export interface Routes {
30286
30336
  device_id: string
30287
30337
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30288
30338
  connected_account_id: string
30339
+ /** Custom metadata of the device, present when device_id is provided. */
30340
+ device_custom_metadata?:
30341
+ | Record<string, string | boolean>
30342
+ | undefined
30343
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30344
+ connected_account_custom_metadata?:
30345
+ | Record<string, string | boolean>
30346
+ | undefined
30289
30347
  event_type: 'access_code.set_on_device'
30290
30348
  /** Code for the affected access code. */
30291
30349
  code: string
@@ -30305,6 +30363,14 @@ export interface Routes {
30305
30363
  device_id: string
30306
30364
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30307
30365
  connected_account_id: string
30366
+ /** Custom metadata of the device, present when device_id is provided. */
30367
+ device_custom_metadata?:
30368
+ | Record<string, string | boolean>
30369
+ | undefined
30370
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30371
+ connected_account_custom_metadata?:
30372
+ | Record<string, string | boolean>
30373
+ | undefined
30308
30374
  event_type: 'access_code.removed_from_device'
30309
30375
  }
30310
30376
  | {
@@ -30322,6 +30388,14 @@ export interface Routes {
30322
30388
  device_id: string
30323
30389
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30324
30390
  connected_account_id: string
30391
+ /** Custom metadata of the device, present when device_id is provided. */
30392
+ device_custom_metadata?:
30393
+ | Record<string, string | boolean>
30394
+ | undefined
30395
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30396
+ connected_account_custom_metadata?:
30397
+ | Record<string, string | boolean>
30398
+ | undefined
30325
30399
  event_type: 'access_code.delay_in_setting_on_device'
30326
30400
  }
30327
30401
  | {
@@ -30339,6 +30413,14 @@ export interface Routes {
30339
30413
  device_id: string
30340
30414
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30341
30415
  connected_account_id: string
30416
+ /** Custom metadata of the device, present when device_id is provided. */
30417
+ device_custom_metadata?:
30418
+ | Record<string, string | boolean>
30419
+ | undefined
30420
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30421
+ connected_account_custom_metadata?:
30422
+ | Record<string, string | boolean>
30423
+ | undefined
30342
30424
  event_type: 'access_code.failed_to_set_on_device'
30343
30425
  }
30344
30426
  | {
@@ -30356,6 +30438,14 @@ export interface Routes {
30356
30438
  device_id: string
30357
30439
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30358
30440
  connected_account_id: string
30441
+ /** Custom metadata of the device, present when device_id is provided. */
30442
+ device_custom_metadata?:
30443
+ | Record<string, string | boolean>
30444
+ | undefined
30445
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30446
+ connected_account_custom_metadata?:
30447
+ | Record<string, string | boolean>
30448
+ | undefined
30359
30449
  event_type: 'access_code.deleted'
30360
30450
  /** Code for the affected access code. */
30361
30451
  code: string | null
@@ -30375,6 +30465,14 @@ export interface Routes {
30375
30465
  device_id: string
30376
30466
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30377
30467
  connected_account_id: string
30468
+ /** Custom metadata of the device, present when device_id is provided. */
30469
+ device_custom_metadata?:
30470
+ | Record<string, string | boolean>
30471
+ | undefined
30472
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30473
+ connected_account_custom_metadata?:
30474
+ | Record<string, string | boolean>
30475
+ | undefined
30378
30476
  event_type: 'access_code.delay_in_removing_from_device'
30379
30477
  }
30380
30478
  | {
@@ -30392,6 +30490,14 @@ export interface Routes {
30392
30490
  device_id: string
30393
30491
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30394
30492
  connected_account_id: string
30493
+ /** Custom metadata of the device, present when device_id is provided. */
30494
+ device_custom_metadata?:
30495
+ | Record<string, string | boolean>
30496
+ | undefined
30497
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30498
+ connected_account_custom_metadata?:
30499
+ | Record<string, string | boolean>
30500
+ | undefined
30395
30501
  event_type: 'access_code.failed_to_remove_from_device'
30396
30502
  }
30397
30503
  | {
@@ -30409,6 +30515,14 @@ export interface Routes {
30409
30515
  device_id: string
30410
30516
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30411
30517
  connected_account_id: string
30518
+ /** Custom metadata of the device, present when device_id is provided. */
30519
+ device_custom_metadata?:
30520
+ | Record<string, string | boolean>
30521
+ | undefined
30522
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30523
+ connected_account_custom_metadata?:
30524
+ | Record<string, string | boolean>
30525
+ | undefined
30412
30526
  event_type: 'access_code.modified_external_to_seam'
30413
30527
  }
30414
30528
  | {
@@ -30426,6 +30540,14 @@ export interface Routes {
30426
30540
  device_id: string
30427
30541
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30428
30542
  connected_account_id: string
30543
+ /** Custom metadata of the device, present when device_id is provided. */
30544
+ device_custom_metadata?:
30545
+ | Record<string, string | boolean>
30546
+ | undefined
30547
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30548
+ connected_account_custom_metadata?:
30549
+ | Record<string, string | boolean>
30550
+ | undefined
30429
30551
  event_type: 'access_code.deleted_external_to_seam'
30430
30552
  }
30431
30553
  | {
@@ -30443,6 +30565,14 @@ export interface Routes {
30443
30565
  device_id: string
30444
30566
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30445
30567
  connected_account_id: string
30568
+ /** Custom metadata of the device, present when device_id is provided. */
30569
+ device_custom_metadata?:
30570
+ | Record<string, string | boolean>
30571
+ | undefined
30572
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30573
+ connected_account_custom_metadata?:
30574
+ | Record<string, string | boolean>
30575
+ | undefined
30446
30576
  event_type: 'access_code.backup_access_code_pulled'
30447
30577
  backup_access_code_id: string
30448
30578
  }
@@ -30461,6 +30591,14 @@ export interface Routes {
30461
30591
  device_id: string
30462
30592
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30463
30593
  connected_account_id: string
30594
+ /** Custom metadata of the device, present when device_id is provided. */
30595
+ device_custom_metadata?:
30596
+ | Record<string, string | boolean>
30597
+ | undefined
30598
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30599
+ connected_account_custom_metadata?:
30600
+ | Record<string, string | boolean>
30601
+ | undefined
30464
30602
  event_type: 'access_code.unmanaged.converted_to_managed'
30465
30603
  }
30466
30604
  | {
@@ -30478,6 +30616,14 @@ export interface Routes {
30478
30616
  device_id: string
30479
30617
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30480
30618
  connected_account_id: string
30619
+ /** Custom metadata of the device, present when device_id is provided. */
30620
+ device_custom_metadata?:
30621
+ | Record<string, string | boolean>
30622
+ | undefined
30623
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30624
+ connected_account_custom_metadata?:
30625
+ | Record<string, string | boolean>
30626
+ | undefined
30481
30627
  event_type: 'access_code.unmanaged.failed_to_convert_to_managed'
30482
30628
  }
30483
30629
  | {
@@ -30495,6 +30641,14 @@ export interface Routes {
30495
30641
  device_id: string
30496
30642
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30497
30643
  connected_account_id: string
30644
+ /** Custom metadata of the device, present when device_id is provided. */
30645
+ device_custom_metadata?:
30646
+ | Record<string, string | boolean>
30647
+ | undefined
30648
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30649
+ connected_account_custom_metadata?:
30650
+ | Record<string, string | boolean>
30651
+ | undefined
30498
30652
  event_type: 'access_code.unmanaged.created'
30499
30653
  }
30500
30654
  | {
@@ -30512,6 +30666,14 @@ export interface Routes {
30512
30666
  device_id: string
30513
30667
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
30514
30668
  connected_account_id: string
30669
+ /** Custom metadata of the device, present when device_id is provided. */
30670
+ device_custom_metadata?:
30671
+ | Record<string, string | boolean>
30672
+ | undefined
30673
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
30674
+ connected_account_custom_metadata?:
30675
+ | Record<string, string | boolean>
30676
+ | undefined
30515
30677
  event_type: 'access_code.unmanaged.removed'
30516
30678
  }
30517
30679
  | {
@@ -30900,6 +31062,10 @@ export interface Routes {
30900
31062
  occurred_at: string
30901
31063
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
30902
31064
  connected_account_id: string
31065
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31066
+ connected_account_custom_metadata?:
31067
+ | Record<string, string | boolean>
31068
+ | undefined
30903
31069
  event_type: 'connected_account.connected'
30904
31070
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
30905
31071
  connect_webview_id: string
@@ -30915,6 +31081,10 @@ export interface Routes {
30915
31081
  occurred_at: string
30916
31082
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
30917
31083
  connected_account_id: string
31084
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31085
+ connected_account_custom_metadata?:
31086
+ | Record<string, string | boolean>
31087
+ | undefined
30918
31088
  event_type: 'connected_account.created'
30919
31089
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
30920
31090
  connect_webview_id: string
@@ -30930,6 +31100,10 @@ export interface Routes {
30930
31100
  occurred_at: string
30931
31101
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
30932
31102
  connected_account_id: string
31103
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31104
+ connected_account_custom_metadata?:
31105
+ | Record<string, string | boolean>
31106
+ | undefined
30933
31107
  event_type: 'connected_account.successful_login'
30934
31108
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
30935
31109
  connect_webview_id: string
@@ -30945,6 +31119,10 @@ export interface Routes {
30945
31119
  occurred_at: string
30946
31120
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
30947
31121
  connected_account_id: string
31122
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31123
+ connected_account_custom_metadata?:
31124
+ | Record<string, string | boolean>
31125
+ | undefined
30948
31126
  event_type: 'connected_account.disconnected'
30949
31127
  }
30950
31128
  | {
@@ -30958,6 +31136,10 @@ export interface Routes {
30958
31136
  occurred_at: string
30959
31137
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
30960
31138
  connected_account_id: string
31139
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31140
+ connected_account_custom_metadata?:
31141
+ | Record<string, string | boolean>
31142
+ | undefined
30961
31143
  event_type: 'connected_account.completed_first_sync'
30962
31144
  }
30963
31145
  | {
@@ -30971,6 +31153,10 @@ export interface Routes {
30971
31153
  occurred_at: string
30972
31154
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
30973
31155
  connected_account_id: string
31156
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31157
+ connected_account_custom_metadata?:
31158
+ | Record<string, string | boolean>
31159
+ | undefined
30974
31160
  event_type: 'connected_account.deleted'
30975
31161
  }
30976
31162
  | {
@@ -30984,6 +31170,10 @@ export interface Routes {
30984
31170
  occurred_at: string
30985
31171
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
30986
31172
  connected_account_id: string
31173
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31174
+ connected_account_custom_metadata?:
31175
+ | Record<string, string | boolean>
31176
+ | undefined
30987
31177
  event_type: 'connected_account.completed_first_sync_after_reconnection'
30988
31178
  }
30989
31179
  | {
@@ -31068,6 +31258,10 @@ export interface Routes {
31068
31258
  event_type: 'connect_webview.login_succeeded'
31069
31259
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31070
31260
  connected_account_id: string
31261
+ /** Custom metadata of the connected account; present when connected_account_id is provided. */
31262
+ connected_account_custom_metadata?:
31263
+ | Record<string, string | boolean>
31264
+ | undefined
31071
31265
  }
31072
31266
  | {
31073
31267
  /** ID of the event. */
@@ -31095,6 +31289,14 @@ export interface Routes {
31095
31289
  device_id: string
31096
31290
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31097
31291
  connected_account_id: string
31292
+ /** Custom metadata of the device, present when device_id is provided. */
31293
+ device_custom_metadata?:
31294
+ | Record<string, string | boolean>
31295
+ | undefined
31296
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31297
+ connected_account_custom_metadata?:
31298
+ | Record<string, string | boolean>
31299
+ | undefined
31098
31300
  event_type: 'device.connected'
31099
31301
  }
31100
31302
  | {
@@ -31110,6 +31312,14 @@ export interface Routes {
31110
31312
  device_id: string
31111
31313
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31112
31314
  connected_account_id: string
31315
+ /** Custom metadata of the device, present when device_id is provided. */
31316
+ device_custom_metadata?:
31317
+ | Record<string, string | boolean>
31318
+ | undefined
31319
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31320
+ connected_account_custom_metadata?:
31321
+ | Record<string, string | boolean>
31322
+ | undefined
31113
31323
  event_type: 'device.added'
31114
31324
  }
31115
31325
  | {
@@ -31125,6 +31335,14 @@ export interface Routes {
31125
31335
  device_id: string
31126
31336
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31127
31337
  connected_account_id: string
31338
+ /** Custom metadata of the device, present when device_id is provided. */
31339
+ device_custom_metadata?:
31340
+ | Record<string, string | boolean>
31341
+ | undefined
31342
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31343
+ connected_account_custom_metadata?:
31344
+ | Record<string, string | boolean>
31345
+ | undefined
31128
31346
  event_type: 'device.converted_to_unmanaged'
31129
31347
  }
31130
31348
  | {
@@ -31140,6 +31358,14 @@ export interface Routes {
31140
31358
  device_id: string
31141
31359
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31142
31360
  connected_account_id: string
31361
+ /** Custom metadata of the device, present when device_id is provided. */
31362
+ device_custom_metadata?:
31363
+ | Record<string, string | boolean>
31364
+ | undefined
31365
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31366
+ connected_account_custom_metadata?:
31367
+ | Record<string, string | boolean>
31368
+ | undefined
31143
31369
  event_type: 'device.unmanaged.converted_to_managed'
31144
31370
  }
31145
31371
  | {
@@ -31155,6 +31381,14 @@ export interface Routes {
31155
31381
  device_id: string
31156
31382
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31157
31383
  connected_account_id: string
31384
+ /** Custom metadata of the device, present when device_id is provided. */
31385
+ device_custom_metadata?:
31386
+ | Record<string, string | boolean>
31387
+ | undefined
31388
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31389
+ connected_account_custom_metadata?:
31390
+ | Record<string, string | boolean>
31391
+ | undefined
31158
31392
  event_type: 'device.unmanaged.connected'
31159
31393
  }
31160
31394
  | {
@@ -31170,6 +31404,14 @@ export interface Routes {
31170
31404
  device_id: string
31171
31405
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31172
31406
  connected_account_id: string
31407
+ /** Custom metadata of the device, present when device_id is provided. */
31408
+ device_custom_metadata?:
31409
+ | Record<string, string | boolean>
31410
+ | undefined
31411
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31412
+ connected_account_custom_metadata?:
31413
+ | Record<string, string | boolean>
31414
+ | undefined
31173
31415
  event_type: 'device.disconnected'
31174
31416
  /** Error code associated with the disconnection event, if any. */
31175
31417
  error_code:
@@ -31190,6 +31432,14 @@ export interface Routes {
31190
31432
  device_id: string
31191
31433
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31192
31434
  connected_account_id: string
31435
+ /** Custom metadata of the device, present when device_id is provided. */
31436
+ device_custom_metadata?:
31437
+ | Record<string, string | boolean>
31438
+ | undefined
31439
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31440
+ connected_account_custom_metadata?:
31441
+ | Record<string, string | boolean>
31442
+ | undefined
31193
31443
  event_type: 'device.unmanaged.disconnected'
31194
31444
  /** Error code associated with the disconnection event, if any. */
31195
31445
  error_code:
@@ -31210,6 +31460,14 @@ export interface Routes {
31210
31460
  device_id: string
31211
31461
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31212
31462
  connected_account_id: string
31463
+ /** Custom metadata of the device, present when device_id is provided. */
31464
+ device_custom_metadata?:
31465
+ | Record<string, string | boolean>
31466
+ | undefined
31467
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31468
+ connected_account_custom_metadata?:
31469
+ | Record<string, string | boolean>
31470
+ | undefined
31213
31471
  event_type: 'device.tampered'
31214
31472
  }
31215
31473
  | {
@@ -31225,6 +31483,14 @@ export interface Routes {
31225
31483
  device_id: string
31226
31484
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31227
31485
  connected_account_id: string
31486
+ /** Custom metadata of the device, present when device_id is provided. */
31487
+ device_custom_metadata?:
31488
+ | Record<string, string | boolean>
31489
+ | undefined
31490
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31491
+ connected_account_custom_metadata?:
31492
+ | Record<string, string | boolean>
31493
+ | undefined
31228
31494
  event_type: 'device.low_battery'
31229
31495
  /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
31230
31496
  battery_level: number
@@ -31242,6 +31508,14 @@ export interface Routes {
31242
31508
  device_id: string
31243
31509
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31244
31510
  connected_account_id: string
31511
+ /** Custom metadata of the device, present when device_id is provided. */
31512
+ device_custom_metadata?:
31513
+ | Record<string, string | boolean>
31514
+ | undefined
31515
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31516
+ connected_account_custom_metadata?:
31517
+ | Record<string, string | boolean>
31518
+ | undefined
31245
31519
  event_type: 'device.battery_status_changed'
31246
31520
  /** Battery status of the affected device, calculated from the numeric `battery_level` value. */
31247
31521
  battery_status: 'critical' | 'low' | 'good' | 'full'
@@ -31261,6 +31535,14 @@ export interface Routes {
31261
31535
  device_id: string
31262
31536
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31263
31537
  connected_account_id: string
31538
+ /** Custom metadata of the device, present when device_id is provided. */
31539
+ device_custom_metadata?:
31540
+ | Record<string, string | boolean>
31541
+ | undefined
31542
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31543
+ connected_account_custom_metadata?:
31544
+ | Record<string, string | boolean>
31545
+ | undefined
31264
31546
  event_type: 'device.removed'
31265
31547
  }
31266
31548
  | {
@@ -31276,6 +31558,14 @@ export interface Routes {
31276
31558
  device_id: string
31277
31559
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31278
31560
  connected_account_id: string
31561
+ /** Custom metadata of the device, present when device_id is provided. */
31562
+ device_custom_metadata?:
31563
+ | Record<string, string | boolean>
31564
+ | undefined
31565
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31566
+ connected_account_custom_metadata?:
31567
+ | Record<string, string | boolean>
31568
+ | undefined
31279
31569
  event_type: 'device.deleted'
31280
31570
  }
31281
31571
  | {
@@ -31291,6 +31581,14 @@ export interface Routes {
31291
31581
  device_id: string
31292
31582
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31293
31583
  connected_account_id: string
31584
+ /** Custom metadata of the device, present when device_id is provided. */
31585
+ device_custom_metadata?:
31586
+ | Record<string, string | boolean>
31587
+ | undefined
31588
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31589
+ connected_account_custom_metadata?:
31590
+ | Record<string, string | boolean>
31591
+ | undefined
31294
31592
  event_type: 'device.third_party_integration_detected'
31295
31593
  }
31296
31594
  | {
@@ -31306,6 +31604,14 @@ export interface Routes {
31306
31604
  device_id: string
31307
31605
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31308
31606
  connected_account_id: string
31607
+ /** Custom metadata of the device, present when device_id is provided. */
31608
+ device_custom_metadata?:
31609
+ | Record<string, string | boolean>
31610
+ | undefined
31611
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31612
+ connected_account_custom_metadata?:
31613
+ | Record<string, string | boolean>
31614
+ | undefined
31309
31615
  event_type: 'device.third_party_integration_no_longer_detected'
31310
31616
  }
31311
31617
  | {
@@ -31321,6 +31627,14 @@ export interface Routes {
31321
31627
  device_id: string
31322
31628
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31323
31629
  connected_account_id: string
31630
+ /** Custom metadata of the device, present when device_id is provided. */
31631
+ device_custom_metadata?:
31632
+ | Record<string, string | boolean>
31633
+ | undefined
31634
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31635
+ connected_account_custom_metadata?:
31636
+ | Record<string, string | boolean>
31637
+ | undefined
31324
31638
  event_type: 'device.salto.privacy_mode_activated'
31325
31639
  }
31326
31640
  | {
@@ -31336,6 +31650,14 @@ export interface Routes {
31336
31650
  device_id: string
31337
31651
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31338
31652
  connected_account_id: string
31653
+ /** Custom metadata of the device, present when device_id is provided. */
31654
+ device_custom_metadata?:
31655
+ | Record<string, string | boolean>
31656
+ | undefined
31657
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31658
+ connected_account_custom_metadata?:
31659
+ | Record<string, string | boolean>
31660
+ | undefined
31339
31661
  event_type: 'device.salto.privacy_mode_deactivated'
31340
31662
  }
31341
31663
  | {
@@ -31351,6 +31673,14 @@ export interface Routes {
31351
31673
  device_id: string
31352
31674
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31353
31675
  connected_account_id: string
31676
+ /** Custom metadata of the device, present when device_id is provided. */
31677
+ device_custom_metadata?:
31678
+ | Record<string, string | boolean>
31679
+ | undefined
31680
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31681
+ connected_account_custom_metadata?:
31682
+ | Record<string, string | boolean>
31683
+ | undefined
31354
31684
  event_type: 'device.connection_became_flaky'
31355
31685
  }
31356
31686
  | {
@@ -31366,6 +31696,14 @@ export interface Routes {
31366
31696
  device_id: string
31367
31697
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31368
31698
  connected_account_id: string
31699
+ /** Custom metadata of the device, present when device_id is provided. */
31700
+ device_custom_metadata?:
31701
+ | Record<string, string | boolean>
31702
+ | undefined
31703
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31704
+ connected_account_custom_metadata?:
31705
+ | Record<string, string | boolean>
31706
+ | undefined
31369
31707
  event_type: 'device.connection_stabilized'
31370
31708
  }
31371
31709
  | {
@@ -31381,6 +31719,14 @@ export interface Routes {
31381
31719
  device_id: string
31382
31720
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31383
31721
  connected_account_id: string
31722
+ /** Custom metadata of the device, present when device_id is provided. */
31723
+ device_custom_metadata?:
31724
+ | Record<string, string | boolean>
31725
+ | undefined
31726
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31727
+ connected_account_custom_metadata?:
31728
+ | Record<string, string | boolean>
31729
+ | undefined
31384
31730
  event_type: 'device.error.subscription_required'
31385
31731
  }
31386
31732
  | {
@@ -31396,6 +31742,14 @@ export interface Routes {
31396
31742
  device_id: string
31397
31743
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31398
31744
  connected_account_id: string
31745
+ /** Custom metadata of the device, present when device_id is provided. */
31746
+ device_custom_metadata?:
31747
+ | Record<string, string | boolean>
31748
+ | undefined
31749
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31750
+ connected_account_custom_metadata?:
31751
+ | Record<string, string | boolean>
31752
+ | undefined
31399
31753
  event_type: 'device.error.subscription_required.resolved'
31400
31754
  }
31401
31755
  | {
@@ -31411,6 +31765,14 @@ export interface Routes {
31411
31765
  device_id: string
31412
31766
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31413
31767
  connected_account_id: string
31768
+ /** Custom metadata of the device, present when device_id is provided. */
31769
+ device_custom_metadata?:
31770
+ | Record<string, string | boolean>
31771
+ | undefined
31772
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31773
+ connected_account_custom_metadata?:
31774
+ | Record<string, string | boolean>
31775
+ | undefined
31414
31776
  event_type: 'device.accessory_keypad_connected'
31415
31777
  }
31416
31778
  | {
@@ -31426,6 +31788,14 @@ export interface Routes {
31426
31788
  device_id: string
31427
31789
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31428
31790
  connected_account_id: string
31791
+ /** Custom metadata of the device, present when device_id is provided. */
31792
+ device_custom_metadata?:
31793
+ | Record<string, string | boolean>
31794
+ | undefined
31795
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31796
+ connected_account_custom_metadata?:
31797
+ | Record<string, string | boolean>
31798
+ | undefined
31429
31799
  event_type: 'device.accessory_keypad_disconnected'
31430
31800
  }
31431
31801
  | {
@@ -31441,6 +31811,14 @@ export interface Routes {
31441
31811
  device_id: string
31442
31812
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31443
31813
  connected_account_id: string
31814
+ /** Custom metadata of the device, present when device_id is provided. */
31815
+ device_custom_metadata?:
31816
+ | Record<string, string | boolean>
31817
+ | undefined
31818
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31819
+ connected_account_custom_metadata?:
31820
+ | Record<string, string | boolean>
31821
+ | undefined
31444
31822
  event_type: 'noise_sensor.noise_threshold_triggered'
31445
31823
  /** Detected noise level in decibels. */
31446
31824
  noise_level_decibels?: number | undefined
@@ -31468,6 +31846,14 @@ export interface Routes {
31468
31846
  device_id: string
31469
31847
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31470
31848
  connected_account_id: string
31849
+ /** Custom metadata of the device, present when device_id is provided. */
31850
+ device_custom_metadata?:
31851
+ | Record<string, string | boolean>
31852
+ | undefined
31853
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31854
+ connected_account_custom_metadata?:
31855
+ | Record<string, string | boolean>
31856
+ | undefined
31471
31857
  event_type: 'lock.locked'
31472
31858
  /** ID of the access code that was used to lock the device. */
31473
31859
  access_code_id?: string | undefined
@@ -31494,6 +31880,14 @@ export interface Routes {
31494
31880
  device_id: string
31495
31881
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31496
31882
  connected_account_id: string
31883
+ /** Custom metadata of the device, present when device_id is provided. */
31884
+ device_custom_metadata?:
31885
+ | Record<string, string | boolean>
31886
+ | undefined
31887
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31888
+ connected_account_custom_metadata?:
31889
+ | Record<string, string | boolean>
31890
+ | undefined
31497
31891
  event_type: 'lock.unlocked'
31498
31892
  /** ID of the access code that was used to unlock the affected device. */
31499
31893
  access_code_id?: string | undefined
@@ -31520,6 +31914,14 @@ export interface Routes {
31520
31914
  device_id: string
31521
31915
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31522
31916
  connected_account_id: string
31917
+ /** Custom metadata of the device, present when device_id is provided. */
31918
+ device_custom_metadata?:
31919
+ | Record<string, string | boolean>
31920
+ | undefined
31921
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31922
+ connected_account_custom_metadata?:
31923
+ | Record<string, string | boolean>
31924
+ | undefined
31523
31925
  event_type: 'lock.access_denied'
31524
31926
  /** ID of the access code that was used in the unlock attempts. */
31525
31927
  access_code_id?: string | undefined
@@ -31537,6 +31939,14 @@ export interface Routes {
31537
31939
  device_id: string
31538
31940
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31539
31941
  connected_account_id: string
31942
+ /** Custom metadata of the device, present when device_id is provided. */
31943
+ device_custom_metadata?:
31944
+ | Record<string, string | boolean>
31945
+ | undefined
31946
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31947
+ connected_account_custom_metadata?:
31948
+ | Record<string, string | boolean>
31949
+ | undefined
31540
31950
  event_type: 'thermostat.climate_preset_activated'
31541
31951
  /** ID of the thermostat schedule that prompted the affected climate preset to be activated. */
31542
31952
  thermostat_schedule_id: string | null
@@ -31558,6 +31968,14 @@ export interface Routes {
31558
31968
  device_id: string
31559
31969
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31560
31970
  connected_account_id: string
31971
+ /** Custom metadata of the device, present when device_id is provided. */
31972
+ device_custom_metadata?:
31973
+ | Record<string, string | boolean>
31974
+ | undefined
31975
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
31976
+ connected_account_custom_metadata?:
31977
+ | Record<string, string | boolean>
31978
+ | undefined
31561
31979
  event_type: 'thermostat.manually_adjusted'
31562
31980
  /** Method used to adjust the affected thermostat manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the thermostat. */
31563
31981
  method: 'seam' | 'external'
@@ -31591,6 +32009,14 @@ export interface Routes {
31591
32009
  device_id: string
31592
32010
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31593
32011
  connected_account_id: string
32012
+ /** Custom metadata of the device, present when device_id is provided. */
32013
+ device_custom_metadata?:
32014
+ | Record<string, string | boolean>
32015
+ | undefined
32016
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32017
+ connected_account_custom_metadata?:
32018
+ | Record<string, string | boolean>
32019
+ | undefined
31594
32020
  event_type: 'thermostat.temperature_threshold_exceeded'
31595
32021
  /** Temperature, in °C, reported by the affected thermostat. */
31596
32022
  temperature_celsius: number
@@ -31618,6 +32044,14 @@ export interface Routes {
31618
32044
  device_id: string
31619
32045
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31620
32046
  connected_account_id: string
32047
+ /** Custom metadata of the device, present when device_id is provided. */
32048
+ device_custom_metadata?:
32049
+ | Record<string, string | boolean>
32050
+ | undefined
32051
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32052
+ connected_account_custom_metadata?:
32053
+ | Record<string, string | boolean>
32054
+ | undefined
31621
32055
  event_type: 'thermostat.temperature_threshold_no_longer_exceeded'
31622
32056
  /** Temperature, in °C, reported by the affected thermostat. */
31623
32057
  temperature_celsius: number
@@ -31645,6 +32079,14 @@ export interface Routes {
31645
32079
  device_id: string
31646
32080
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31647
32081
  connected_account_id: string
32082
+ /** Custom metadata of the device, present when device_id is provided. */
32083
+ device_custom_metadata?:
32084
+ | Record<string, string | boolean>
32085
+ | undefined
32086
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32087
+ connected_account_custom_metadata?:
32088
+ | Record<string, string | boolean>
32089
+ | undefined
31648
32090
  event_type: 'thermostat.temperature_reached_set_point'
31649
32091
  /** Temperature, in °C, reported by the affected thermostat. */
31650
32092
  temperature_celsius: number
@@ -31668,6 +32110,14 @@ export interface Routes {
31668
32110
  device_id: string
31669
32111
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31670
32112
  connected_account_id: string
32113
+ /** Custom metadata of the device, present when device_id is provided. */
32114
+ device_custom_metadata?:
32115
+ | Record<string, string | boolean>
32116
+ | undefined
32117
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32118
+ connected_account_custom_metadata?:
32119
+ | Record<string, string | boolean>
32120
+ | undefined
31671
32121
  event_type: 'thermostat.temperature_changed'
31672
32122
  /** Temperature, in °C, reported by the affected thermostat. */
31673
32123
  temperature_celsius: number
@@ -31687,6 +32137,14 @@ export interface Routes {
31687
32137
  device_id: string
31688
32138
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
31689
32139
  connected_account_id: string
32140
+ /** Custom metadata of the device, present when device_id is provided. */
32141
+ device_custom_metadata?:
32142
+ | Record<string, string | boolean>
32143
+ | undefined
32144
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32145
+ connected_account_custom_metadata?:
32146
+ | Record<string, string | boolean>
32147
+ | undefined
31690
32148
  event_type: 'device.name_changed'
31691
32149
  /** The new name of the affected device. */
31692
32150
  device_name: string
@@ -31715,6 +32173,10 @@ export interface Routes {
31715
32173
  occurred_at: string
31716
32174
  /** ID of the affected phone device. */
31717
32175
  device_id: string
32176
+ /** Custom metadata of the device; present when device_id is provided. */
32177
+ device_custom_metadata?:
32178
+ | Record<string, string | boolean>
32179
+ | undefined
31718
32180
  event_type: 'phone.deactivated'
31719
32181
  }
31720
32182
  )
@@ -31965,6 +32427,14 @@ export interface Routes {
31965
32427
  device_id: string
31966
32428
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
31967
32429
  connected_account_id: string
32430
+ /** Custom metadata of the device, present when device_id is provided. */
32431
+ device_custom_metadata?:
32432
+ | Record<string, string | boolean>
32433
+ | undefined
32434
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32435
+ connected_account_custom_metadata?:
32436
+ | Record<string, string | boolean>
32437
+ | undefined
31968
32438
  event_type: 'access_code.created'
31969
32439
  }
31970
32440
  | {
@@ -31982,6 +32452,14 @@ export interface Routes {
31982
32452
  device_id: string
31983
32453
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
31984
32454
  connected_account_id: string
32455
+ /** Custom metadata of the device, present when device_id is provided. */
32456
+ device_custom_metadata?:
32457
+ | Record<string, string | boolean>
32458
+ | undefined
32459
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32460
+ connected_account_custom_metadata?:
32461
+ | Record<string, string | boolean>
32462
+ | undefined
31985
32463
  event_type: 'access_code.changed'
31986
32464
  }
31987
32465
  | {
@@ -31999,6 +32477,14 @@ export interface Routes {
31999
32477
  device_id: string
32000
32478
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
32001
32479
  connected_account_id: string
32480
+ /** Custom metadata of the device, present when device_id is provided. */
32481
+ device_custom_metadata?:
32482
+ | Record<string, string | boolean>
32483
+ | undefined
32484
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32485
+ connected_account_custom_metadata?:
32486
+ | Record<string, string | boolean>
32487
+ | undefined
32002
32488
  event_type: 'access_code.scheduled_on_device'
32003
32489
  /** Code for the affected access code. */
32004
32490
  code: string
@@ -32018,6 +32504,14 @@ export interface Routes {
32018
32504
  device_id: string
32019
32505
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
32020
32506
  connected_account_id: string
32507
+ /** Custom metadata of the device, present when device_id is provided. */
32508
+ device_custom_metadata?:
32509
+ | Record<string, string | boolean>
32510
+ | undefined
32511
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32512
+ connected_account_custom_metadata?:
32513
+ | Record<string, string | boolean>
32514
+ | undefined
32021
32515
  event_type: 'access_code.set_on_device'
32022
32516
  /** Code for the affected access code. */
32023
32517
  code: string
@@ -32037,6 +32531,14 @@ export interface Routes {
32037
32531
  device_id: string
32038
32532
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
32039
32533
  connected_account_id: string
32534
+ /** Custom metadata of the device, present when device_id is provided. */
32535
+ device_custom_metadata?:
32536
+ | Record<string, string | boolean>
32537
+ | undefined
32538
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32539
+ connected_account_custom_metadata?:
32540
+ | Record<string, string | boolean>
32541
+ | undefined
32040
32542
  event_type: 'access_code.removed_from_device'
32041
32543
  }
32042
32544
  | {
@@ -32054,6 +32556,14 @@ export interface Routes {
32054
32556
  device_id: string
32055
32557
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
32056
32558
  connected_account_id: string
32559
+ /** Custom metadata of the device, present when device_id is provided. */
32560
+ device_custom_metadata?:
32561
+ | Record<string, string | boolean>
32562
+ | undefined
32563
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32564
+ connected_account_custom_metadata?:
32565
+ | Record<string, string | boolean>
32566
+ | undefined
32057
32567
  event_type: 'access_code.delay_in_setting_on_device'
32058
32568
  }
32059
32569
  | {
@@ -32071,6 +32581,14 @@ export interface Routes {
32071
32581
  device_id: string
32072
32582
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
32073
32583
  connected_account_id: string
32584
+ /** Custom metadata of the device, present when device_id is provided. */
32585
+ device_custom_metadata?:
32586
+ | Record<string, string | boolean>
32587
+ | undefined
32588
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32589
+ connected_account_custom_metadata?:
32590
+ | Record<string, string | boolean>
32591
+ | undefined
32074
32592
  event_type: 'access_code.failed_to_set_on_device'
32075
32593
  }
32076
32594
  | {
@@ -32088,6 +32606,14 @@ export interface Routes {
32088
32606
  device_id: string
32089
32607
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
32090
32608
  connected_account_id: string
32609
+ /** Custom metadata of the device, present when device_id is provided. */
32610
+ device_custom_metadata?:
32611
+ | Record<string, string | boolean>
32612
+ | undefined
32613
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32614
+ connected_account_custom_metadata?:
32615
+ | Record<string, string | boolean>
32616
+ | undefined
32091
32617
  event_type: 'access_code.deleted'
32092
32618
  /** Code for the affected access code. */
32093
32619
  code: string | null
@@ -32107,6 +32633,14 @@ export interface Routes {
32107
32633
  device_id: string
32108
32634
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
32109
32635
  connected_account_id: string
32636
+ /** Custom metadata of the device, present when device_id is provided. */
32637
+ device_custom_metadata?:
32638
+ | Record<string, string | boolean>
32639
+ | undefined
32640
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32641
+ connected_account_custom_metadata?:
32642
+ | Record<string, string | boolean>
32643
+ | undefined
32110
32644
  event_type: 'access_code.delay_in_removing_from_device'
32111
32645
  }
32112
32646
  | {
@@ -32124,6 +32658,14 @@ export interface Routes {
32124
32658
  device_id: string
32125
32659
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
32126
32660
  connected_account_id: string
32661
+ /** Custom metadata of the device, present when device_id is provided. */
32662
+ device_custom_metadata?:
32663
+ | Record<string, string | boolean>
32664
+ | undefined
32665
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32666
+ connected_account_custom_metadata?:
32667
+ | Record<string, string | boolean>
32668
+ | undefined
32127
32669
  event_type: 'access_code.failed_to_remove_from_device'
32128
32670
  }
32129
32671
  | {
@@ -32141,6 +32683,14 @@ export interface Routes {
32141
32683
  device_id: string
32142
32684
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
32143
32685
  connected_account_id: string
32686
+ /** Custom metadata of the device, present when device_id is provided. */
32687
+ device_custom_metadata?:
32688
+ | Record<string, string | boolean>
32689
+ | undefined
32690
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32691
+ connected_account_custom_metadata?:
32692
+ | Record<string, string | boolean>
32693
+ | undefined
32144
32694
  event_type: 'access_code.modified_external_to_seam'
32145
32695
  }
32146
32696
  | {
@@ -32158,6 +32708,14 @@ export interface Routes {
32158
32708
  device_id: string
32159
32709
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
32160
32710
  connected_account_id: string
32711
+ /** Custom metadata of the device, present when device_id is provided. */
32712
+ device_custom_metadata?:
32713
+ | Record<string, string | boolean>
32714
+ | undefined
32715
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32716
+ connected_account_custom_metadata?:
32717
+ | Record<string, string | boolean>
32718
+ | undefined
32161
32719
  event_type: 'access_code.deleted_external_to_seam'
32162
32720
  }
32163
32721
  | {
@@ -32175,6 +32733,14 @@ export interface Routes {
32175
32733
  device_id: string
32176
32734
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
32177
32735
  connected_account_id: string
32736
+ /** Custom metadata of the device, present when device_id is provided. */
32737
+ device_custom_metadata?:
32738
+ | Record<string, string | boolean>
32739
+ | undefined
32740
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32741
+ connected_account_custom_metadata?:
32742
+ | Record<string, string | boolean>
32743
+ | undefined
32178
32744
  event_type: 'access_code.backup_access_code_pulled'
32179
32745
  backup_access_code_id: string
32180
32746
  }
@@ -32193,6 +32759,14 @@ export interface Routes {
32193
32759
  device_id: string
32194
32760
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
32195
32761
  connected_account_id: string
32762
+ /** Custom metadata of the device, present when device_id is provided. */
32763
+ device_custom_metadata?:
32764
+ | Record<string, string | boolean>
32765
+ | undefined
32766
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32767
+ connected_account_custom_metadata?:
32768
+ | Record<string, string | boolean>
32769
+ | undefined
32196
32770
  event_type: 'access_code.unmanaged.converted_to_managed'
32197
32771
  }
32198
32772
  | {
@@ -32210,6 +32784,14 @@ export interface Routes {
32210
32784
  device_id: string
32211
32785
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
32212
32786
  connected_account_id: string
32787
+ /** Custom metadata of the device, present when device_id is provided. */
32788
+ device_custom_metadata?:
32789
+ | Record<string, string | boolean>
32790
+ | undefined
32791
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32792
+ connected_account_custom_metadata?:
32793
+ | Record<string, string | boolean>
32794
+ | undefined
32213
32795
  event_type: 'access_code.unmanaged.failed_to_convert_to_managed'
32214
32796
  }
32215
32797
  | {
@@ -32227,6 +32809,14 @@ export interface Routes {
32227
32809
  device_id: string
32228
32810
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
32229
32811
  connected_account_id: string
32812
+ /** Custom metadata of the device, present when device_id is provided. */
32813
+ device_custom_metadata?:
32814
+ | Record<string, string | boolean>
32815
+ | undefined
32816
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32817
+ connected_account_custom_metadata?:
32818
+ | Record<string, string | boolean>
32819
+ | undefined
32230
32820
  event_type: 'access_code.unmanaged.created'
32231
32821
  }
32232
32822
  | {
@@ -32244,6 +32834,14 @@ export interface Routes {
32244
32834
  device_id: string
32245
32835
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
32246
32836
  connected_account_id: string
32837
+ /** Custom metadata of the device, present when device_id is provided. */
32838
+ device_custom_metadata?:
32839
+ | Record<string, string | boolean>
32840
+ | undefined
32841
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
32842
+ connected_account_custom_metadata?:
32843
+ | Record<string, string | boolean>
32844
+ | undefined
32247
32845
  event_type: 'access_code.unmanaged.removed'
32248
32846
  }
32249
32847
  | {
@@ -32632,6 +33230,10 @@ export interface Routes {
32632
33230
  occurred_at: string
32633
33231
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
32634
33232
  connected_account_id: string
33233
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33234
+ connected_account_custom_metadata?:
33235
+ | Record<string, string | boolean>
33236
+ | undefined
32635
33237
  event_type: 'connected_account.connected'
32636
33238
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
32637
33239
  connect_webview_id: string
@@ -32647,6 +33249,10 @@ export interface Routes {
32647
33249
  occurred_at: string
32648
33250
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
32649
33251
  connected_account_id: string
33252
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33253
+ connected_account_custom_metadata?:
33254
+ | Record<string, string | boolean>
33255
+ | undefined
32650
33256
  event_type: 'connected_account.created'
32651
33257
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
32652
33258
  connect_webview_id: string
@@ -32662,6 +33268,10 @@ export interface Routes {
32662
33268
  occurred_at: string
32663
33269
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
32664
33270
  connected_account_id: string
33271
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33272
+ connected_account_custom_metadata?:
33273
+ | Record<string, string | boolean>
33274
+ | undefined
32665
33275
  event_type: 'connected_account.successful_login'
32666
33276
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
32667
33277
  connect_webview_id: string
@@ -32677,6 +33287,10 @@ export interface Routes {
32677
33287
  occurred_at: string
32678
33288
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
32679
33289
  connected_account_id: string
33290
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33291
+ connected_account_custom_metadata?:
33292
+ | Record<string, string | boolean>
33293
+ | undefined
32680
33294
  event_type: 'connected_account.disconnected'
32681
33295
  }
32682
33296
  | {
@@ -32690,6 +33304,10 @@ export interface Routes {
32690
33304
  occurred_at: string
32691
33305
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
32692
33306
  connected_account_id: string
33307
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33308
+ connected_account_custom_metadata?:
33309
+ | Record<string, string | boolean>
33310
+ | undefined
32693
33311
  event_type: 'connected_account.completed_first_sync'
32694
33312
  }
32695
33313
  | {
@@ -32703,6 +33321,10 @@ export interface Routes {
32703
33321
  occurred_at: string
32704
33322
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
32705
33323
  connected_account_id: string
33324
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33325
+ connected_account_custom_metadata?:
33326
+ | Record<string, string | boolean>
33327
+ | undefined
32706
33328
  event_type: 'connected_account.deleted'
32707
33329
  }
32708
33330
  | {
@@ -32716,6 +33338,10 @@ export interface Routes {
32716
33338
  occurred_at: string
32717
33339
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
32718
33340
  connected_account_id: string
33341
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33342
+ connected_account_custom_metadata?:
33343
+ | Record<string, string | boolean>
33344
+ | undefined
32719
33345
  event_type: 'connected_account.completed_first_sync_after_reconnection'
32720
33346
  }
32721
33347
  | {
@@ -32800,6 +33426,10 @@ export interface Routes {
32800
33426
  event_type: 'connect_webview.login_succeeded'
32801
33427
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
32802
33428
  connected_account_id: string
33429
+ /** Custom metadata of the connected account; present when connected_account_id is provided. */
33430
+ connected_account_custom_metadata?:
33431
+ | Record<string, string | boolean>
33432
+ | undefined
32803
33433
  }
32804
33434
  | {
32805
33435
  /** ID of the event. */
@@ -32827,6 +33457,14 @@ export interface Routes {
32827
33457
  device_id: string
32828
33458
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
32829
33459
  connected_account_id: string
33460
+ /** Custom metadata of the device, present when device_id is provided. */
33461
+ device_custom_metadata?:
33462
+ | Record<string, string | boolean>
33463
+ | undefined
33464
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33465
+ connected_account_custom_metadata?:
33466
+ | Record<string, string | boolean>
33467
+ | undefined
32830
33468
  event_type: 'device.connected'
32831
33469
  }
32832
33470
  | {
@@ -32842,6 +33480,14 @@ export interface Routes {
32842
33480
  device_id: string
32843
33481
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
32844
33482
  connected_account_id: string
33483
+ /** Custom metadata of the device, present when device_id is provided. */
33484
+ device_custom_metadata?:
33485
+ | Record<string, string | boolean>
33486
+ | undefined
33487
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33488
+ connected_account_custom_metadata?:
33489
+ | Record<string, string | boolean>
33490
+ | undefined
32845
33491
  event_type: 'device.added'
32846
33492
  }
32847
33493
  | {
@@ -32857,6 +33503,14 @@ export interface Routes {
32857
33503
  device_id: string
32858
33504
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
32859
33505
  connected_account_id: string
33506
+ /** Custom metadata of the device, present when device_id is provided. */
33507
+ device_custom_metadata?:
33508
+ | Record<string, string | boolean>
33509
+ | undefined
33510
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33511
+ connected_account_custom_metadata?:
33512
+ | Record<string, string | boolean>
33513
+ | undefined
32860
33514
  event_type: 'device.converted_to_unmanaged'
32861
33515
  }
32862
33516
  | {
@@ -32872,6 +33526,14 @@ export interface Routes {
32872
33526
  device_id: string
32873
33527
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
32874
33528
  connected_account_id: string
33529
+ /** Custom metadata of the device, present when device_id is provided. */
33530
+ device_custom_metadata?:
33531
+ | Record<string, string | boolean>
33532
+ | undefined
33533
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33534
+ connected_account_custom_metadata?:
33535
+ | Record<string, string | boolean>
33536
+ | undefined
32875
33537
  event_type: 'device.unmanaged.converted_to_managed'
32876
33538
  }
32877
33539
  | {
@@ -32887,6 +33549,14 @@ export interface Routes {
32887
33549
  device_id: string
32888
33550
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
32889
33551
  connected_account_id: string
33552
+ /** Custom metadata of the device, present when device_id is provided. */
33553
+ device_custom_metadata?:
33554
+ | Record<string, string | boolean>
33555
+ | undefined
33556
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33557
+ connected_account_custom_metadata?:
33558
+ | Record<string, string | boolean>
33559
+ | undefined
32890
33560
  event_type: 'device.unmanaged.connected'
32891
33561
  }
32892
33562
  | {
@@ -32902,6 +33572,14 @@ export interface Routes {
32902
33572
  device_id: string
32903
33573
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
32904
33574
  connected_account_id: string
33575
+ /** Custom metadata of the device, present when device_id is provided. */
33576
+ device_custom_metadata?:
33577
+ | Record<string, string | boolean>
33578
+ | undefined
33579
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33580
+ connected_account_custom_metadata?:
33581
+ | Record<string, string | boolean>
33582
+ | undefined
32905
33583
  event_type: 'device.disconnected'
32906
33584
  /** Error code associated with the disconnection event, if any. */
32907
33585
  error_code:
@@ -32922,6 +33600,14 @@ export interface Routes {
32922
33600
  device_id: string
32923
33601
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
32924
33602
  connected_account_id: string
33603
+ /** Custom metadata of the device, present when device_id is provided. */
33604
+ device_custom_metadata?:
33605
+ | Record<string, string | boolean>
33606
+ | undefined
33607
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33608
+ connected_account_custom_metadata?:
33609
+ | Record<string, string | boolean>
33610
+ | undefined
32925
33611
  event_type: 'device.unmanaged.disconnected'
32926
33612
  /** Error code associated with the disconnection event, if any. */
32927
33613
  error_code:
@@ -32942,6 +33628,14 @@ export interface Routes {
32942
33628
  device_id: string
32943
33629
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
32944
33630
  connected_account_id: string
33631
+ /** Custom metadata of the device, present when device_id is provided. */
33632
+ device_custom_metadata?:
33633
+ | Record<string, string | boolean>
33634
+ | undefined
33635
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33636
+ connected_account_custom_metadata?:
33637
+ | Record<string, string | boolean>
33638
+ | undefined
32945
33639
  event_type: 'device.tampered'
32946
33640
  }
32947
33641
  | {
@@ -32957,6 +33651,14 @@ export interface Routes {
32957
33651
  device_id: string
32958
33652
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
32959
33653
  connected_account_id: string
33654
+ /** Custom metadata of the device, present when device_id is provided. */
33655
+ device_custom_metadata?:
33656
+ | Record<string, string | boolean>
33657
+ | undefined
33658
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33659
+ connected_account_custom_metadata?:
33660
+ | Record<string, string | boolean>
33661
+ | undefined
32960
33662
  event_type: 'device.low_battery'
32961
33663
  /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
32962
33664
  battery_level: number
@@ -32974,6 +33676,14 @@ export interface Routes {
32974
33676
  device_id: string
32975
33677
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
32976
33678
  connected_account_id: string
33679
+ /** Custom metadata of the device, present when device_id is provided. */
33680
+ device_custom_metadata?:
33681
+ | Record<string, string | boolean>
33682
+ | undefined
33683
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33684
+ connected_account_custom_metadata?:
33685
+ | Record<string, string | boolean>
33686
+ | undefined
32977
33687
  event_type: 'device.battery_status_changed'
32978
33688
  /** Battery status of the affected device, calculated from the numeric `battery_level` value. */
32979
33689
  battery_status: 'critical' | 'low' | 'good' | 'full'
@@ -32993,6 +33703,14 @@ export interface Routes {
32993
33703
  device_id: string
32994
33704
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
32995
33705
  connected_account_id: string
33706
+ /** Custom metadata of the device, present when device_id is provided. */
33707
+ device_custom_metadata?:
33708
+ | Record<string, string | boolean>
33709
+ | undefined
33710
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33711
+ connected_account_custom_metadata?:
33712
+ | Record<string, string | boolean>
33713
+ | undefined
32996
33714
  event_type: 'device.removed'
32997
33715
  }
32998
33716
  | {
@@ -33008,6 +33726,14 @@ export interface Routes {
33008
33726
  device_id: string
33009
33727
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33010
33728
  connected_account_id: string
33729
+ /** Custom metadata of the device, present when device_id is provided. */
33730
+ device_custom_metadata?:
33731
+ | Record<string, string | boolean>
33732
+ | undefined
33733
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33734
+ connected_account_custom_metadata?:
33735
+ | Record<string, string | boolean>
33736
+ | undefined
33011
33737
  event_type: 'device.deleted'
33012
33738
  }
33013
33739
  | {
@@ -33023,6 +33749,14 @@ export interface Routes {
33023
33749
  device_id: string
33024
33750
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33025
33751
  connected_account_id: string
33752
+ /** Custom metadata of the device, present when device_id is provided. */
33753
+ device_custom_metadata?:
33754
+ | Record<string, string | boolean>
33755
+ | undefined
33756
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33757
+ connected_account_custom_metadata?:
33758
+ | Record<string, string | boolean>
33759
+ | undefined
33026
33760
  event_type: 'device.third_party_integration_detected'
33027
33761
  }
33028
33762
  | {
@@ -33038,6 +33772,14 @@ export interface Routes {
33038
33772
  device_id: string
33039
33773
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33040
33774
  connected_account_id: string
33775
+ /** Custom metadata of the device, present when device_id is provided. */
33776
+ device_custom_metadata?:
33777
+ | Record<string, string | boolean>
33778
+ | undefined
33779
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33780
+ connected_account_custom_metadata?:
33781
+ | Record<string, string | boolean>
33782
+ | undefined
33041
33783
  event_type: 'device.third_party_integration_no_longer_detected'
33042
33784
  }
33043
33785
  | {
@@ -33053,6 +33795,14 @@ export interface Routes {
33053
33795
  device_id: string
33054
33796
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33055
33797
  connected_account_id: string
33798
+ /** Custom metadata of the device, present when device_id is provided. */
33799
+ device_custom_metadata?:
33800
+ | Record<string, string | boolean>
33801
+ | undefined
33802
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33803
+ connected_account_custom_metadata?:
33804
+ | Record<string, string | boolean>
33805
+ | undefined
33056
33806
  event_type: 'device.salto.privacy_mode_activated'
33057
33807
  }
33058
33808
  | {
@@ -33068,6 +33818,14 @@ export interface Routes {
33068
33818
  device_id: string
33069
33819
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33070
33820
  connected_account_id: string
33821
+ /** Custom metadata of the device, present when device_id is provided. */
33822
+ device_custom_metadata?:
33823
+ | Record<string, string | boolean>
33824
+ | undefined
33825
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33826
+ connected_account_custom_metadata?:
33827
+ | Record<string, string | boolean>
33828
+ | undefined
33071
33829
  event_type: 'device.salto.privacy_mode_deactivated'
33072
33830
  }
33073
33831
  | {
@@ -33083,6 +33841,14 @@ export interface Routes {
33083
33841
  device_id: string
33084
33842
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33085
33843
  connected_account_id: string
33844
+ /** Custom metadata of the device, present when device_id is provided. */
33845
+ device_custom_metadata?:
33846
+ | Record<string, string | boolean>
33847
+ | undefined
33848
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33849
+ connected_account_custom_metadata?:
33850
+ | Record<string, string | boolean>
33851
+ | undefined
33086
33852
  event_type: 'device.connection_became_flaky'
33087
33853
  }
33088
33854
  | {
@@ -33098,6 +33864,14 @@ export interface Routes {
33098
33864
  device_id: string
33099
33865
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33100
33866
  connected_account_id: string
33867
+ /** Custom metadata of the device, present when device_id is provided. */
33868
+ device_custom_metadata?:
33869
+ | Record<string, string | boolean>
33870
+ | undefined
33871
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33872
+ connected_account_custom_metadata?:
33873
+ | Record<string, string | boolean>
33874
+ | undefined
33101
33875
  event_type: 'device.connection_stabilized'
33102
33876
  }
33103
33877
  | {
@@ -33113,6 +33887,14 @@ export interface Routes {
33113
33887
  device_id: string
33114
33888
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33115
33889
  connected_account_id: string
33890
+ /** Custom metadata of the device, present when device_id is provided. */
33891
+ device_custom_metadata?:
33892
+ | Record<string, string | boolean>
33893
+ | undefined
33894
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33895
+ connected_account_custom_metadata?:
33896
+ | Record<string, string | boolean>
33897
+ | undefined
33116
33898
  event_type: 'device.error.subscription_required'
33117
33899
  }
33118
33900
  | {
@@ -33128,6 +33910,14 @@ export interface Routes {
33128
33910
  device_id: string
33129
33911
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33130
33912
  connected_account_id: string
33913
+ /** Custom metadata of the device, present when device_id is provided. */
33914
+ device_custom_metadata?:
33915
+ | Record<string, string | boolean>
33916
+ | undefined
33917
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33918
+ connected_account_custom_metadata?:
33919
+ | Record<string, string | boolean>
33920
+ | undefined
33131
33921
  event_type: 'device.error.subscription_required.resolved'
33132
33922
  }
33133
33923
  | {
@@ -33143,6 +33933,14 @@ export interface Routes {
33143
33933
  device_id: string
33144
33934
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33145
33935
  connected_account_id: string
33936
+ /** Custom metadata of the device, present when device_id is provided. */
33937
+ device_custom_metadata?:
33938
+ | Record<string, string | boolean>
33939
+ | undefined
33940
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33941
+ connected_account_custom_metadata?:
33942
+ | Record<string, string | boolean>
33943
+ | undefined
33146
33944
  event_type: 'device.accessory_keypad_connected'
33147
33945
  }
33148
33946
  | {
@@ -33158,6 +33956,14 @@ export interface Routes {
33158
33956
  device_id: string
33159
33957
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33160
33958
  connected_account_id: string
33959
+ /** Custom metadata of the device, present when device_id is provided. */
33960
+ device_custom_metadata?:
33961
+ | Record<string, string | boolean>
33962
+ | undefined
33963
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33964
+ connected_account_custom_metadata?:
33965
+ | Record<string, string | boolean>
33966
+ | undefined
33161
33967
  event_type: 'device.accessory_keypad_disconnected'
33162
33968
  }
33163
33969
  | {
@@ -33173,6 +33979,14 @@ export interface Routes {
33173
33979
  device_id: string
33174
33980
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33175
33981
  connected_account_id: string
33982
+ /** Custom metadata of the device, present when device_id is provided. */
33983
+ device_custom_metadata?:
33984
+ | Record<string, string | boolean>
33985
+ | undefined
33986
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
33987
+ connected_account_custom_metadata?:
33988
+ | Record<string, string | boolean>
33989
+ | undefined
33176
33990
  event_type: 'noise_sensor.noise_threshold_triggered'
33177
33991
  /** Detected noise level in decibels. */
33178
33992
  noise_level_decibels?: number | undefined
@@ -33200,6 +34014,14 @@ export interface Routes {
33200
34014
  device_id: string
33201
34015
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33202
34016
  connected_account_id: string
34017
+ /** Custom metadata of the device, present when device_id is provided. */
34018
+ device_custom_metadata?:
34019
+ | Record<string, string | boolean>
34020
+ | undefined
34021
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
34022
+ connected_account_custom_metadata?:
34023
+ | Record<string, string | boolean>
34024
+ | undefined
33203
34025
  event_type: 'lock.locked'
33204
34026
  /** ID of the access code that was used to lock the device. */
33205
34027
  access_code_id?: string | undefined
@@ -33221,6 +34043,14 @@ export interface Routes {
33221
34043
  device_id: string
33222
34044
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33223
34045
  connected_account_id: string
34046
+ /** Custom metadata of the device, present when device_id is provided. */
34047
+ device_custom_metadata?:
34048
+ | Record<string, string | boolean>
34049
+ | undefined
34050
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
34051
+ connected_account_custom_metadata?:
34052
+ | Record<string, string | boolean>
34053
+ | undefined
33224
34054
  event_type: 'lock.unlocked'
33225
34055
  /** ID of the access code that was used to unlock the affected device. */
33226
34056
  access_code_id?: string | undefined
@@ -33242,6 +34072,14 @@ export interface Routes {
33242
34072
  device_id: string
33243
34073
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33244
34074
  connected_account_id: string
34075
+ /** Custom metadata of the device, present when device_id is provided. */
34076
+ device_custom_metadata?:
34077
+ | Record<string, string | boolean>
34078
+ | undefined
34079
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
34080
+ connected_account_custom_metadata?:
34081
+ | Record<string, string | boolean>
34082
+ | undefined
33245
34083
  event_type: 'lock.access_denied'
33246
34084
  /** ID of the access code that was used in the unlock attempts. */
33247
34085
  access_code_id?: string | undefined
@@ -33259,6 +34097,14 @@ export interface Routes {
33259
34097
  device_id: string
33260
34098
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33261
34099
  connected_account_id: string
34100
+ /** Custom metadata of the device, present when device_id is provided. */
34101
+ device_custom_metadata?:
34102
+ | Record<string, string | boolean>
34103
+ | undefined
34104
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
34105
+ connected_account_custom_metadata?:
34106
+ | Record<string, string | boolean>
34107
+ | undefined
33262
34108
  event_type: 'thermostat.climate_preset_activated'
33263
34109
  /** ID of the thermostat schedule that prompted the affected climate preset to be activated. */
33264
34110
  thermostat_schedule_id: string | null
@@ -33280,6 +34126,14 @@ export interface Routes {
33280
34126
  device_id: string
33281
34127
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33282
34128
  connected_account_id: string
34129
+ /** Custom metadata of the device, present when device_id is provided. */
34130
+ device_custom_metadata?:
34131
+ | Record<string, string | boolean>
34132
+ | undefined
34133
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
34134
+ connected_account_custom_metadata?:
34135
+ | Record<string, string | boolean>
34136
+ | undefined
33283
34137
  event_type: 'thermostat.manually_adjusted'
33284
34138
  /** Method used to adjust the affected thermostat manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the thermostat. */
33285
34139
  method: 'seam' | 'external'
@@ -33313,6 +34167,14 @@ export interface Routes {
33313
34167
  device_id: string
33314
34168
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33315
34169
  connected_account_id: string
34170
+ /** Custom metadata of the device, present when device_id is provided. */
34171
+ device_custom_metadata?:
34172
+ | Record<string, string | boolean>
34173
+ | undefined
34174
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
34175
+ connected_account_custom_metadata?:
34176
+ | Record<string, string | boolean>
34177
+ | undefined
33316
34178
  event_type: 'thermostat.temperature_threshold_exceeded'
33317
34179
  /** Temperature, in °C, reported by the affected thermostat. */
33318
34180
  temperature_celsius: number
@@ -33340,6 +34202,14 @@ export interface Routes {
33340
34202
  device_id: string
33341
34203
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33342
34204
  connected_account_id: string
34205
+ /** Custom metadata of the device, present when device_id is provided. */
34206
+ device_custom_metadata?:
34207
+ | Record<string, string | boolean>
34208
+ | undefined
34209
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
34210
+ connected_account_custom_metadata?:
34211
+ | Record<string, string | boolean>
34212
+ | undefined
33343
34213
  event_type: 'thermostat.temperature_threshold_no_longer_exceeded'
33344
34214
  /** Temperature, in °C, reported by the affected thermostat. */
33345
34215
  temperature_celsius: number
@@ -33367,6 +34237,14 @@ export interface Routes {
33367
34237
  device_id: string
33368
34238
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33369
34239
  connected_account_id: string
34240
+ /** Custom metadata of the device, present when device_id is provided. */
34241
+ device_custom_metadata?:
34242
+ | Record<string, string | boolean>
34243
+ | undefined
34244
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
34245
+ connected_account_custom_metadata?:
34246
+ | Record<string, string | boolean>
34247
+ | undefined
33370
34248
  event_type: 'thermostat.temperature_reached_set_point'
33371
34249
  /** Temperature, in °C, reported by the affected thermostat. */
33372
34250
  temperature_celsius: number
@@ -33390,6 +34268,14 @@ export interface Routes {
33390
34268
  device_id: string
33391
34269
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33392
34270
  connected_account_id: string
34271
+ /** Custom metadata of the device, present when device_id is provided. */
34272
+ device_custom_metadata?:
34273
+ | Record<string, string | boolean>
34274
+ | undefined
34275
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
34276
+ connected_account_custom_metadata?:
34277
+ | Record<string, string | boolean>
34278
+ | undefined
33393
34279
  event_type: 'thermostat.temperature_changed'
33394
34280
  /** Temperature, in °C, reported by the affected thermostat. */
33395
34281
  temperature_celsius: number
@@ -33409,6 +34295,14 @@ export interface Routes {
33409
34295
  device_id: string
33410
34296
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
33411
34297
  connected_account_id: string
34298
+ /** Custom metadata of the device, present when device_id is provided. */
34299
+ device_custom_metadata?:
34300
+ | Record<string, string | boolean>
34301
+ | undefined
34302
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
34303
+ connected_account_custom_metadata?:
34304
+ | Record<string, string | boolean>
34305
+ | undefined
33412
34306
  event_type: 'device.name_changed'
33413
34307
  /** The new name of the affected device. */
33414
34308
  device_name: string
@@ -33437,6 +34331,10 @@ export interface Routes {
33437
34331
  occurred_at: string
33438
34332
  /** ID of the affected phone device. */
33439
34333
  device_id: string
34334
+ /** Custom metadata of the device; present when device_id is provided. */
34335
+ device_custom_metadata?:
34336
+ | Record<string, string | boolean>
34337
+ | undefined
33440
34338
  event_type: 'phone.deactivated'
33441
34339
  }
33442
34340
  >
@@ -54068,6 +54966,1638 @@ export interface Routes {
54068
54966
  }
54069
54967
  }
54070
54968
  }
54969
+ '/spaces/get_related': {
54970
+ route: '/spaces/get_related'
54971
+ method: 'GET' | 'POST'
54972
+ queryParams: {}
54973
+ jsonBody: {}
54974
+ commonParams: {
54975
+ /** IDs of the spaces that you want to get along with their related resources. */
54976
+ space_ids: string[]
54977
+ include?: Array<'spaces' | 'devices' | 'acs_entrances'> | undefined
54978
+ exclude?: Array<'spaces' | 'devices' | 'acs_entrances'> | undefined
54979
+ }
54980
+ formData: {}
54981
+ jsonResponse: {
54982
+ /** Represents a resource batch. */
54983
+ batch: {
54984
+ batch_type: 'spaces'
54985
+ spaces?:
54986
+ | Array<{
54987
+ /** ID of the space. */
54988
+ space_id: string
54989
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space. */
54990
+ workspace_id: string
54991
+ /** Name of the space. */
54992
+ name: string
54993
+ /** Display name for the space. */
54994
+ display_name: string
54995
+ /** Date and time at which the space was created. */
54996
+ created_at: string
54997
+ }>
54998
+ | undefined
54999
+ devices?:
55000
+ | Array<{
55001
+ /** ID of the device. */
55002
+ device_id: string
55003
+ /** Type of the device. */
55004
+ device_type:
55005
+ | (
55006
+ | 'akuvox_lock'
55007
+ | 'august_lock'
55008
+ | 'brivo_access_point'
55009
+ | 'butterflymx_panel'
55010
+ | 'avigilon_alta_entry'
55011
+ | 'doorking_lock'
55012
+ | 'genie_door'
55013
+ | 'igloo_lock'
55014
+ | 'linear_lock'
55015
+ | 'lockly_lock'
55016
+ | 'kwikset_lock'
55017
+ | 'nuki_lock'
55018
+ | 'salto_lock'
55019
+ | 'schlage_lock'
55020
+ | 'seam_relay'
55021
+ | 'smartthings_lock'
55022
+ | 'wyze_lock'
55023
+ | 'yale_lock'
55024
+ | 'two_n_intercom'
55025
+ | 'controlbyweb_device'
55026
+ | 'ttlock_lock'
55027
+ | 'igloohome_lock'
55028
+ | 'hubitat_lock'
55029
+ | 'four_suites_door'
55030
+ | 'dormakaba_oracode_door'
55031
+ | 'tedee_lock'
55032
+ | 'akiles_lock'
55033
+ )
55034
+ | ('noiseaware_activity_zone' | 'minut_sensor')
55035
+ | (
55036
+ | 'ecobee_thermostat'
55037
+ | 'nest_thermostat'
55038
+ | 'honeywell_resideo_thermostat'
55039
+ | 'tado_thermostat'
55040
+ | 'sensi_thermostat'
55041
+ | 'smartthings_thermostat'
55042
+ )
55043
+ | ('ios_phone' | 'android_phone')
55044
+ /** Optional nickname to describe the device, settable through Seam. */
55045
+ nickname?: string | undefined
55046
+ /** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
55047
+ display_name: string
55048
+ /**
55049
+ Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/latest/capability-guides/device-and-system-capabilities#capability-flags).
55050
+ */
55051
+ capabilities_supported: Array<
55052
+ | 'access_code'
55053
+ | 'lock'
55054
+ | 'noise_detection'
55055
+ | 'thermostat'
55056
+ | 'battery'
55057
+ | 'phone'
55058
+ >
55059
+ /** Properties of the device. */
55060
+ properties: (({
55061
+ /** Indicates whether the device is online. */
55062
+ online: boolean
55063
+ /** Name of the device.
55064
+ * @deprecated use device.display_name instead */
55065
+ name: string
55066
+ /** Accessory keypad properties and state. */
55067
+ accessory_keypad?:
55068
+ | {
55069
+ /** Indicates if an accessory keypad is connected to the device.
55070
+ */
55071
+ is_connected: boolean
55072
+ /** Keypad battery properties.
55073
+ */
55074
+ battery?:
55075
+ | {
55076
+ level: number
55077
+ }
55078
+ | undefined
55079
+ }
55080
+ | undefined
55081
+ /** Appearance-related properties, as reported by the device. */
55082
+ appearance: {
55083
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
55084
+ name: string
55085
+ }
55086
+ /** Device model-related properties. */
55087
+ model: {
55088
+ /**
55089
+ Indicates whether the device can connect a accessory keypad.
55090
+ */
55091
+ can_connect_accessory_keypad?: boolean | undefined
55092
+ /**
55093
+ Display name of the device model.
55094
+ */
55095
+ display_name: string
55096
+ /**
55097
+ Display name that corresponds to the manufacturer-specific terminology for the device.
55098
+ */
55099
+ manufacturer_display_name: string
55100
+ /**
55101
+ Indicates whether the device has a built in accessory keypad.
55102
+ */
55103
+ has_built_in_keypad?: boolean | undefined
55104
+ /**
55105
+ * @deprecated use device.can_program_offline_access_codes. */
55106
+ offline_access_codes_supported?: boolean | undefined
55107
+ /**
55108
+ * @deprecated use device.can_program_online_access_codes. */
55109
+ online_access_codes_supported?: boolean | undefined
55110
+ /**
55111
+ * @deprecated use device.properties.model.can_connect_accessory_keypad */
55112
+ accessory_keypad_supported?: boolean | undefined
55113
+ }
55114
+ /** Indicates whether the device has direct power. */
55115
+ has_direct_power?: boolean | undefined
55116
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
55117
+ battery_level?: number | undefined
55118
+ /** Represents the current status of the battery charge level. */
55119
+ battery?:
55120
+ | {
55121
+ /** Battery charge level as a value between 0 and 1, inclusive.
55122
+ */
55123
+ level: number
55124
+ /** Represents the current status of the battery charge level. Values are `critical`, which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; `low`, which signifies that the battery is under the preferred threshold and should be charged soon; `good`, which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and `full`, which represents a battery that is fully charged, providing the maximum duration of usage.
55125
+ */
55126
+ status: 'critical' | 'low' | 'good' | 'full'
55127
+ }
55128
+ | undefined
55129
+ /** Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub. */
55130
+ manufacturer?: string | undefined
55131
+ /** Image URL for the device. */
55132
+ image_url?: string | undefined
55133
+ /** Alt text for the device image. */
55134
+ image_alt_text?: string | undefined
55135
+ /** Serial number of the device. */
55136
+ serial_number?: string | undefined
55137
+ /** Indicates whether it is currently possible to use online access codes for the device. */
55138
+ online_access_codes_enabled?: boolean | undefined
55139
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
55140
+ offline_access_codes_enabled?: boolean | undefined
55141
+ /**
55142
+ * @deprecated use device.properties.model.can_connect_accessory_keypad */
55143
+ supports_accessory_keypad?: boolean | undefined
55144
+ /**
55145
+ * @deprecated use offline_access_codes_enabled */
55146
+ supports_offline_access_codes?: boolean | undefined
55147
+ /** Indicates current noise level in decibels, if the device supports noise detection. */
55148
+ noise_level_decibels?: number | undefined
55149
+ /** Array of noise threshold IDs that are currently triggering. */
55150
+ currently_triggering_noise_threshold_ids?: string[] | undefined
55151
+ } & {
55152
+ /** ASSA ABLOY Credential Service metadata for the phone. */
55153
+ assa_abloy_credential_service_metadata?:
55154
+ | (
55155
+ | {
55156
+ /** Indicates whether the credential service has active endpoints associated with the phone. */
55157
+ has_active_endpoint: boolean
55158
+ /** Endpoints associated with the phone. */
55159
+ endpoints: Array<{
55160
+ /** ID of the associated endpoint. */
55161
+ endpoint_id: string
55162
+ /** Indicated whether the endpoint is active. */
55163
+ is_active: boolean
55164
+ }>
55165
+ }
55166
+ | undefined
55167
+ )
55168
+ | undefined
55169
+ /** Salto Space credential service metadata for the phone. */
55170
+ salto_space_credential_service_metadata?:
55171
+ | (
55172
+ | {
55173
+ /** Indicates whether the credential service has an active associated phone. */
55174
+ has_active_phone: boolean
55175
+ }
55176
+ | undefined
55177
+ )
55178
+ | undefined
55179
+ }) & {
55180
+ /** Metadata for an August device. */
55181
+ august_metadata?:
55182
+ | {
55183
+ /** Lock ID for an August device. */
55184
+ lock_id: string
55185
+ /** Lock name for an August device. */
55186
+ lock_name: string
55187
+ /** House name for an August device. */
55188
+ house_name: string
55189
+ /** Indicates whether an August device has a keypad. */
55190
+ has_keypad: boolean
55191
+ /** Keypad battery level for an August device. */
55192
+ keypad_battery_level?: string | undefined
55193
+ /** Model for an August device. */
55194
+ model?: string | undefined
55195
+ /** House ID for an August device. */
55196
+ house_id?: string | undefined
55197
+ }
55198
+ | undefined
55199
+ /** Metadata for an Avigilon Alta system. */
55200
+ avigilon_alta_metadata?:
55201
+ | {
55202
+ /** Entry name for an Avigilon Alta system. */
55203
+ entry_name: string
55204
+ /** Organization name for an Avigilon Alta system. */
55205
+ org_name: string
55206
+ /** Zone ID for an Avigilon Alta system. */
55207
+ zone_id: number
55208
+ /** Zone name for an Avigilon Alta system. */
55209
+ zone_name: string
55210
+ /** Site ID for an Avigilon Alta system. */
55211
+ site_id: number
55212
+ /** Site name for an Avigilon Alta system. */
55213
+ site_name: string
55214
+ /** Total count of entry relays for an Avigilon Alta system. */
55215
+ entry_relays_total_count: number
55216
+ }
55217
+ | undefined
55218
+ /** Metadata for a Schlage device. */
55219
+ schlage_metadata?:
55220
+ | {
55221
+ /** Device ID for a Schlage device. */
55222
+ device_id: string
55223
+ /** Device name for a Schlage device. */
55224
+ device_name: string
55225
+ /** Model for a Schlage device. */
55226
+ model?: string | undefined
55227
+ }
55228
+ | undefined
55229
+ /** Metadata for a SmartThings device. */
55230
+ smartthings_metadata?:
55231
+ | {
55232
+ /** Device ID for a SmartThings device. */
55233
+ device_id: string
55234
+ /** Device name for a SmartThings device. */
55235
+ device_name: string
55236
+ /** Model for a SmartThings device. */
55237
+ model?: string | undefined
55238
+ /** Location ID for a SmartThings device. */
55239
+ location_id?: string | undefined
55240
+ }
55241
+ | undefined
55242
+ /** Metadata for a Lockly device. */
55243
+ lockly_metadata?:
55244
+ | {
55245
+ /** Device ID for a Lockly device. */
55246
+ device_id: string
55247
+ /** Device name for a Lockly device. */
55248
+ device_name: string
55249
+ /** Model for a Lockly device. */
55250
+ model?: string | undefined
55251
+ }
55252
+ | undefined
55253
+ /** Metadata for a Nuki device. */
55254
+ nuki_metadata?:
55255
+ | {
55256
+ /** Device ID for a Nuki device. */
55257
+ device_id: string
55258
+ /** Device name for a Nuki device. */
55259
+ device_name: string
55260
+ /** Indicates whether the keypad battery is in a critical state for a Nuki device. */
55261
+ keypad_battery_critical?: boolean | undefined
55262
+ /** Indicates whether the keypad is paired for a Nuki device. */
55263
+ keypad_paired?: boolean | undefined
55264
+ /** Indicates whether keypad 2 is paired for a Nuki device. */
55265
+ keypad_2_paired?: boolean | undefined
55266
+ }
55267
+ | undefined
55268
+ /** Metadata for a Kwikset device. */
55269
+ kwikset_metadata?:
55270
+ | {
55271
+ /** Device ID for a Kwikset device. */
55272
+ device_id: string
55273
+ /** Device name for a Kwikset device. */
55274
+ device_name: string
55275
+ /** Model number for a Kwikset device. */
55276
+ model_number: string
55277
+ }
55278
+ | undefined
55279
+ /** Metada for a Salto device.
55280
+ * @deprecated Use `salto_ks_metadata ` instead. */
55281
+ salto_metadata?:
55282
+ | {
55283
+ /** Lock ID for a Salto device. */
55284
+ lock_id: string
55285
+ /** Customer reference for a Salto device. */
55286
+ customer_reference: string
55287
+ /** Lock type for a Salto device. */
55288
+ lock_type: string
55289
+ /** Battery level for a Salto device. */
55290
+ battery_level: string
55291
+ /** Locked state for a Salto device. */
55292
+ locked_state: string
55293
+ /** Model for a Salto device. */
55294
+ model?: string | undefined
55295
+ }
55296
+ | undefined
55297
+ /** Metadata for a Salto KS device. */
55298
+ salto_ks_metadata?:
55299
+ | {
55300
+ /** Lock ID for a Salto KS device. */
55301
+ lock_id: string
55302
+ /** Customer reference for a Salto KS device. */
55303
+ customer_reference: string
55304
+ /** Lock type for a Salto KS device. */
55305
+ lock_type: string
55306
+ /** Battery level for a Salto KS device. */
55307
+ battery_level: string
55308
+ /** Locked state for a Salto KS device. */
55309
+ locked_state: string
55310
+ /** Model for a Salto KS device. */
55311
+ model?: string | undefined
55312
+ }
55313
+ | undefined
55314
+ /** Metadata for a Genie device. */
55315
+ genie_metadata?:
55316
+ | {
55317
+ /** Lock name for a Genie device. */
55318
+ device_name: string
55319
+ /** Door name for a Genie device. */
55320
+ door_name: string
55321
+ }
55322
+ | undefined
55323
+ /** Metadata for a Brivo device. */
55324
+ brivo_metadata?:
55325
+ | {
55326
+ /** Device name for a Brivo device. */
55327
+ device_name: string
55328
+ }
55329
+ | undefined
55330
+ /** Metadata for an igloo device. */
55331
+ igloo_metadata?:
55332
+ | {
55333
+ /** Device ID for an igloo device. */
55334
+ device_id: string
55335
+ /** Bridge ID for an igloo device. */
55336
+ bridge_id: string
55337
+ /** Model for an igloo device. */
55338
+ model?: string | undefined
55339
+ }
55340
+ | undefined
55341
+ /** Metadata for a NoiseAware device. */
55342
+ noiseaware_metadata?:
55343
+ | {
55344
+ /** Device model for a NoiseAware device. */
55345
+ device_model: 'indoor' | 'outdoor'
55346
+ /** Noise level, expressed as a Noise Risk Score (NRS), for a NoiseAware device. */
55347
+ noise_level_nrs: number
55348
+ /** Noise level, in decibels, for a NoiseAware device. */
55349
+ noise_level_decibel: number
55350
+ /** Device name for a NoiseAware device. */
55351
+ device_name: string
55352
+ /** Device ID for a NoiseAware device. */
55353
+ device_id: string
55354
+ }
55355
+ | undefined
55356
+ /** Metadata for a Minut device. */
55357
+ minut_metadata?:
55358
+ | {
55359
+ /** Device ID for a Minut device. */
55360
+ device_id: string
55361
+ /** Device name for a Minut device. */
55362
+ device_name: string
55363
+ /** Latest sensor values for a Minut device. */
55364
+ latest_sensor_values: {
55365
+ /** Latest temperature reading for a Minut device. */
55366
+ temperature: {
55367
+ /** Time of latest temperature reading for a Minut device. */
55368
+ time: string
55369
+ /** Value of latest temperature reading for a Minut device. */
55370
+ value: number
55371
+ }
55372
+ /** Latest sound reading for a Minut device. */
55373
+ sound: {
55374
+ /** Time of latest sound reading for a Minut device. */
55375
+ time: string
55376
+ /** Value of latest sound reading for a Minut device. */
55377
+ value: number
55378
+ }
55379
+ /** Latest humidity reading for a Minut device. */
55380
+ humidity: {
55381
+ /** Time of latest humidity reading for a Minut device. */
55382
+ time: string
55383
+ /** Value of latest humidity reading for a Minut device. */
55384
+ value: number
55385
+ }
55386
+ /** Latest pressure reading for a Minut device. */
55387
+ pressure: {
55388
+ /** Time of latest pressure reading for a Minut device. */
55389
+ time: string
55390
+ /** Value of latest pressure reading for a Minut device. */
55391
+ value: number
55392
+ }
55393
+ /** Latest accelerometer Z-axis reading for a Minut device. */
55394
+ accelerometer_z: {
55395
+ /** Time of latest accelerometer Z-axis reading for a Minut device. */
55396
+ time: string
55397
+ /** Value of latest accelerometer Z-axis reading for a Minut device. */
55398
+ value: number
55399
+ }
55400
+ }
55401
+ }
55402
+ | undefined
55403
+ /** Metadata for a 4SUITES device. */
55404
+ four_suites_metadata?:
55405
+ | {
55406
+ /** Device ID for a 4SUITES device. */
55407
+ device_id: number
55408
+ /** Device name for a 4SUITES device. */
55409
+ device_name: string
55410
+ /** Reclose delay, in seconds, for a 4SUITES device. */
55411
+ reclose_delay_in_seconds: number
55412
+ }
55413
+ | undefined
55414
+ /** Metadata for a 2N device. */
55415
+ two_n_metadata?:
55416
+ | {
55417
+ /** Device ID for a 2N device. */
55418
+ device_id: number
55419
+ /** Device name for a 2N device. */
55420
+ device_name: string
55421
+ }
55422
+ | undefined
55423
+ /** Metadata for a ControlByWeb device. */
55424
+ controlbyweb_metadata?:
55425
+ | {
55426
+ /** Device ID for a ControlByWeb device. */
55427
+ device_id: string
55428
+ /** Device name for a ControlByWeb device. */
55429
+ device_name: string
55430
+ /** Relay name for a ControlByWeb device. */
55431
+ relay_name: string | null
55432
+ }
55433
+ | undefined
55434
+ /** Metadata for a TTLock device. */
55435
+ ttlock_metadata?:
55436
+ | {
55437
+ /** Lock ID for a TTLock device. */
55438
+ lock_id: number
55439
+ /** Lock alias for a TTLock device. */
55440
+ lock_alias: string
55441
+ /** Feature value for a TTLock device. */
55442
+ feature_value: string
55443
+ /** Features for a TTLock device. */
55444
+ features: {
55445
+ /** Indicates whether a TTLock device supports a passcode. */
55446
+ passcode: boolean
55447
+ /** Indicates whether a TTLock device supports passcode management. */
55448
+ passcode_management: boolean
55449
+ /** Indicates whether a TTLock device supports unlock via gateway. */
55450
+ unlock_via_gateway: boolean
55451
+ /** Indicates whether a TTLock device supports the lock command. */
55452
+ lock_command: boolean
55453
+ /** Indicates whether a TTLock device supports an incomplete keyboard passcode. */
55454
+ incomplete_keyboard_passcode: boolean
55455
+ /** Indicates whether a TTLock device supports Wi-Fi. */
55456
+ wifi: boolean
55457
+ }
55458
+ /** Indicates whether a TTLock device has a gateway. */
55459
+ has_gateway?: boolean | undefined
55460
+ /** Wireless keypads for a TTLock device. */
55461
+ wireless_keypads?:
55462
+ | Array<{
55463
+ /** ID for a wireless keypad for a TTLock device. */
55464
+ wireless_keypad_id: number
55465
+ /** Name for a wireless keypad for a TTLock device. */
55466
+ wireless_keypad_name: string
55467
+ }>
55468
+ | undefined
55469
+ }
55470
+ | undefined
55471
+ /** Metadata for Seam Bridge. */
55472
+ seam_bridge_metadata?:
55473
+ | {
55474
+ /** Unlock method for Seam Bridge. */
55475
+ unlock_method?: ('bridge' | 'doorking') | undefined
55476
+ /** Device number for Seam Bridge. */
55477
+ device_num: number
55478
+ /** Name for Seam Bridge. */
55479
+ name: string
55480
+ }
55481
+ | undefined
55482
+ /** Metadata for an igloohome device. */
55483
+ igloohome_metadata?:
55484
+ | {
55485
+ /** Device ID for an igloohome device. */
55486
+ device_id: string
55487
+ /** Device name for an igloohome device. */
55488
+ device_name: string
55489
+ /** Bridge ID for an igloohome device. */
55490
+ bridge_id?: string | undefined
55491
+ /** Bridge name for an igloohome device. */
55492
+ bridge_name?: string | undefined
55493
+ /** Keypad ID for an igloohome device. */
55494
+ keypad_id?: string | undefined
55495
+ /** Indicates whether a keypad is linked to a bridge for an igloohome device. */
55496
+ is_keypad_linked_to_bridge?: boolean | undefined
55497
+ }
55498
+ | undefined
55499
+ /** Metadata for a Google Nest device. */
55500
+ nest_metadata?:
55501
+ | {
55502
+ /** Device ID for a Google Nest device. */
55503
+ nest_device_id: string
55504
+ /** Device name for a Google Nest device. Google sets this value. */
55505
+ device_name: string
55506
+ /** Custom device name for a Google Nest device. The device owner sets this value. */
55507
+ device_custom_name: string
55508
+ /** Display name for a Google Nest device. */
55509
+ display_name?: string | undefined
55510
+ }
55511
+ | undefined
55512
+ /** Metadata for an ecobee device. */
55513
+ ecobee_metadata?:
55514
+ | {
55515
+ /** Device ID for an ecobee device. */
55516
+ ecobee_device_id: string
55517
+ /** Device name for an ecobee device. */
55518
+ device_name: string
55519
+ }
55520
+ | undefined
55521
+ /** Metadata for a Honeywell Resideo device. */
55522
+ honeywell_resideo_metadata?:
55523
+ | {
55524
+ /** Device ID for a Honeywell Resideo device. */
55525
+ honeywell_resideo_device_id: string
55526
+ /** Device name for a Honeywell Resideo device. */
55527
+ device_name: string
55528
+ }
55529
+ | undefined
55530
+ /** Metadata for a Hubitat device. */
55531
+ hubitat_metadata?:
55532
+ | {
55533
+ /** Device ID for a Hubitat device. */
55534
+ device_id: string
55535
+ /** Device name for a Hubitat device. */
55536
+ device_name: string
55537
+ /** Device label for a Hubitat device. */
55538
+ device_label: string
55539
+ }
55540
+ | undefined
55541
+ /** Metadata for a dormakaba Oracode device. */
55542
+ dormakaba_oracode_metadata?:
55543
+ | {
55544
+ /** Door ID for a dormakaba Oracode device. */
55545
+ door_id?: number | undefined
55546
+ /** Door name for a dormakaba Oracode device. */
55547
+ door_name: string
55548
+ /** Device ID for a dormakaba Oracode device. */
55549
+ device_id?: (number | string) | undefined
55550
+ /** Indicates whether a door is wireless for a dormakaba Oracode device. */
55551
+ door_is_wireless: boolean
55552
+ /** Site ID for a dormakaba Oracode device.
55553
+ * @deprecated Previously marked as "@DEPRECATED." */
55554
+ site_id: number | null
55555
+ /** Site name for a dormakaba Oracode device. */
55556
+ site_name: string
55557
+ /** IANA time zone for a dormakaba Oracode device. */
55558
+ iana_timezone?: string | undefined
55559
+ /** Predefined time slots for a dormakaba Oracode device. */
55560
+ predefined_time_slots?:
55561
+ | Array<{
55562
+ /** Name of a time slot for a dormakaba Oracode device. */
55563
+ name: string
55564
+ /** Prefix for a time slot for a dormakaba Oracode device. */
55565
+ prefix: number
55566
+ /** Check in time for a time slot for a dormakaba Oracode device. */
55567
+ check_in_time: string
55568
+ /** Checkout time for a time slot for a dormakaba Oracode device. */
55569
+ check_out_time: string
55570
+ /** Indicates whether a time slot for a dormakaba Oracode device is a 24-hour time slot. */
55571
+ is_24_hour: boolean
55572
+ /** Indicates whether a time slot for a dormakaba Oracode device is in biweekly mode. */
55573
+ is_biweekly_mode: boolean
55574
+ /** Indicates whether a time slot for a dormakaba Oracode device is a one-shot time slot. */
55575
+ is_one_shot: boolean
55576
+ /** Indicates whether a time slot for a dormakaba Oracode device is a master time slot. */
55577
+ is_master: boolean
55578
+ /** Prefix for a user level for a dormakaba Oracode device. */
55579
+ ext_dormakaba_oracode_user_level_prefix: number
55580
+ /** ID of a user level for a dormakaba Oracode device. */
55581
+ dormakaba_oracode_user_level_id: string
55582
+ }>
55583
+ | undefined
55584
+ }
55585
+ | undefined
55586
+ /** Metadata for a Wyze device. */
55587
+ wyze_metadata?:
55588
+ | {
55589
+ /** Device ID for a Wyze device. */
55590
+ device_id: string
55591
+ /** Device name for a Wyze device. */
55592
+ device_name: string
55593
+ /** Product name for a Wyze device. */
55594
+ product_name: string
55595
+ /** Product type for a Wyze device. */
55596
+ product_type: string
55597
+ /** Product model for a Wyze device. */
55598
+ product_model: string
55599
+ /** Device information model for a Wyze device. */
55600
+ device_info_model: string
55601
+ /** Keypad UUID for a Wyze device. */
55602
+ keypad_uuid?: string | undefined
55603
+ /** Locker status (hardlock) for a Wyze device. */
55604
+ locker_status_hardlock?: number | undefined
55605
+ }
55606
+ | undefined
55607
+ /** Metadata for a Tedee device. */
55608
+ tedee_metadata?:
55609
+ | {
55610
+ /** Device ID for a Tedee device. */
55611
+ device_id: number
55612
+ /** Serial number for a Tedee device. */
55613
+ serial_number: string
55614
+ /** Device name for a Tedee device. */
55615
+ device_name: string
55616
+ /** Device model for a Tedee device. */
55617
+ device_model: string
55618
+ /** Bridge ID for a Tedee device. */
55619
+ bridge_id: number
55620
+ /** Bridge name for a Tedee device. */
55621
+ bridge_name: string
55622
+ /** Keypad ID for a Tedee device. */
55623
+ keypad_id?: number | undefined
55624
+ }
55625
+ | undefined
55626
+ /** Metadata for an ASSA ABLOY Visionline system. */
55627
+ visionline_metadata?:
55628
+ | {
55629
+ /** Encoder ID for an ASSA ABLOY Visionline system. */
55630
+ encoder_id: string
55631
+ }
55632
+ | undefined
55633
+ /** Metadata for an Akiles device. */
55634
+ akiles_metadata?:
55635
+ | {
55636
+ /** Gadget name for an Akiles device. */
55637
+ gadget_name: string
55638
+ /** Gadget ID for an Akiles device. */
55639
+ gadget_id: string
55640
+ /** Product name for an Akiles device. */
55641
+ product_name: string
55642
+ /** Group ID to which to add users for an Akiles device. */
55643
+ _member_group_id?: string | undefined
55644
+ }
55645
+ | undefined
55646
+ /** Metadata for an ASSA ABLOY Vostio system. */
55647
+ assa_abloy_vostio_metadata?:
55648
+ | {
55649
+ /** Encoder name for an ASSA ABLOY Vostio system. */
55650
+ encoder_name: string
55651
+ }
55652
+ | undefined
55653
+ /** Metadata for a tado° device. */
55654
+ tado_metadata?:
55655
+ | {
55656
+ /** Serial number for a tado° device. */
55657
+ serial_no: string
55658
+ /** Device type for a tado° device. */
55659
+ device_type: string
55660
+ }
55661
+ | undefined
55662
+ /** Metadata for a Sensi device. */
55663
+ sensi_metadata?:
55664
+ | {
55665
+ /** Device ID for a Sensi device. */
55666
+ device_id: string
55667
+ /** Device name for a Sensi device. */
55668
+ device_name: string
55669
+ /** Product type for a Sensi device. */
55670
+ product_type: string
55671
+ }
55672
+ | undefined
55673
+ }) &
55674
+ ({
55675
+ /** */
55676
+ _experimental_supported_code_from_access_codes_lengths?:
55677
+ | (number[] | undefined)
55678
+ | undefined
55679
+ /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
55680
+ code_constraints?:
55681
+ | (
55682
+ | Array<
55683
+ | {
55684
+ /** Code constraint type for access codes. */
55685
+ constraint_type:
55686
+ | 'no_zeros'
55687
+ | 'cannot_start_with_12'
55688
+ | 'no_triple_consecutive_ints'
55689
+ | 'cannot_specify_pin_code'
55690
+ | 'pin_code_matches_existing_set'
55691
+ | 'start_date_in_future'
55692
+ | 'no_ascending_or_descending_sequence'
55693
+ | 'at_least_three_unique_digits'
55694
+ | 'cannot_contain_089'
55695
+ | 'cannot_contain_0789'
55696
+ }
55697
+ | {
55698
+ constraint_type:
55699
+ | 'name_length'
55700
+ | 'name_must_be_unique'
55701
+ /** Minimum name length constraint for access codes. */
55702
+ min_length?: number | undefined
55703
+ /** Maximum name length constraint for access codes. */
55704
+ max_length?: number | undefined
55705
+ }
55706
+ >
55707
+ | undefined
55708
+ )
55709
+ | undefined
55710
+ /** Supported code lengths for access codes. */
55711
+ supported_code_lengths?: (number[] | undefined) | undefined
55712
+ /** Maximum number of active access codes that the device supports. */
55713
+ max_active_codes_supported?: (number | undefined) | undefined
55714
+ /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/backup-access-codes). */
55715
+ supports_backup_access_code_pool?:
55716
+ | (boolean | undefined)
55717
+ | undefined
55718
+ /** Indicates whether the device supports native entry events. */
55719
+ has_native_entry_events?: (boolean | undefined) | undefined
55720
+ /** Indicates whether the lock is locked. */
55721
+ locked?: (boolean | undefined) | undefined
55722
+ /** Keypad battery status. */
55723
+ keypad_battery?:
55724
+ | (
55725
+ | {
55726
+ /**
55727
+ Keypad battery charge level.
55728
+ */
55729
+ level: number
55730
+ }
55731
+ | undefined
55732
+ )
55733
+ | undefined
55734
+ /** Indicates whether the door is open. */
55735
+ door_open?: (boolean | undefined) | undefined
55736
+ } & {
55737
+ /** Reported temperature in °F. */
55738
+ temperature_fahrenheit?: number | undefined
55739
+ /** Reported temperature in °C. */
55740
+ temperature_celsius?: number | undefined
55741
+ /** Reported relative humidity, as a value between 0 and 1, inclusive. */
55742
+ relative_humidity?: number | undefined
55743
+ /** HVAC mode settings that the thermostat supports. */
55744
+ available_hvac_mode_settings?:
55745
+ | Array<'off' | 'heat' | 'cool' | 'heat_cool'>
55746
+ | undefined
55747
+ /** Fan mode settings that the thermostat supports. */
55748
+ available_fan_mode_settings?:
55749
+ | Array<'auto' | 'on' | 'circulate'>
55750
+ | undefined
55751
+ /** Climate preset modes that the thermostat supports, such as "home", "away", "wake", "sleep", "occupied", and "unoccupied". */
55752
+ available_climate_preset_modes?:
55753
+ | Array<
55754
+ | 'home'
55755
+ | 'away'
55756
+ | 'wake'
55757
+ | 'sleep'
55758
+ | 'occupied'
55759
+ | 'unoccupied'
55760
+ >
55761
+ | undefined
55762
+ /** Indicates whether the connected HVAC system is currently heating, as reported by the thermostat. */
55763
+ is_heating?: boolean | undefined
55764
+ /** Indicates whether the connected HVAC system is currently cooling, as reported by the thermostat. */
55765
+ is_cooling?: boolean | undefined
55766
+ /** Indicates whether the fan in the connected HVAC system is currently running, as reported by the thermostat. */
55767
+ is_fan_running?: boolean | undefined
55768
+ /**
55769
+ * @deprecated Use `current_climate_setting.fan_mode_setting` instead. */
55770
+ fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined
55771
+ /** Indicates whether the current thermostat settings differ from the most recent active program or schedule that Seam activated. For this condition to occur, `current_climate_setting.manual_override_allowed` must also be `true`. */
55772
+ is_temporary_manual_override_active?: boolean | undefined
55773
+ /** Current climate setting. */
55774
+ current_climate_setting?:
55775
+ | {
55776
+ /** Unique key to identify the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). */
55777
+ climate_preset_key?: string | undefined
55778
+ /** Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be edited. */
55779
+ can_edit?: boolean | undefined
55780
+ /** Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be deleted. */
55781
+ can_delete?: boolean | undefined
55782
+ /** Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be programmed in a thermostat daily program. */
55783
+ can_program?: boolean | undefined
55784
+ /** User-friendly name to identify the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). */
55785
+ name?: ((string | null) | undefined) | undefined
55786
+ /** Display name for the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). */
55787
+ display_name?: string | undefined
55788
+ /**
55789
+ The climate preset mode for the thermostat, based on the available climate preset modes reported by the device.
55790
+ */
55791
+ climate_preset_mode?:
55792
+ | (
55793
+ | (
55794
+ | 'home'
55795
+ | 'away'
55796
+ | 'wake'
55797
+ | 'sleep'
55798
+ | 'occupied'
55799
+ | 'unoccupied'
55800
+ )
55801
+ | undefined
55802
+ )
55803
+ | undefined
55804
+ /** Desired [fan mode setting](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`. */
55805
+ fan_mode_setting?:
55806
+ | (('auto' | 'on' | 'circulate') | undefined)
55807
+ | undefined
55808
+ /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`. */
55809
+ hvac_mode_setting?:
55810
+ | (
55811
+ | ('off' | 'heat' | 'cool' | 'heat_cool')
55812
+ | undefined
55813
+ )
55814
+ | undefined
55815
+ /** Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
55816
+ cooling_set_point_celsius?:
55817
+ | (number | undefined)
55818
+ | undefined
55819
+ /** Temperature to which the thermostat should heat (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
55820
+ heating_set_point_celsius?:
55821
+ | (number | undefined)
55822
+ | undefined
55823
+ /** Temperature to which the thermostat should cool (in °F). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
55824
+ cooling_set_point_fahrenheit?:
55825
+ | (number | undefined)
55826
+ | undefined
55827
+ /** Temperature to which the thermostat should heat (in °F). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
55828
+ heating_set_point_fahrenheit?:
55829
+ | (number | undefined)
55830
+ | undefined
55831
+ /** Indicates whether a person at the thermostat can change the thermostat's settings. See [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).
55832
+ * @deprecated Use 'thermostat_schedule.is_override_allowed' */
55833
+ manual_override_allowed?: boolean | undefined
55834
+ /**
55835
+ Metadata specific to the Ecobee climate, if applicable.
55836
+ */
55837
+ ecobee_metadata?:
55838
+ | (
55839
+ | {
55840
+ /** Reference to the Ecobee climate, if applicable. */
55841
+ climate_ref: string
55842
+ /** Indicates if the climate preset is optimized by Ecobee. */
55843
+ is_optimized: boolean
55844
+ /** Indicates whether the climate preset is owned by the user or the system. */
55845
+ owner: 'user' | 'system'
55846
+ }
55847
+ | undefined
55848
+ )
55849
+ | undefined
55850
+ }
55851
+ | undefined
55852
+ /**
55853
+ * @deprecated use fallback_climate_preset_key to specify a fallback climate preset instead. */
55854
+ default_climate_setting?:
55855
+ | {
55856
+ /** Unique key to identify the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). */
55857
+ climate_preset_key?: string | undefined
55858
+ /** Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be edited. */
55859
+ can_edit?: boolean | undefined
55860
+ /** Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be deleted. */
55861
+ can_delete?: boolean | undefined
55862
+ /** Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be programmed in a thermostat daily program. */
55863
+ can_program?: boolean | undefined
55864
+ /** User-friendly name to identify the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). */
55865
+ name?: ((string | null) | undefined) | undefined
55866
+ /** Display name for the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). */
55867
+ display_name?: string | undefined
55868
+ /**
55869
+ The climate preset mode for the thermostat, based on the available climate preset modes reported by the device.
55870
+ */
55871
+ climate_preset_mode?:
55872
+ | (
55873
+ | (
55874
+ | 'home'
55875
+ | 'away'
55876
+ | 'wake'
55877
+ | 'sleep'
55878
+ | 'occupied'
55879
+ | 'unoccupied'
55880
+ )
55881
+ | undefined
55882
+ )
55883
+ | undefined
55884
+ /** Desired [fan mode setting](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`. */
55885
+ fan_mode_setting?:
55886
+ | (('auto' | 'on' | 'circulate') | undefined)
55887
+ | undefined
55888
+ /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`. */
55889
+ hvac_mode_setting?:
55890
+ | (
55891
+ | ('off' | 'heat' | 'cool' | 'heat_cool')
55892
+ | undefined
55893
+ )
55894
+ | undefined
55895
+ /** Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
55896
+ cooling_set_point_celsius?:
55897
+ | (number | undefined)
55898
+ | undefined
55899
+ /** Temperature to which the thermostat should heat (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
55900
+ heating_set_point_celsius?:
55901
+ | (number | undefined)
55902
+ | undefined
55903
+ /** Temperature to which the thermostat should cool (in °F). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
55904
+ cooling_set_point_fahrenheit?:
55905
+ | (number | undefined)
55906
+ | undefined
55907
+ /** Temperature to which the thermostat should heat (in °F). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
55908
+ heating_set_point_fahrenheit?:
55909
+ | (number | undefined)
55910
+ | undefined
55911
+ /** Indicates whether a person at the thermostat can change the thermostat's settings. See [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).
55912
+ * @deprecated Use 'thermostat_schedule.is_override_allowed' */
55913
+ manual_override_allowed?: boolean | undefined
55914
+ /**
55915
+ Metadata specific to the Ecobee climate, if applicable.
55916
+ */
55917
+ ecobee_metadata?:
55918
+ | (
55919
+ | {
55920
+ /** Reference to the Ecobee climate, if applicable. */
55921
+ climate_ref: string
55922
+ /** Indicates if the climate preset is optimized by Ecobee. */
55923
+ is_optimized: boolean
55924
+ /** Indicates whether the climate preset is owned by the user or the system. */
55925
+ owner: 'user' | 'system'
55926
+ }
55927
+ | undefined
55928
+ )
55929
+ | undefined
55930
+ }
55931
+ | undefined
55932
+ /** Available [climate presets](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for the thermostat. */
55933
+ available_climate_presets?:
55934
+ | Array<{
55935
+ /** Unique key to identify the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). */
55936
+ climate_preset_key: string
55937
+ /** Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be edited. */
55938
+ can_edit: boolean
55939
+ /** Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be deleted. */
55940
+ can_delete: boolean
55941
+ /** Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be programmed in a thermostat daily program. */
55942
+ can_program: boolean
55943
+ /** User-friendly name to identify the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). */
55944
+ name?: (string | null) | undefined
55945
+ /** Display name for the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). */
55946
+ display_name: string
55947
+ /**
55948
+ The climate preset mode for the thermostat, based on the available climate preset modes reported by the device.
55949
+ */
55950
+ climate_preset_mode?:
55951
+ | (
55952
+ | 'home'
55953
+ | 'away'
55954
+ | 'wake'
55955
+ | 'sleep'
55956
+ | 'occupied'
55957
+ | 'unoccupied'
55958
+ )
55959
+ | undefined
55960
+ /** Desired [fan mode setting](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`. */
55961
+ fan_mode_setting?:
55962
+ | ('auto' | 'on' | 'circulate')
55963
+ | undefined
55964
+ /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`. */
55965
+ hvac_mode_setting?:
55966
+ | ('off' | 'heat' | 'cool' | 'heat_cool')
55967
+ | undefined
55968
+ /** Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
55969
+ cooling_set_point_celsius?: number | undefined
55970
+ /** Temperature to which the thermostat should heat (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
55971
+ heating_set_point_celsius?: number | undefined
55972
+ /** Temperature to which the thermostat should cool (in °F). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
55973
+ cooling_set_point_fahrenheit?: number | undefined
55974
+ /** Temperature to which the thermostat should heat (in °F). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
55975
+ heating_set_point_fahrenheit?: number | undefined
55976
+ /** Indicates whether a person at the thermostat can change the thermostat's settings. See [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).
55977
+ * @deprecated Use 'thermostat_schedule.is_override_allowed' */
55978
+ manual_override_allowed: boolean
55979
+ /**
55980
+ Metadata specific to the Ecobee climate, if applicable.
55981
+ */
55982
+ ecobee_metadata?:
55983
+ | {
55984
+ /** Reference to the Ecobee climate, if applicable. */
55985
+ climate_ref: string
55986
+ /** Indicates if the climate preset is optimized by Ecobee. */
55987
+ is_optimized: boolean
55988
+ /** Indicates whether the climate preset is owned by the user or the system. */
55989
+ owner: 'user' | 'system'
55990
+ }
55991
+ | undefined
55992
+ }>
55993
+ | undefined
55994
+ /** Key of the [fallback climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the thermostat. */
55995
+ fallback_climate_preset_key?: (string | null) | undefined
55996
+ /** Active [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
55997
+ * @deprecated Use `active_thermostat_schedule_id` with `/thermostats/schedules/get` instead. */
55998
+ active_thermostat_schedule?:
55999
+ | ({
56000
+ /** ID of the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
56001
+ thermostat_schedule_id: string
56002
+ /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
56003
+ device_id: string
56004
+ /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
56005
+ name: string | null
56006
+ /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
56007
+ climate_preset_key: string
56008
+ /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
56009
+ max_override_period_minutes?:
56010
+ | (number | null)
56011
+ | undefined
56012
+ /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
56013
+ starts_at: string
56014
+ /** Indicates whether a person at the thermostat can change the thermostat's settings after the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts. */
56015
+ is_override_allowed?: boolean | undefined
56016
+ /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
56017
+ ends_at: string
56018
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
56019
+ workspace_id: string
56020
+ /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
56021
+ created_at: string
56022
+ /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
56023
+ errors: Array<{
56024
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56025
+ error_code: string
56026
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56027
+ message: string
56028
+ }>
56029
+ } | null)
56030
+ | undefined
56031
+ /** ID of the active [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
56032
+ active_thermostat_schedule_id?: (string | null) | undefined
56033
+ /** Configured [daily programs](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-programs) for the thermostat. */
56034
+ thermostat_daily_programs?:
56035
+ | (
56036
+ | Array<{
56037
+ /** ID of the thermostat daily program. */
56038
+ thermostat_daily_program_id: string
56039
+ /** ID of the thermostat device on which the thermostat daily program is configured. */
56040
+ device_id: string
56041
+ /** User-friendly name to identify the thermostat daily program. */
56042
+ name: string | null
56043
+ /** Array of thermostat daily program periods. */
56044
+ periods: Array<{
56045
+ /** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
56046
+ starts_at_time: string
56047
+ /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`. */
56048
+ climate_preset_key: string
56049
+ }>
56050
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
56051
+ workspace_id: string
56052
+ /** Date and time at which the thermostat daily program was created. */
56053
+ created_at: string
56054
+ }>
56055
+ | undefined
56056
+ )
56057
+ | undefined
56058
+ /** Current [weekly program](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-programs) for the thermostat. */
56059
+ thermostat_weekly_program?:
56060
+ | (
56061
+ | ({
56062
+ /** ID of the thermostat daily program to run on Mondays. */
56063
+ monday_program_id: string | null
56064
+ /** ID of the thermostat daily program to run on Tuesdays. */
56065
+ tuesday_program_id: string | null
56066
+ /** ID of the thermostat daily program to run on Wednesdays. */
56067
+ wednesday_program_id: string | null
56068
+ /** ID of the thermostat daily program to run on Thursdays. */
56069
+ thursday_program_id: string | null
56070
+ /** ID of the thermostat daily program to run on Fridays. */
56071
+ friday_program_id: string | null
56072
+ /** ID of the thermostat daily program to run on Saturdays. */
56073
+ saturday_program_id: string | null
56074
+ /** ID of the thermostat daily program to run on Sundays. */
56075
+ sunday_program_id: string | null
56076
+ /** Date and time at which the thermostat weekly program was created. */
56077
+ created_at: string
56078
+ } | null)
56079
+ | undefined
56080
+ )
56081
+ | undefined
56082
+ /** Minimum [cooling set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points#cooling-set-point) in °C. */
56083
+ min_cooling_set_point_celsius?: number | undefined
56084
+ /** Minimum [cooling set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points#cooling-set-point) in °F. */
56085
+ min_cooling_set_point_fahrenheit?: number | undefined
56086
+ /** Maximum [cooling set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points#cooling-set-point) in °C. */
56087
+ max_cooling_set_point_celsius?: number | undefined
56088
+ /** Maximum [cooling set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points#cooling-set-point) in °F. */
56089
+ max_cooling_set_point_fahrenheit?: number | undefined
56090
+ /** Minimum [heating set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points#heating-set-point) in °C. */
56091
+ min_heating_set_point_celsius?: number | undefined
56092
+ /** Minimum [heating set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points#heating-set-point) in °F. */
56093
+ min_heating_set_point_fahrenheit?: number | undefined
56094
+ /** Maximum [heating set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points#heating-set-point) in °C. */
56095
+ max_heating_set_point_celsius?: number | undefined
56096
+ /** Maximum [heating set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points#heating-set-point) in °F. */
56097
+ max_heating_set_point_fahrenheit?: number | undefined
56098
+ /** Minimum [temperature difference](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points#minimum-heating-cooling-temperature-delta) in °C between the cooling and heating set points when in heat-cool (auto) mode. */
56099
+ min_heating_cooling_delta_celsius?: number | undefined
56100
+ /** Minimum [temperature difference](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points#minimum-heating-cooling-temperature-delta) in °F between the cooling and heating set points when in heat-cool (auto) mode. */
56101
+ min_heating_cooling_delta_fahrenheit?: number | undefined
56102
+ /** Current [temperature threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) set for the thermostat. */
56103
+ temperature_threshold?:
56104
+ | (
56105
+ | {
56106
+ /** Lower limit in °C within the current [temperature threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) set for the thermostat.
56107
+ */
56108
+ lower_limit_celsius: number | null
56109
+ /** Lower limit in °F within the current [temperature threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) set for the thermostat.
56110
+ */
56111
+ lower_limit_fahrenheit: number | null
56112
+ /** Upper limit in °C within the current [temperature threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) set for the thermostat.
56113
+ */
56114
+ upper_limit_celsius: number | null
56115
+ /** Upper limit in °F within the current [temperature threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) set for the thermostat.
56116
+ */
56117
+ upper_limit_fahrenheit: number | null
56118
+ }
56119
+ | undefined
56120
+ )
56121
+ | undefined
56122
+ })
56123
+ /** Location information for the device. */
56124
+ location: {
56125
+ /** Name of the device location.
56126
+ */
56127
+ location_name?: string | undefined
56128
+ /** Time zone of the device location.
56129
+ */
56130
+ timezone?: string | undefined
56131
+ } | null
56132
+ /** Unique identifier for the account associated with the device. */
56133
+ connected_account_id: string
56134
+ /** Unique identifier for the Seam workspace associated with the device. */
56135
+ workspace_id: string
56136
+ /** Array of errors associated with the device. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
56137
+ errors: Array<
56138
+ | {
56139
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56140
+ message: string
56141
+ /** Indicates that the error is not a device error. */
56142
+ is_device_error: false
56143
+ /** Date and time at which Seam created the error. */
56144
+ created_at: string
56145
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56146
+ error_code: 'account_disconnected'
56147
+ /** Indicates that the error is a [connected account](https://docs.seam.co/latest/api/connected_accounts) error. */
56148
+ is_connected_account_error: true
56149
+ }
56150
+ | {
56151
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56152
+ message: string
56153
+ /** Indicates that the error is not a device error. */
56154
+ is_device_error: false
56155
+ /** Date and time at which Seam created the error. */
56156
+ created_at: string
56157
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56158
+ error_code: 'salto_ks_subscription_limit_exceeded'
56159
+ /** Indicates that the error is a [connected account](https://docs.seam.co/latest/api/connected_accounts) error. */
56160
+ is_connected_account_error: true
56161
+ }
56162
+ | {
56163
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56164
+ message: string
56165
+ /** Indicates that the error is a device error. */
56166
+ is_device_error: true
56167
+ /** Date and time at which Seam created the error. */
56168
+ created_at: string
56169
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56170
+ error_code: 'device_offline'
56171
+ }
56172
+ | {
56173
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56174
+ message: string
56175
+ /** Indicates that the error is a device error. */
56176
+ is_device_error: true
56177
+ /** Date and time at which Seam created the error. */
56178
+ created_at: string
56179
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56180
+ error_code: 'device_removed'
56181
+ }
56182
+ | {
56183
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56184
+ message: string
56185
+ /** Indicates that the error is a device error. */
56186
+ is_device_error: true
56187
+ /** Date and time at which Seam created the error. */
56188
+ created_at: string
56189
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56190
+ error_code: 'hub_disconnected'
56191
+ }
56192
+ | {
56193
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56194
+ message: string
56195
+ /** Indicates that the error is a device error. */
56196
+ is_device_error: true
56197
+ /** Date and time at which Seam created the error. */
56198
+ created_at: string
56199
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56200
+ error_code: 'device_disconnected'
56201
+ }
56202
+ | {
56203
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56204
+ message: string
56205
+ /** Indicates that the error is a device error. */
56206
+ is_device_error: true
56207
+ /** Date and time at which Seam created the error. */
56208
+ created_at: string
56209
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56210
+ error_code: 'empty_backup_access_code_pool'
56211
+ }
56212
+ | {
56213
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56214
+ message: string
56215
+ /** Indicates that the error is a device error. */
56216
+ is_device_error: true
56217
+ /** Date and time at which Seam created the error. */
56218
+ created_at: string
56219
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56220
+ error_code: 'august_lock_not_authorized'
56221
+ }
56222
+ | {
56223
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56224
+ message: string
56225
+ /** Indicates that the error is a device error. */
56226
+ is_device_error: true
56227
+ /** Date and time at which Seam created the error. */
56228
+ created_at: string
56229
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56230
+ error_code: 'august_lock_missing_bridge'
56231
+ }
56232
+ | {
56233
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56234
+ message: string
56235
+ /** Indicates that the error is a device error. */
56236
+ is_device_error: true
56237
+ /** Date and time at which Seam created the error. */
56238
+ created_at: string
56239
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56240
+ error_code: 'ttlock_lock_not_paired_to_gateway'
56241
+ }
56242
+ | {
56243
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56244
+ message: string
56245
+ /** Indicates that the error is a device error. */
56246
+ is_device_error: true
56247
+ /** Date and time at which Seam created the error. */
56248
+ created_at: string
56249
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56250
+ error_code: 'missing_device_credentials'
56251
+ }
56252
+ | {
56253
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56254
+ message: string
56255
+ /** Indicates that the error is a device error. */
56256
+ is_device_error: true
56257
+ /** Date and time at which Seam created the error. */
56258
+ created_at: string
56259
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56260
+ error_code: 'auxiliary_heat_running'
56261
+ }
56262
+ | {
56263
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56264
+ message: string
56265
+ /** Indicates that the error is a device error. */
56266
+ is_device_error: true
56267
+ /** Date and time at which Seam created the error. */
56268
+ created_at: string
56269
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56270
+ error_code: 'subscription_required'
56271
+ }
56272
+ | {
56273
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56274
+ message: string
56275
+ /** Indicates that the error is a device error. */
56276
+ is_device_error: true
56277
+ /** Date and time at which Seam created the error. */
56278
+ created_at: string
56279
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56280
+ error_code: 'lockly_missing_wifi_bridge'
56281
+ }
56282
+ | {
56283
+ /** Date and time at which Seam created the error. */
56284
+ created_at: string
56285
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56286
+ message: string
56287
+ /** Indicates whether the error is related specifically to the connected account. */
56288
+ is_connected_account_error?: boolean | undefined
56289
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
56290
+ is_bridge_error?: boolean | undefined
56291
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56292
+ error_code: 'invalid_credentials'
56293
+ }
56294
+ | {
56295
+ /** Date and time at which Seam created the error. */
56296
+ created_at: string
56297
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56298
+ message: string
56299
+ /** Indicates whether the error is related specifically to the connected account. */
56300
+ is_connected_account_error?: boolean | undefined
56301
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
56302
+ is_bridge_error?: boolean | undefined
56303
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56304
+ error_code: 'bridge_disconnected'
56305
+ }
56306
+ >
56307
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: `warning_code` and `message`. `warning_code` is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
56308
+ warnings: Array<
56309
+ | {
56310
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56311
+ message: string
56312
+ /** Date and time at which Seam created the warning. */
56313
+ created_at: string
56314
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56315
+ warning_code: 'partial_backup_access_code_pool'
56316
+ }
56317
+ | {
56318
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56319
+ message: string
56320
+ /** Date and time at which Seam created the warning. */
56321
+ created_at: string
56322
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56323
+ warning_code: 'many_active_backup_codes'
56324
+ }
56325
+ | {
56326
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56327
+ message: string
56328
+ /** Date and time at which Seam created the warning. */
56329
+ created_at: string
56330
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56331
+ warning_code: 'wyze_device_missing_gateway'
56332
+ }
56333
+ | {
56334
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56335
+ message: string
56336
+ /** Date and time at which Seam created the warning. */
56337
+ created_at: string
56338
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56339
+ warning_code: 'functional_offline_device'
56340
+ }
56341
+ | {
56342
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56343
+ message: string
56344
+ /** Date and time at which Seam created the warning. */
56345
+ created_at: string
56346
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56347
+ warning_code: 'third_party_integration_detected'
56348
+ }
56349
+ | {
56350
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56351
+ message: string
56352
+ /** Date and time at which Seam created the warning. */
56353
+ created_at: string
56354
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56355
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
56356
+ }
56357
+ | {
56358
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56359
+ message: string
56360
+ /** Date and time at which Seam created the warning. */
56361
+ created_at: string
56362
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56363
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
56364
+ }
56365
+ | {
56366
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56367
+ message: string
56368
+ /** Date and time at which Seam created the warning. */
56369
+ created_at: string
56370
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56371
+ warning_code: 'ttlock_weak_gateway_signal'
56372
+ }
56373
+ | {
56374
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56375
+ message: string
56376
+ /** Date and time at which Seam created the warning. */
56377
+ created_at: string
56378
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56379
+ warning_code: 'power_saving_mode'
56380
+ }
56381
+ | {
56382
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56383
+ message: string
56384
+ /** Date and time at which Seam created the warning. */
56385
+ created_at: string
56386
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56387
+ warning_code: 'temperature_threshold_exceeded'
56388
+ }
56389
+ | {
56390
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56391
+ message: string
56392
+ /** Date and time at which Seam created the warning. */
56393
+ created_at: string
56394
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56395
+ warning_code: 'device_communication_degraded'
56396
+ }
56397
+ | {
56398
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56399
+ message: string
56400
+ /** Date and time at which Seam created the warning. */
56401
+ created_at: string
56402
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56403
+ warning_code: 'scheduled_maintenance_window'
56404
+ }
56405
+ | {
56406
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56407
+ message: string
56408
+ /** Date and time at which Seam created the warning. */
56409
+ created_at: string
56410
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56411
+ warning_code: 'device_has_flaky_connection'
56412
+ }
56413
+ | {
56414
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56415
+ message: string
56416
+ /** Date and time at which Seam created the warning. */
56417
+ created_at: string
56418
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56419
+ warning_code: 'salto_ks_office_mode'
56420
+ }
56421
+ | {
56422
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56423
+ message: string
56424
+ /** Date and time at which Seam created the warning. */
56425
+ created_at: string
56426
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56427
+ warning_code: 'salto_ks_privacy_mode'
56428
+ }
56429
+ | {
56430
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56431
+ message: string
56432
+ /** Date and time at which Seam created the warning. */
56433
+ created_at: string
56434
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56435
+ warning_code: 'salto_ks_subscription_limit_almost_reached'
56436
+ }
56437
+ | {
56438
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56439
+ message: string
56440
+ /** Date and time at which Seam created the warning. */
56441
+ created_at: string
56442
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56443
+ warning_code: 'unknown_issue_with_phone'
56444
+ }
56445
+ | {
56446
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56447
+ message: string
56448
+ /** Date and time at which Seam created the warning. */
56449
+ created_at: string
56450
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56451
+ warning_code: 'lockly_time_zone_not_configured'
56452
+ }
56453
+ >
56454
+ /** Date and time at which the device object was created. */
56455
+ created_at: string
56456
+ /** Indicates whether Seam manages the device. See also [Managed and Unmanaged Devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices). */
56457
+ is_managed: true
56458
+ /** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
56459
+ custom_metadata: Record<string, string | boolean>
56460
+ can_remotely_unlock?: boolean | undefined
56461
+ can_remotely_lock?: boolean | undefined
56462
+ can_program_offline_access_codes?: boolean | undefined
56463
+ can_program_online_access_codes?: boolean | undefined
56464
+ can_hvac_heat?: boolean | undefined
56465
+ can_hvac_cool?: boolean | undefined
56466
+ can_hvac_heat_cool?: boolean | undefined
56467
+ can_turn_off_hvac?: boolean | undefined
56468
+ can_simulate_removal?: boolean | undefined
56469
+ can_simulate_connection?: boolean | undefined
56470
+ can_simulate_disconnection?: boolean | undefined
56471
+ can_unlock_with_code?: boolean | undefined
56472
+ }>
56473
+ | undefined
56474
+ acs_entrances?:
56475
+ | Array<{
56476
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
56477
+ acs_system_id: string
56478
+ /** ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
56479
+ acs_entrance_id: string
56480
+ /** Date and time at which the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) was created. */
56481
+ created_at: string
56482
+ /** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
56483
+ display_name: string
56484
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
56485
+ connected_account_id: string
56486
+ /** Errors associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
56487
+ errors: Array<{
56488
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56489
+ error_code: string
56490
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56491
+ message: string
56492
+ }>
56493
+ /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
56494
+ latch_metadata?:
56495
+ | {
56496
+ /** Accessibility type in the Latch access system. */
56497
+ accessibility_type: string
56498
+ /** Name of the door in the Latch access system. */
56499
+ door_name: string
56500
+ /** Type of the door in the Latch access system. */
56501
+ door_type: string
56502
+ /** Indicates whether the entrance is connected. */
56503
+ is_connected: boolean
56504
+ }
56505
+ | undefined
56506
+ /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
56507
+ visionline_metadata?:
56508
+ | {
56509
+ /** Name of the door in the Visionline access system. */
56510
+ door_name: string
56511
+ /** Category of the door in the Visionline access system. */
56512
+ door_category:
56513
+ | 'entrance'
56514
+ | 'guest'
56515
+ | 'elevator reader'
56516
+ | 'common'
56517
+ | 'common (PMS)'
56518
+ /** Profile for the door in the Visionline access system. */
56519
+ profiles?:
56520
+ | Array<{
56521
+ /** Door profile ID in the Visionline access system. */
56522
+ visionline_door_profile_id: string
56523
+ /** Door profile type in the Visionline access system. */
56524
+ visionline_door_profile_type:
56525
+ | 'BLE'
56526
+ | 'commonDoor'
56527
+ | 'touch'
56528
+ }>
56529
+ | undefined
56530
+ }
56531
+ | undefined
56532
+ /** Salto KS-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
56533
+ salto_ks_metadata?:
56534
+ | {
56535
+ /** Name of the door in the Salto KS access system. */
56536
+ door_name: string
56537
+ /** Locked state of the door in the Salto KS access system. */
56538
+ locked_state: string
56539
+ /** Type of the lock in the Salto KS access system. */
56540
+ lock_type: string
56541
+ /** Indicates whether the door access device is online. */
56542
+ online?: boolean | undefined
56543
+ /** Battery level of the door access device. */
56544
+ battery_level: string
56545
+ /** Indicates whether the door is left open. */
56546
+ left_open_alarm?: boolean | undefined
56547
+ /** Indicates whether an intrusion alarm is active on the door. */
56548
+ intrusion_alarm?: boolean | undefined
56549
+ /** Indicates whether privacy mode is enabled for the lock. */
56550
+ privacy_mode?: boolean | undefined
56551
+ }
56552
+ | undefined
56553
+ /** dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
56554
+ dormakaba_community_metadata?:
56555
+ | {
56556
+ /** Name of the access point in the dormakaba Community access system. */
56557
+ access_point_name: string
56558
+ }
56559
+ | undefined
56560
+ /** ASSA ABLOY Vostio-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
56561
+ assa_abloy_vostio_metadata?:
56562
+ | {
56563
+ /** Type of the door in the Vostio access system. */
56564
+ door_type:
56565
+ | 'CommonDoor'
56566
+ | 'EntranceDoor'
56567
+ | 'GuestDoor'
56568
+ | 'Elevator'
56569
+ /** Name of the door in the Vostio access system. */
56570
+ door_name: string
56571
+ /** Number of the door in the Vostio access system. */
56572
+ door_number?: number | undefined
56573
+ /** Indicates whether keys are allowed to set the door in stand open mode in the Vostio access system. */
56574
+ stand_open?: boolean | undefined
56575
+ /** PMS ID of the door in the Vostio access system. */
56576
+ pms_id?: string | undefined
56577
+ }
56578
+ | undefined
56579
+ /** Salto Space-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
56580
+ salto_space_metadata?:
56581
+ | {
56582
+ /** Name of the door in the Salto Space access system. */
56583
+ door_name: string
56584
+ /** External door ID in the Salto Space access system. */
56585
+ ext_door_id: string
56586
+ /** Description of the door in the Salto Space access system. */
56587
+ door_description?: string | undefined
56588
+ }
56589
+ | undefined
56590
+ /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
56591
+ can_unlock_with_mobile_key?: boolean | undefined
56592
+ /** Indicates whether the ACS entrance can be unlocked with card credentials. */
56593
+ can_unlock_with_card?: boolean | undefined
56594
+ /** Indicates whether the ACS entrance can be unlocked with pin codes. */
56595
+ can_unlock_with_code?: boolean | undefined
56596
+ }>
56597
+ | undefined
56598
+ }
56599
+ }
56600
+ }
54071
56601
  '/spaces/list': {
54072
56602
  route: '/spaces/list'
54073
56603
  method: 'GET' | 'POST'
@@ -72854,6 +75384,8 @@ export interface Routes {
72854
75384
  warning_code: 'acs_user_profile_does_not_match_user_identity'
72855
75385
  }
72856
75386
  >
75387
+ /** Array of access system user IDs associated with the user identity. */
75388
+ acs_user_ids: string[]
72857
75389
  }
72858
75390
  }
72859
75391
  }
@@ -73065,6 +75597,8 @@ export interface Routes {
73065
75597
  warning_code: 'acs_user_profile_does_not_match_user_identity'
73066
75598
  }
73067
75599
  >
75600
+ /** Array of access system user IDs associated with the user identity. */
75601
+ acs_user_ids: string[]
73068
75602
  }
73069
75603
  }
73070
75604
  }
@@ -73142,6 +75676,8 @@ export interface Routes {
73142
75676
  warning_code: 'acs_user_profile_does_not_match_user_identity'
73143
75677
  }
73144
75678
  >
75679
+ /** Array of access system user IDs associated with the user identity. */
75680
+ acs_user_ids: string[]
73145
75681
  }>
73146
75682
  }
73147
75683
  }