@seamapi/types 1.437.1 → 1.438.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +913 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1333 -0
- package/lib/seam/connect/models/events/access-codes.d.ts +204 -0
- package/lib/seam/connect/models/events/access-codes.js +7 -0
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/connect-webviews.d.ts +6 -0
- package/lib/seam/connect/models/events/connect-webviews.js +5 -0
- package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.d.ts +42 -0
- package/lib/seam/connect/models/events/connected-accounts.js +4 -0
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +396 -0
- package/lib/seam/connect/models/events/devices.js +7 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/phones.d.ts +6 -0
- package/lib/seam/connect/models/events/phones.js +4 -0
- package/lib/seam/connect/models/events/phones.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +327 -0
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +3 -0
- package/lib/seam/connect/models/user-identities/user-identity.js +3 -0
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +535 -0
- package/lib/seam/connect/openapi.js +885 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +468 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-codes.ts +11 -0
- package/src/lib/seam/connect/models/events/connect-webviews.ts +8 -0
- package/src/lib/seam/connect/models/events/connected-accounts.ts +6 -0
- package/src/lib/seam/connect/models/events/devices.ts +11 -0
- package/src/lib/seam/connect/models/events/phones.ts +6 -0
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +5 -0
- package/src/lib/seam/connect/openapi.ts +1001 -0
- package/src/lib/seam/connect/route-types.ts +904 -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
|
>
|
|
@@ -72854,6 +73752,8 @@ export interface Routes {
|
|
|
72854
73752
|
warning_code: 'acs_user_profile_does_not_match_user_identity'
|
|
72855
73753
|
}
|
|
72856
73754
|
>
|
|
73755
|
+
/** Array of access system user IDs associated with the user identity. */
|
|
73756
|
+
acs_user_ids: string[]
|
|
72857
73757
|
}
|
|
72858
73758
|
}
|
|
72859
73759
|
}
|
|
@@ -73065,6 +73965,8 @@ export interface Routes {
|
|
|
73065
73965
|
warning_code: 'acs_user_profile_does_not_match_user_identity'
|
|
73066
73966
|
}
|
|
73067
73967
|
>
|
|
73968
|
+
/** Array of access system user IDs associated with the user identity. */
|
|
73969
|
+
acs_user_ids: string[]
|
|
73068
73970
|
}
|
|
73069
73971
|
}
|
|
73070
73972
|
}
|
|
@@ -73142,6 +74044,8 @@ export interface Routes {
|
|
|
73142
74044
|
warning_code: 'acs_user_profile_does_not_match_user_identity'
|
|
73143
74045
|
}
|
|
73144
74046
|
>
|
|
74047
|
+
/** Array of access system user IDs associated with the user identity. */
|
|
74048
|
+
acs_user_ids: string[]
|
|
73145
74049
|
}>
|
|
73146
74050
|
}
|
|
73147
74051
|
}
|