@seamapi/types 1.312.2 → 1.313.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/connect.cjs +1201 -1194
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1296 -934
  4. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +10 -10
  5. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +5 -5
  6. package/lib/seam/connect/models/action-attempts/encode-credential.js +3 -3
  7. package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -1
  8. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +5 -5
  9. package/lib/seam/connect/models/action-attempts/scan-credential.js +3 -3
  10. package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -1
  11. package/lib/seam/connect/models/events/common.js +10 -24
  12. package/lib/seam/connect/models/events/common.js.map +1 -1
  13. package/lib/seam/connect/models/events/devices.js +145 -98
  14. package/lib/seam/connect/models/events/devices.js.map +1 -1
  15. package/lib/seam/connect/openapi.d.ts +383 -134
  16. package/lib/seam/connect/openapi.js +717 -716
  17. package/lib/seam/connect/openapi.js.map +1 -1
  18. package/lib/seam/connect/route-types.d.ts +801 -688
  19. package/package.json +1 -1
  20. package/src/lib/seam/connect/models/action-attempts/encode-credential.ts +3 -3
  21. package/src/lib/seam/connect/models/action-attempts/scan-credential.ts +3 -3
  22. package/src/lib/seam/connect/models/events/common.ts +12 -24
  23. package/src/lib/seam/connect/models/events/devices.ts +212 -101
  24. package/src/lib/seam/connect/openapi.ts +842 -716
  25. package/src/lib/seam/connect/route-types.ts +810 -688
@@ -306,7 +306,7 @@ export interface Routes {
306
306
  type: 'action_attempt_expired';
307
307
  message: string;
308
308
  } | {
309
- type: 'no_card_on_encoder';
309
+ type: 'no_credential_on_encoder';
310
310
  message: string;
311
311
  };
312
312
  } | {
@@ -510,7 +510,7 @@ export interface Routes {
510
510
  type: 'action_attempt_expired';
511
511
  message: string;
512
512
  } | {
513
- type: 'no_card_on_encoder';
513
+ type: 'no_credential_on_encoder';
514
514
  message: string;
515
515
  } | {
516
516
  type: 'incompatible_card_format';
@@ -1233,7 +1233,7 @@ export interface Routes {
1233
1233
  type: 'action_attempt_expired';
1234
1234
  message: string;
1235
1235
  } | {
1236
- type: 'no_card_on_encoder';
1236
+ type: 'no_credential_on_encoder';
1237
1237
  message: string;
1238
1238
  };
1239
1239
  } | {
@@ -1437,7 +1437,7 @@ export interface Routes {
1437
1437
  type: 'action_attempt_expired';
1438
1438
  message: string;
1439
1439
  } | {
1440
- type: 'no_card_on_encoder';
1440
+ type: 'no_credential_on_encoder';
1441
1441
  message: string;
1442
1442
  } | {
1443
1443
  type: 'incompatible_card_format';
@@ -2378,7 +2378,7 @@ export interface Routes {
2378
2378
  type: 'action_attempt_expired';
2379
2379
  message: string;
2380
2380
  } | {
2381
- type: 'no_card_on_encoder';
2381
+ type: 'no_credential_on_encoder';
2382
2382
  message: string;
2383
2383
  };
2384
2384
  } | {
@@ -2582,7 +2582,7 @@ export interface Routes {
2582
2582
  type: 'action_attempt_expired';
2583
2583
  message: string;
2584
2584
  } | {
2585
- type: 'no_card_on_encoder';
2585
+ type: 'no_credential_on_encoder';
2586
2586
  message: string;
2587
2587
  } | {
2588
2588
  type: 'incompatible_card_format';
@@ -3292,7 +3292,7 @@ export interface Routes {
3292
3292
  type: 'action_attempt_expired';
3293
3293
  message: string;
3294
3294
  } | {
3295
- type: 'no_card_on_encoder';
3295
+ type: 'no_credential_on_encoder';
3296
3296
  message: string;
3297
3297
  };
3298
3298
  } | {
@@ -3496,7 +3496,7 @@ export interface Routes {
3496
3496
  type: 'action_attempt_expired';
3497
3497
  message: string;
3498
3498
  } | {
3499
- type: 'no_card_on_encoder';
3499
+ type: 'no_credential_on_encoder';
3500
3500
  message: string;
3501
3501
  } | {
3502
3502
  type: 'incompatible_card_format';
@@ -5555,7 +5555,7 @@ export interface Routes {
5555
5555
  type: 'action_attempt_expired';
5556
5556
  message: string;
5557
5557
  } | {
5558
- type: 'no_card_on_encoder';
5558
+ type: 'no_credential_on_encoder';
5559
5559
  message: string;
5560
5560
  };
5561
5561
  } | {
@@ -5759,7 +5759,7 @@ export interface Routes {
5759
5759
  type: 'action_attempt_expired';
5760
5760
  message: string;
5761
5761
  } | {
5762
- type: 'no_card_on_encoder';
5762
+ type: 'no_credential_on_encoder';
5763
5763
  message: string;
5764
5764
  } | {
5765
5765
  type: 'incompatible_card_format';
@@ -6374,7 +6374,7 @@ export interface Routes {
6374
6374
  type: 'action_attempt_expired';
6375
6375
  message: string;
6376
6376
  } | {
6377
- type: 'no_card_on_encoder';
6377
+ type: 'no_credential_on_encoder';
6378
6378
  message: string;
6379
6379
  };
6380
6380
  } | {
@@ -6578,7 +6578,7 @@ export interface Routes {
6578
6578
  type: 'action_attempt_expired';
6579
6579
  message: string;
6580
6580
  } | {
6581
- type: 'no_card_on_encoder';
6581
+ type: 'no_credential_on_encoder';
6582
6582
  message: string;
6583
6583
  } | {
6584
6584
  type: 'incompatible_card_format';
@@ -6859,6 +6859,69 @@ export interface Routes {
6859
6859
  };
6860
6860
  };
6861
6861
  };
6862
+ '/acs/encoders/simulate/next_credential_encode_will_fail': {
6863
+ route: '/acs/encoders/simulate/next_credential_encode_will_fail';
6864
+ method: 'POST';
6865
+ queryParams: {};
6866
+ jsonBody: {
6867
+ acs_encoder_id: string;
6868
+ error_code?: 'no_credential_on_encoder';
6869
+ } | {
6870
+ acs_encoder_id: string;
6871
+ error_code: 'uncategorized_error' | 'action_attempt_expired';
6872
+ acs_credential_id?: string | undefined;
6873
+ };
6874
+ commonParams: {};
6875
+ formData: {};
6876
+ jsonResponse: {};
6877
+ };
6878
+ '/acs/encoders/simulate/next_credential_encode_will_succeed': {
6879
+ route: '/acs/encoders/simulate/next_credential_encode_will_succeed';
6880
+ method: 'POST';
6881
+ queryParams: {};
6882
+ jsonBody: {
6883
+ acs_encoder_id: string;
6884
+ scenario?: 'credential_is_issued';
6885
+ };
6886
+ commonParams: {};
6887
+ formData: {};
6888
+ jsonResponse: {};
6889
+ };
6890
+ '/acs/encoders/simulate/next_credential_scan_will_fail': {
6891
+ route: '/acs/encoders/simulate/next_credential_scan_will_fail';
6892
+ method: 'POST';
6893
+ queryParams: {};
6894
+ jsonBody: {
6895
+ acs_encoder_id: string;
6896
+ error_code?: 'no_credential_on_encoder';
6897
+ } | {
6898
+ acs_encoder_id: string;
6899
+ error_code: 'uncategorized_error' | 'action_attempt_expired';
6900
+ acs_credential_id_on_seam?: string | undefined;
6901
+ };
6902
+ commonParams: {};
6903
+ formData: {};
6904
+ jsonResponse: {};
6905
+ };
6906
+ '/acs/encoders/simulate/next_credential_scan_will_succeed': {
6907
+ route: '/acs/encoders/simulate/next_credential_scan_will_succeed';
6908
+ method: 'POST';
6909
+ queryParams: {};
6910
+ jsonBody: {
6911
+ acs_encoder_id: string;
6912
+ scenario?: 'credential_exists_on_seam' | 'credential_on_encoder_needs_update';
6913
+ acs_credential_id_on_seam?: string | undefined;
6914
+ } | {
6915
+ acs_encoder_id: string;
6916
+ scenario: 'credential_does_not_exist_on_seam';
6917
+ } | {
6918
+ acs_encoder_id: string;
6919
+ scenario: 'credential_on_encoder_is_empty';
6920
+ };
6921
+ commonParams: {};
6922
+ formData: {};
6923
+ jsonResponse: {};
6924
+ };
6862
6925
  '/acs/entrances/get': {
6863
6926
  route: '/acs/entrances/get';
6864
6927
  method: 'GET' | 'POST';
@@ -8485,7 +8548,7 @@ export interface Routes {
8485
8548
  type: 'action_attempt_expired';
8486
8549
  message: string;
8487
8550
  } | {
8488
- type: 'no_card_on_encoder';
8551
+ type: 'no_credential_on_encoder';
8489
8552
  message: string;
8490
8553
  };
8491
8554
  } | {
@@ -8689,7 +8752,7 @@ export interface Routes {
8689
8752
  type: 'action_attempt_expired';
8690
8753
  message: string;
8691
8754
  } | {
8692
- type: 'no_card_on_encoder';
8755
+ type: 'no_credential_on_encoder';
8693
8756
  message: string;
8694
8757
  } | {
8695
8758
  type: 'incompatible_card_format';
@@ -9261,7 +9324,7 @@ export interface Routes {
9261
9324
  type: 'action_attempt_expired';
9262
9325
  message: string;
9263
9326
  } | {
9264
- type: 'no_card_on_encoder';
9327
+ type: 'no_credential_on_encoder';
9265
9328
  message: string;
9266
9329
  };
9267
9330
  } | {
@@ -9465,7 +9528,7 @@ export interface Routes {
9465
9528
  type: 'action_attempt_expired';
9466
9529
  message: string;
9467
9530
  } | {
9468
- type: 'no_card_on_encoder';
9531
+ type: 'no_credential_on_encoder';
9469
9532
  message: string;
9470
9533
  } | {
9471
9534
  type: 'incompatible_card_format';
@@ -11610,13 +11673,13 @@ export interface Routes {
11610
11673
  formData: {};
11611
11674
  jsonResponse: {
11612
11675
  event?: ({
11613
- /** The ID of the event. */
11676
+ /** ID of the event. */
11614
11677
  event_id: string;
11615
- /** The ID of the workspace. */
11678
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11616
11679
  workspace_id: string;
11617
- /** The time when the event was created. */
11680
+ /** Time at which the event was created. */
11618
11681
  created_at: string;
11619
- /** The time when the event occurred. */
11682
+ /** Time when the event occurred. */
11620
11683
  occurred_at: string;
11621
11684
  /** The ID of the access code. */
11622
11685
  access_code_id: string;
@@ -11626,13 +11689,13 @@ export interface Routes {
11626
11689
  connected_account_id: string;
11627
11690
  event_type: 'access_code.created';
11628
11691
  } | {
11629
- /** The ID of the event. */
11692
+ /** ID of the event. */
11630
11693
  event_id: string;
11631
- /** The ID of the workspace. */
11694
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11632
11695
  workspace_id: string;
11633
- /** The time when the event was created. */
11696
+ /** Time at which the event was created. */
11634
11697
  created_at: string;
11635
- /** The time when the event occurred. */
11698
+ /** Time when the event occurred. */
11636
11699
  occurred_at: string;
11637
11700
  /** The ID of the access code. */
11638
11701
  access_code_id: string;
@@ -11642,13 +11705,13 @@ export interface Routes {
11642
11705
  connected_account_id: string;
11643
11706
  event_type: 'access_code.changed';
11644
11707
  } | {
11645
- /** The ID of the event. */
11708
+ /** ID of the event. */
11646
11709
  event_id: string;
11647
- /** The ID of the workspace. */
11710
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11648
11711
  workspace_id: string;
11649
- /** The time when the event was created. */
11712
+ /** Time at which the event was created. */
11650
11713
  created_at: string;
11651
- /** The time when the event occurred. */
11714
+ /** Time when the event occurred. */
11652
11715
  occurred_at: string;
11653
11716
  /** The ID of the access code. */
11654
11717
  access_code_id: string;
@@ -11660,13 +11723,13 @@ export interface Routes {
11660
11723
  /** The code of the access code. */
11661
11724
  code: string;
11662
11725
  } | {
11663
- /** The ID of the event. */
11726
+ /** ID of the event. */
11664
11727
  event_id: string;
11665
- /** The ID of the workspace. */
11728
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11666
11729
  workspace_id: string;
11667
- /** The time when the event was created. */
11730
+ /** Time at which the event was created. */
11668
11731
  created_at: string;
11669
- /** The time when the event occurred. */
11732
+ /** Time when the event occurred. */
11670
11733
  occurred_at: string;
11671
11734
  /** The ID of the access code. */
11672
11735
  access_code_id: string;
@@ -11678,13 +11741,13 @@ export interface Routes {
11678
11741
  /** The code of the access code. */
11679
11742
  code: string;
11680
11743
  } | {
11681
- /** The ID of the event. */
11744
+ /** ID of the event. */
11682
11745
  event_id: string;
11683
- /** The ID of the workspace. */
11746
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11684
11747
  workspace_id: string;
11685
- /** The time when the event was created. */
11748
+ /** Time at which the event was created. */
11686
11749
  created_at: string;
11687
- /** The time when the event occurred. */
11750
+ /** Time when the event occurred. */
11688
11751
  occurred_at: string;
11689
11752
  /** The ID of the access code. */
11690
11753
  access_code_id: string;
@@ -11694,13 +11757,13 @@ export interface Routes {
11694
11757
  connected_account_id: string;
11695
11758
  event_type: 'access_code.removed_from_device';
11696
11759
  } | {
11697
- /** The ID of the event. */
11760
+ /** ID of the event. */
11698
11761
  event_id: string;
11699
- /** The ID of the workspace. */
11762
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11700
11763
  workspace_id: string;
11701
- /** The time when the event was created. */
11764
+ /** Time at which the event was created. */
11702
11765
  created_at: string;
11703
- /** The time when the event occurred. */
11766
+ /** Time when the event occurred. */
11704
11767
  occurred_at: string;
11705
11768
  /** The ID of the access code. */
11706
11769
  access_code_id: string;
@@ -11710,13 +11773,13 @@ export interface Routes {
11710
11773
  connected_account_id: string;
11711
11774
  event_type: 'access_code.delay_in_setting_on_device';
11712
11775
  } | {
11713
- /** The ID of the event. */
11776
+ /** ID of the event. */
11714
11777
  event_id: string;
11715
- /** The ID of the workspace. */
11778
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11716
11779
  workspace_id: string;
11717
- /** The time when the event was created. */
11780
+ /** Time at which the event was created. */
11718
11781
  created_at: string;
11719
- /** The time when the event occurred. */
11782
+ /** Time when the event occurred. */
11720
11783
  occurred_at: string;
11721
11784
  /** The ID of the access code. */
11722
11785
  access_code_id: string;
@@ -11726,13 +11789,13 @@ export interface Routes {
11726
11789
  connected_account_id: string;
11727
11790
  event_type: 'access_code.failed_to_set_on_device';
11728
11791
  } | {
11729
- /** The ID of the event. */
11792
+ /** ID of the event. */
11730
11793
  event_id: string;
11731
- /** The ID of the workspace. */
11794
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11732
11795
  workspace_id: string;
11733
- /** The time when the event was created. */
11796
+ /** Time at which the event was created. */
11734
11797
  created_at: string;
11735
- /** The time when the event occurred. */
11798
+ /** Time when the event occurred. */
11736
11799
  occurred_at: string;
11737
11800
  /** The ID of the access code. */
11738
11801
  access_code_id: string;
@@ -11744,13 +11807,13 @@ export interface Routes {
11744
11807
  /** The code of the access code. */
11745
11808
  code: string | null;
11746
11809
  } | {
11747
- /** The ID of the event. */
11810
+ /** ID of the event. */
11748
11811
  event_id: string;
11749
- /** The ID of the workspace. */
11812
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11750
11813
  workspace_id: string;
11751
- /** The time when the event was created. */
11814
+ /** Time at which the event was created. */
11752
11815
  created_at: string;
11753
- /** The time when the event occurred. */
11816
+ /** Time when the event occurred. */
11754
11817
  occurred_at: string;
11755
11818
  /** The ID of the access code. */
11756
11819
  access_code_id: string;
@@ -11760,13 +11823,13 @@ export interface Routes {
11760
11823
  connected_account_id: string;
11761
11824
  event_type: 'access_code.delay_in_removing_from_device';
11762
11825
  } | {
11763
- /** The ID of the event. */
11826
+ /** ID of the event. */
11764
11827
  event_id: string;
11765
- /** The ID of the workspace. */
11828
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11766
11829
  workspace_id: string;
11767
- /** The time when the event was created. */
11830
+ /** Time at which the event was created. */
11768
11831
  created_at: string;
11769
- /** The time when the event occurred. */
11832
+ /** Time when the event occurred. */
11770
11833
  occurred_at: string;
11771
11834
  /** The ID of the access code. */
11772
11835
  access_code_id: string;
@@ -11776,13 +11839,13 @@ export interface Routes {
11776
11839
  connected_account_id: string;
11777
11840
  event_type: 'access_code.failed_to_remove_from_device';
11778
11841
  } | {
11779
- /** The ID of the event. */
11842
+ /** ID of the event. */
11780
11843
  event_id: string;
11781
- /** The ID of the workspace. */
11844
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11782
11845
  workspace_id: string;
11783
- /** The time when the event was created. */
11846
+ /** Time at which the event was created. */
11784
11847
  created_at: string;
11785
- /** The time when the event occurred. */
11848
+ /** Time when the event occurred. */
11786
11849
  occurred_at: string;
11787
11850
  /** The ID of the access code. */
11788
11851
  access_code_id: string;
@@ -11792,13 +11855,13 @@ export interface Routes {
11792
11855
  connected_account_id: string;
11793
11856
  event_type: 'access_code.modified_external_to_seam';
11794
11857
  } | {
11795
- /** The ID of the event. */
11858
+ /** ID of the event. */
11796
11859
  event_id: string;
11797
- /** The ID of the workspace. */
11860
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11798
11861
  workspace_id: string;
11799
- /** The time when the event was created. */
11862
+ /** Time at which the event was created. */
11800
11863
  created_at: string;
11801
- /** The time when the event occurred. */
11864
+ /** Time when the event occurred. */
11802
11865
  occurred_at: string;
11803
11866
  /** The ID of the access code. */
11804
11867
  access_code_id: string;
@@ -11808,13 +11871,13 @@ export interface Routes {
11808
11871
  connected_account_id: string;
11809
11872
  event_type: 'access_code.deleted_external_to_seam';
11810
11873
  } | {
11811
- /** The ID of the event. */
11874
+ /** ID of the event. */
11812
11875
  event_id: string;
11813
- /** The ID of the workspace. */
11876
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11814
11877
  workspace_id: string;
11815
- /** The time when the event was created. */
11878
+ /** Time at which the event was created. */
11816
11879
  created_at: string;
11817
- /** The time when the event occurred. */
11880
+ /** Time when the event occurred. */
11818
11881
  occurred_at: string;
11819
11882
  /** The ID of the access code. */
11820
11883
  access_code_id: string;
@@ -11825,13 +11888,13 @@ export interface Routes {
11825
11888
  event_type: 'access_code.backup_access_code_pulled';
11826
11889
  backup_access_code_id: string;
11827
11890
  } | {
11828
- /** The ID of the event. */
11891
+ /** ID of the event. */
11829
11892
  event_id: string;
11830
- /** The ID of the workspace. */
11893
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11831
11894
  workspace_id: string;
11832
- /** The time when the event was created. */
11895
+ /** Time at which the event was created. */
11833
11896
  created_at: string;
11834
- /** The time when the event occurred. */
11897
+ /** Time when the event occurred. */
11835
11898
  occurred_at: string;
11836
11899
  /** The ID of the access code. */
11837
11900
  access_code_id: string;
@@ -11841,13 +11904,13 @@ export interface Routes {
11841
11904
  connected_account_id: string;
11842
11905
  event_type: 'access_code.unmanaged.converted_to_managed';
11843
11906
  } | {
11844
- /** The ID of the event. */
11907
+ /** ID of the event. */
11845
11908
  event_id: string;
11846
- /** The ID of the workspace. */
11909
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11847
11910
  workspace_id: string;
11848
- /** The time when the event was created. */
11911
+ /** Time at which the event was created. */
11849
11912
  created_at: string;
11850
- /** The time when the event occurred. */
11913
+ /** Time when the event occurred. */
11851
11914
  occurred_at: string;
11852
11915
  /** The ID of the access code. */
11853
11916
  access_code_id: string;
@@ -11857,13 +11920,13 @@ export interface Routes {
11857
11920
  connected_account_id: string;
11858
11921
  event_type: 'access_code.unmanaged.failed_to_convert_to_managed';
11859
11922
  } | {
11860
- /** The ID of the event. */
11923
+ /** ID of the event. */
11861
11924
  event_id: string;
11862
- /** The ID of the workspace. */
11925
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11863
11926
  workspace_id: string;
11864
- /** The time when the event was created. */
11927
+ /** Time at which the event was created. */
11865
11928
  created_at: string;
11866
- /** The time when the event occurred. */
11929
+ /** Time when the event occurred. */
11867
11930
  occurred_at: string;
11868
11931
  /** The ID of the access code. */
11869
11932
  access_code_id: string;
@@ -11873,13 +11936,13 @@ export interface Routes {
11873
11936
  connected_account_id: string;
11874
11937
  event_type: 'access_code.unmanaged.created';
11875
11938
  } | {
11876
- /** The ID of the event. */
11939
+ /** ID of the event. */
11877
11940
  event_id: string;
11878
- /** The ID of the workspace. */
11941
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11879
11942
  workspace_id: string;
11880
- /** The time when the event was created. */
11943
+ /** Time at which the event was created. */
11881
11944
  created_at: string;
11882
- /** The time when the event occurred. */
11945
+ /** Time when the event occurred. */
11883
11946
  occurred_at: string;
11884
11947
  /** The ID of the access code. */
11885
11948
  access_code_id: string;
@@ -11889,13 +11952,13 @@ export interface Routes {
11889
11952
  connected_account_id: string;
11890
11953
  event_type: 'access_code.unmanaged.removed';
11891
11954
  } | {
11892
- /** The ID of the event. */
11955
+ /** ID of the event. */
11893
11956
  event_id: string;
11894
- /** The ID of the workspace. */
11957
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11895
11958
  workspace_id: string;
11896
- /** The time when the event was created. */
11959
+ /** Time at which the event was created. */
11897
11960
  created_at: string;
11898
- /** The time when the event occurred. */
11961
+ /** Time when the event occurred. */
11899
11962
  occurred_at: string;
11900
11963
  /** ID of the connected account.
11901
11964
  * @deprecated Will be removed. */
@@ -11904,13 +11967,13 @@ export interface Routes {
11904
11967
  acs_system_id: string;
11905
11968
  event_type: 'acs_system.connected';
11906
11969
  } | {
11907
- /** The ID of the event. */
11970
+ /** ID of the event. */
11908
11971
  event_id: string;
11909
- /** The ID of the workspace. */
11972
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11910
11973
  workspace_id: string;
11911
- /** The time when the event was created. */
11974
+ /** Time at which the event was created. */
11912
11975
  created_at: string;
11913
- /** The time when the event occurred. */
11976
+ /** Time when the event occurred. */
11914
11977
  occurred_at: string;
11915
11978
  /** ID of the connected account.
11916
11979
  * @deprecated Will be removed. */
@@ -11919,13 +11982,13 @@ export interface Routes {
11919
11982
  acs_system_id: string;
11920
11983
  event_type: 'acs_system.added';
11921
11984
  } | {
11922
- /** The ID of the event. */
11985
+ /** ID of the event. */
11923
11986
  event_id: string;
11924
- /** The ID of the workspace. */
11987
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11925
11988
  workspace_id: string;
11926
- /** The time when the event was created. */
11989
+ /** Time at which the event was created. */
11927
11990
  created_at: string;
11928
- /** The time when the event occurred. */
11991
+ /** Time when the event occurred. */
11929
11992
  occurred_at: string;
11930
11993
  /** ID of the connected account.
11931
11994
  * @deprecated Will be removed. */
@@ -11934,13 +11997,13 @@ export interface Routes {
11934
11997
  acs_system_id: string;
11935
11998
  event_type: 'acs_system.disconnected';
11936
11999
  } | {
11937
- /** The ID of the event. */
12000
+ /** ID of the event. */
11938
12001
  event_id: string;
11939
- /** The ID of the workspace. */
12002
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11940
12003
  workspace_id: string;
11941
- /** The time when the event was created. */
12004
+ /** Time at which the event was created. */
11942
12005
  created_at: string;
11943
- /** The time when the event occurred. */
12006
+ /** Time when the event occurred. */
11944
12007
  occurred_at: string;
11945
12008
  /** ID of the connected account.
11946
12009
  * @deprecated Will be removed. */
@@ -11950,13 +12013,13 @@ export interface Routes {
11950
12013
  acs_credential_id: string;
11951
12014
  event_type: 'acs_credential.deleted';
11952
12015
  } | {
11953
- /** The ID of the event. */
12016
+ /** ID of the event. */
11954
12017
  event_id: string;
11955
- /** The ID of the workspace. */
12018
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11956
12019
  workspace_id: string;
11957
- /** The time when the event was created. */
12020
+ /** Time at which the event was created. */
11958
12021
  created_at: string;
11959
- /** The time when the event occurred. */
12022
+ /** Time when the event occurred. */
11960
12023
  occurred_at: string;
11961
12024
  /** ID of the connected account.
11962
12025
  * @deprecated Will be removed. */
@@ -11966,13 +12029,13 @@ export interface Routes {
11966
12029
  acs_credential_id: string;
11967
12030
  event_type: 'acs_credential.issued';
11968
12031
  } | {
11969
- /** The ID of the event. */
12032
+ /** ID of the event. */
11970
12033
  event_id: string;
11971
- /** The ID of the workspace. */
12034
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11972
12035
  workspace_id: string;
11973
- /** The time when the event was created. */
12036
+ /** Time at which the event was created. */
11974
12037
  created_at: string;
11975
- /** The time when the event occurred. */
12038
+ /** Time when the event occurred. */
11976
12039
  occurred_at: string;
11977
12040
  /** ID of the connected account.
11978
12041
  * @deprecated Will be removed. */
@@ -11982,13 +12045,13 @@ export interface Routes {
11982
12045
  acs_user_id: string;
11983
12046
  event_type: 'acs_user.deleted';
11984
12047
  } | {
11985
- /** The ID of the event. */
12048
+ /** ID of the event. */
11986
12049
  event_id: string;
11987
- /** The ID of the workspace. */
12050
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11988
12051
  workspace_id: string;
11989
- /** The time when the event was created. */
12052
+ /** Time at which the event was created. */
11990
12053
  created_at: string;
11991
- /** The time when the event occurred. */
12054
+ /** Time when the event occurred. */
11992
12055
  occurred_at: string;
11993
12056
  /** ID of the connected account.
11994
12057
  * @deprecated Will be removed. */
@@ -11999,13 +12062,13 @@ export interface Routes {
11999
12062
  acs_encoder_id: string;
12000
12063
  event_type: 'acs_encoder.added';
12001
12064
  } | {
12002
- /** The ID of the event. */
12065
+ /** ID of the event. */
12003
12066
  event_id: string;
12004
- /** The ID of the workspace. */
12067
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12005
12068
  workspace_id: string;
12006
- /** The time when the event was created. */
12069
+ /** Time at which the event was created. */
12007
12070
  created_at: string;
12008
- /** The time when the event occurred. */
12071
+ /** Time when the event occurred. */
12009
12072
  occurred_at: string;
12010
12073
  /** ID of the connected account.
12011
12074
  * @deprecated Will be removed. */
@@ -12016,25 +12079,25 @@ export interface Routes {
12016
12079
  acs_encoder_id: string;
12017
12080
  event_type: 'acs_encoder.removed';
12018
12081
  } | {
12019
- /** The ID of the event. */
12082
+ /** ID of the event. */
12020
12083
  event_id: string;
12021
- /** The ID of the workspace. */
12084
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12022
12085
  workspace_id: string;
12023
- /** The time when the event was created. */
12086
+ /** Time at which the event was created. */
12024
12087
  created_at: string;
12025
- /** The time when the event occurred. */
12088
+ /** Time when the event occurred. */
12026
12089
  occurred_at: string;
12027
12090
  /** ID of the client session. */
12028
12091
  client_session_id: string;
12029
12092
  event_type: 'client_session.deleted';
12030
12093
  } | {
12031
- /** The ID of the event. */
12094
+ /** ID of the event. */
12032
12095
  event_id: string;
12033
- /** The ID of the workspace. */
12096
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12034
12097
  workspace_id: string;
12035
- /** The time when the event was created. */
12098
+ /** Time at which the event was created. */
12036
12099
  created_at: string;
12037
- /** The time when the event occurred. */
12100
+ /** Time when the event occurred. */
12038
12101
  occurred_at: string;
12039
12102
  /** ID of the connected account. */
12040
12103
  connected_account_id: string;
@@ -12042,13 +12105,13 @@ export interface Routes {
12042
12105
  /** ID of the connect webview. */
12043
12106
  connect_webview_id: string;
12044
12107
  } | {
12045
- /** The ID of the event. */
12108
+ /** ID of the event. */
12046
12109
  event_id: string;
12047
- /** The ID of the workspace. */
12110
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12048
12111
  workspace_id: string;
12049
- /** The time when the event was created. */
12112
+ /** Time at which the event was created. */
12050
12113
  created_at: string;
12051
- /** The time when the event occurred. */
12114
+ /** Time when the event occurred. */
12052
12115
  occurred_at: string;
12053
12116
  /** ID of the connected account. */
12054
12117
  connected_account_id: string;
@@ -12056,13 +12119,13 @@ export interface Routes {
12056
12119
  /** ID of the connect webview. */
12057
12120
  connect_webview_id: string;
12058
12121
  } | {
12059
- /** The ID of the event. */
12122
+ /** ID of the event. */
12060
12123
  event_id: string;
12061
- /** The ID of the workspace. */
12124
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12062
12125
  workspace_id: string;
12063
- /** The time when the event was created. */
12126
+ /** Time at which the event was created. */
12064
12127
  created_at: string;
12065
- /** The time when the event occurred. */
12128
+ /** Time when the event occurred. */
12066
12129
  occurred_at: string;
12067
12130
  /** ID of the connected account. */
12068
12131
  connected_account_id: string;
@@ -12070,61 +12133,61 @@ export interface Routes {
12070
12133
  /** ID of the connect webview. */
12071
12134
  connect_webview_id: string;
12072
12135
  } | {
12073
- /** The ID of the event. */
12136
+ /** ID of the event. */
12074
12137
  event_id: string;
12075
- /** The ID of the workspace. */
12138
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12076
12139
  workspace_id: string;
12077
- /** The time when the event was created. */
12140
+ /** Time at which the event was created. */
12078
12141
  created_at: string;
12079
- /** The time when the event occurred. */
12142
+ /** Time when the event occurred. */
12080
12143
  occurred_at: string;
12081
12144
  /** ID of the connected account. */
12082
12145
  connected_account_id: string;
12083
12146
  event_type: 'connected_account.disconnected';
12084
12147
  } | {
12085
- /** The ID of the event. */
12148
+ /** ID of the event. */
12086
12149
  event_id: string;
12087
- /** The ID of the workspace. */
12150
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12088
12151
  workspace_id: string;
12089
- /** The time when the event was created. */
12152
+ /** Time at which the event was created. */
12090
12153
  created_at: string;
12091
- /** The time when the event occurred. */
12154
+ /** Time when the event occurred. */
12092
12155
  occurred_at: string;
12093
12156
  /** ID of the connected account. */
12094
12157
  connected_account_id: string;
12095
12158
  event_type: 'connected_account.completed_first_sync';
12096
12159
  } | {
12097
- /** The ID of the event. */
12160
+ /** ID of the event. */
12098
12161
  event_id: string;
12099
- /** The ID of the workspace. */
12162
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12100
12163
  workspace_id: string;
12101
- /** The time when the event was created. */
12164
+ /** Time at which the event was created. */
12102
12165
  created_at: string;
12103
- /** The time when the event occurred. */
12166
+ /** Time when the event occurred. */
12104
12167
  occurred_at: string;
12105
12168
  /** ID of the connected account. */
12106
12169
  connected_account_id: string;
12107
12170
  event_type: 'connected_account.deleted';
12108
12171
  } | {
12109
- /** The ID of the event. */
12172
+ /** ID of the event. */
12110
12173
  event_id: string;
12111
- /** The ID of the workspace. */
12174
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12112
12175
  workspace_id: string;
12113
- /** The time when the event was created. */
12176
+ /** Time at which the event was created. */
12114
12177
  created_at: string;
12115
- /** The time when the event occurred. */
12178
+ /** Time when the event occurred. */
12116
12179
  occurred_at: string;
12117
12180
  /** ID of the connected account. */
12118
12181
  connected_account_id: string;
12119
12182
  event_type: 'connected_account.completed_first_sync_after_reconnection';
12120
12183
  } | {
12121
- /** The ID of the event. */
12184
+ /** ID of the event. */
12122
12185
  event_id: string;
12123
- /** The ID of the workspace. */
12186
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12124
12187
  workspace_id: string;
12125
- /** The time when the event was created. */
12188
+ /** Time at which the event was created. */
12126
12189
  created_at: string;
12127
- /** The time when the event occurred. */
12190
+ /** Time when the event occurred. */
12128
12191
  occurred_at: string;
12129
12192
  /** The ID of the action attempt. */
12130
12193
  action_attempt_id: string;
@@ -12134,13 +12197,13 @@ export interface Routes {
12134
12197
  status: string;
12135
12198
  event_type: 'action_attempt.lock_door.succeeded';
12136
12199
  } | {
12137
- /** The ID of the event. */
12200
+ /** ID of the event. */
12138
12201
  event_id: string;
12139
- /** The ID of the workspace. */
12202
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12140
12203
  workspace_id: string;
12141
- /** The time when the event was created. */
12204
+ /** Time at which the event was created. */
12142
12205
  created_at: string;
12143
- /** The time when the event occurred. */
12206
+ /** Time when the event occurred. */
12144
12207
  occurred_at: string;
12145
12208
  /** The ID of the action attempt. */
12146
12209
  action_attempt_id: string;
@@ -12150,13 +12213,13 @@ export interface Routes {
12150
12213
  status: string;
12151
12214
  event_type: 'action_attempt.lock_door.failed';
12152
12215
  } | {
12153
- /** The ID of the event. */
12216
+ /** ID of the event. */
12154
12217
  event_id: string;
12155
- /** The ID of the workspace. */
12218
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12156
12219
  workspace_id: string;
12157
- /** The time when the event was created. */
12220
+ /** Time at which the event was created. */
12158
12221
  created_at: string;
12159
- /** The time when the event occurred. */
12222
+ /** Time when the event occurred. */
12160
12223
  occurred_at: string;
12161
12224
  /** The ID of the action attempt. */
12162
12225
  action_attempt_id: string;
@@ -12166,13 +12229,13 @@ export interface Routes {
12166
12229
  status: string;
12167
12230
  event_type: 'action_attempt.unlock_door.succeeded';
12168
12231
  } | {
12169
- /** The ID of the event. */
12232
+ /** ID of the event. */
12170
12233
  event_id: string;
12171
- /** The ID of the workspace. */
12234
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12172
12235
  workspace_id: string;
12173
- /** The time when the event was created. */
12236
+ /** Time at which the event was created. */
12174
12237
  created_at: string;
12175
- /** The time when the event occurred. */
12238
+ /** Time when the event occurred. */
12176
12239
  occurred_at: string;
12177
12240
  /** The ID of the action attempt. */
12178
12241
  action_attempt_id: string;
@@ -12182,13 +12245,13 @@ export interface Routes {
12182
12245
  status: string;
12183
12246
  event_type: 'action_attempt.unlock_door.failed';
12184
12247
  } | {
12185
- /** The ID of the event. */
12248
+ /** ID of the event. */
12186
12249
  event_id: string;
12187
- /** The ID of the workspace. */
12250
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12188
12251
  workspace_id: string;
12189
- /** The time when the event was created. */
12252
+ /** Time at which the event was created. */
12190
12253
  created_at: string;
12191
- /** The time when the event occurred. */
12254
+ /** Time when the event occurred. */
12192
12255
  occurred_at: string;
12193
12256
  /** ID of the connect webview. */
12194
12257
  connect_webview_id: string;
@@ -12196,439 +12259,452 @@ export interface Routes {
12196
12259
  /** ID of the connected account. */
12197
12260
  connected_account_id: string;
12198
12261
  } | {
12199
- /** The ID of the event. */
12262
+ /** ID of the event. */
12200
12263
  event_id: string;
12201
- /** The ID of the workspace. */
12264
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12202
12265
  workspace_id: string;
12203
- /** The time when the event was created. */
12266
+ /** Time at which the event was created. */
12204
12267
  created_at: string;
12205
- /** The time when the event occurred. */
12268
+ /** Time when the event occurred. */
12206
12269
  occurred_at: string;
12207
12270
  /** ID of the connect webview. */
12208
12271
  connect_webview_id: string;
12209
12272
  event_type: 'connect_webview.login_failed';
12210
12273
  } | {
12211
- /** The ID of the event. */
12274
+ /** ID of the event. */
12212
12275
  event_id: string;
12213
- /** The ID of the workspace. */
12276
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12214
12277
  workspace_id: string;
12215
- /** The time when the event was created. */
12278
+ /** Time at which the event was created. */
12216
12279
  created_at: string;
12217
- /** The time when the event occurred. */
12280
+ /** Time when the event occurred. */
12218
12281
  occurred_at: string;
12219
12282
  /** ID of the device. */
12220
12283
  device_id: string;
12221
- /** ID of the connected account. */
12284
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12222
12285
  connected_account_id: string;
12223
12286
  event_type: 'device.connected';
12224
12287
  } | {
12225
- /** The ID of the event. */
12288
+ /** ID of the event. */
12226
12289
  event_id: string;
12227
- /** The ID of the workspace. */
12290
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12228
12291
  workspace_id: string;
12229
- /** The time when the event was created. */
12292
+ /** Time at which the event was created. */
12230
12293
  created_at: string;
12231
- /** The time when the event occurred. */
12294
+ /** Time when the event occurred. */
12232
12295
  occurred_at: string;
12233
12296
  /** ID of the device. */
12234
12297
  device_id: string;
12235
- /** ID of the connected account. */
12298
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12236
12299
  connected_account_id: string;
12237
12300
  event_type: 'device.added';
12238
12301
  } | {
12239
- /** The ID of the event. */
12302
+ /** ID of the event. */
12240
12303
  event_id: string;
12241
- /** The ID of the workspace. */
12304
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12242
12305
  workspace_id: string;
12243
- /** The time when the event was created. */
12306
+ /** Time at which the event was created. */
12244
12307
  created_at: string;
12245
- /** The time when the event occurred. */
12308
+ /** Time when the event occurred. */
12246
12309
  occurred_at: string;
12247
12310
  /** ID of the device. */
12248
12311
  device_id: string;
12249
- /** ID of the connected account. */
12312
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12250
12313
  connected_account_id: string;
12251
12314
  event_type: 'device.converted_to_unmanaged';
12252
12315
  } | {
12253
- /** The ID of the event. */
12316
+ /** ID of the event. */
12254
12317
  event_id: string;
12255
- /** The ID of the workspace. */
12318
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12256
12319
  workspace_id: string;
12257
- /** The time when the event was created. */
12320
+ /** Time at which the event was created. */
12258
12321
  created_at: string;
12259
- /** The time when the event occurred. */
12322
+ /** Time when the event occurred. */
12260
12323
  occurred_at: string;
12261
12324
  /** ID of the device. */
12262
12325
  device_id: string;
12263
- /** ID of the connected account. */
12326
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12264
12327
  connected_account_id: string;
12265
12328
  event_type: 'device.unmanaged.converted_to_managed';
12266
12329
  } | {
12267
- /** The ID of the event. */
12330
+ /** ID of the event. */
12268
12331
  event_id: string;
12269
- /** The ID of the workspace. */
12332
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12270
12333
  workspace_id: string;
12271
- /** The time when the event was created. */
12334
+ /** Time at which the event was created. */
12272
12335
  created_at: string;
12273
- /** The time when the event occurred. */
12336
+ /** Time when the event occurred. */
12274
12337
  occurred_at: string;
12275
12338
  /** ID of the device. */
12276
12339
  device_id: string;
12277
- /** ID of the connected account. */
12340
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12278
12341
  connected_account_id: string;
12279
12342
  event_type: 'device.unmanaged.connected';
12280
12343
  } | {
12281
- /** The ID of the event. */
12344
+ /** ID of the event. */
12282
12345
  event_id: string;
12283
- /** The ID of the workspace. */
12346
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12284
12347
  workspace_id: string;
12285
- /** The time when the event was created. */
12348
+ /** Time at which the event was created. */
12286
12349
  created_at: string;
12287
- /** The time when the event occurred. */
12350
+ /** Time when the event occurred. */
12288
12351
  occurred_at: string;
12289
12352
  /** ID of the device. */
12290
12353
  device_id: string;
12291
- /** ID of the connected account. */
12354
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12292
12355
  connected_account_id: string;
12293
12356
  event_type: 'device.disconnected';
12294
- /** The error code associated with the event, if any. */
12357
+ /** Error code associated with the disconnection event, if any. */
12295
12358
  error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
12296
12359
  } | {
12297
- /** The ID of the event. */
12360
+ /** ID of the event. */
12298
12361
  event_id: string;
12299
- /** The ID of the workspace. */
12362
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12300
12363
  workspace_id: string;
12301
- /** The time when the event was created. */
12364
+ /** Time at which the event was created. */
12302
12365
  created_at: string;
12303
- /** The time when the event occurred. */
12366
+ /** Time when the event occurred. */
12304
12367
  occurred_at: string;
12305
12368
  /** ID of the device. */
12306
12369
  device_id: string;
12307
- /** ID of the connected account. */
12370
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12308
12371
  connected_account_id: string;
12309
12372
  event_type: 'device.unmanaged.disconnected';
12310
- /** The error code associated with the event, if any. */
12373
+ /** Error code associated with the disconnection event, if any. */
12311
12374
  error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
12312
12375
  } | {
12313
- /** The ID of the event. */
12376
+ /** ID of the event. */
12314
12377
  event_id: string;
12315
- /** The ID of the workspace. */
12378
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12316
12379
  workspace_id: string;
12317
- /** The time when the event was created. */
12380
+ /** Time at which the event was created. */
12318
12381
  created_at: string;
12319
- /** The time when the event occurred. */
12382
+ /** Time when the event occurred. */
12320
12383
  occurred_at: string;
12321
12384
  /** ID of the device. */
12322
12385
  device_id: string;
12323
- /** ID of the connected account. */
12386
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12324
12387
  connected_account_id: string;
12325
12388
  event_type: 'device.tampered';
12326
12389
  } | {
12327
- /** The ID of the event. */
12390
+ /** ID of the event. */
12328
12391
  event_id: string;
12329
- /** The ID of the workspace. */
12392
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12330
12393
  workspace_id: string;
12331
- /** The time when the event was created. */
12394
+ /** Time at which the event was created. */
12332
12395
  created_at: string;
12333
- /** The time when the event occurred. */
12396
+ /** Time when the event occurred. */
12334
12397
  occurred_at: string;
12335
12398
  /** ID of the device. */
12336
12399
  device_id: string;
12337
- /** ID of the connected account. */
12400
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12338
12401
  connected_account_id: string;
12339
12402
  event_type: 'device.low_battery';
12340
- /** Fractional number 0 to 1.0 indicating amount of battery in device, as reported by device. */
12403
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
12341
12404
  battery_level: number;
12342
12405
  } | {
12343
- /** The ID of the event. */
12406
+ /** ID of the event. */
12344
12407
  event_id: string;
12345
- /** The ID of the workspace. */
12408
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12346
12409
  workspace_id: string;
12347
- /** The time when the event was created. */
12410
+ /** Time at which the event was created. */
12348
12411
  created_at: string;
12349
- /** The time when the event occurred. */
12412
+ /** Time when the event occurred. */
12350
12413
  occurred_at: string;
12351
12414
  /** ID of the device. */
12352
12415
  device_id: string;
12353
- /** ID of the connected account. */
12416
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12354
12417
  connected_account_id: string;
12355
12418
  event_type: 'device.battery_status_changed';
12356
- /** Enum representing the battery status calculated from numeric battery_level value, one of 'critical' | 'low' | 'good' | 'full' */
12419
+ /** Battery status of the device, calculated from the numeric `battery_level` value. */
12357
12420
  battery_status: 'critical' | 'low' | 'good' | 'full';
12358
- /** Fractional number 0 to 1.0 indicating amount of battery in device, as reported by device. */
12421
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
12359
12422
  battery_level: number;
12360
12423
  } | {
12361
- /** The ID of the event. */
12424
+ /** ID of the event. */
12362
12425
  event_id: string;
12363
- /** The ID of the workspace. */
12426
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12364
12427
  workspace_id: string;
12365
- /** The time when the event was created. */
12428
+ /** Time at which the event was created. */
12366
12429
  created_at: string;
12367
- /** The time when the event occurred. */
12430
+ /** Time when the event occurred. */
12368
12431
  occurred_at: string;
12369
12432
  /** ID of the device. */
12370
12433
  device_id: string;
12371
- /** ID of the connected account. */
12434
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12372
12435
  connected_account_id: string;
12373
12436
  event_type: 'device.removed';
12374
12437
  } | {
12375
- /** The ID of the event. */
12438
+ /** ID of the event. */
12376
12439
  event_id: string;
12377
- /** The ID of the workspace. */
12440
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12378
12441
  workspace_id: string;
12379
- /** The time when the event was created. */
12442
+ /** Time at which the event was created. */
12380
12443
  created_at: string;
12381
- /** The time when the event occurred. */
12444
+ /** Time when the event occurred. */
12382
12445
  occurred_at: string;
12383
12446
  /** ID of the device. */
12384
12447
  device_id: string;
12385
- /** ID of the connected account. */
12448
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12386
12449
  connected_account_id: string;
12387
12450
  event_type: 'device.deleted';
12388
12451
  } | {
12389
- /** The ID of the event. */
12452
+ /** ID of the event. */
12390
12453
  event_id: string;
12391
- /** The ID of the workspace. */
12454
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12392
12455
  workspace_id: string;
12393
- /** The time when the event was created. */
12456
+ /** Time at which the event was created. */
12394
12457
  created_at: string;
12395
- /** The time when the event occurred. */
12458
+ /** Time when the event occurred. */
12396
12459
  occurred_at: string;
12397
12460
  /** ID of the device. */
12398
12461
  device_id: string;
12399
- /** ID of the connected account. */
12462
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12400
12463
  connected_account_id: string;
12401
12464
  event_type: 'device.third_party_integration_detected';
12402
12465
  } | {
12403
- /** The ID of the event. */
12466
+ /** ID of the event. */
12404
12467
  event_id: string;
12405
- /** The ID of the workspace. */
12468
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12406
12469
  workspace_id: string;
12407
- /** The time when the event was created. */
12470
+ /** Time at which the event was created. */
12408
12471
  created_at: string;
12409
- /** The time when the event occurred. */
12472
+ /** Time when the event occurred. */
12410
12473
  occurred_at: string;
12411
12474
  /** ID of the device. */
12412
12475
  device_id: string;
12413
- /** ID of the connected account. */
12476
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12414
12477
  connected_account_id: string;
12415
12478
  event_type: 'device.third_party_integration_no_longer_detected';
12416
12479
  } | {
12417
- /** The ID of the event. */
12480
+ /** ID of the event. */
12418
12481
  event_id: string;
12419
- /** The ID of the workspace. */
12482
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12420
12483
  workspace_id: string;
12421
- /** The time when the event was created. */
12484
+ /** Time at which the event was created. */
12422
12485
  created_at: string;
12423
- /** The time when the event occurred. */
12486
+ /** Time when the event occurred. */
12424
12487
  occurred_at: string;
12425
12488
  /** ID of the device. */
12426
12489
  device_id: string;
12427
- /** ID of the connected account. */
12490
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12428
12491
  connected_account_id: string;
12429
12492
  event_type: 'device.salto.privacy_mode_activated';
12430
12493
  } | {
12431
- /** The ID of the event. */
12494
+ /** ID of the event. */
12432
12495
  event_id: string;
12433
- /** The ID of the workspace. */
12496
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12434
12497
  workspace_id: string;
12435
- /** The time when the event was created. */
12498
+ /** Time at which the event was created. */
12436
12499
  created_at: string;
12437
- /** The time when the event occurred. */
12500
+ /** Time when the event occurred. */
12438
12501
  occurred_at: string;
12439
12502
  /** ID of the device. */
12440
12503
  device_id: string;
12441
- /** ID of the connected account. */
12504
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12442
12505
  connected_account_id: string;
12443
12506
  event_type: 'device.salto.privacy_mode_deactivated';
12444
12507
  } | {
12445
- /** The ID of the event. */
12508
+ /** ID of the event. */
12446
12509
  event_id: string;
12447
- /** The ID of the workspace. */
12510
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12448
12511
  workspace_id: string;
12449
- /** The time when the event was created. */
12512
+ /** Time at which the event was created. */
12450
12513
  created_at: string;
12451
- /** The time when the event occurred. */
12514
+ /** Time when the event occurred. */
12452
12515
  occurred_at: string;
12453
12516
  /** ID of the device. */
12454
12517
  device_id: string;
12455
- /** ID of the connected account. */
12518
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12456
12519
  connected_account_id: string;
12457
12520
  event_type: 'device.connection_became_flaky';
12458
12521
  } | {
12459
- /** The ID of the event. */
12522
+ /** ID of the event. */
12460
12523
  event_id: string;
12461
- /** The ID of the workspace. */
12524
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12462
12525
  workspace_id: string;
12463
- /** The time when the event was created. */
12526
+ /** Time at which the event was created. */
12464
12527
  created_at: string;
12465
- /** The time when the event occurred. */
12528
+ /** Time when the event occurred. */
12466
12529
  occurred_at: string;
12467
12530
  /** ID of the device. */
12468
12531
  device_id: string;
12469
- /** ID of the connected account. */
12532
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12470
12533
  connected_account_id: string;
12471
12534
  event_type: 'device.connection_stabilized';
12472
12535
  } | {
12473
- /** The ID of the event. */
12536
+ /** ID of the event. */
12474
12537
  event_id: string;
12475
- /** The ID of the workspace. */
12538
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12476
12539
  workspace_id: string;
12477
- /** The time when the event was created. */
12540
+ /** Time at which the event was created. */
12478
12541
  created_at: string;
12479
- /** The time when the event occurred. */
12542
+ /** Time when the event occurred. */
12480
12543
  occurred_at: string;
12481
12544
  /** ID of the device. */
12482
12545
  device_id: string;
12483
- /** ID of the connected account. */
12546
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12484
12547
  connected_account_id: string;
12485
12548
  event_type: 'device.error.subscription_required';
12486
12549
  } | {
12487
- /** The ID of the event. */
12550
+ /** ID of the event. */
12488
12551
  event_id: string;
12489
- /** The ID of the workspace. */
12552
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12490
12553
  workspace_id: string;
12491
- /** The time when the event was created. */
12554
+ /** Time at which the event was created. */
12492
12555
  created_at: string;
12493
- /** The time when the event occurred. */
12556
+ /** Time when the event occurred. */
12494
12557
  occurred_at: string;
12495
12558
  /** ID of the device. */
12496
12559
  device_id: string;
12497
- /** ID of the connected account. */
12560
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12498
12561
  connected_account_id: string;
12499
12562
  event_type: 'device.error.subscription_required.resolved';
12500
12563
  } | {
12501
- /** The ID of the event. */
12564
+ /** ID of the event. */
12502
12565
  event_id: string;
12503
- /** The ID of the workspace. */
12566
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12504
12567
  workspace_id: string;
12505
- /** The time when the event was created. */
12568
+ /** Time at which the event was created. */
12506
12569
  created_at: string;
12507
- /** The time when the event occurred. */
12570
+ /** Time when the event occurred. */
12508
12571
  occurred_at: string;
12509
12572
  /** ID of the device. */
12510
12573
  device_id: string;
12511
- /** ID of the connected account. */
12574
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12512
12575
  connected_account_id: string;
12513
12576
  event_type: 'device.accessory_keypad_connected';
12514
12577
  } | {
12515
- /** The ID of the event. */
12578
+ /** ID of the event. */
12516
12579
  event_id: string;
12517
- /** The ID of the workspace. */
12580
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12518
12581
  workspace_id: string;
12519
- /** The time when the event was created. */
12582
+ /** Time at which the event was created. */
12520
12583
  created_at: string;
12521
- /** The time when the event occurred. */
12584
+ /** Time when the event occurred. */
12522
12585
  occurred_at: string;
12523
12586
  /** ID of the device. */
12524
12587
  device_id: string;
12525
- /** ID of the connected account. */
12588
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12526
12589
  connected_account_id: string;
12527
12590
  event_type: 'device.accessory_keypad_disconnected';
12528
12591
  } | {
12529
- /** The ID of the event. */
12592
+ /** ID of the event. */
12530
12593
  event_id: string;
12531
- /** The ID of the workspace. */
12594
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12532
12595
  workspace_id: string;
12533
- /** The time when the event was created. */
12596
+ /** Time at which the event was created. */
12534
12597
  created_at: string;
12535
- /** The time when the event occurred. */
12598
+ /** Time when the event occurred. */
12536
12599
  occurred_at: string;
12537
12600
  /** ID of the device. */
12538
12601
  device_id: string;
12539
- /** ID of the connected account. */
12602
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12540
12603
  connected_account_id: string;
12541
12604
  event_type: 'noise_sensor.noise_threshold_triggered';
12605
+ /** Detected noise level in decibels. */
12542
12606
  noise_level_decibels?: number | undefined;
12607
+ /** Detected noise level in Noiseaware Noise Risk Score (NRS). */
12543
12608
  noise_level_nrs?: number | undefined;
12609
+ /** ID of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
12544
12610
  noise_threshold_id?: string | undefined;
12611
+ /** Name of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
12545
12612
  noise_threshold_name?: string | undefined;
12546
- /** Metadata from the Noiseaware API. */
12613
+ /** Metadata from Noiseaware. */
12547
12614
  noiseaware_metadata?: Record<string, unknown> | undefined;
12548
- /** Metadata from the Minut API. */
12615
+ /** Metadata from Minut. */
12549
12616
  minut_metadata?: Record<string, unknown> | undefined;
12550
12617
  } | {
12551
- /** The ID of the event. */
12618
+ /** ID of the event. */
12552
12619
  event_id: string;
12553
- /** The ID of the workspace. */
12620
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12554
12621
  workspace_id: string;
12555
- /** The time when the event was created. */
12622
+ /** Time at which the event was created. */
12556
12623
  created_at: string;
12557
- /** The time when the event occurred. */
12624
+ /** Time when the event occurred. */
12558
12625
  occurred_at: string;
12559
12626
  /** ID of the device. */
12560
12627
  device_id: string;
12561
- /** ID of the connected account. */
12628
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12562
12629
  connected_account_id: string;
12563
12630
  event_type: 'lock.locked';
12631
+ /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to lock the device. */
12564
12632
  access_code_id?: string | undefined;
12633
+ /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the lock action. */
12565
12634
  action_attempt_id?: string | undefined;
12566
- /** Method by which a lock device was locked or unlocked. When the method is `keycode`, the `access_code_id` will reference the Seam access code which was used, if reported by the device. */
12635
+ /** Method by which a lock device was locked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
12567
12636
  method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
12568
12637
  } | {
12569
- /** The ID of the event. */
12638
+ /** ID of the event. */
12570
12639
  event_id: string;
12571
- /** The ID of the workspace. */
12640
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12572
12641
  workspace_id: string;
12573
- /** The time when the event was created. */
12642
+ /** Time at which the event was created. */
12574
12643
  created_at: string;
12575
- /** The time when the event occurred. */
12644
+ /** Time when the event occurred. */
12576
12645
  occurred_at: string;
12577
12646
  /** ID of the device. */
12578
12647
  device_id: string;
12579
- /** ID of the connected account. */
12648
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12580
12649
  connected_account_id: string;
12581
12650
  event_type: 'lock.unlocked';
12651
+ /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to unlock the device. */
12582
12652
  access_code_id?: string | undefined;
12653
+ /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the unlock action. */
12583
12654
  action_attempt_id?: string | undefined;
12584
- /** Method by which a lock device was locked or unlocked. When the method is `keycode`, the `access_code_id` will reference the Seam access code which was used, if reported by the device. */
12655
+ /** Method by which a lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
12585
12656
  method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
12586
12657
  } | {
12587
- /** The ID of the event. */
12658
+ /** ID of the event. */
12588
12659
  event_id: string;
12589
- /** The ID of the workspace. */
12660
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12590
12661
  workspace_id: string;
12591
- /** The time when the event was created. */
12662
+ /** Time at which the event was created. */
12592
12663
  created_at: string;
12593
- /** The time when the event occurred. */
12664
+ /** Time when the event occurred. */
12594
12665
  occurred_at: string;
12595
12666
  /** ID of the device. */
12596
12667
  device_id: string;
12597
- /** ID of the connected account. */
12668
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12598
12669
  connected_account_id: string;
12599
12670
  event_type: 'lock.access_denied';
12671
+ /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used in the unlock attempts. */
12600
12672
  access_code_id?: string | undefined;
12601
12673
  } | {
12602
- /** The ID of the event. */
12674
+ /** ID of the event. */
12603
12675
  event_id: string;
12604
- /** The ID of the workspace. */
12676
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12605
12677
  workspace_id: string;
12606
- /** The time when the event was created. */
12678
+ /** Time at which the event was created. */
12607
12679
  created_at: string;
12608
- /** The time when the event occurred. */
12680
+ /** Time when the event occurred. */
12609
12681
  occurred_at: string;
12610
12682
  /** ID of the device. */
12611
12683
  device_id: string;
12612
- /** ID of the connected account. */
12684
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12613
12685
  connected_account_id: string;
12614
12686
  event_type: 'thermostat.climate_preset_activated';
12687
+ /** ID of the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that prompted the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to be activated. */
12615
12688
  thermostat_schedule_id: string | null;
12689
+ /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated. */
12616
12690
  climate_preset_key: string;
12691
+ /** Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated is the [fallback climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the thermostat. */
12617
12692
  is_fallback_climate_preset: boolean;
12618
12693
  } | {
12619
- /** The ID of the event. */
12694
+ /** ID of the event. */
12620
12695
  event_id: string;
12621
- /** The ID of the workspace. */
12696
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12622
12697
  workspace_id: string;
12623
- /** The time when the event was created. */
12698
+ /** Time at which the event was created. */
12624
12699
  created_at: string;
12625
- /** The time when the event occurred. */
12700
+ /** Time when the event occurred. */
12626
12701
  occurred_at: string;
12627
12702
  /** ID of the device. */
12628
12703
  device_id: string;
12629
- /** ID of the connected account. */
12704
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12630
12705
  connected_account_id: string;
12631
12706
  event_type: 'thermostat.manually_adjusted';
12707
+ /** Method used to adjust the thermostat manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the thermostat. */
12632
12708
  method: 'seam' | 'external';
12633
12709
  /** Desired fan mode setting, such as `on`, `auto`, or `circulate`. */
12634
12710
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
@@ -12643,65 +12719,77 @@ export interface Routes {
12643
12719
  /** Temperature to which the thermostat should heat (in °F). */
12644
12720
  heating_set_point_fahrenheit?: (number | undefined) | undefined;
12645
12721
  } | {
12646
- /** The ID of the event. */
12722
+ /** ID of the event. */
12647
12723
  event_id: string;
12648
- /** The ID of the workspace. */
12724
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12649
12725
  workspace_id: string;
12650
- /** The time when the event was created. */
12726
+ /** Time at which the event was created. */
12651
12727
  created_at: string;
12652
- /** The time when the event occurred. */
12728
+ /** Time when the event occurred. */
12653
12729
  occurred_at: string;
12654
12730
  /** ID of the device. */
12655
12731
  device_id: string;
12656
- /** ID of the connected account. */
12732
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12657
12733
  connected_account_id: string;
12658
12734
  event_type: 'thermostat.temperature_threshold_exceeded';
12735
+ /** Temperature, in °C, reported by the thermostat. */
12659
12736
  temperature_celsius: number;
12737
+ /** Temperature, in °F, reported by the thermostat. */
12660
12738
  temperature_fahrenheit: number;
12739
+ /** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
12661
12740
  upper_limit_celsius: number | null;
12741
+ /** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
12662
12742
  upper_limit_fahrenheit: number | null;
12743
+ /** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
12663
12744
  lower_limit_celsius: number | null;
12745
+ /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
12664
12746
  lower_limit_fahrenheit: number | null;
12665
12747
  } | {
12666
- /** The ID of the event. */
12748
+ /** ID of the event. */
12667
12749
  event_id: string;
12668
- /** The ID of the workspace. */
12750
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12669
12751
  workspace_id: string;
12670
- /** The time when the event was created. */
12752
+ /** Time at which the event was created. */
12671
12753
  created_at: string;
12672
- /** The time when the event occurred. */
12754
+ /** Time when the event occurred. */
12673
12755
  occurred_at: string;
12674
12756
  /** ID of the device. */
12675
12757
  device_id: string;
12676
- /** ID of the connected account. */
12758
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
12677
12759
  connected_account_id: string;
12678
12760
  event_type: 'thermostat.temperature_threshold_no_longer_exceeded';
12761
+ /** Temperature, in °C, reported by the thermostat. */
12679
12762
  temperature_celsius: number;
12763
+ /** Temperature, in °F, reported by the thermostat. */
12680
12764
  temperature_fahrenheit: number;
12765
+ /** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
12681
12766
  upper_limit_celsius: number | null;
12767
+ /** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
12682
12768
  upper_limit_fahrenheit: number | null;
12769
+ /** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
12683
12770
  lower_limit_celsius: number | null;
12771
+ /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
12684
12772
  lower_limit_fahrenheit: number | null;
12685
12773
  } | {
12686
- /** The ID of the event. */
12774
+ /** ID of the event. */
12687
12775
  event_id: string;
12688
- /** The ID of the workspace. */
12776
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12689
12777
  workspace_id: string;
12690
- /** The time when the event was created. */
12778
+ /** Time at which the event was created. */
12691
12779
  created_at: string;
12692
- /** The time when the event occurred. */
12780
+ /** Time when the event occurred. */
12693
12781
  occurred_at: string;
12694
12782
  /** ID of the enrollment automation. */
12695
12783
  enrollment_automation_id: string;
12696
12784
  event_type: 'enrollment_automation.deleted';
12697
12785
  } | {
12698
- /** The ID of the event. */
12786
+ /** ID of the event. */
12699
12787
  event_id: string;
12700
- /** The ID of the workspace. */
12788
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12701
12789
  workspace_id: string;
12702
- /** The time when the event was created. */
12790
+ /** Time at which the event was created. */
12703
12791
  created_at: string;
12704
- /** The time when the event occurred. */
12792
+ /** Time when the event occurred. */
12705
12793
  occurred_at: string;
12706
12794
  /** ID of the device. */
12707
12795
  device_id: string;
@@ -12734,13 +12822,13 @@ export interface Routes {
12734
12822
  formData: {};
12735
12823
  jsonResponse: {
12736
12824
  events: Array<{
12737
- /** The ID of the event. */
12825
+ /** ID of the event. */
12738
12826
  event_id: string;
12739
- /** The ID of the workspace. */
12827
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12740
12828
  workspace_id: string;
12741
- /** The time when the event was created. */
12829
+ /** Time at which the event was created. */
12742
12830
  created_at: string;
12743
- /** The time when the event occurred. */
12831
+ /** Time when the event occurred. */
12744
12832
  occurred_at: string;
12745
12833
  /** The ID of the access code. */
12746
12834
  access_code_id: string;
@@ -12750,13 +12838,13 @@ export interface Routes {
12750
12838
  connected_account_id: string;
12751
12839
  event_type: 'access_code.created';
12752
12840
  } | {
12753
- /** The ID of the event. */
12841
+ /** ID of the event. */
12754
12842
  event_id: string;
12755
- /** The ID of the workspace. */
12843
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12756
12844
  workspace_id: string;
12757
- /** The time when the event was created. */
12845
+ /** Time at which the event was created. */
12758
12846
  created_at: string;
12759
- /** The time when the event occurred. */
12847
+ /** Time when the event occurred. */
12760
12848
  occurred_at: string;
12761
12849
  /** The ID of the access code. */
12762
12850
  access_code_id: string;
@@ -12766,13 +12854,13 @@ export interface Routes {
12766
12854
  connected_account_id: string;
12767
12855
  event_type: 'access_code.changed';
12768
12856
  } | {
12769
- /** The ID of the event. */
12857
+ /** ID of the event. */
12770
12858
  event_id: string;
12771
- /** The ID of the workspace. */
12859
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12772
12860
  workspace_id: string;
12773
- /** The time when the event was created. */
12861
+ /** Time at which the event was created. */
12774
12862
  created_at: string;
12775
- /** The time when the event occurred. */
12863
+ /** Time when the event occurred. */
12776
12864
  occurred_at: string;
12777
12865
  /** The ID of the access code. */
12778
12866
  access_code_id: string;
@@ -12784,13 +12872,13 @@ export interface Routes {
12784
12872
  /** The code of the access code. */
12785
12873
  code: string;
12786
12874
  } | {
12787
- /** The ID of the event. */
12875
+ /** ID of the event. */
12788
12876
  event_id: string;
12789
- /** The ID of the workspace. */
12877
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12790
12878
  workspace_id: string;
12791
- /** The time when the event was created. */
12879
+ /** Time at which the event was created. */
12792
12880
  created_at: string;
12793
- /** The time when the event occurred. */
12881
+ /** Time when the event occurred. */
12794
12882
  occurred_at: string;
12795
12883
  /** The ID of the access code. */
12796
12884
  access_code_id: string;
@@ -12802,13 +12890,13 @@ export interface Routes {
12802
12890
  /** The code of the access code. */
12803
12891
  code: string;
12804
12892
  } | {
12805
- /** The ID of the event. */
12893
+ /** ID of the event. */
12806
12894
  event_id: string;
12807
- /** The ID of the workspace. */
12895
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12808
12896
  workspace_id: string;
12809
- /** The time when the event was created. */
12897
+ /** Time at which the event was created. */
12810
12898
  created_at: string;
12811
- /** The time when the event occurred. */
12899
+ /** Time when the event occurred. */
12812
12900
  occurred_at: string;
12813
12901
  /** The ID of the access code. */
12814
12902
  access_code_id: string;
@@ -12818,13 +12906,13 @@ export interface Routes {
12818
12906
  connected_account_id: string;
12819
12907
  event_type: 'access_code.removed_from_device';
12820
12908
  } | {
12821
- /** The ID of the event. */
12909
+ /** ID of the event. */
12822
12910
  event_id: string;
12823
- /** The ID of the workspace. */
12911
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12824
12912
  workspace_id: string;
12825
- /** The time when the event was created. */
12913
+ /** Time at which the event was created. */
12826
12914
  created_at: string;
12827
- /** The time when the event occurred. */
12915
+ /** Time when the event occurred. */
12828
12916
  occurred_at: string;
12829
12917
  /** The ID of the access code. */
12830
12918
  access_code_id: string;
@@ -12834,13 +12922,13 @@ export interface Routes {
12834
12922
  connected_account_id: string;
12835
12923
  event_type: 'access_code.delay_in_setting_on_device';
12836
12924
  } | {
12837
- /** The ID of the event. */
12925
+ /** ID of the event. */
12838
12926
  event_id: string;
12839
- /** The ID of the workspace. */
12927
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12840
12928
  workspace_id: string;
12841
- /** The time when the event was created. */
12929
+ /** Time at which the event was created. */
12842
12930
  created_at: string;
12843
- /** The time when the event occurred. */
12931
+ /** Time when the event occurred. */
12844
12932
  occurred_at: string;
12845
12933
  /** The ID of the access code. */
12846
12934
  access_code_id: string;
@@ -12850,13 +12938,13 @@ export interface Routes {
12850
12938
  connected_account_id: string;
12851
12939
  event_type: 'access_code.failed_to_set_on_device';
12852
12940
  } | {
12853
- /** The ID of the event. */
12941
+ /** ID of the event. */
12854
12942
  event_id: string;
12855
- /** The ID of the workspace. */
12943
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12856
12944
  workspace_id: string;
12857
- /** The time when the event was created. */
12945
+ /** Time at which the event was created. */
12858
12946
  created_at: string;
12859
- /** The time when the event occurred. */
12947
+ /** Time when the event occurred. */
12860
12948
  occurred_at: string;
12861
12949
  /** The ID of the access code. */
12862
12950
  access_code_id: string;
@@ -12868,13 +12956,13 @@ export interface Routes {
12868
12956
  /** The code of the access code. */
12869
12957
  code: string | null;
12870
12958
  } | {
12871
- /** The ID of the event. */
12959
+ /** ID of the event. */
12872
12960
  event_id: string;
12873
- /** The ID of the workspace. */
12961
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12874
12962
  workspace_id: string;
12875
- /** The time when the event was created. */
12963
+ /** Time at which the event was created. */
12876
12964
  created_at: string;
12877
- /** The time when the event occurred. */
12965
+ /** Time when the event occurred. */
12878
12966
  occurred_at: string;
12879
12967
  /** The ID of the access code. */
12880
12968
  access_code_id: string;
@@ -12884,13 +12972,13 @@ export interface Routes {
12884
12972
  connected_account_id: string;
12885
12973
  event_type: 'access_code.delay_in_removing_from_device';
12886
12974
  } | {
12887
- /** The ID of the event. */
12975
+ /** ID of the event. */
12888
12976
  event_id: string;
12889
- /** The ID of the workspace. */
12977
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12890
12978
  workspace_id: string;
12891
- /** The time when the event was created. */
12979
+ /** Time at which the event was created. */
12892
12980
  created_at: string;
12893
- /** The time when the event occurred. */
12981
+ /** Time when the event occurred. */
12894
12982
  occurred_at: string;
12895
12983
  /** The ID of the access code. */
12896
12984
  access_code_id: string;
@@ -12900,13 +12988,13 @@ export interface Routes {
12900
12988
  connected_account_id: string;
12901
12989
  event_type: 'access_code.failed_to_remove_from_device';
12902
12990
  } | {
12903
- /** The ID of the event. */
12991
+ /** ID of the event. */
12904
12992
  event_id: string;
12905
- /** The ID of the workspace. */
12993
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12906
12994
  workspace_id: string;
12907
- /** The time when the event was created. */
12995
+ /** Time at which the event was created. */
12908
12996
  created_at: string;
12909
- /** The time when the event occurred. */
12997
+ /** Time when the event occurred. */
12910
12998
  occurred_at: string;
12911
12999
  /** The ID of the access code. */
12912
13000
  access_code_id: string;
@@ -12916,13 +13004,13 @@ export interface Routes {
12916
13004
  connected_account_id: string;
12917
13005
  event_type: 'access_code.modified_external_to_seam';
12918
13006
  } | {
12919
- /** The ID of the event. */
13007
+ /** ID of the event. */
12920
13008
  event_id: string;
12921
- /** The ID of the workspace. */
13009
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12922
13010
  workspace_id: string;
12923
- /** The time when the event was created. */
13011
+ /** Time at which the event was created. */
12924
13012
  created_at: string;
12925
- /** The time when the event occurred. */
13013
+ /** Time when the event occurred. */
12926
13014
  occurred_at: string;
12927
13015
  /** The ID of the access code. */
12928
13016
  access_code_id: string;
@@ -12932,13 +13020,13 @@ export interface Routes {
12932
13020
  connected_account_id: string;
12933
13021
  event_type: 'access_code.deleted_external_to_seam';
12934
13022
  } | {
12935
- /** The ID of the event. */
13023
+ /** ID of the event. */
12936
13024
  event_id: string;
12937
- /** The ID of the workspace. */
13025
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12938
13026
  workspace_id: string;
12939
- /** The time when the event was created. */
13027
+ /** Time at which the event was created. */
12940
13028
  created_at: string;
12941
- /** The time when the event occurred. */
13029
+ /** Time when the event occurred. */
12942
13030
  occurred_at: string;
12943
13031
  /** The ID of the access code. */
12944
13032
  access_code_id: string;
@@ -12949,13 +13037,13 @@ export interface Routes {
12949
13037
  event_type: 'access_code.backup_access_code_pulled';
12950
13038
  backup_access_code_id: string;
12951
13039
  } | {
12952
- /** The ID of the event. */
13040
+ /** ID of the event. */
12953
13041
  event_id: string;
12954
- /** The ID of the workspace. */
13042
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12955
13043
  workspace_id: string;
12956
- /** The time when the event was created. */
13044
+ /** Time at which the event was created. */
12957
13045
  created_at: string;
12958
- /** The time when the event occurred. */
13046
+ /** Time when the event occurred. */
12959
13047
  occurred_at: string;
12960
13048
  /** The ID of the access code. */
12961
13049
  access_code_id: string;
@@ -12965,13 +13053,13 @@ export interface Routes {
12965
13053
  connected_account_id: string;
12966
13054
  event_type: 'access_code.unmanaged.converted_to_managed';
12967
13055
  } | {
12968
- /** The ID of the event. */
13056
+ /** ID of the event. */
12969
13057
  event_id: string;
12970
- /** The ID of the workspace. */
13058
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12971
13059
  workspace_id: string;
12972
- /** The time when the event was created. */
13060
+ /** Time at which the event was created. */
12973
13061
  created_at: string;
12974
- /** The time when the event occurred. */
13062
+ /** Time when the event occurred. */
12975
13063
  occurred_at: string;
12976
13064
  /** The ID of the access code. */
12977
13065
  access_code_id: string;
@@ -12981,13 +13069,13 @@ export interface Routes {
12981
13069
  connected_account_id: string;
12982
13070
  event_type: 'access_code.unmanaged.failed_to_convert_to_managed';
12983
13071
  } | {
12984
- /** The ID of the event. */
13072
+ /** ID of the event. */
12985
13073
  event_id: string;
12986
- /** The ID of the workspace. */
13074
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
12987
13075
  workspace_id: string;
12988
- /** The time when the event was created. */
13076
+ /** Time at which the event was created. */
12989
13077
  created_at: string;
12990
- /** The time when the event occurred. */
13078
+ /** Time when the event occurred. */
12991
13079
  occurred_at: string;
12992
13080
  /** The ID of the access code. */
12993
13081
  access_code_id: string;
@@ -12997,13 +13085,13 @@ export interface Routes {
12997
13085
  connected_account_id: string;
12998
13086
  event_type: 'access_code.unmanaged.created';
12999
13087
  } | {
13000
- /** The ID of the event. */
13088
+ /** ID of the event. */
13001
13089
  event_id: string;
13002
- /** The ID of the workspace. */
13090
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13003
13091
  workspace_id: string;
13004
- /** The time when the event was created. */
13092
+ /** Time at which the event was created. */
13005
13093
  created_at: string;
13006
- /** The time when the event occurred. */
13094
+ /** Time when the event occurred. */
13007
13095
  occurred_at: string;
13008
13096
  /** The ID of the access code. */
13009
13097
  access_code_id: string;
@@ -13013,13 +13101,13 @@ export interface Routes {
13013
13101
  connected_account_id: string;
13014
13102
  event_type: 'access_code.unmanaged.removed';
13015
13103
  } | {
13016
- /** The ID of the event. */
13104
+ /** ID of the event. */
13017
13105
  event_id: string;
13018
- /** The ID of the workspace. */
13106
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13019
13107
  workspace_id: string;
13020
- /** The time when the event was created. */
13108
+ /** Time at which the event was created. */
13021
13109
  created_at: string;
13022
- /** The time when the event occurred. */
13110
+ /** Time when the event occurred. */
13023
13111
  occurred_at: string;
13024
13112
  /** ID of the connected account.
13025
13113
  * @deprecated Will be removed. */
@@ -13028,13 +13116,13 @@ export interface Routes {
13028
13116
  acs_system_id: string;
13029
13117
  event_type: 'acs_system.connected';
13030
13118
  } | {
13031
- /** The ID of the event. */
13119
+ /** ID of the event. */
13032
13120
  event_id: string;
13033
- /** The ID of the workspace. */
13121
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13034
13122
  workspace_id: string;
13035
- /** The time when the event was created. */
13123
+ /** Time at which the event was created. */
13036
13124
  created_at: string;
13037
- /** The time when the event occurred. */
13125
+ /** Time when the event occurred. */
13038
13126
  occurred_at: string;
13039
13127
  /** ID of the connected account.
13040
13128
  * @deprecated Will be removed. */
@@ -13043,13 +13131,13 @@ export interface Routes {
13043
13131
  acs_system_id: string;
13044
13132
  event_type: 'acs_system.added';
13045
13133
  } | {
13046
- /** The ID of the event. */
13134
+ /** ID of the event. */
13047
13135
  event_id: string;
13048
- /** The ID of the workspace. */
13136
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13049
13137
  workspace_id: string;
13050
- /** The time when the event was created. */
13138
+ /** Time at which the event was created. */
13051
13139
  created_at: string;
13052
- /** The time when the event occurred. */
13140
+ /** Time when the event occurred. */
13053
13141
  occurred_at: string;
13054
13142
  /** ID of the connected account.
13055
13143
  * @deprecated Will be removed. */
@@ -13058,13 +13146,13 @@ export interface Routes {
13058
13146
  acs_system_id: string;
13059
13147
  event_type: 'acs_system.disconnected';
13060
13148
  } | {
13061
- /** The ID of the event. */
13149
+ /** ID of the event. */
13062
13150
  event_id: string;
13063
- /** The ID of the workspace. */
13151
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13064
13152
  workspace_id: string;
13065
- /** The time when the event was created. */
13153
+ /** Time at which the event was created. */
13066
13154
  created_at: string;
13067
- /** The time when the event occurred. */
13155
+ /** Time when the event occurred. */
13068
13156
  occurred_at: string;
13069
13157
  /** ID of the connected account.
13070
13158
  * @deprecated Will be removed. */
@@ -13074,13 +13162,13 @@ export interface Routes {
13074
13162
  acs_credential_id: string;
13075
13163
  event_type: 'acs_credential.deleted';
13076
13164
  } | {
13077
- /** The ID of the event. */
13165
+ /** ID of the event. */
13078
13166
  event_id: string;
13079
- /** The ID of the workspace. */
13167
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13080
13168
  workspace_id: string;
13081
- /** The time when the event was created. */
13169
+ /** Time at which the event was created. */
13082
13170
  created_at: string;
13083
- /** The time when the event occurred. */
13171
+ /** Time when the event occurred. */
13084
13172
  occurred_at: string;
13085
13173
  /** ID of the connected account.
13086
13174
  * @deprecated Will be removed. */
@@ -13090,13 +13178,13 @@ export interface Routes {
13090
13178
  acs_credential_id: string;
13091
13179
  event_type: 'acs_credential.issued';
13092
13180
  } | {
13093
- /** The ID of the event. */
13181
+ /** ID of the event. */
13094
13182
  event_id: string;
13095
- /** The ID of the workspace. */
13183
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13096
13184
  workspace_id: string;
13097
- /** The time when the event was created. */
13185
+ /** Time at which the event was created. */
13098
13186
  created_at: string;
13099
- /** The time when the event occurred. */
13187
+ /** Time when the event occurred. */
13100
13188
  occurred_at: string;
13101
13189
  /** ID of the connected account.
13102
13190
  * @deprecated Will be removed. */
@@ -13106,13 +13194,13 @@ export interface Routes {
13106
13194
  acs_user_id: string;
13107
13195
  event_type: 'acs_user.deleted';
13108
13196
  } | {
13109
- /** The ID of the event. */
13197
+ /** ID of the event. */
13110
13198
  event_id: string;
13111
- /** The ID of the workspace. */
13199
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13112
13200
  workspace_id: string;
13113
- /** The time when the event was created. */
13201
+ /** Time at which the event was created. */
13114
13202
  created_at: string;
13115
- /** The time when the event occurred. */
13203
+ /** Time when the event occurred. */
13116
13204
  occurred_at: string;
13117
13205
  /** ID of the connected account.
13118
13206
  * @deprecated Will be removed. */
@@ -13123,13 +13211,13 @@ export interface Routes {
13123
13211
  acs_encoder_id: string;
13124
13212
  event_type: 'acs_encoder.added';
13125
13213
  } | {
13126
- /** The ID of the event. */
13214
+ /** ID of the event. */
13127
13215
  event_id: string;
13128
- /** The ID of the workspace. */
13216
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13129
13217
  workspace_id: string;
13130
- /** The time when the event was created. */
13218
+ /** Time at which the event was created. */
13131
13219
  created_at: string;
13132
- /** The time when the event occurred. */
13220
+ /** Time when the event occurred. */
13133
13221
  occurred_at: string;
13134
13222
  /** ID of the connected account.
13135
13223
  * @deprecated Will be removed. */
@@ -13140,25 +13228,25 @@ export interface Routes {
13140
13228
  acs_encoder_id: string;
13141
13229
  event_type: 'acs_encoder.removed';
13142
13230
  } | {
13143
- /** The ID of the event. */
13231
+ /** ID of the event. */
13144
13232
  event_id: string;
13145
- /** The ID of the workspace. */
13233
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13146
13234
  workspace_id: string;
13147
- /** The time when the event was created. */
13235
+ /** Time at which the event was created. */
13148
13236
  created_at: string;
13149
- /** The time when the event occurred. */
13237
+ /** Time when the event occurred. */
13150
13238
  occurred_at: string;
13151
13239
  /** ID of the client session. */
13152
13240
  client_session_id: string;
13153
13241
  event_type: 'client_session.deleted';
13154
13242
  } | {
13155
- /** The ID of the event. */
13243
+ /** ID of the event. */
13156
13244
  event_id: string;
13157
- /** The ID of the workspace. */
13245
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13158
13246
  workspace_id: string;
13159
- /** The time when the event was created. */
13247
+ /** Time at which the event was created. */
13160
13248
  created_at: string;
13161
- /** The time when the event occurred. */
13249
+ /** Time when the event occurred. */
13162
13250
  occurred_at: string;
13163
13251
  /** ID of the connected account. */
13164
13252
  connected_account_id: string;
@@ -13166,13 +13254,13 @@ export interface Routes {
13166
13254
  /** ID of the connect webview. */
13167
13255
  connect_webview_id: string;
13168
13256
  } | {
13169
- /** The ID of the event. */
13257
+ /** ID of the event. */
13170
13258
  event_id: string;
13171
- /** The ID of the workspace. */
13259
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13172
13260
  workspace_id: string;
13173
- /** The time when the event was created. */
13261
+ /** Time at which the event was created. */
13174
13262
  created_at: string;
13175
- /** The time when the event occurred. */
13263
+ /** Time when the event occurred. */
13176
13264
  occurred_at: string;
13177
13265
  /** ID of the connected account. */
13178
13266
  connected_account_id: string;
@@ -13180,13 +13268,13 @@ export interface Routes {
13180
13268
  /** ID of the connect webview. */
13181
13269
  connect_webview_id: string;
13182
13270
  } | {
13183
- /** The ID of the event. */
13271
+ /** ID of the event. */
13184
13272
  event_id: string;
13185
- /** The ID of the workspace. */
13273
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13186
13274
  workspace_id: string;
13187
- /** The time when the event was created. */
13275
+ /** Time at which the event was created. */
13188
13276
  created_at: string;
13189
- /** The time when the event occurred. */
13277
+ /** Time when the event occurred. */
13190
13278
  occurred_at: string;
13191
13279
  /** ID of the connected account. */
13192
13280
  connected_account_id: string;
@@ -13194,61 +13282,61 @@ export interface Routes {
13194
13282
  /** ID of the connect webview. */
13195
13283
  connect_webview_id: string;
13196
13284
  } | {
13197
- /** The ID of the event. */
13285
+ /** ID of the event. */
13198
13286
  event_id: string;
13199
- /** The ID of the workspace. */
13287
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13200
13288
  workspace_id: string;
13201
- /** The time when the event was created. */
13289
+ /** Time at which the event was created. */
13202
13290
  created_at: string;
13203
- /** The time when the event occurred. */
13291
+ /** Time when the event occurred. */
13204
13292
  occurred_at: string;
13205
13293
  /** ID of the connected account. */
13206
13294
  connected_account_id: string;
13207
13295
  event_type: 'connected_account.disconnected';
13208
13296
  } | {
13209
- /** The ID of the event. */
13297
+ /** ID of the event. */
13210
13298
  event_id: string;
13211
- /** The ID of the workspace. */
13299
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13212
13300
  workspace_id: string;
13213
- /** The time when the event was created. */
13301
+ /** Time at which the event was created. */
13214
13302
  created_at: string;
13215
- /** The time when the event occurred. */
13303
+ /** Time when the event occurred. */
13216
13304
  occurred_at: string;
13217
13305
  /** ID of the connected account. */
13218
13306
  connected_account_id: string;
13219
13307
  event_type: 'connected_account.completed_first_sync';
13220
13308
  } | {
13221
- /** The ID of the event. */
13309
+ /** ID of the event. */
13222
13310
  event_id: string;
13223
- /** The ID of the workspace. */
13311
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13224
13312
  workspace_id: string;
13225
- /** The time when the event was created. */
13313
+ /** Time at which the event was created. */
13226
13314
  created_at: string;
13227
- /** The time when the event occurred. */
13315
+ /** Time when the event occurred. */
13228
13316
  occurred_at: string;
13229
13317
  /** ID of the connected account. */
13230
13318
  connected_account_id: string;
13231
13319
  event_type: 'connected_account.deleted';
13232
13320
  } | {
13233
- /** The ID of the event. */
13321
+ /** ID of the event. */
13234
13322
  event_id: string;
13235
- /** The ID of the workspace. */
13323
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13236
13324
  workspace_id: string;
13237
- /** The time when the event was created. */
13325
+ /** Time at which the event was created. */
13238
13326
  created_at: string;
13239
- /** The time when the event occurred. */
13327
+ /** Time when the event occurred. */
13240
13328
  occurred_at: string;
13241
13329
  /** ID of the connected account. */
13242
13330
  connected_account_id: string;
13243
13331
  event_type: 'connected_account.completed_first_sync_after_reconnection';
13244
13332
  } | {
13245
- /** The ID of the event. */
13333
+ /** ID of the event. */
13246
13334
  event_id: string;
13247
- /** The ID of the workspace. */
13335
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13248
13336
  workspace_id: string;
13249
- /** The time when the event was created. */
13337
+ /** Time at which the event was created. */
13250
13338
  created_at: string;
13251
- /** The time when the event occurred. */
13339
+ /** Time when the event occurred. */
13252
13340
  occurred_at: string;
13253
13341
  /** The ID of the action attempt. */
13254
13342
  action_attempt_id: string;
@@ -13258,13 +13346,13 @@ export interface Routes {
13258
13346
  status: string;
13259
13347
  event_type: 'action_attempt.lock_door.succeeded';
13260
13348
  } | {
13261
- /** The ID of the event. */
13349
+ /** ID of the event. */
13262
13350
  event_id: string;
13263
- /** The ID of the workspace. */
13351
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13264
13352
  workspace_id: string;
13265
- /** The time when the event was created. */
13353
+ /** Time at which the event was created. */
13266
13354
  created_at: string;
13267
- /** The time when the event occurred. */
13355
+ /** Time when the event occurred. */
13268
13356
  occurred_at: string;
13269
13357
  /** The ID of the action attempt. */
13270
13358
  action_attempt_id: string;
@@ -13274,13 +13362,13 @@ export interface Routes {
13274
13362
  status: string;
13275
13363
  event_type: 'action_attempt.lock_door.failed';
13276
13364
  } | {
13277
- /** The ID of the event. */
13365
+ /** ID of the event. */
13278
13366
  event_id: string;
13279
- /** The ID of the workspace. */
13367
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13280
13368
  workspace_id: string;
13281
- /** The time when the event was created. */
13369
+ /** Time at which the event was created. */
13282
13370
  created_at: string;
13283
- /** The time when the event occurred. */
13371
+ /** Time when the event occurred. */
13284
13372
  occurred_at: string;
13285
13373
  /** The ID of the action attempt. */
13286
13374
  action_attempt_id: string;
@@ -13290,13 +13378,13 @@ export interface Routes {
13290
13378
  status: string;
13291
13379
  event_type: 'action_attempt.unlock_door.succeeded';
13292
13380
  } | {
13293
- /** The ID of the event. */
13381
+ /** ID of the event. */
13294
13382
  event_id: string;
13295
- /** The ID of the workspace. */
13383
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13296
13384
  workspace_id: string;
13297
- /** The time when the event was created. */
13385
+ /** Time at which the event was created. */
13298
13386
  created_at: string;
13299
- /** The time when the event occurred. */
13387
+ /** Time when the event occurred. */
13300
13388
  occurred_at: string;
13301
13389
  /** The ID of the action attempt. */
13302
13390
  action_attempt_id: string;
@@ -13306,13 +13394,13 @@ export interface Routes {
13306
13394
  status: string;
13307
13395
  event_type: 'action_attempt.unlock_door.failed';
13308
13396
  } | {
13309
- /** The ID of the event. */
13397
+ /** ID of the event. */
13310
13398
  event_id: string;
13311
- /** The ID of the workspace. */
13399
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13312
13400
  workspace_id: string;
13313
- /** The time when the event was created. */
13401
+ /** Time at which the event was created. */
13314
13402
  created_at: string;
13315
- /** The time when the event occurred. */
13403
+ /** Time when the event occurred. */
13316
13404
  occurred_at: string;
13317
13405
  /** ID of the connect webview. */
13318
13406
  connect_webview_id: string;
@@ -13320,439 +13408,452 @@ export interface Routes {
13320
13408
  /** ID of the connected account. */
13321
13409
  connected_account_id: string;
13322
13410
  } | {
13323
- /** The ID of the event. */
13411
+ /** ID of the event. */
13324
13412
  event_id: string;
13325
- /** The ID of the workspace. */
13413
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13326
13414
  workspace_id: string;
13327
- /** The time when the event was created. */
13415
+ /** Time at which the event was created. */
13328
13416
  created_at: string;
13329
- /** The time when the event occurred. */
13417
+ /** Time when the event occurred. */
13330
13418
  occurred_at: string;
13331
13419
  /** ID of the connect webview. */
13332
13420
  connect_webview_id: string;
13333
13421
  event_type: 'connect_webview.login_failed';
13334
13422
  } | {
13335
- /** The ID of the event. */
13423
+ /** ID of the event. */
13336
13424
  event_id: string;
13337
- /** The ID of the workspace. */
13425
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13338
13426
  workspace_id: string;
13339
- /** The time when the event was created. */
13427
+ /** Time at which the event was created. */
13340
13428
  created_at: string;
13341
- /** The time when the event occurred. */
13429
+ /** Time when the event occurred. */
13342
13430
  occurred_at: string;
13343
13431
  /** ID of the device. */
13344
13432
  device_id: string;
13345
- /** ID of the connected account. */
13433
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13346
13434
  connected_account_id: string;
13347
13435
  event_type: 'device.connected';
13348
13436
  } | {
13349
- /** The ID of the event. */
13437
+ /** ID of the event. */
13350
13438
  event_id: string;
13351
- /** The ID of the workspace. */
13439
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13352
13440
  workspace_id: string;
13353
- /** The time when the event was created. */
13441
+ /** Time at which the event was created. */
13354
13442
  created_at: string;
13355
- /** The time when the event occurred. */
13443
+ /** Time when the event occurred. */
13356
13444
  occurred_at: string;
13357
13445
  /** ID of the device. */
13358
13446
  device_id: string;
13359
- /** ID of the connected account. */
13447
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13360
13448
  connected_account_id: string;
13361
13449
  event_type: 'device.added';
13362
13450
  } | {
13363
- /** The ID of the event. */
13451
+ /** ID of the event. */
13364
13452
  event_id: string;
13365
- /** The ID of the workspace. */
13453
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13366
13454
  workspace_id: string;
13367
- /** The time when the event was created. */
13455
+ /** Time at which the event was created. */
13368
13456
  created_at: string;
13369
- /** The time when the event occurred. */
13457
+ /** Time when the event occurred. */
13370
13458
  occurred_at: string;
13371
13459
  /** ID of the device. */
13372
13460
  device_id: string;
13373
- /** ID of the connected account. */
13461
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13374
13462
  connected_account_id: string;
13375
13463
  event_type: 'device.converted_to_unmanaged';
13376
13464
  } | {
13377
- /** The ID of the event. */
13465
+ /** ID of the event. */
13378
13466
  event_id: string;
13379
- /** The ID of the workspace. */
13467
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13380
13468
  workspace_id: string;
13381
- /** The time when the event was created. */
13469
+ /** Time at which the event was created. */
13382
13470
  created_at: string;
13383
- /** The time when the event occurred. */
13471
+ /** Time when the event occurred. */
13384
13472
  occurred_at: string;
13385
13473
  /** ID of the device. */
13386
13474
  device_id: string;
13387
- /** ID of the connected account. */
13475
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13388
13476
  connected_account_id: string;
13389
13477
  event_type: 'device.unmanaged.converted_to_managed';
13390
13478
  } | {
13391
- /** The ID of the event. */
13479
+ /** ID of the event. */
13392
13480
  event_id: string;
13393
- /** The ID of the workspace. */
13481
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13394
13482
  workspace_id: string;
13395
- /** The time when the event was created. */
13483
+ /** Time at which the event was created. */
13396
13484
  created_at: string;
13397
- /** The time when the event occurred. */
13485
+ /** Time when the event occurred. */
13398
13486
  occurred_at: string;
13399
13487
  /** ID of the device. */
13400
13488
  device_id: string;
13401
- /** ID of the connected account. */
13489
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13402
13490
  connected_account_id: string;
13403
13491
  event_type: 'device.unmanaged.connected';
13404
13492
  } | {
13405
- /** The ID of the event. */
13493
+ /** ID of the event. */
13406
13494
  event_id: string;
13407
- /** The ID of the workspace. */
13495
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13408
13496
  workspace_id: string;
13409
- /** The time when the event was created. */
13497
+ /** Time at which the event was created. */
13410
13498
  created_at: string;
13411
- /** The time when the event occurred. */
13499
+ /** Time when the event occurred. */
13412
13500
  occurred_at: string;
13413
13501
  /** ID of the device. */
13414
13502
  device_id: string;
13415
- /** ID of the connected account. */
13503
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13416
13504
  connected_account_id: string;
13417
13505
  event_type: 'device.disconnected';
13418
- /** The error code associated with the event, if any. */
13506
+ /** Error code associated with the disconnection event, if any. */
13419
13507
  error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
13420
13508
  } | {
13421
- /** The ID of the event. */
13509
+ /** ID of the event. */
13422
13510
  event_id: string;
13423
- /** The ID of the workspace. */
13511
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13424
13512
  workspace_id: string;
13425
- /** The time when the event was created. */
13513
+ /** Time at which the event was created. */
13426
13514
  created_at: string;
13427
- /** The time when the event occurred. */
13515
+ /** Time when the event occurred. */
13428
13516
  occurred_at: string;
13429
13517
  /** ID of the device. */
13430
13518
  device_id: string;
13431
- /** ID of the connected account. */
13519
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13432
13520
  connected_account_id: string;
13433
13521
  event_type: 'device.unmanaged.disconnected';
13434
- /** The error code associated with the event, if any. */
13522
+ /** Error code associated with the disconnection event, if any. */
13435
13523
  error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
13436
13524
  } | {
13437
- /** The ID of the event. */
13525
+ /** ID of the event. */
13438
13526
  event_id: string;
13439
- /** The ID of the workspace. */
13527
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13440
13528
  workspace_id: string;
13441
- /** The time when the event was created. */
13529
+ /** Time at which the event was created. */
13442
13530
  created_at: string;
13443
- /** The time when the event occurred. */
13531
+ /** Time when the event occurred. */
13444
13532
  occurred_at: string;
13445
13533
  /** ID of the device. */
13446
13534
  device_id: string;
13447
- /** ID of the connected account. */
13535
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13448
13536
  connected_account_id: string;
13449
13537
  event_type: 'device.tampered';
13450
13538
  } | {
13451
- /** The ID of the event. */
13539
+ /** ID of the event. */
13452
13540
  event_id: string;
13453
- /** The ID of the workspace. */
13541
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13454
13542
  workspace_id: string;
13455
- /** The time when the event was created. */
13543
+ /** Time at which the event was created. */
13456
13544
  created_at: string;
13457
- /** The time when the event occurred. */
13545
+ /** Time when the event occurred. */
13458
13546
  occurred_at: string;
13459
13547
  /** ID of the device. */
13460
13548
  device_id: string;
13461
- /** ID of the connected account. */
13549
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13462
13550
  connected_account_id: string;
13463
13551
  event_type: 'device.low_battery';
13464
- /** Fractional number 0 to 1.0 indicating amount of battery in device, as reported by device. */
13552
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
13465
13553
  battery_level: number;
13466
13554
  } | {
13467
- /** The ID of the event. */
13555
+ /** ID of the event. */
13468
13556
  event_id: string;
13469
- /** The ID of the workspace. */
13557
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13470
13558
  workspace_id: string;
13471
- /** The time when the event was created. */
13559
+ /** Time at which the event was created. */
13472
13560
  created_at: string;
13473
- /** The time when the event occurred. */
13561
+ /** Time when the event occurred. */
13474
13562
  occurred_at: string;
13475
13563
  /** ID of the device. */
13476
13564
  device_id: string;
13477
- /** ID of the connected account. */
13565
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13478
13566
  connected_account_id: string;
13479
13567
  event_type: 'device.battery_status_changed';
13480
- /** Enum representing the battery status calculated from numeric battery_level value, one of 'critical' | 'low' | 'good' | 'full' */
13568
+ /** Battery status of the device, calculated from the numeric `battery_level` value. */
13481
13569
  battery_status: 'critical' | 'low' | 'good' | 'full';
13482
- /** Fractional number 0 to 1.0 indicating amount of battery in device, as reported by device. */
13570
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
13483
13571
  battery_level: number;
13484
13572
  } | {
13485
- /** The ID of the event. */
13573
+ /** ID of the event. */
13486
13574
  event_id: string;
13487
- /** The ID of the workspace. */
13575
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13488
13576
  workspace_id: string;
13489
- /** The time when the event was created. */
13577
+ /** Time at which the event was created. */
13490
13578
  created_at: string;
13491
- /** The time when the event occurred. */
13579
+ /** Time when the event occurred. */
13492
13580
  occurred_at: string;
13493
13581
  /** ID of the device. */
13494
13582
  device_id: string;
13495
- /** ID of the connected account. */
13583
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13496
13584
  connected_account_id: string;
13497
13585
  event_type: 'device.removed';
13498
13586
  } | {
13499
- /** The ID of the event. */
13587
+ /** ID of the event. */
13500
13588
  event_id: string;
13501
- /** The ID of the workspace. */
13589
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13502
13590
  workspace_id: string;
13503
- /** The time when the event was created. */
13591
+ /** Time at which the event was created. */
13504
13592
  created_at: string;
13505
- /** The time when the event occurred. */
13593
+ /** Time when the event occurred. */
13506
13594
  occurred_at: string;
13507
13595
  /** ID of the device. */
13508
13596
  device_id: string;
13509
- /** ID of the connected account. */
13597
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13510
13598
  connected_account_id: string;
13511
13599
  event_type: 'device.deleted';
13512
13600
  } | {
13513
- /** The ID of the event. */
13601
+ /** ID of the event. */
13514
13602
  event_id: string;
13515
- /** The ID of the workspace. */
13603
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13516
13604
  workspace_id: string;
13517
- /** The time when the event was created. */
13605
+ /** Time at which the event was created. */
13518
13606
  created_at: string;
13519
- /** The time when the event occurred. */
13607
+ /** Time when the event occurred. */
13520
13608
  occurred_at: string;
13521
13609
  /** ID of the device. */
13522
13610
  device_id: string;
13523
- /** ID of the connected account. */
13611
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13524
13612
  connected_account_id: string;
13525
13613
  event_type: 'device.third_party_integration_detected';
13526
13614
  } | {
13527
- /** The ID of the event. */
13615
+ /** ID of the event. */
13528
13616
  event_id: string;
13529
- /** The ID of the workspace. */
13617
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13530
13618
  workspace_id: string;
13531
- /** The time when the event was created. */
13619
+ /** Time at which the event was created. */
13532
13620
  created_at: string;
13533
- /** The time when the event occurred. */
13621
+ /** Time when the event occurred. */
13534
13622
  occurred_at: string;
13535
13623
  /** ID of the device. */
13536
13624
  device_id: string;
13537
- /** ID of the connected account. */
13625
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13538
13626
  connected_account_id: string;
13539
13627
  event_type: 'device.third_party_integration_no_longer_detected';
13540
13628
  } | {
13541
- /** The ID of the event. */
13629
+ /** ID of the event. */
13542
13630
  event_id: string;
13543
- /** The ID of the workspace. */
13631
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13544
13632
  workspace_id: string;
13545
- /** The time when the event was created. */
13633
+ /** Time at which the event was created. */
13546
13634
  created_at: string;
13547
- /** The time when the event occurred. */
13635
+ /** Time when the event occurred. */
13548
13636
  occurred_at: string;
13549
13637
  /** ID of the device. */
13550
13638
  device_id: string;
13551
- /** ID of the connected account. */
13639
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13552
13640
  connected_account_id: string;
13553
13641
  event_type: 'device.salto.privacy_mode_activated';
13554
13642
  } | {
13555
- /** The ID of the event. */
13643
+ /** ID of the event. */
13556
13644
  event_id: string;
13557
- /** The ID of the workspace. */
13645
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13558
13646
  workspace_id: string;
13559
- /** The time when the event was created. */
13647
+ /** Time at which the event was created. */
13560
13648
  created_at: string;
13561
- /** The time when the event occurred. */
13649
+ /** Time when the event occurred. */
13562
13650
  occurred_at: string;
13563
13651
  /** ID of the device. */
13564
13652
  device_id: string;
13565
- /** ID of the connected account. */
13653
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13566
13654
  connected_account_id: string;
13567
13655
  event_type: 'device.salto.privacy_mode_deactivated';
13568
13656
  } | {
13569
- /** The ID of the event. */
13657
+ /** ID of the event. */
13570
13658
  event_id: string;
13571
- /** The ID of the workspace. */
13659
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13572
13660
  workspace_id: string;
13573
- /** The time when the event was created. */
13661
+ /** Time at which the event was created. */
13574
13662
  created_at: string;
13575
- /** The time when the event occurred. */
13663
+ /** Time when the event occurred. */
13576
13664
  occurred_at: string;
13577
13665
  /** ID of the device. */
13578
13666
  device_id: string;
13579
- /** ID of the connected account. */
13667
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13580
13668
  connected_account_id: string;
13581
13669
  event_type: 'device.connection_became_flaky';
13582
13670
  } | {
13583
- /** The ID of the event. */
13671
+ /** ID of the event. */
13584
13672
  event_id: string;
13585
- /** The ID of the workspace. */
13673
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13586
13674
  workspace_id: string;
13587
- /** The time when the event was created. */
13675
+ /** Time at which the event was created. */
13588
13676
  created_at: string;
13589
- /** The time when the event occurred. */
13677
+ /** Time when the event occurred. */
13590
13678
  occurred_at: string;
13591
13679
  /** ID of the device. */
13592
13680
  device_id: string;
13593
- /** ID of the connected account. */
13681
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13594
13682
  connected_account_id: string;
13595
13683
  event_type: 'device.connection_stabilized';
13596
13684
  } | {
13597
- /** The ID of the event. */
13685
+ /** ID of the event. */
13598
13686
  event_id: string;
13599
- /** The ID of the workspace. */
13687
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13600
13688
  workspace_id: string;
13601
- /** The time when the event was created. */
13689
+ /** Time at which the event was created. */
13602
13690
  created_at: string;
13603
- /** The time when the event occurred. */
13691
+ /** Time when the event occurred. */
13604
13692
  occurred_at: string;
13605
13693
  /** ID of the device. */
13606
13694
  device_id: string;
13607
- /** ID of the connected account. */
13695
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13608
13696
  connected_account_id: string;
13609
13697
  event_type: 'device.error.subscription_required';
13610
13698
  } | {
13611
- /** The ID of the event. */
13699
+ /** ID of the event. */
13612
13700
  event_id: string;
13613
- /** The ID of the workspace. */
13701
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13614
13702
  workspace_id: string;
13615
- /** The time when the event was created. */
13703
+ /** Time at which the event was created. */
13616
13704
  created_at: string;
13617
- /** The time when the event occurred. */
13705
+ /** Time when the event occurred. */
13618
13706
  occurred_at: string;
13619
13707
  /** ID of the device. */
13620
13708
  device_id: string;
13621
- /** ID of the connected account. */
13709
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13622
13710
  connected_account_id: string;
13623
13711
  event_type: 'device.error.subscription_required.resolved';
13624
13712
  } | {
13625
- /** The ID of the event. */
13713
+ /** ID of the event. */
13626
13714
  event_id: string;
13627
- /** The ID of the workspace. */
13715
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13628
13716
  workspace_id: string;
13629
- /** The time when the event was created. */
13717
+ /** Time at which the event was created. */
13630
13718
  created_at: string;
13631
- /** The time when the event occurred. */
13719
+ /** Time when the event occurred. */
13632
13720
  occurred_at: string;
13633
13721
  /** ID of the device. */
13634
13722
  device_id: string;
13635
- /** ID of the connected account. */
13723
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13636
13724
  connected_account_id: string;
13637
13725
  event_type: 'device.accessory_keypad_connected';
13638
13726
  } | {
13639
- /** The ID of the event. */
13727
+ /** ID of the event. */
13640
13728
  event_id: string;
13641
- /** The ID of the workspace. */
13729
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13642
13730
  workspace_id: string;
13643
- /** The time when the event was created. */
13731
+ /** Time at which the event was created. */
13644
13732
  created_at: string;
13645
- /** The time when the event occurred. */
13733
+ /** Time when the event occurred. */
13646
13734
  occurred_at: string;
13647
13735
  /** ID of the device. */
13648
13736
  device_id: string;
13649
- /** ID of the connected account. */
13737
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13650
13738
  connected_account_id: string;
13651
13739
  event_type: 'device.accessory_keypad_disconnected';
13652
13740
  } | {
13653
- /** The ID of the event. */
13741
+ /** ID of the event. */
13654
13742
  event_id: string;
13655
- /** The ID of the workspace. */
13743
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13656
13744
  workspace_id: string;
13657
- /** The time when the event was created. */
13745
+ /** Time at which the event was created. */
13658
13746
  created_at: string;
13659
- /** The time when the event occurred. */
13747
+ /** Time when the event occurred. */
13660
13748
  occurred_at: string;
13661
13749
  /** ID of the device. */
13662
13750
  device_id: string;
13663
- /** ID of the connected account. */
13751
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13664
13752
  connected_account_id: string;
13665
13753
  event_type: 'noise_sensor.noise_threshold_triggered';
13754
+ /** Detected noise level in decibels. */
13666
13755
  noise_level_decibels?: number | undefined;
13756
+ /** Detected noise level in Noiseaware Noise Risk Score (NRS). */
13667
13757
  noise_level_nrs?: number | undefined;
13758
+ /** ID of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
13668
13759
  noise_threshold_id?: string | undefined;
13760
+ /** Name of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
13669
13761
  noise_threshold_name?: string | undefined;
13670
- /** Metadata from the Noiseaware API. */
13762
+ /** Metadata from Noiseaware. */
13671
13763
  noiseaware_metadata?: Record<string, unknown> | undefined;
13672
- /** Metadata from the Minut API. */
13764
+ /** Metadata from Minut. */
13673
13765
  minut_metadata?: Record<string, unknown> | undefined;
13674
13766
  } | {
13675
- /** The ID of the event. */
13767
+ /** ID of the event. */
13676
13768
  event_id: string;
13677
- /** The ID of the workspace. */
13769
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13678
13770
  workspace_id: string;
13679
- /** The time when the event was created. */
13771
+ /** Time at which the event was created. */
13680
13772
  created_at: string;
13681
- /** The time when the event occurred. */
13773
+ /** Time when the event occurred. */
13682
13774
  occurred_at: string;
13683
13775
  /** ID of the device. */
13684
13776
  device_id: string;
13685
- /** ID of the connected account. */
13777
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13686
13778
  connected_account_id: string;
13687
13779
  event_type: 'lock.locked';
13780
+ /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to lock the device. */
13688
13781
  access_code_id?: string | undefined;
13782
+ /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the lock action. */
13689
13783
  action_attempt_id?: string | undefined;
13690
- /** Method by which a lock device was locked or unlocked. When the method is `keycode`, the `access_code_id` will reference the Seam access code which was used, if reported by the device. */
13784
+ /** Method by which a lock device was locked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
13691
13785
  method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
13692
13786
  } | {
13693
- /** The ID of the event. */
13787
+ /** ID of the event. */
13694
13788
  event_id: string;
13695
- /** The ID of the workspace. */
13789
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13696
13790
  workspace_id: string;
13697
- /** The time when the event was created. */
13791
+ /** Time at which the event was created. */
13698
13792
  created_at: string;
13699
- /** The time when the event occurred. */
13793
+ /** Time when the event occurred. */
13700
13794
  occurred_at: string;
13701
13795
  /** ID of the device. */
13702
13796
  device_id: string;
13703
- /** ID of the connected account. */
13797
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13704
13798
  connected_account_id: string;
13705
13799
  event_type: 'lock.unlocked';
13800
+ /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to unlock the device. */
13706
13801
  access_code_id?: string | undefined;
13802
+ /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the unlock action. */
13707
13803
  action_attempt_id?: string | undefined;
13708
- /** Method by which a lock device was locked or unlocked. When the method is `keycode`, the `access_code_id` will reference the Seam access code which was used, if reported by the device. */
13804
+ /** Method by which a lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
13709
13805
  method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
13710
13806
  } | {
13711
- /** The ID of the event. */
13807
+ /** ID of the event. */
13712
13808
  event_id: string;
13713
- /** The ID of the workspace. */
13809
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13714
13810
  workspace_id: string;
13715
- /** The time when the event was created. */
13811
+ /** Time at which the event was created. */
13716
13812
  created_at: string;
13717
- /** The time when the event occurred. */
13813
+ /** Time when the event occurred. */
13718
13814
  occurred_at: string;
13719
13815
  /** ID of the device. */
13720
13816
  device_id: string;
13721
- /** ID of the connected account. */
13817
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13722
13818
  connected_account_id: string;
13723
13819
  event_type: 'lock.access_denied';
13820
+ /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used in the unlock attempts. */
13724
13821
  access_code_id?: string | undefined;
13725
13822
  } | {
13726
- /** The ID of the event. */
13823
+ /** ID of the event. */
13727
13824
  event_id: string;
13728
- /** The ID of the workspace. */
13825
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13729
13826
  workspace_id: string;
13730
- /** The time when the event was created. */
13827
+ /** Time at which the event was created. */
13731
13828
  created_at: string;
13732
- /** The time when the event occurred. */
13829
+ /** Time when the event occurred. */
13733
13830
  occurred_at: string;
13734
13831
  /** ID of the device. */
13735
13832
  device_id: string;
13736
- /** ID of the connected account. */
13833
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13737
13834
  connected_account_id: string;
13738
13835
  event_type: 'thermostat.climate_preset_activated';
13836
+ /** ID of the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that prompted the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to be activated. */
13739
13837
  thermostat_schedule_id: string | null;
13838
+ /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated. */
13740
13839
  climate_preset_key: string;
13840
+ /** Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated is the [fallback climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the thermostat. */
13741
13841
  is_fallback_climate_preset: boolean;
13742
13842
  } | {
13743
- /** The ID of the event. */
13843
+ /** ID of the event. */
13744
13844
  event_id: string;
13745
- /** The ID of the workspace. */
13845
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13746
13846
  workspace_id: string;
13747
- /** The time when the event was created. */
13847
+ /** Time at which the event was created. */
13748
13848
  created_at: string;
13749
- /** The time when the event occurred. */
13849
+ /** Time when the event occurred. */
13750
13850
  occurred_at: string;
13751
13851
  /** ID of the device. */
13752
13852
  device_id: string;
13753
- /** ID of the connected account. */
13853
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13754
13854
  connected_account_id: string;
13755
13855
  event_type: 'thermostat.manually_adjusted';
13856
+ /** Method used to adjust the thermostat manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the thermostat. */
13756
13857
  method: 'seam' | 'external';
13757
13858
  /** Desired fan mode setting, such as `on`, `auto`, or `circulate`. */
13758
13859
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
@@ -13767,65 +13868,77 @@ export interface Routes {
13767
13868
  /** Temperature to which the thermostat should heat (in °F). */
13768
13869
  heating_set_point_fahrenheit?: (number | undefined) | undefined;
13769
13870
  } | {
13770
- /** The ID of the event. */
13871
+ /** ID of the event. */
13771
13872
  event_id: string;
13772
- /** The ID of the workspace. */
13873
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13773
13874
  workspace_id: string;
13774
- /** The time when the event was created. */
13875
+ /** Time at which the event was created. */
13775
13876
  created_at: string;
13776
- /** The time when the event occurred. */
13877
+ /** Time when the event occurred. */
13777
13878
  occurred_at: string;
13778
13879
  /** ID of the device. */
13779
13880
  device_id: string;
13780
- /** ID of the connected account. */
13881
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13781
13882
  connected_account_id: string;
13782
13883
  event_type: 'thermostat.temperature_threshold_exceeded';
13884
+ /** Temperature, in °C, reported by the thermostat. */
13783
13885
  temperature_celsius: number;
13886
+ /** Temperature, in °F, reported by the thermostat. */
13784
13887
  temperature_fahrenheit: number;
13888
+ /** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
13785
13889
  upper_limit_celsius: number | null;
13890
+ /** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
13786
13891
  upper_limit_fahrenheit: number | null;
13892
+ /** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
13787
13893
  lower_limit_celsius: number | null;
13894
+ /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
13788
13895
  lower_limit_fahrenheit: number | null;
13789
13896
  } | {
13790
- /** The ID of the event. */
13897
+ /** ID of the event. */
13791
13898
  event_id: string;
13792
- /** The ID of the workspace. */
13899
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13793
13900
  workspace_id: string;
13794
- /** The time when the event was created. */
13901
+ /** Time at which the event was created. */
13795
13902
  created_at: string;
13796
- /** The time when the event occurred. */
13903
+ /** Time when the event occurred. */
13797
13904
  occurred_at: string;
13798
13905
  /** ID of the device. */
13799
13906
  device_id: string;
13800
- /** ID of the connected account. */
13907
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13801
13908
  connected_account_id: string;
13802
13909
  event_type: 'thermostat.temperature_threshold_no_longer_exceeded';
13910
+ /** Temperature, in °C, reported by the thermostat. */
13803
13911
  temperature_celsius: number;
13912
+ /** Temperature, in °F, reported by the thermostat. */
13804
13913
  temperature_fahrenheit: number;
13914
+ /** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
13805
13915
  upper_limit_celsius: number | null;
13916
+ /** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
13806
13917
  upper_limit_fahrenheit: number | null;
13918
+ /** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
13807
13919
  lower_limit_celsius: number | null;
13920
+ /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
13808
13921
  lower_limit_fahrenheit: number | null;
13809
13922
  } | {
13810
- /** The ID of the event. */
13923
+ /** ID of the event. */
13811
13924
  event_id: string;
13812
- /** The ID of the workspace. */
13925
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13813
13926
  workspace_id: string;
13814
- /** The time when the event was created. */
13927
+ /** Time at which the event was created. */
13815
13928
  created_at: string;
13816
- /** The time when the event occurred. */
13929
+ /** Time when the event occurred. */
13817
13930
  occurred_at: string;
13818
13931
  /** ID of the enrollment automation. */
13819
13932
  enrollment_automation_id: string;
13820
13933
  event_type: 'enrollment_automation.deleted';
13821
13934
  } | {
13822
- /** The ID of the event. */
13935
+ /** ID of the event. */
13823
13936
  event_id: string;
13824
- /** The ID of the workspace. */
13937
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13825
13938
  workspace_id: string;
13826
- /** The time when the event was created. */
13939
+ /** Time at which the event was created. */
13827
13940
  created_at: string;
13828
- /** The time when the event occurred. */
13941
+ /** Time when the event occurred. */
13829
13942
  occurred_at: string;
13830
13943
  /** ID of the device. */
13831
13944
  device_id: string;
@@ -16243,7 +16356,7 @@ export interface Routes {
16243
16356
  type: 'action_attempt_expired';
16244
16357
  message: string;
16245
16358
  } | {
16246
- type: 'no_card_on_encoder';
16359
+ type: 'no_credential_on_encoder';
16247
16360
  message: string;
16248
16361
  };
16249
16362
  } | {
@@ -16447,7 +16560,7 @@ export interface Routes {
16447
16560
  type: 'action_attempt_expired';
16448
16561
  message: string;
16449
16562
  } | {
16450
- type: 'no_card_on_encoder';
16563
+ type: 'no_credential_on_encoder';
16451
16564
  message: string;
16452
16565
  } | {
16453
16566
  type: 'incompatible_card_format';
@@ -17020,7 +17133,7 @@ export interface Routes {
17020
17133
  type: 'action_attempt_expired';
17021
17134
  message: string;
17022
17135
  } | {
17023
- type: 'no_card_on_encoder';
17136
+ type: 'no_credential_on_encoder';
17024
17137
  message: string;
17025
17138
  };
17026
17139
  } | {
@@ -17224,7 +17337,7 @@ export interface Routes {
17224
17337
  type: 'action_attempt_expired';
17225
17338
  message: string;
17226
17339
  } | {
17227
- type: 'no_card_on_encoder';
17340
+ type: 'no_credential_on_encoder';
17228
17341
  message: string;
17229
17342
  } | {
17230
17343
  type: 'incompatible_card_format';
@@ -18907,7 +19020,7 @@ export interface Routes {
18907
19020
  type: 'action_attempt_expired';
18908
19021
  message: string;
18909
19022
  } | {
18910
- type: 'no_card_on_encoder';
19023
+ type: 'no_credential_on_encoder';
18911
19024
  message: string;
18912
19025
  };
18913
19026
  } | {
@@ -19111,7 +19224,7 @@ export interface Routes {
19111
19224
  type: 'action_attempt_expired';
19112
19225
  message: string;
19113
19226
  } | {
19114
- type: 'no_card_on_encoder';
19227
+ type: 'no_credential_on_encoder';
19115
19228
  message: string;
19116
19229
  } | {
19117
19230
  type: 'incompatible_card_format';
@@ -19694,7 +19807,7 @@ export interface Routes {
19694
19807
  type: 'action_attempt_expired';
19695
19808
  message: string;
19696
19809
  } | {
19697
- type: 'no_card_on_encoder';
19810
+ type: 'no_credential_on_encoder';
19698
19811
  message: string;
19699
19812
  };
19700
19813
  } | {
@@ -19898,7 +20011,7 @@ export interface Routes {
19898
20011
  type: 'action_attempt_expired';
19899
20012
  message: string;
19900
20013
  } | {
19901
- type: 'no_card_on_encoder';
20014
+ type: 'no_credential_on_encoder';
19902
20015
  message: string;
19903
20016
  } | {
19904
20017
  type: 'incompatible_card_format';
@@ -20520,7 +20633,7 @@ export interface Routes {
20520
20633
  type: 'action_attempt_expired';
20521
20634
  message: string;
20522
20635
  } | {
20523
- type: 'no_card_on_encoder';
20636
+ type: 'no_credential_on_encoder';
20524
20637
  message: string;
20525
20638
  };
20526
20639
  } | {
@@ -20724,7 +20837,7 @@ export interface Routes {
20724
20837
  type: 'action_attempt_expired';
20725
20838
  message: string;
20726
20839
  } | {
20727
- type: 'no_card_on_encoder';
20840
+ type: 'no_credential_on_encoder';
20728
20841
  message: string;
20729
20842
  } | {
20730
20843
  type: 'incompatible_card_format';
@@ -21481,7 +21594,7 @@ export interface Routes {
21481
21594
  type: 'action_attempt_expired';
21482
21595
  message: string;
21483
21596
  } | {
21484
- type: 'no_card_on_encoder';
21597
+ type: 'no_credential_on_encoder';
21485
21598
  message: string;
21486
21599
  };
21487
21600
  } | {
@@ -21685,7 +21798,7 @@ export interface Routes {
21685
21798
  type: 'action_attempt_expired';
21686
21799
  message: string;
21687
21800
  } | {
21688
- type: 'no_card_on_encoder';
21801
+ type: 'no_credential_on_encoder';
21689
21802
  message: string;
21690
21803
  } | {
21691
21804
  type: 'incompatible_card_format';
@@ -22264,7 +22377,7 @@ export interface Routes {
22264
22377
  type: 'action_attempt_expired';
22265
22378
  message: string;
22266
22379
  } | {
22267
- type: 'no_card_on_encoder';
22380
+ type: 'no_credential_on_encoder';
22268
22381
  message: string;
22269
22382
  };
22270
22383
  } | {
@@ -22468,7 +22581,7 @@ export interface Routes {
22468
22581
  type: 'action_attempt_expired';
22469
22582
  message: string;
22470
22583
  } | {
22471
- type: 'no_card_on_encoder';
22584
+ type: 'no_credential_on_encoder';
22472
22585
  message: string;
22473
22586
  } | {
22474
22587
  type: 'incompatible_card_format';
@@ -23624,7 +23737,7 @@ export interface Routes {
23624
23737
  type: 'action_attempt_expired';
23625
23738
  message: string;
23626
23739
  } | {
23627
- type: 'no_card_on_encoder';
23740
+ type: 'no_credential_on_encoder';
23628
23741
  message: string;
23629
23742
  };
23630
23743
  } | {
@@ -23828,7 +23941,7 @@ export interface Routes {
23828
23941
  type: 'action_attempt_expired';
23829
23942
  message: string;
23830
23943
  } | {
23831
- type: 'no_card_on_encoder';
23944
+ type: 'no_credential_on_encoder';
23832
23945
  message: string;
23833
23946
  } | {
23834
23947
  type: 'incompatible_card_format';
@@ -24411,7 +24524,7 @@ export interface Routes {
24411
24524
  type: 'action_attempt_expired';
24412
24525
  message: string;
24413
24526
  } | {
24414
- type: 'no_card_on_encoder';
24527
+ type: 'no_credential_on_encoder';
24415
24528
  message: string;
24416
24529
  };
24417
24530
  } | {
@@ -24615,7 +24728,7 @@ export interface Routes {
24615
24728
  type: 'action_attempt_expired';
24616
24729
  message: string;
24617
24730
  } | {
24618
- type: 'no_card_on_encoder';
24731
+ type: 'no_credential_on_encoder';
24619
24732
  message: string;
24620
24733
  } | {
24621
24734
  type: 'incompatible_card_format';
@@ -26261,7 +26374,7 @@ export interface Routes {
26261
26374
  type: 'action_attempt_expired';
26262
26375
  message: string;
26263
26376
  } | {
26264
- type: 'no_card_on_encoder';
26377
+ type: 'no_credential_on_encoder';
26265
26378
  message: string;
26266
26379
  };
26267
26380
  } | {
@@ -26465,7 +26578,7 @@ export interface Routes {
26465
26578
  type: 'action_attempt_expired';
26466
26579
  message: string;
26467
26580
  } | {
26468
- type: 'no_card_on_encoder';
26581
+ type: 'no_credential_on_encoder';
26469
26582
  message: string;
26470
26583
  } | {
26471
26584
  type: 'incompatible_card_format';
@@ -27215,7 +27328,7 @@ export interface Routes {
27215
27328
  type: 'action_attempt_expired';
27216
27329
  message: string;
27217
27330
  } | {
27218
- type: 'no_card_on_encoder';
27331
+ type: 'no_credential_on_encoder';
27219
27332
  message: string;
27220
27333
  };
27221
27334
  } | {
@@ -27419,7 +27532,7 @@ export interface Routes {
27419
27532
  type: 'action_attempt_expired';
27420
27533
  message: string;
27421
27534
  } | {
27422
- type: 'no_card_on_encoder';
27535
+ type: 'no_credential_on_encoder';
27423
27536
  message: string;
27424
27537
  } | {
27425
27538
  type: 'incompatible_card_format';
@@ -28021,7 +28134,7 @@ export interface Routes {
28021
28134
  type: 'action_attempt_expired';
28022
28135
  message: string;
28023
28136
  } | {
28024
- type: 'no_card_on_encoder';
28137
+ type: 'no_credential_on_encoder';
28025
28138
  message: string;
28026
28139
  };
28027
28140
  } | {
@@ -28225,7 +28338,7 @@ export interface Routes {
28225
28338
  type: 'action_attempt_expired';
28226
28339
  message: string;
28227
28340
  } | {
28228
- type: 'no_card_on_encoder';
28341
+ type: 'no_credential_on_encoder';
28229
28342
  message: string;
28230
28343
  } | {
28231
28344
  type: 'incompatible_card_format';
@@ -30539,7 +30652,7 @@ export interface Routes {
30539
30652
  type: 'action_attempt_expired';
30540
30653
  message: string;
30541
30654
  } | {
30542
- type: 'no_card_on_encoder';
30655
+ type: 'no_credential_on_encoder';
30543
30656
  message: string;
30544
30657
  };
30545
30658
  } | {
@@ -30743,7 +30856,7 @@ export interface Routes {
30743
30856
  type: 'action_attempt_expired';
30744
30857
  message: string;
30745
30858
  } | {
30746
- type: 'no_card_on_encoder';
30859
+ type: 'no_credential_on_encoder';
30747
30860
  message: string;
30748
30861
  } | {
30749
30862
  type: 'incompatible_card_format';