@seamapi/types 1.406.1 → 1.406.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/connect.cjs +496 -476
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +753 -614
  4. package/lib/seam/connect/models/events/access-codes.js +4 -9
  5. package/lib/seam/connect/models/events/access-codes.js.map +1 -1
  6. package/lib/seam/connect/models/events/access-grants.js +5 -2
  7. package/lib/seam/connect/models/events/access-grants.js.map +1 -1
  8. package/lib/seam/connect/models/events/access-methods.js +4 -1
  9. package/lib/seam/connect/models/events/access-methods.js.map +1 -1
  10. package/lib/seam/connect/models/events/acs/access-groups.js +4 -1
  11. package/lib/seam/connect/models/events/acs/access-groups.js.map +1 -1
  12. package/lib/seam/connect/models/events/acs/common.js +2 -5
  13. package/lib/seam/connect/models/events/acs/common.js.map +1 -1
  14. package/lib/seam/connect/models/events/acs/credentials.js +4 -1
  15. package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
  16. package/lib/seam/connect/models/events/acs/encoders.js +1 -4
  17. package/lib/seam/connect/models/events/acs/encoders.js.map +1 -1
  18. package/lib/seam/connect/models/events/acs/entrances.js +1 -1
  19. package/lib/seam/connect/models/events/acs/entrances.js.map +1 -1
  20. package/lib/seam/connect/models/events/acs/systems.js +3 -3
  21. package/lib/seam/connect/models/events/acs/users.js +3 -3
  22. package/lib/seam/connect/models/events/acs/users.js.map +1 -1
  23. package/lib/seam/connect/models/events/action-attempts.js +2 -2
  24. package/lib/seam/connect/models/events/action-attempts.js.map +1 -1
  25. package/lib/seam/connect/models/events/client-sessions.js +1 -1
  26. package/lib/seam/connect/models/events/client-sessions.js.map +1 -1
  27. package/lib/seam/connect/models/events/common.js +1 -1
  28. package/lib/seam/connect/models/events/common.js.map +1 -1
  29. package/lib/seam/connect/models/events/connect-webviews.js +2 -2
  30. package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
  31. package/lib/seam/connect/models/events/connected-accounts.js +2 -2
  32. package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
  33. package/lib/seam/connect/models/events/devices.js +37 -37
  34. package/lib/seam/connect/models/events/devices.js.map +1 -1
  35. package/lib/seam/connect/models/events/enrollment-automations.js +1 -1
  36. package/lib/seam/connect/models/events/enrollment-automations.js.map +1 -1
  37. package/lib/seam/connect/models/events/phones.js +1 -4
  38. package/lib/seam/connect/models/events/phones.js.map +1 -1
  39. package/lib/seam/connect/openapi.d.ts +110 -0
  40. package/lib/seam/connect/openapi.js +422 -328
  41. package/lib/seam/connect/openapi.js.map +1 -1
  42. package/lib/seam/connect/route-types.d.ts +643 -614
  43. package/package.json +1 -1
  44. package/src/lib/seam/connect/models/events/access-codes.ts +4 -15
  45. package/src/lib/seam/connect/models/events/access-grants.ts +5 -2
  46. package/src/lib/seam/connect/models/events/access-methods.ts +4 -1
  47. package/src/lib/seam/connect/models/events/acs/access-groups.ts +4 -1
  48. package/src/lib/seam/connect/models/events/acs/common.ts +2 -9
  49. package/src/lib/seam/connect/models/events/acs/credentials.ts +4 -1
  50. package/src/lib/seam/connect/models/events/acs/encoders.ts +1 -6
  51. package/src/lib/seam/connect/models/events/acs/entrances.ts +1 -3
  52. package/src/lib/seam/connect/models/events/acs/systems.ts +3 -3
  53. package/src/lib/seam/connect/models/events/acs/users.ts +3 -5
  54. package/src/lib/seam/connect/models/events/action-attempts.ts +2 -4
  55. package/src/lib/seam/connect/models/events/client-sessions.ts +1 -3
  56. package/src/lib/seam/connect/models/events/common.ts +1 -3
  57. package/src/lib/seam/connect/models/events/connect-webviews.ts +2 -6
  58. package/src/lib/seam/connect/models/events/connected-accounts.ts +2 -6
  59. package/src/lib/seam/connect/models/events/devices.ts +37 -77
  60. package/src/lib/seam/connect/models/events/enrollment-automations.ts +1 -3
  61. package/src/lib/seam/connect/models/events/phones.ts +1 -6
  62. package/src/lib/seam/connect/openapi.ts +436 -485
  63. package/src/lib/seam/connect/route-types.ts +643 -614
@@ -27611,6 +27611,7 @@ declare const _default: {
27611
27611
  description: string;
27612
27612
  properties: {
27613
27613
  acs_credential_id: {
27614
+ description: string;
27614
27615
  format: string;
27615
27616
  type: string;
27616
27617
  };
@@ -27885,6 +27886,7 @@ declare const _default: {
27885
27886
  description: string;
27886
27887
  properties: {
27887
27888
  acs_access_group_id: {
27889
+ description: string;
27888
27890
  format: string;
27889
27891
  type: string;
27890
27892
  };
@@ -35730,6 +35732,7 @@ declare const _default: {
35730
35732
  update_current_key: {
35731
35733
  description: string;
35732
35734
  type: string;
35735
+ 'x-undocumented': string;
35733
35736
  };
35734
35737
  };
35735
35738
  type: string;
@@ -40830,22 +40833,32 @@ declare const _default: {
40830
40833
  };
40831
40834
  security: ({
40832
40835
  client_session: never[];
40836
+ customer_client_session?: never;
40837
+ pat_with_workspace?: never;
40838
+ console_session_with_workspace?: never;
40839
+ api_key?: never;
40840
+ } | {
40841
+ customer_client_session: never[];
40842
+ client_session?: never;
40833
40843
  pat_with_workspace?: never;
40834
40844
  console_session_with_workspace?: never;
40835
40845
  api_key?: never;
40836
40846
  } | {
40837
40847
  pat_with_workspace: never[];
40838
40848
  client_session?: never;
40849
+ customer_client_session?: never;
40839
40850
  console_session_with_workspace?: never;
40840
40851
  api_key?: never;
40841
40852
  } | {
40842
40853
  console_session_with_workspace: never[];
40843
40854
  client_session?: never;
40855
+ customer_client_session?: never;
40844
40856
  pat_with_workspace?: never;
40845
40857
  api_key?: never;
40846
40858
  } | {
40847
40859
  api_key: never[];
40848
40860
  client_session?: never;
40861
+ customer_client_session?: never;
40849
40862
  pat_with_workspace?: never;
40850
40863
  console_session_with_workspace?: never;
40851
40864
  })[];
@@ -41019,14 +41032,22 @@ declare const _default: {
41019
41032
  api_key: never[];
41020
41033
  pat_with_workspace?: never;
41021
41034
  console_session_with_workspace?: never;
41035
+ customer_client_session?: never;
41022
41036
  } | {
41023
41037
  pat_with_workspace: never[];
41024
41038
  api_key?: never;
41025
41039
  console_session_with_workspace?: never;
41040
+ customer_client_session?: never;
41026
41041
  } | {
41027
41042
  console_session_with_workspace: never[];
41028
41043
  api_key?: never;
41029
41044
  pat_with_workspace?: never;
41045
+ customer_client_session?: never;
41046
+ } | {
41047
+ customer_client_session: never[];
41048
+ api_key?: never;
41049
+ pat_with_workspace?: never;
41050
+ console_session_with_workspace?: never;
41030
41051
  })[];
41031
41052
  summary: string;
41032
41053
  tags: string[];
@@ -41212,14 +41233,22 @@ declare const _default: {
41212
41233
  api_key: never[];
41213
41234
  pat_with_workspace?: never;
41214
41235
  console_session_with_workspace?: never;
41236
+ customer_client_session?: never;
41215
41237
  } | {
41216
41238
  pat_with_workspace: never[];
41217
41239
  api_key?: never;
41218
41240
  console_session_with_workspace?: never;
41241
+ customer_client_session?: never;
41219
41242
  } | {
41220
41243
  console_session_with_workspace: never[];
41221
41244
  api_key?: never;
41222
41245
  pat_with_workspace?: never;
41246
+ customer_client_session?: never;
41247
+ } | {
41248
+ customer_client_session: never[];
41249
+ api_key?: never;
41250
+ pat_with_workspace?: never;
41251
+ console_session_with_workspace?: never;
41223
41252
  })[];
41224
41253
  summary: string;
41225
41254
  tags: string[];
@@ -41504,22 +41533,32 @@ declare const _default: {
41504
41533
  };
41505
41534
  security: ({
41506
41535
  client_session: never[];
41536
+ customer_client_session?: never;
41537
+ pat_with_workspace?: never;
41538
+ console_session_with_workspace?: never;
41539
+ api_key?: never;
41540
+ } | {
41541
+ customer_client_session: never[];
41542
+ client_session?: never;
41507
41543
  pat_with_workspace?: never;
41508
41544
  console_session_with_workspace?: never;
41509
41545
  api_key?: never;
41510
41546
  } | {
41511
41547
  pat_with_workspace: never[];
41512
41548
  client_session?: never;
41549
+ customer_client_session?: never;
41513
41550
  console_session_with_workspace?: never;
41514
41551
  api_key?: never;
41515
41552
  } | {
41516
41553
  console_session_with_workspace: never[];
41517
41554
  client_session?: never;
41555
+ customer_client_session?: never;
41518
41556
  pat_with_workspace?: never;
41519
41557
  api_key?: never;
41520
41558
  } | {
41521
41559
  api_key: never[];
41522
41560
  client_session?: never;
41561
+ customer_client_session?: never;
41523
41562
  pat_with_workspace?: never;
41524
41563
  console_session_with_workspace?: never;
41525
41564
  })[];
@@ -41690,22 +41729,32 @@ declare const _default: {
41690
41729
  };
41691
41730
  };
41692
41731
  security: ({
41732
+ customer_client_session: never[];
41733
+ client_session?: never;
41734
+ pat_with_workspace?: never;
41735
+ console_session_with_workspace?: never;
41736
+ api_key?: never;
41737
+ } | {
41693
41738
  client_session: never[];
41739
+ customer_client_session?: never;
41694
41740
  pat_with_workspace?: never;
41695
41741
  console_session_with_workspace?: never;
41696
41742
  api_key?: never;
41697
41743
  } | {
41698
41744
  pat_with_workspace: never[];
41745
+ customer_client_session?: never;
41699
41746
  client_session?: never;
41700
41747
  console_session_with_workspace?: never;
41701
41748
  api_key?: never;
41702
41749
  } | {
41703
41750
  console_session_with_workspace: never[];
41751
+ customer_client_session?: never;
41704
41752
  client_session?: never;
41705
41753
  pat_with_workspace?: never;
41706
41754
  api_key?: never;
41707
41755
  } | {
41708
41756
  api_key: never[];
41757
+ customer_client_session?: never;
41709
41758
  client_session?: never;
41710
41759
  pat_with_workspace?: never;
41711
41760
  console_session_with_workspace?: never;
@@ -42616,14 +42665,17 @@ declare const _default: {
42616
42665
  schema: {
42617
42666
  properties: {
42618
42667
  device_id: {
42668
+ description: string;
42619
42669
  format: string;
42620
42670
  type: string;
42621
42671
  };
42622
42672
  event_id: {
42673
+ description: string;
42623
42674
  format: string;
42624
42675
  type: string;
42625
42676
  };
42626
42677
  event_type: {
42678
+ description: string;
42627
42679
  type: string;
42628
42680
  };
42629
42681
  };
@@ -42702,10 +42754,12 @@ declare const _default: {
42702
42754
  schema: {
42703
42755
  properties: {
42704
42756
  access_code_id: {
42757
+ description: string;
42705
42758
  format: string;
42706
42759
  type: string;
42707
42760
  };
42708
42761
  access_code_ids: {
42762
+ description: string;
42709
42763
  items: {
42710
42764
  format: string;
42711
42765
  type: string;
@@ -42713,10 +42767,12 @@ declare const _default: {
42713
42767
  type: string;
42714
42768
  };
42715
42769
  acs_system_id: {
42770
+ description: string;
42716
42771
  format: string;
42717
42772
  type: string;
42718
42773
  };
42719
42774
  acs_system_ids: {
42775
+ description: string;
42720
42776
  items: {
42721
42777
  format: string;
42722
42778
  type: string;
@@ -42724,6 +42780,7 @@ declare const _default: {
42724
42780
  type: string;
42725
42781
  };
42726
42782
  between: {
42783
+ description: string;
42727
42784
  items: {
42728
42785
  oneOf: ({
42729
42786
  type: string;
@@ -42738,14 +42795,17 @@ declare const _default: {
42738
42795
  type: string;
42739
42796
  };
42740
42797
  connect_webview_id: {
42798
+ description: string;
42741
42799
  format: string;
42742
42800
  type: string;
42743
42801
  };
42744
42802
  connected_account_id: {
42803
+ description: string;
42745
42804
  format: string;
42746
42805
  type: string;
42747
42806
  };
42748
42807
  customer_ids: {
42808
+ description: string;
42749
42809
  items: {
42750
42810
  format: string;
42751
42811
  type: string;
@@ -42753,10 +42813,12 @@ declare const _default: {
42753
42813
  type: string;
42754
42814
  };
42755
42815
  device_id: {
42816
+ description: string;
42756
42817
  format: string;
42757
42818
  type: string;
42758
42819
  };
42759
42820
  device_ids: {
42821
+ description: string;
42760
42822
  items: {
42761
42823
  format: string;
42762
42824
  type: string;
@@ -42764,6 +42826,7 @@ declare const _default: {
42764
42826
  type: string;
42765
42827
  };
42766
42828
  event_ids: {
42829
+ description: string;
42767
42830
  items: {
42768
42831
  format: string;
42769
42832
  type: string;
@@ -42771,10 +42834,12 @@ declare const _default: {
42771
42834
  type: string;
42772
42835
  };
42773
42836
  event_type: {
42837
+ description: string;
42774
42838
  enum: string[];
42775
42839
  type: string;
42776
42840
  };
42777
42841
  event_types: {
42842
+ description: string;
42778
42843
  items: {
42779
42844
  enum: string[];
42780
42845
  type: string;
@@ -42783,13 +42848,16 @@ declare const _default: {
42783
42848
  };
42784
42849
  limit: {
42785
42850
  default: number;
42851
+ description: string;
42786
42852
  format: string;
42787
42853
  type: string;
42788
42854
  };
42789
42855
  since: {
42856
+ description: string;
42790
42857
  type: string;
42791
42858
  };
42792
42859
  unstable_offset: {
42860
+ description: string;
42793
42861
  format: string;
42794
42862
  type: string;
42795
42863
  };
@@ -42834,21 +42902,31 @@ declare const _default: {
42834
42902
  api_key?: never;
42835
42903
  pat_with_workspace?: never;
42836
42904
  console_session_with_workspace?: never;
42905
+ customer_client_session?: never;
42837
42906
  } | {
42838
42907
  api_key: never[];
42839
42908
  client_session?: never;
42840
42909
  pat_with_workspace?: never;
42841
42910
  console_session_with_workspace?: never;
42911
+ customer_client_session?: never;
42842
42912
  } | {
42843
42913
  pat_with_workspace: never[];
42844
42914
  client_session?: never;
42845
42915
  api_key?: never;
42846
42916
  console_session_with_workspace?: never;
42917
+ customer_client_session?: never;
42847
42918
  } | {
42848
42919
  console_session_with_workspace: never[];
42849
42920
  client_session?: never;
42850
42921
  api_key?: never;
42851
42922
  pat_with_workspace?: never;
42923
+ customer_client_session?: never;
42924
+ } | {
42925
+ customer_client_session: never[];
42926
+ client_session?: never;
42927
+ api_key?: never;
42928
+ pat_with_workspace?: never;
42929
+ console_session_with_workspace?: never;
42852
42930
  })[];
42853
42931
  summary: string;
42854
42932
  tags: string[];
@@ -49402,14 +49480,22 @@ declare const _default: {
49402
49480
  pat_with_workspace: never[];
49403
49481
  console_session_with_workspace?: never;
49404
49482
  api_key?: never;
49483
+ customer_client_session?: never;
49405
49484
  } | {
49406
49485
  console_session_with_workspace: never[];
49407
49486
  pat_with_workspace?: never;
49408
49487
  api_key?: never;
49488
+ customer_client_session?: never;
49409
49489
  } | {
49410
49490
  api_key: never[];
49411
49491
  pat_with_workspace?: never;
49412
49492
  console_session_with_workspace?: never;
49493
+ customer_client_session?: never;
49494
+ } | {
49495
+ customer_client_session: never[];
49496
+ pat_with_workspace?: never;
49497
+ console_session_with_workspace?: never;
49498
+ api_key?: never;
49413
49499
  })[];
49414
49500
  summary: string;
49415
49501
  tags: never[];
@@ -49470,14 +49556,22 @@ declare const _default: {
49470
49556
  pat_with_workspace: never[];
49471
49557
  console_session_with_workspace?: never;
49472
49558
  api_key?: never;
49559
+ customer_client_session?: never;
49473
49560
  } | {
49474
49561
  console_session_with_workspace: never[];
49475
49562
  pat_with_workspace?: never;
49476
49563
  api_key?: never;
49564
+ customer_client_session?: never;
49477
49565
  } | {
49478
49566
  api_key: never[];
49479
49567
  pat_with_workspace?: never;
49480
49568
  console_session_with_workspace?: never;
49569
+ customer_client_session?: never;
49570
+ } | {
49571
+ customer_client_session: never[];
49572
+ pat_with_workspace?: never;
49573
+ console_session_with_workspace?: never;
49574
+ api_key?: never;
49481
49575
  })[];
49482
49576
  summary: string;
49483
49577
  tags: never[];
@@ -49617,14 +49711,22 @@ declare const _default: {
49617
49711
  pat_with_workspace: never[];
49618
49712
  console_session_with_workspace?: never;
49619
49713
  api_key?: never;
49714
+ customer_client_session?: never;
49620
49715
  } | {
49621
49716
  console_session_with_workspace: never[];
49622
49717
  pat_with_workspace?: never;
49623
49718
  api_key?: never;
49719
+ customer_client_session?: never;
49624
49720
  } | {
49625
49721
  api_key: never[];
49626
49722
  pat_with_workspace?: never;
49627
49723
  console_session_with_workspace?: never;
49724
+ customer_client_session?: never;
49725
+ } | {
49726
+ customer_client_session: never[];
49727
+ pat_with_workspace?: never;
49728
+ console_session_with_workspace?: never;
49729
+ api_key?: never;
49628
49730
  })[];
49629
49731
  summary: string;
49630
49732
  tags: never[];
@@ -49782,14 +49884,22 @@ declare const _default: {
49782
49884
  pat_with_workspace: never[];
49783
49885
  console_session_with_workspace?: never;
49784
49886
  api_key?: never;
49887
+ customer_client_session?: never;
49785
49888
  } | {
49786
49889
  console_session_with_workspace: never[];
49787
49890
  pat_with_workspace?: never;
49788
49891
  api_key?: never;
49892
+ customer_client_session?: never;
49789
49893
  } | {
49790
49894
  api_key: never[];
49791
49895
  pat_with_workspace?: never;
49792
49896
  console_session_with_workspace?: never;
49897
+ customer_client_session?: never;
49898
+ } | {
49899
+ customer_client_session: never[];
49900
+ pat_with_workspace?: never;
49901
+ console_session_with_workspace?: never;
49902
+ api_key?: never;
49793
49903
  })[];
49794
49904
  summary: string;
49795
49905
  tags: never[];
@@ -76955,8 +77065,11 @@ interface Routes {
76955
77065
  queryParams: {};
76956
77066
  jsonBody: {};
76957
77067
  commonParams: {
77068
+ /** Unique identifier for the event that you want to get. */
76958
77069
  event_id?: string | undefined;
77070
+ /** Type of the event that you want to get. */
76959
77071
  event_type?: string | undefined;
77072
+ /** Unique identifier for the device that triggered the event that you want to get. */
76960
77073
  device_id?: string | undefined;
76961
77074
  };
76962
77075
  formData: {};
@@ -76967,705 +77080,710 @@ interface Routes {
76967
77080
  event?: ({
76968
77081
  /** ID of the event. */
76969
77082
  event_id: string;
76970
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77083
+ /** ID of the workspace associated with the event. */
76971
77084
  workspace_id: string;
76972
77085
  /** Date and time at which the event was created. */
76973
77086
  created_at: string;
76974
77087
  /** Date and time at which the event occurred. */
76975
77088
  occurred_at: string;
76976
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77089
+ /** ID of the affected access code. */
76977
77090
  access_code_id: string;
76978
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77091
+ /** ID of the device associated with the affected access code. */
76979
77092
  device_id: string;
76980
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77093
+ /** ID of the connected account associated with the affected access codes. */
76981
77094
  connected_account_id: string;
76982
77095
  event_type: 'access_code.created';
76983
77096
  } | {
76984
77097
  /** ID of the event. */
76985
77098
  event_id: string;
76986
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77099
+ /** ID of the workspace associated with the event. */
76987
77100
  workspace_id: string;
76988
77101
  /** Date and time at which the event was created. */
76989
77102
  created_at: string;
76990
77103
  /** Date and time at which the event occurred. */
76991
77104
  occurred_at: string;
76992
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77105
+ /** ID of the affected access code. */
76993
77106
  access_code_id: string;
76994
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77107
+ /** ID of the device associated with the affected access code. */
76995
77108
  device_id: string;
76996
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77109
+ /** ID of the connected account associated with the affected access codes. */
76997
77110
  connected_account_id: string;
76998
77111
  event_type: 'access_code.changed';
76999
77112
  } | {
77000
77113
  /** ID of the event. */
77001
77114
  event_id: string;
77002
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77115
+ /** ID of the workspace associated with the event. */
77003
77116
  workspace_id: string;
77004
77117
  /** Date and time at which the event was created. */
77005
77118
  created_at: string;
77006
77119
  /** Date and time at which the event occurred. */
77007
77120
  occurred_at: string;
77008
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77121
+ /** ID of the affected access code. */
77009
77122
  access_code_id: string;
77010
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77123
+ /** ID of the device associated with the affected access code. */
77011
77124
  device_id: string;
77012
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77125
+ /** ID of the connected account associated with the affected access codes. */
77013
77126
  connected_account_id: string;
77014
77127
  event_type: 'access_code.scheduled_on_device';
77015
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77128
+ /** Code for the affected access code. */
77016
77129
  code: string;
77017
77130
  } | {
77018
77131
  /** ID of the event. */
77019
77132
  event_id: string;
77020
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77133
+ /** ID of the workspace associated with the event. */
77021
77134
  workspace_id: string;
77022
77135
  /** Date and time at which the event was created. */
77023
77136
  created_at: string;
77024
77137
  /** Date and time at which the event occurred. */
77025
77138
  occurred_at: string;
77026
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77139
+ /** ID of the affected access code. */
77027
77140
  access_code_id: string;
77028
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77141
+ /** ID of the device associated with the affected access code. */
77029
77142
  device_id: string;
77030
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77143
+ /** ID of the connected account associated with the affected access codes. */
77031
77144
  connected_account_id: string;
77032
77145
  event_type: 'access_code.set_on_device';
77033
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77146
+ /** Code for the affected access code. */
77034
77147
  code: string;
77035
77148
  } | {
77036
77149
  /** ID of the event. */
77037
77150
  event_id: string;
77038
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77151
+ /** ID of the workspace associated with the event. */
77039
77152
  workspace_id: string;
77040
77153
  /** Date and time at which the event was created. */
77041
77154
  created_at: string;
77042
77155
  /** Date and time at which the event occurred. */
77043
77156
  occurred_at: string;
77044
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77157
+ /** ID of the affected access code. */
77045
77158
  access_code_id: string;
77046
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77159
+ /** ID of the device associated with the affected access code. */
77047
77160
  device_id: string;
77048
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77161
+ /** ID of the connected account associated with the affected access codes. */
77049
77162
  connected_account_id: string;
77050
77163
  event_type: 'access_code.removed_from_device';
77051
77164
  } | {
77052
77165
  /** ID of the event. */
77053
77166
  event_id: string;
77054
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77167
+ /** ID of the workspace associated with the event. */
77055
77168
  workspace_id: string;
77056
77169
  /** Date and time at which the event was created. */
77057
77170
  created_at: string;
77058
77171
  /** Date and time at which the event occurred. */
77059
77172
  occurred_at: string;
77060
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77173
+ /** ID of the affected access code. */
77061
77174
  access_code_id: string;
77062
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77175
+ /** ID of the device associated with the affected access code. */
77063
77176
  device_id: string;
77064
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77177
+ /** ID of the connected account associated with the affected access codes. */
77065
77178
  connected_account_id: string;
77066
77179
  event_type: 'access_code.delay_in_setting_on_device';
77067
77180
  } | {
77068
77181
  /** ID of the event. */
77069
77182
  event_id: string;
77070
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77183
+ /** ID of the workspace associated with the event. */
77071
77184
  workspace_id: string;
77072
77185
  /** Date and time at which the event was created. */
77073
77186
  created_at: string;
77074
77187
  /** Date and time at which the event occurred. */
77075
77188
  occurred_at: string;
77076
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77189
+ /** ID of the affected access code. */
77077
77190
  access_code_id: string;
77078
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77191
+ /** ID of the device associated with the affected access code. */
77079
77192
  device_id: string;
77080
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77193
+ /** ID of the connected account associated with the affected access codes. */
77081
77194
  connected_account_id: string;
77082
77195
  event_type: 'access_code.failed_to_set_on_device';
77083
77196
  } | {
77084
77197
  /** ID of the event. */
77085
77198
  event_id: string;
77086
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77199
+ /** ID of the workspace associated with the event. */
77087
77200
  workspace_id: string;
77088
77201
  /** Date and time at which the event was created. */
77089
77202
  created_at: string;
77090
77203
  /** Date and time at which the event occurred. */
77091
77204
  occurred_at: string;
77092
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77205
+ /** ID of the affected access code. */
77093
77206
  access_code_id: string;
77094
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77207
+ /** ID of the device associated with the affected access code. */
77095
77208
  device_id: string;
77096
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77209
+ /** ID of the connected account associated with the affected access codes. */
77097
77210
  connected_account_id: string;
77098
77211
  event_type: 'access_code.deleted';
77099
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77212
+ /** Code for the affected access code. */
77100
77213
  code: string | null;
77101
77214
  } | {
77102
77215
  /** ID of the event. */
77103
77216
  event_id: string;
77104
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77217
+ /** ID of the workspace associated with the event. */
77105
77218
  workspace_id: string;
77106
77219
  /** Date and time at which the event was created. */
77107
77220
  created_at: string;
77108
77221
  /** Date and time at which the event occurred. */
77109
77222
  occurred_at: string;
77110
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77223
+ /** ID of the affected access code. */
77111
77224
  access_code_id: string;
77112
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77225
+ /** ID of the device associated with the affected access code. */
77113
77226
  device_id: string;
77114
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77227
+ /** ID of the connected account associated with the affected access codes. */
77115
77228
  connected_account_id: string;
77116
77229
  event_type: 'access_code.delay_in_removing_from_device';
77117
77230
  } | {
77118
77231
  /** ID of the event. */
77119
77232
  event_id: string;
77120
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77233
+ /** ID of the workspace associated with the event. */
77121
77234
  workspace_id: string;
77122
77235
  /** Date and time at which the event was created. */
77123
77236
  created_at: string;
77124
77237
  /** Date and time at which the event occurred. */
77125
77238
  occurred_at: string;
77126
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77239
+ /** ID of the affected access code. */
77127
77240
  access_code_id: string;
77128
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77241
+ /** ID of the device associated with the affected access code. */
77129
77242
  device_id: string;
77130
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77243
+ /** ID of the connected account associated with the affected access codes. */
77131
77244
  connected_account_id: string;
77132
77245
  event_type: 'access_code.failed_to_remove_from_device';
77133
77246
  } | {
77134
77247
  /** ID of the event. */
77135
77248
  event_id: string;
77136
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77249
+ /** ID of the workspace associated with the event. */
77137
77250
  workspace_id: string;
77138
77251
  /** Date and time at which the event was created. */
77139
77252
  created_at: string;
77140
77253
  /** Date and time at which the event occurred. */
77141
77254
  occurred_at: string;
77142
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77255
+ /** ID of the affected access code. */
77143
77256
  access_code_id: string;
77144
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77257
+ /** ID of the device associated with the affected access code. */
77145
77258
  device_id: string;
77146
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77259
+ /** ID of the connected account associated with the affected access codes. */
77147
77260
  connected_account_id: string;
77148
77261
  event_type: 'access_code.modified_external_to_seam';
77149
77262
  } | {
77150
77263
  /** ID of the event. */
77151
77264
  event_id: string;
77152
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77265
+ /** ID of the workspace associated with the event. */
77153
77266
  workspace_id: string;
77154
77267
  /** Date and time at which the event was created. */
77155
77268
  created_at: string;
77156
77269
  /** Date and time at which the event occurred. */
77157
77270
  occurred_at: string;
77158
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77271
+ /** ID of the affected access code. */
77159
77272
  access_code_id: string;
77160
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77273
+ /** ID of the device associated with the affected access code. */
77161
77274
  device_id: string;
77162
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77275
+ /** ID of the connected account associated with the affected access codes. */
77163
77276
  connected_account_id: string;
77164
77277
  event_type: 'access_code.deleted_external_to_seam';
77165
77278
  } | {
77166
77279
  /** ID of the event. */
77167
77280
  event_id: string;
77168
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77281
+ /** ID of the workspace associated with the event. */
77169
77282
  workspace_id: string;
77170
77283
  /** Date and time at which the event was created. */
77171
77284
  created_at: string;
77172
77285
  /** Date and time at which the event occurred. */
77173
77286
  occurred_at: string;
77174
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77287
+ /** ID of the affected access code. */
77175
77288
  access_code_id: string;
77176
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77289
+ /** ID of the device associated with the affected access code. */
77177
77290
  device_id: string;
77178
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77291
+ /** ID of the connected account associated with the affected access codes. */
77179
77292
  connected_account_id: string;
77180
77293
  event_type: 'access_code.backup_access_code_pulled';
77181
77294
  backup_access_code_id: string;
77182
77295
  } | {
77183
77296
  /** ID of the event. */
77184
77297
  event_id: string;
77185
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77298
+ /** ID of the workspace associated with the event. */
77186
77299
  workspace_id: string;
77187
77300
  /** Date and time at which the event was created. */
77188
77301
  created_at: string;
77189
77302
  /** Date and time at which the event occurred. */
77190
77303
  occurred_at: string;
77191
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77304
+ /** ID of the affected access code. */
77192
77305
  access_code_id: string;
77193
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77306
+ /** ID of the device associated with the affected access code. */
77194
77307
  device_id: string;
77195
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77308
+ /** ID of the connected account associated with the affected access codes. */
77196
77309
  connected_account_id: string;
77197
77310
  event_type: 'access_code.unmanaged.converted_to_managed';
77198
77311
  } | {
77199
77312
  /** ID of the event. */
77200
77313
  event_id: string;
77201
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77314
+ /** ID of the workspace associated with the event. */
77202
77315
  workspace_id: string;
77203
77316
  /** Date and time at which the event was created. */
77204
77317
  created_at: string;
77205
77318
  /** Date and time at which the event occurred. */
77206
77319
  occurred_at: string;
77207
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77320
+ /** ID of the affected access code. */
77208
77321
  access_code_id: string;
77209
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77322
+ /** ID of the device associated with the affected access code. */
77210
77323
  device_id: string;
77211
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77324
+ /** ID of the connected account associated with the affected access codes. */
77212
77325
  connected_account_id: string;
77213
77326
  event_type: 'access_code.unmanaged.failed_to_convert_to_managed';
77214
77327
  } | {
77215
77328
  /** ID of the event. */
77216
77329
  event_id: string;
77217
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77330
+ /** ID of the workspace associated with the event. */
77218
77331
  workspace_id: string;
77219
77332
  /** Date and time at which the event was created. */
77220
77333
  created_at: string;
77221
77334
  /** Date and time at which the event occurred. */
77222
77335
  occurred_at: string;
77223
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77336
+ /** ID of the affected access code. */
77224
77337
  access_code_id: string;
77225
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77338
+ /** ID of the device associated with the affected access code. */
77226
77339
  device_id: string;
77227
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77340
+ /** ID of the connected account associated with the affected access codes. */
77228
77341
  connected_account_id: string;
77229
77342
  event_type: 'access_code.unmanaged.created';
77230
77343
  } | {
77231
77344
  /** ID of the event. */
77232
77345
  event_id: string;
77233
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77346
+ /** ID of the workspace associated with the event. */
77234
77347
  workspace_id: string;
77235
77348
  /** Date and time at which the event was created. */
77236
77349
  created_at: string;
77237
77350
  /** Date and time at which the event occurred. */
77238
77351
  occurred_at: string;
77239
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
77352
+ /** ID of the affected access code. */
77240
77353
  access_code_id: string;
77241
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
77354
+ /** ID of the device associated with the affected access code. */
77242
77355
  device_id: string;
77243
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77356
+ /** ID of the connected account associated with the affected access codes. */
77244
77357
  connected_account_id: string;
77245
77358
  event_type: 'access_code.unmanaged.removed';
77246
77359
  } | {
77247
77360
  /** ID of the event. */
77248
77361
  event_id: string;
77249
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77362
+ /** ID of the workspace associated with the event. */
77250
77363
  workspace_id: string;
77251
77364
  /** Date and time at which the event was created. */
77252
77365
  created_at: string;
77253
77366
  /** Date and time at which the event occurred. */
77254
77367
  occurred_at: string;
77255
- /** ID of the access grant. */
77368
+ /** ID of the affected access grant. */
77256
77369
  access_grant_id: string;
77257
77370
  event_type: 'access_grant.created';
77258
77371
  } | {
77259
77372
  /** ID of the event. */
77260
77373
  event_id: string;
77261
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77374
+ /** ID of the workspace associated with the event. */
77262
77375
  workspace_id: string;
77263
77376
  /** Date and time at which the event was created. */
77264
77377
  created_at: string;
77265
77378
  /** Date and time at which the event occurred. */
77266
77379
  occurred_at: string;
77267
- /** ID of the access grant. */
77380
+ /** ID of the affected access grant. */
77268
77381
  access_grant_id: string;
77269
77382
  event_type: 'access_grant.deleted';
77270
77383
  } | {
77271
77384
  /** ID of the event. */
77272
77385
  event_id: string;
77273
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77386
+ /** ID of the workspace associated with the event. */
77274
77387
  workspace_id: string;
77275
77388
  /** Date and time at which the event was created. */
77276
77389
  created_at: string;
77277
77390
  /** Date and time at which the event occurred. */
77278
77391
  occurred_at: string;
77279
- /** ID of the access grant. */
77392
+ /** ID of the affected access grant. */
77280
77393
  access_grant_id: string;
77281
77394
  event_type: 'access_grant.access_granted_to_all_doors';
77282
77395
  } | {
77283
77396
  /** ID of the event. */
77284
77397
  event_id: string;
77285
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77398
+ /** ID of the workspace associated with the event. */
77286
77399
  workspace_id: string;
77287
77400
  /** Date and time at which the event was created. */
77288
77401
  created_at: string;
77289
77402
  /** Date and time at which the event occurred. */
77290
77403
  occurred_at: string;
77291
- /** ID of the access grant. */
77404
+ /** ID of the affected access grant. */
77292
77405
  access_grant_id: string;
77293
77406
  event_type: 'access_grant.access_granted_to_door';
77294
- /** ID of the door, an [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
77407
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
77295
77408
  acs_entrance_id: string;
77296
77409
  } | {
77297
77410
  /** ID of the event. */
77298
77411
  event_id: string;
77299
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77412
+ /** ID of the workspace associated with the event. */
77300
77413
  workspace_id: string;
77301
77414
  /** Date and time at which the event was created. */
77302
77415
  created_at: string;
77303
77416
  /** Date and time at which the event occurred. */
77304
77417
  occurred_at: string;
77305
- /** ID of the access grant. */
77418
+ /** ID of the affected access grant. */
77306
77419
  access_grant_id: string;
77307
77420
  event_type: 'access_grant.access_to_door_lost';
77308
- /** ID of the door, an [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
77421
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
77309
77422
  acs_entrance_id: string;
77310
77423
  } | {
77311
77424
  /** ID of the event. */
77312
77425
  event_id: string;
77313
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77426
+ /** ID of the workspace associated with the event. */
77314
77427
  workspace_id: string;
77315
77428
  /** Date and time at which the event was created. */
77316
77429
  created_at: string;
77317
77430
  /** Date and time at which the event occurred. */
77318
77431
  occurred_at: string;
77319
- /** ID of the access method. */
77432
+ /** ID of the affected access method. */
77320
77433
  access_method_id: string;
77321
77434
  event_type: 'access_method.issued';
77322
77435
  } | {
77323
77436
  /** ID of the event. */
77324
77437
  event_id: string;
77325
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77438
+ /** ID of the workspace associated with the event. */
77326
77439
  workspace_id: string;
77327
77440
  /** Date and time at which the event was created. */
77328
77441
  created_at: string;
77329
77442
  /** Date and time at which the event occurred. */
77330
77443
  occurred_at: string;
77331
- /** ID of the access method. */
77444
+ /** ID of the affected access method. */
77332
77445
  access_method_id: string;
77333
77446
  event_type: 'access_method.revoked';
77334
77447
  } | {
77335
77448
  /** ID of the event. */
77336
77449
  event_id: string;
77337
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77450
+ /** ID of the workspace associated with the event. */
77338
77451
  workspace_id: string;
77339
77452
  /** Date and time at which the event was created. */
77340
77453
  created_at: string;
77341
77454
  /** Date and time at which the event occurred. */
77342
77455
  occurred_at: string;
77343
- /** ID of the access method. */
77456
+ /** ID of the affected access method. */
77344
77457
  access_method_id: string;
77345
77458
  event_type: 'access_method.card_encoding_required';
77346
77459
  } | {
77347
77460
  /** ID of the event. */
77348
77461
  event_id: string;
77349
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77462
+ /** ID of the workspace associated with the event. */
77350
77463
  workspace_id: string;
77351
77464
  /** Date and time at which the event was created. */
77352
77465
  created_at: string;
77353
77466
  /** Date and time at which the event occurred. */
77354
77467
  occurred_at: string;
77355
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77468
+ /** ID of the connected account. */
77356
77469
  connected_account_id?: string | undefined;
77357
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
77470
+ /** ID of the access system. */
77358
77471
  acs_system_id: string;
77359
77472
  event_type: 'acs_system.connected';
77360
77473
  } | {
77361
77474
  /** ID of the event. */
77362
77475
  event_id: string;
77363
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77476
+ /** ID of the workspace associated with the event. */
77364
77477
  workspace_id: string;
77365
77478
  /** Date and time at which the event was created. */
77366
77479
  created_at: string;
77367
77480
  /** Date and time at which the event occurred. */
77368
77481
  occurred_at: string;
77369
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77482
+ /** ID of the connected account. */
77370
77483
  connected_account_id?: string | undefined;
77371
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
77484
+ /** ID of the access system. */
77372
77485
  acs_system_id: string;
77373
77486
  event_type: 'acs_system.added';
77374
77487
  } | {
77375
77488
  /** ID of the event. */
77376
77489
  event_id: string;
77377
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77490
+ /** ID of the workspace associated with the event. */
77378
77491
  workspace_id: string;
77379
77492
  /** Date and time at which the event was created. */
77380
77493
  created_at: string;
77381
77494
  /** Date and time at which the event occurred. */
77382
77495
  occurred_at: string;
77383
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77496
+ /** ID of the connected account. */
77384
77497
  connected_account_id?: string | undefined;
77385
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
77498
+ /** ID of the access system. */
77386
77499
  acs_system_id: string;
77387
77500
  event_type: 'acs_system.disconnected';
77388
77501
  } | {
77389
77502
  /** ID of the event. */
77390
77503
  event_id: string;
77391
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77504
+ /** ID of the workspace associated with the event. */
77392
77505
  workspace_id: string;
77393
77506
  /** Date and time at which the event was created. */
77394
77507
  created_at: string;
77395
77508
  /** Date and time at which the event occurred. */
77396
77509
  occurred_at: string;
77397
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77510
+ /** ID of the connected account. */
77398
77511
  connected_account_id?: string | undefined;
77399
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
77512
+ /** ID of the access system. */
77400
77513
  acs_system_id: string;
77514
+ /** ID of the affected credential. */
77401
77515
  acs_credential_id: string;
77402
77516
  event_type: 'acs_credential.deleted';
77403
77517
  } | {
77404
77518
  /** ID of the event. */
77405
77519
  event_id: string;
77406
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77520
+ /** ID of the workspace associated with the event. */
77407
77521
  workspace_id: string;
77408
77522
  /** Date and time at which the event was created. */
77409
77523
  created_at: string;
77410
77524
  /** Date and time at which the event occurred. */
77411
77525
  occurred_at: string;
77412
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77526
+ /** ID of the connected account. */
77413
77527
  connected_account_id?: string | undefined;
77414
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
77528
+ /** ID of the access system. */
77415
77529
  acs_system_id: string;
77530
+ /** ID of the affected credential. */
77416
77531
  acs_credential_id: string;
77417
77532
  event_type: 'acs_credential.issued';
77418
77533
  } | {
77419
77534
  /** ID of the event. */
77420
77535
  event_id: string;
77421
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77536
+ /** ID of the workspace associated with the event. */
77422
77537
  workspace_id: string;
77423
77538
  /** Date and time at which the event was created. */
77424
77539
  created_at: string;
77425
77540
  /** Date and time at which the event occurred. */
77426
77541
  occurred_at: string;
77427
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77542
+ /** ID of the connected account. */
77428
77543
  connected_account_id?: string | undefined;
77429
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
77544
+ /** ID of the access system. */
77430
77545
  acs_system_id: string;
77546
+ /** ID of the affected credential. */
77431
77547
  acs_credential_id: string;
77432
77548
  event_type: 'acs_credential.reissued';
77433
77549
  } | {
77434
77550
  /** ID of the event. */
77435
77551
  event_id: string;
77436
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77552
+ /** ID of the workspace associated with the event. */
77437
77553
  workspace_id: string;
77438
77554
  /** Date and time at which the event was created. */
77439
77555
  created_at: string;
77440
77556
  /** Date and time at which the event occurred. */
77441
77557
  occurred_at: string;
77442
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77558
+ /** ID of the connected account. */
77443
77559
  connected_account_id?: string | undefined;
77444
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
77560
+ /** ID of the access system. */
77445
77561
  acs_system_id: string;
77562
+ /** ID of the affected credential. */
77446
77563
  acs_credential_id: string;
77447
77564
  event_type: 'acs_credential.invalidated';
77448
77565
  } | {
77449
77566
  /** ID of the event. */
77450
77567
  event_id: string;
77451
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77568
+ /** ID of the workspace associated with the event. */
77452
77569
  workspace_id: string;
77453
77570
  /** Date and time at which the event was created. */
77454
77571
  created_at: string;
77455
77572
  /** Date and time at which the event occurred. */
77456
77573
  occurred_at: string;
77457
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77574
+ /** ID of the connected account. */
77458
77575
  connected_account_id?: string | undefined;
77459
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
77576
+ /** ID of the access system. */
77460
77577
  acs_system_id: string;
77461
77578
  acs_user_id: string;
77462
77579
  event_type: 'acs_user.created';
77463
77580
  } | {
77464
77581
  /** ID of the event. */
77465
77582
  event_id: string;
77466
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77583
+ /** ID of the workspace associated with the event. */
77467
77584
  workspace_id: string;
77468
77585
  /** Date and time at which the event was created. */
77469
77586
  created_at: string;
77470
77587
  /** Date and time at which the event occurred. */
77471
77588
  occurred_at: string;
77472
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77589
+ /** ID of the connected account. */
77473
77590
  connected_account_id?: string | undefined;
77474
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
77591
+ /** ID of the access system. */
77475
77592
  acs_system_id: string;
77476
77593
  acs_user_id: string;
77477
77594
  event_type: 'acs_user.deleted';
77478
77595
  } | {
77479
77596
  /** ID of the event. */
77480
77597
  event_id: string;
77481
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77598
+ /** ID of the workspace associated with the event. */
77482
77599
  workspace_id: string;
77483
77600
  /** Date and time at which the event was created. */
77484
77601
  created_at: string;
77485
77602
  /** Date and time at which the event occurred. */
77486
77603
  occurred_at: string;
77487
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77604
+ /** ID of the connected account. */
77488
77605
  connected_account_id?: string | undefined;
77489
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
77606
+ /** ID of the access system. */
77490
77607
  acs_system_id: string;
77491
- /** ID of the [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
77608
+ /** ID of the affected encoder. */
77492
77609
  acs_encoder_id: string;
77493
77610
  event_type: 'acs_encoder.added';
77494
77611
  } | {
77495
77612
  /** ID of the event. */
77496
77613
  event_id: string;
77497
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77614
+ /** ID of the workspace associated with the event. */
77498
77615
  workspace_id: string;
77499
77616
  /** Date and time at which the event was created. */
77500
77617
  created_at: string;
77501
77618
  /** Date and time at which the event occurred. */
77502
77619
  occurred_at: string;
77503
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77620
+ /** ID of the connected account. */
77504
77621
  connected_account_id?: string | undefined;
77505
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
77622
+ /** ID of the access system. */
77506
77623
  acs_system_id: string;
77507
- /** ID of the [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
77624
+ /** ID of the affected encoder. */
77508
77625
  acs_encoder_id: string;
77509
77626
  event_type: 'acs_encoder.removed';
77510
77627
  } | {
77511
77628
  /** ID of the event. */
77512
77629
  event_id: string;
77513
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77630
+ /** ID of the workspace associated with the event. */
77514
77631
  workspace_id: string;
77515
77632
  /** Date and time at which the event was created. */
77516
77633
  created_at: string;
77517
77634
  /** Date and time at which the event occurred. */
77518
77635
  occurred_at: string;
77519
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77636
+ /** ID of the connected account. */
77520
77637
  connected_account_id?: string | undefined;
77521
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
77638
+ /** ID of the access system. */
77522
77639
  acs_system_id: string;
77640
+ /** ID of the affected access group. */
77523
77641
  acs_access_group_id: string;
77524
77642
  event_type: 'acs_access_group.deleted';
77525
77643
  } | {
77526
77644
  /** ID of the event. */
77527
77645
  event_id: string;
77528
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77646
+ /** ID of the workspace associated with the event. */
77529
77647
  workspace_id: string;
77530
77648
  /** Date and time at which the event was created. */
77531
77649
  created_at: string;
77532
77650
  /** Date and time at which the event occurred. */
77533
77651
  occurred_at: string;
77534
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77652
+ /** ID of the connected account. */
77535
77653
  connected_account_id?: string | undefined;
77536
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
77654
+ /** ID of the access system. */
77537
77655
  acs_system_id: string;
77538
77656
  acs_entrance_id: string;
77539
77657
  event_type: 'acs_entrance.added';
77540
77658
  } | {
77541
77659
  /** ID of the event. */
77542
77660
  event_id: string;
77543
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77661
+ /** ID of the workspace associated with the event. */
77544
77662
  workspace_id: string;
77545
77663
  /** Date and time at which the event was created. */
77546
77664
  created_at: string;
77547
77665
  /** Date and time at which the event occurred. */
77548
77666
  occurred_at: string;
77549
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77667
+ /** ID of the connected account. */
77550
77668
  connected_account_id?: string | undefined;
77551
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
77669
+ /** ID of the access system. */
77552
77670
  acs_system_id: string;
77553
77671
  acs_entrance_id: string;
77554
77672
  event_type: 'acs_entrance.removed';
77555
77673
  } | {
77556
77674
  /** ID of the event. */
77557
77675
  event_id: string;
77558
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77676
+ /** ID of the workspace associated with the event. */
77559
77677
  workspace_id: string;
77560
77678
  /** Date and time at which the event was created. */
77561
77679
  created_at: string;
77562
77680
  /** Date and time at which the event occurred. */
77563
77681
  occurred_at: string;
77564
- /** ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
77682
+ /** ID of the affected client session. */
77565
77683
  client_session_id: string;
77566
77684
  event_type: 'client_session.deleted';
77567
77685
  } | {
77568
77686
  /** ID of the event. */
77569
77687
  event_id: string;
77570
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77688
+ /** ID of the workspace associated with the event. */
77571
77689
  workspace_id: string;
77572
77690
  /** Date and time at which the event was created. */
77573
77691
  created_at: string;
77574
77692
  /** Date and time at which the event occurred. */
77575
77693
  occurred_at: string;
77576
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77694
+ /** ID of the affected connected account. */
77577
77695
  connected_account_id: string;
77578
77696
  event_type: 'connected_account.connected';
77579
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
77697
+ /** ID of the Connect Webview associated with the event. */
77580
77698
  connect_webview_id: string;
77581
77699
  } | {
77582
77700
  /** ID of the event. */
77583
77701
  event_id: string;
77584
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77702
+ /** ID of the workspace associated with the event. */
77585
77703
  workspace_id: string;
77586
77704
  /** Date and time at which the event was created. */
77587
77705
  created_at: string;
77588
77706
  /** Date and time at which the event occurred. */
77589
77707
  occurred_at: string;
77590
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77708
+ /** ID of the affected connected account. */
77591
77709
  connected_account_id: string;
77592
77710
  event_type: 'connected_account.created';
77593
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
77711
+ /** ID of the Connect Webview associated with the event. */
77594
77712
  connect_webview_id: string;
77595
77713
  } | {
77596
77714
  /** ID of the event. */
77597
77715
  event_id: string;
77598
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77716
+ /** ID of the workspace associated with the event. */
77599
77717
  workspace_id: string;
77600
77718
  /** Date and time at which the event was created. */
77601
77719
  created_at: string;
77602
77720
  /** Date and time at which the event occurred. */
77603
77721
  occurred_at: string;
77604
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77722
+ /** ID of the affected connected account. */
77605
77723
  connected_account_id: string;
77606
77724
  event_type: 'connected_account.successful_login';
77607
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
77725
+ /** ID of the Connect Webview associated with the event. */
77608
77726
  connect_webview_id: string;
77609
77727
  } | {
77610
77728
  /** ID of the event. */
77611
77729
  event_id: string;
77612
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77730
+ /** ID of the workspace associated with the event. */
77613
77731
  workspace_id: string;
77614
77732
  /** Date and time at which the event was created. */
77615
77733
  created_at: string;
77616
77734
  /** Date and time at which the event occurred. */
77617
77735
  occurred_at: string;
77618
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77736
+ /** ID of the affected connected account. */
77619
77737
  connected_account_id: string;
77620
77738
  event_type: 'connected_account.disconnected';
77621
77739
  } | {
77622
77740
  /** ID of the event. */
77623
77741
  event_id: string;
77624
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77742
+ /** ID of the workspace associated with the event. */
77625
77743
  workspace_id: string;
77626
77744
  /** Date and time at which the event was created. */
77627
77745
  created_at: string;
77628
77746
  /** Date and time at which the event occurred. */
77629
77747
  occurred_at: string;
77630
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77748
+ /** ID of the affected connected account. */
77631
77749
  connected_account_id: string;
77632
77750
  event_type: 'connected_account.completed_first_sync';
77633
77751
  } | {
77634
77752
  /** ID of the event. */
77635
77753
  event_id: string;
77636
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77754
+ /** ID of the workspace associated with the event. */
77637
77755
  workspace_id: string;
77638
77756
  /** Date and time at which the event was created. */
77639
77757
  created_at: string;
77640
77758
  /** Date and time at which the event occurred. */
77641
77759
  occurred_at: string;
77642
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77760
+ /** ID of the affected connected account. */
77643
77761
  connected_account_id: string;
77644
77762
  event_type: 'connected_account.deleted';
77645
77763
  } | {
77646
77764
  /** ID of the event. */
77647
77765
  event_id: string;
77648
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77766
+ /** ID of the workspace associated with the event. */
77649
77767
  workspace_id: string;
77650
77768
  /** Date and time at which the event was created. */
77651
77769
  created_at: string;
77652
77770
  /** Date and time at which the event occurred. */
77653
77771
  occurred_at: string;
77654
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77772
+ /** ID of the affected connected account. */
77655
77773
  connected_account_id: string;
77656
77774
  event_type: 'connected_account.completed_first_sync_after_reconnection';
77657
77775
  } | {
77658
77776
  /** ID of the event. */
77659
77777
  event_id: string;
77660
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77778
+ /** ID of the workspace associated with the event. */
77661
77779
  workspace_id: string;
77662
77780
  /** Date and time at which the event was created. */
77663
77781
  created_at: string;
77664
77782
  /** Date and time at which the event occurred. */
77665
77783
  occurred_at: string;
77666
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
77784
+ /** ID of the affected action attempt. */
77667
77785
  action_attempt_id: string;
77668
- /** Type of action. */
77786
+ /** Type of the action. */
77669
77787
  action_type: string;
77670
77788
  /** Status of the action. */
77671
77789
  status: string;
@@ -77673,15 +77791,15 @@ interface Routes {
77673
77791
  } | {
77674
77792
  /** ID of the event. */
77675
77793
  event_id: string;
77676
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77794
+ /** ID of the workspace associated with the event. */
77677
77795
  workspace_id: string;
77678
77796
  /** Date and time at which the event was created. */
77679
77797
  created_at: string;
77680
77798
  /** Date and time at which the event occurred. */
77681
77799
  occurred_at: string;
77682
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
77800
+ /** ID of the affected action attempt. */
77683
77801
  action_attempt_id: string;
77684
- /** Type of action. */
77802
+ /** Type of the action. */
77685
77803
  action_type: string;
77686
77804
  /** Status of the action. */
77687
77805
  status: string;
@@ -77689,15 +77807,15 @@ interface Routes {
77689
77807
  } | {
77690
77808
  /** ID of the event. */
77691
77809
  event_id: string;
77692
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77810
+ /** ID of the workspace associated with the event. */
77693
77811
  workspace_id: string;
77694
77812
  /** Date and time at which the event was created. */
77695
77813
  created_at: string;
77696
77814
  /** Date and time at which the event occurred. */
77697
77815
  occurred_at: string;
77698
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
77816
+ /** ID of the affected action attempt. */
77699
77817
  action_attempt_id: string;
77700
- /** Type of action. */
77818
+ /** Type of the action. */
77701
77819
  action_type: string;
77702
77820
  /** Status of the action. */
77703
77821
  status: string;
@@ -77705,15 +77823,15 @@ interface Routes {
77705
77823
  } | {
77706
77824
  /** ID of the event. */
77707
77825
  event_id: string;
77708
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77826
+ /** ID of the workspace associated with the event. */
77709
77827
  workspace_id: string;
77710
77828
  /** Date and time at which the event was created. */
77711
77829
  created_at: string;
77712
77830
  /** Date and time at which the event occurred. */
77713
77831
  occurred_at: string;
77714
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
77832
+ /** ID of the affected action attempt. */
77715
77833
  action_attempt_id: string;
77716
- /** Type of action. */
77834
+ /** Type of the action. */
77717
77835
  action_type: string;
77718
77836
  /** Status of the action. */
77719
77837
  status: string;
@@ -77721,111 +77839,111 @@ interface Routes {
77721
77839
  } | {
77722
77840
  /** ID of the event. */
77723
77841
  event_id: string;
77724
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77842
+ /** ID of the workspace associated with the event. */
77725
77843
  workspace_id: string;
77726
77844
  /** Date and time at which the event was created. */
77727
77845
  created_at: string;
77728
77846
  /** Date and time at which the event occurred. */
77729
77847
  occurred_at: string;
77730
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
77848
+ /** ID of the affected Connect Webview. */
77731
77849
  connect_webview_id: string;
77732
77850
  event_type: 'connect_webview.login_succeeded';
77733
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77851
+ /** ID of the connected account associated with the event. */
77734
77852
  connected_account_id: string;
77735
77853
  } | {
77736
77854
  /** ID of the event. */
77737
77855
  event_id: string;
77738
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77856
+ /** ID of the workspace associated with the event. */
77739
77857
  workspace_id: string;
77740
77858
  /** Date and time at which the event was created. */
77741
77859
  created_at: string;
77742
77860
  /** Date and time at which the event occurred. */
77743
77861
  occurred_at: string;
77744
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
77862
+ /** ID of the affected Connect Webview. */
77745
77863
  connect_webview_id: string;
77746
77864
  event_type: 'connect_webview.login_failed';
77747
77865
  } | {
77748
77866
  /** ID of the event. */
77749
77867
  event_id: string;
77750
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77868
+ /** ID of the workspace associated with the event. */
77751
77869
  workspace_id: string;
77752
77870
  /** Date and time at which the event was created. */
77753
77871
  created_at: string;
77754
77872
  /** Date and time at which the event occurred. */
77755
77873
  occurred_at: string;
77756
- /** ID of the device. */
77874
+ /** ID of the affected device. */
77757
77875
  device_id: string;
77758
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77876
+ /** ID of the connected account associated with the event. */
77759
77877
  connected_account_id: string;
77760
77878
  event_type: 'device.connected';
77761
77879
  } | {
77762
77880
  /** ID of the event. */
77763
77881
  event_id: string;
77764
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77882
+ /** ID of the workspace associated with the event. */
77765
77883
  workspace_id: string;
77766
77884
  /** Date and time at which the event was created. */
77767
77885
  created_at: string;
77768
77886
  /** Date and time at which the event occurred. */
77769
77887
  occurred_at: string;
77770
- /** ID of the device. */
77888
+ /** ID of the affected device. */
77771
77889
  device_id: string;
77772
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77890
+ /** ID of the connected account associated with the event. */
77773
77891
  connected_account_id: string;
77774
77892
  event_type: 'device.added';
77775
77893
  } | {
77776
77894
  /** ID of the event. */
77777
77895
  event_id: string;
77778
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77896
+ /** ID of the workspace associated with the event. */
77779
77897
  workspace_id: string;
77780
77898
  /** Date and time at which the event was created. */
77781
77899
  created_at: string;
77782
77900
  /** Date and time at which the event occurred. */
77783
77901
  occurred_at: string;
77784
- /** ID of the device. */
77902
+ /** ID of the affected device. */
77785
77903
  device_id: string;
77786
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77904
+ /** ID of the connected account associated with the event. */
77787
77905
  connected_account_id: string;
77788
77906
  event_type: 'device.converted_to_unmanaged';
77789
77907
  } | {
77790
77908
  /** ID of the event. */
77791
77909
  event_id: string;
77792
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77910
+ /** ID of the workspace associated with the event. */
77793
77911
  workspace_id: string;
77794
77912
  /** Date and time at which the event was created. */
77795
77913
  created_at: string;
77796
77914
  /** Date and time at which the event occurred. */
77797
77915
  occurred_at: string;
77798
- /** ID of the device. */
77916
+ /** ID of the affected device. */
77799
77917
  device_id: string;
77800
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77918
+ /** ID of the connected account associated with the event. */
77801
77919
  connected_account_id: string;
77802
77920
  event_type: 'device.unmanaged.converted_to_managed';
77803
77921
  } | {
77804
77922
  /** ID of the event. */
77805
77923
  event_id: string;
77806
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77924
+ /** ID of the workspace associated with the event. */
77807
77925
  workspace_id: string;
77808
77926
  /** Date and time at which the event was created. */
77809
77927
  created_at: string;
77810
77928
  /** Date and time at which the event occurred. */
77811
77929
  occurred_at: string;
77812
- /** ID of the device. */
77930
+ /** ID of the affected device. */
77813
77931
  device_id: string;
77814
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77932
+ /** ID of the connected account associated with the event. */
77815
77933
  connected_account_id: string;
77816
77934
  event_type: 'device.unmanaged.connected';
77817
77935
  } | {
77818
77936
  /** ID of the event. */
77819
77937
  event_id: string;
77820
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77938
+ /** ID of the workspace associated with the event. */
77821
77939
  workspace_id: string;
77822
77940
  /** Date and time at which the event was created. */
77823
77941
  created_at: string;
77824
77942
  /** Date and time at which the event occurred. */
77825
77943
  occurred_at: string;
77826
- /** ID of the device. */
77944
+ /** ID of the affected device. */
77827
77945
  device_id: string;
77828
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77946
+ /** ID of the connected account associated with the event. */
77829
77947
  connected_account_id: string;
77830
77948
  event_type: 'device.disconnected';
77831
77949
  /** Error code associated with the disconnection event, if any. */
@@ -77833,15 +77951,15 @@ interface Routes {
77833
77951
  } | {
77834
77952
  /** ID of the event. */
77835
77953
  event_id: string;
77836
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77954
+ /** ID of the workspace associated with the event. */
77837
77955
  workspace_id: string;
77838
77956
  /** Date and time at which the event was created. */
77839
77957
  created_at: string;
77840
77958
  /** Date and time at which the event occurred. */
77841
77959
  occurred_at: string;
77842
- /** ID of the device. */
77960
+ /** ID of the affected device. */
77843
77961
  device_id: string;
77844
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77962
+ /** ID of the connected account associated with the event. */
77845
77963
  connected_account_id: string;
77846
77964
  event_type: 'device.unmanaged.disconnected';
77847
77965
  /** Error code associated with the disconnection event, if any. */
@@ -77849,240 +77967,240 @@ interface Routes {
77849
77967
  } | {
77850
77968
  /** ID of the event. */
77851
77969
  event_id: string;
77852
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77970
+ /** ID of the workspace associated with the event. */
77853
77971
  workspace_id: string;
77854
77972
  /** Date and time at which the event was created. */
77855
77973
  created_at: string;
77856
77974
  /** Date and time at which the event occurred. */
77857
77975
  occurred_at: string;
77858
- /** ID of the device. */
77976
+ /** ID of the affected device. */
77859
77977
  device_id: string;
77860
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77978
+ /** ID of the connected account associated with the event. */
77861
77979
  connected_account_id: string;
77862
77980
  event_type: 'device.tampered';
77863
77981
  } | {
77864
77982
  /** ID of the event. */
77865
77983
  event_id: string;
77866
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
77984
+ /** ID of the workspace associated with the event. */
77867
77985
  workspace_id: string;
77868
77986
  /** Date and time at which the event was created. */
77869
77987
  created_at: string;
77870
77988
  /** Date and time at which the event occurred. */
77871
77989
  occurred_at: string;
77872
- /** ID of the device. */
77990
+ /** ID of the affected device. */
77873
77991
  device_id: string;
77874
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
77992
+ /** ID of the connected account associated with the event. */
77875
77993
  connected_account_id: string;
77876
77994
  event_type: 'device.low_battery';
77877
- /** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
77995
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
77878
77996
  battery_level: number;
77879
77997
  } | {
77880
77998
  /** ID of the event. */
77881
77999
  event_id: string;
77882
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78000
+ /** ID of the workspace associated with the event. */
77883
78001
  workspace_id: string;
77884
78002
  /** Date and time at which the event was created. */
77885
78003
  created_at: string;
77886
78004
  /** Date and time at which the event occurred. */
77887
78005
  occurred_at: string;
77888
- /** ID of the device. */
78006
+ /** ID of the affected device. */
77889
78007
  device_id: string;
77890
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78008
+ /** ID of the connected account associated with the event. */
77891
78009
  connected_account_id: string;
77892
78010
  event_type: 'device.battery_status_changed';
77893
- /** Battery status of the device, calculated from the numeric `battery_level` value. */
78011
+ /** Battery status of the affected device, calculated from the numeric `battery_level` value. */
77894
78012
  battery_status: 'critical' | 'low' | 'good' | 'full';
77895
- /** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
78013
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
77896
78014
  battery_level: number;
77897
78015
  } | {
77898
78016
  /** ID of the event. */
77899
78017
  event_id: string;
77900
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78018
+ /** ID of the workspace associated with the event. */
77901
78019
  workspace_id: string;
77902
78020
  /** Date and time at which the event was created. */
77903
78021
  created_at: string;
77904
78022
  /** Date and time at which the event occurred. */
77905
78023
  occurred_at: string;
77906
- /** ID of the device. */
78024
+ /** ID of the affected device. */
77907
78025
  device_id: string;
77908
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78026
+ /** ID of the connected account associated with the event. */
77909
78027
  connected_account_id: string;
77910
78028
  event_type: 'device.removed';
77911
78029
  } | {
77912
78030
  /** ID of the event. */
77913
78031
  event_id: string;
77914
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78032
+ /** ID of the workspace associated with the event. */
77915
78033
  workspace_id: string;
77916
78034
  /** Date and time at which the event was created. */
77917
78035
  created_at: string;
77918
78036
  /** Date and time at which the event occurred. */
77919
78037
  occurred_at: string;
77920
- /** ID of the device. */
78038
+ /** ID of the affected device. */
77921
78039
  device_id: string;
77922
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78040
+ /** ID of the connected account associated with the event. */
77923
78041
  connected_account_id: string;
77924
78042
  event_type: 'device.deleted';
77925
78043
  } | {
77926
78044
  /** ID of the event. */
77927
78045
  event_id: string;
77928
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78046
+ /** ID of the workspace associated with the event. */
77929
78047
  workspace_id: string;
77930
78048
  /** Date and time at which the event was created. */
77931
78049
  created_at: string;
77932
78050
  /** Date and time at which the event occurred. */
77933
78051
  occurred_at: string;
77934
- /** ID of the device. */
78052
+ /** ID of the affected device. */
77935
78053
  device_id: string;
77936
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78054
+ /** ID of the connected account associated with the event. */
77937
78055
  connected_account_id: string;
77938
78056
  event_type: 'device.third_party_integration_detected';
77939
78057
  } | {
77940
78058
  /** ID of the event. */
77941
78059
  event_id: string;
77942
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78060
+ /** ID of the workspace associated with the event. */
77943
78061
  workspace_id: string;
77944
78062
  /** Date and time at which the event was created. */
77945
78063
  created_at: string;
77946
78064
  /** Date and time at which the event occurred. */
77947
78065
  occurred_at: string;
77948
- /** ID of the device. */
78066
+ /** ID of the affected device. */
77949
78067
  device_id: string;
77950
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78068
+ /** ID of the connected account associated with the event. */
77951
78069
  connected_account_id: string;
77952
78070
  event_type: 'device.third_party_integration_no_longer_detected';
77953
78071
  } | {
77954
78072
  /** ID of the event. */
77955
78073
  event_id: string;
77956
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78074
+ /** ID of the workspace associated with the event. */
77957
78075
  workspace_id: string;
77958
78076
  /** Date and time at which the event was created. */
77959
78077
  created_at: string;
77960
78078
  /** Date and time at which the event occurred. */
77961
78079
  occurred_at: string;
77962
- /** ID of the device. */
78080
+ /** ID of the affected device. */
77963
78081
  device_id: string;
77964
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78082
+ /** ID of the connected account associated with the event. */
77965
78083
  connected_account_id: string;
77966
78084
  event_type: 'device.salto.privacy_mode_activated';
77967
78085
  } | {
77968
78086
  /** ID of the event. */
77969
78087
  event_id: string;
77970
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78088
+ /** ID of the workspace associated with the event. */
77971
78089
  workspace_id: string;
77972
78090
  /** Date and time at which the event was created. */
77973
78091
  created_at: string;
77974
78092
  /** Date and time at which the event occurred. */
77975
78093
  occurred_at: string;
77976
- /** ID of the device. */
78094
+ /** ID of the affected device. */
77977
78095
  device_id: string;
77978
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78096
+ /** ID of the connected account associated with the event. */
77979
78097
  connected_account_id: string;
77980
78098
  event_type: 'device.salto.privacy_mode_deactivated';
77981
78099
  } | {
77982
78100
  /** ID of the event. */
77983
78101
  event_id: string;
77984
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78102
+ /** ID of the workspace associated with the event. */
77985
78103
  workspace_id: string;
77986
78104
  /** Date and time at which the event was created. */
77987
78105
  created_at: string;
77988
78106
  /** Date and time at which the event occurred. */
77989
78107
  occurred_at: string;
77990
- /** ID of the device. */
78108
+ /** ID of the affected device. */
77991
78109
  device_id: string;
77992
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78110
+ /** ID of the connected account associated with the event. */
77993
78111
  connected_account_id: string;
77994
78112
  event_type: 'device.connection_became_flaky';
77995
78113
  } | {
77996
78114
  /** ID of the event. */
77997
78115
  event_id: string;
77998
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78116
+ /** ID of the workspace associated with the event. */
77999
78117
  workspace_id: string;
78000
78118
  /** Date and time at which the event was created. */
78001
78119
  created_at: string;
78002
78120
  /** Date and time at which the event occurred. */
78003
78121
  occurred_at: string;
78004
- /** ID of the device. */
78122
+ /** ID of the affected device. */
78005
78123
  device_id: string;
78006
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78124
+ /** ID of the connected account associated with the event. */
78007
78125
  connected_account_id: string;
78008
78126
  event_type: 'device.connection_stabilized';
78009
78127
  } | {
78010
78128
  /** ID of the event. */
78011
78129
  event_id: string;
78012
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78130
+ /** ID of the workspace associated with the event. */
78013
78131
  workspace_id: string;
78014
78132
  /** Date and time at which the event was created. */
78015
78133
  created_at: string;
78016
78134
  /** Date and time at which the event occurred. */
78017
78135
  occurred_at: string;
78018
- /** ID of the device. */
78136
+ /** ID of the affected device. */
78019
78137
  device_id: string;
78020
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78138
+ /** ID of the connected account associated with the event. */
78021
78139
  connected_account_id: string;
78022
78140
  event_type: 'device.error.subscription_required';
78023
78141
  } | {
78024
78142
  /** ID of the event. */
78025
78143
  event_id: string;
78026
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78144
+ /** ID of the workspace associated with the event. */
78027
78145
  workspace_id: string;
78028
78146
  /** Date and time at which the event was created. */
78029
78147
  created_at: string;
78030
78148
  /** Date and time at which the event occurred. */
78031
78149
  occurred_at: string;
78032
- /** ID of the device. */
78150
+ /** ID of the affected device. */
78033
78151
  device_id: string;
78034
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78152
+ /** ID of the connected account associated with the event. */
78035
78153
  connected_account_id: string;
78036
78154
  event_type: 'device.error.subscription_required.resolved';
78037
78155
  } | {
78038
78156
  /** ID of the event. */
78039
78157
  event_id: string;
78040
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78158
+ /** ID of the workspace associated with the event. */
78041
78159
  workspace_id: string;
78042
78160
  /** Date and time at which the event was created. */
78043
78161
  created_at: string;
78044
78162
  /** Date and time at which the event occurred. */
78045
78163
  occurred_at: string;
78046
- /** ID of the device. */
78164
+ /** ID of the affected device. */
78047
78165
  device_id: string;
78048
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78166
+ /** ID of the connected account associated with the event. */
78049
78167
  connected_account_id: string;
78050
78168
  event_type: 'device.accessory_keypad_connected';
78051
78169
  } | {
78052
78170
  /** ID of the event. */
78053
78171
  event_id: string;
78054
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78172
+ /** ID of the workspace associated with the event. */
78055
78173
  workspace_id: string;
78056
78174
  /** Date and time at which the event was created. */
78057
78175
  created_at: string;
78058
78176
  /** Date and time at which the event occurred. */
78059
78177
  occurred_at: string;
78060
- /** ID of the device. */
78178
+ /** ID of the affected device. */
78061
78179
  device_id: string;
78062
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78180
+ /** ID of the connected account associated with the event. */
78063
78181
  connected_account_id: string;
78064
78182
  event_type: 'device.accessory_keypad_disconnected';
78065
78183
  } | {
78066
78184
  /** ID of the event. */
78067
78185
  event_id: string;
78068
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78186
+ /** ID of the workspace associated with the event. */
78069
78187
  workspace_id: string;
78070
78188
  /** Date and time at which the event was created. */
78071
78189
  created_at: string;
78072
78190
  /** Date and time at which the event occurred. */
78073
78191
  occurred_at: string;
78074
- /** ID of the device. */
78192
+ /** ID of the affected device. */
78075
78193
  device_id: string;
78076
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78194
+ /** ID of the connected account associated with the event. */
78077
78195
  connected_account_id: string;
78078
78196
  event_type: 'noise_sensor.noise_threshold_triggered';
78079
78197
  /** Detected noise level in decibels. */
78080
78198
  noise_level_decibels?: number | undefined;
78081
78199
  /** Detected noise level in Noiseaware Noise Risk Score (NRS). */
78082
78200
  noise_level_nrs?: number | undefined;
78083
- /** ID of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
78201
+ /** ID of the noise threshold that was triggered. */
78084
78202
  noise_threshold_id?: string | undefined;
78085
- /** Name of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
78203
+ /** Name of the noise threshold that was triggered. */
78086
78204
  noise_threshold_name?: string | undefined;
78087
78205
  /** Metadata from Noiseaware. */
78088
78206
  noiseaware_metadata?: Record<string, unknown> | undefined;
@@ -78091,94 +78209,94 @@ interface Routes {
78091
78209
  } | {
78092
78210
  /** ID of the event. */
78093
78211
  event_id: string;
78094
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78212
+ /** ID of the workspace associated with the event. */
78095
78213
  workspace_id: string;
78096
78214
  /** Date and time at which the event was created. */
78097
78215
  created_at: string;
78098
78216
  /** Date and time at which the event occurred. */
78099
78217
  occurred_at: string;
78100
- /** ID of the device. */
78218
+ /** ID of the affected device. */
78101
78219
  device_id: string;
78102
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78220
+ /** ID of the connected account associated with the event. */
78103
78221
  connected_account_id: string;
78104
78222
  event_type: 'lock.locked';
78105
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to lock the device. */
78223
+ /** ID of the access code that was used to lock the device. */
78106
78224
  access_code_id?: string | undefined;
78107
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the lock action. */
78225
+ /** ID of the action attempt associated with the lock action. */
78108
78226
  action_attempt_id?: string | undefined;
78109
- /** Method by which a [lock device](https://docs.seam.co/latest/capability-guides/smart-locks) 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. */
78227
+ /** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
78110
78228
  method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
78111
78229
  } | {
78112
78230
  /** ID of the event. */
78113
78231
  event_id: string;
78114
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78232
+ /** ID of the workspace associated with the event. */
78115
78233
  workspace_id: string;
78116
78234
  /** Date and time at which the event was created. */
78117
78235
  created_at: string;
78118
78236
  /** Date and time at which the event occurred. */
78119
78237
  occurred_at: string;
78120
- /** ID of the device. */
78238
+ /** ID of the affected device. */
78121
78239
  device_id: string;
78122
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78240
+ /** ID of the connected account associated with the event. */
78123
78241
  connected_account_id: string;
78124
78242
  event_type: 'lock.unlocked';
78125
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to unlock the device. */
78243
+ /** ID of the access code that was used to unlock the affected device. */
78126
78244
  access_code_id?: string | undefined;
78127
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the unlock action. */
78245
+ /** ID of the action attempt associated with the unlock action. */
78128
78246
  action_attempt_id?: string | undefined;
78129
- /** Method by which a [lock device](https://docs.seam.co/latest/capability-guides/smart-locks) 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. */
78247
+ /** Method by which the affected 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. */
78130
78248
  method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
78131
78249
  } | {
78132
78250
  /** ID of the event. */
78133
78251
  event_id: string;
78134
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78252
+ /** ID of the workspace associated with the event. */
78135
78253
  workspace_id: string;
78136
78254
  /** Date and time at which the event was created. */
78137
78255
  created_at: string;
78138
78256
  /** Date and time at which the event occurred. */
78139
78257
  occurred_at: string;
78140
- /** ID of the device. */
78258
+ /** ID of the affected device. */
78141
78259
  device_id: string;
78142
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78260
+ /** ID of the connected account associated with the event. */
78143
78261
  connected_account_id: string;
78144
78262
  event_type: 'lock.access_denied';
78145
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used in the unlock attempts. */
78263
+ /** ID of the access code that was used in the unlock attempts. */
78146
78264
  access_code_id?: string | undefined;
78147
78265
  } | {
78148
78266
  /** ID of the event. */
78149
78267
  event_id: string;
78150
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78268
+ /** ID of the workspace associated with the event. */
78151
78269
  workspace_id: string;
78152
78270
  /** Date and time at which the event was created. */
78153
78271
  created_at: string;
78154
78272
  /** Date and time at which the event occurred. */
78155
78273
  occurred_at: string;
78156
- /** ID of the device. */
78274
+ /** ID of the affected device. */
78157
78275
  device_id: string;
78158
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78276
+ /** ID of the connected account associated with the event. */
78159
78277
  connected_account_id: string;
78160
78278
  event_type: 'thermostat.climate_preset_activated';
78161
- /** 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. */
78279
+ /** ID of the thermostat schedule that prompted the affected climate preset to be activated. */
78162
78280
  thermostat_schedule_id: string | null;
78163
- /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated. */
78281
+ /** Key of the climate preset that was activated. */
78164
78282
  climate_preset_key: string;
78165
- /** 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](https://docs.seam.co/latest/capability-guides/thermostats). */
78283
+ /** Indicates whether the climate preset that was activated is the fallback climate preset for the thermostat. */
78166
78284
  is_fallback_climate_preset: boolean;
78167
78285
  } | {
78168
78286
  /** ID of the event. */
78169
78287
  event_id: string;
78170
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78288
+ /** ID of the workspace associated with the event. */
78171
78289
  workspace_id: string;
78172
78290
  /** Date and time at which the event was created. */
78173
78291
  created_at: string;
78174
78292
  /** Date and time at which the event occurred. */
78175
78293
  occurred_at: string;
78176
- /** ID of the device. */
78294
+ /** ID of the affected device. */
78177
78295
  device_id: string;
78178
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78296
+ /** ID of the connected account associated with the event. */
78179
78297
  connected_account_id: string;
78180
78298
  event_type: 'thermostat.manually_adjusted';
78181
- /** Method used to adjust the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
78299
+ /** Method used to adjust the affected thermostat manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the thermostat. */
78182
78300
  method: 'seam' | 'external';
78183
78301
  /** Desired [fan mode setting](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`. */
78184
78302
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
@@ -78195,133 +78313,133 @@ interface Routes {
78195
78313
  } | {
78196
78314
  /** ID of the event. */
78197
78315
  event_id: string;
78198
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78316
+ /** ID of the workspace associated with the event. */
78199
78317
  workspace_id: string;
78200
78318
  /** Date and time at which the event was created. */
78201
78319
  created_at: string;
78202
78320
  /** Date and time at which the event occurred. */
78203
78321
  occurred_at: string;
78204
- /** ID of the device. */
78322
+ /** ID of the affected device. */
78205
78323
  device_id: string;
78206
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78324
+ /** ID of the connected account associated with the event. */
78207
78325
  connected_account_id: string;
78208
78326
  event_type: 'thermostat.temperature_threshold_exceeded';
78209
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
78327
+ /** Temperature, in °C, reported by the affected thermostat. */
78210
78328
  temperature_celsius: number;
78211
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
78329
+ /** Temperature, in °F, reported by the affected thermostat. */
78212
78330
  temperature_fahrenheit: number;
78213
- /** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
78331
+ /** Upper temperature limit, in °C, defined by the set threshold. */
78214
78332
  upper_limit_celsius: number | null;
78215
- /** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
78333
+ /** Upper temperature limit, in °F, defined by the set threshold. */
78216
78334
  upper_limit_fahrenheit: number | null;
78217
- /** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
78335
+ /** Lower temperature limit, in °C, defined by the set threshold. */
78218
78336
  lower_limit_celsius: number | null;
78219
- /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
78337
+ /** Lower temperature limit, in °F, defined by the set threshold. */
78220
78338
  lower_limit_fahrenheit: number | null;
78221
78339
  } | {
78222
78340
  /** ID of the event. */
78223
78341
  event_id: string;
78224
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78342
+ /** ID of the workspace associated with the event. */
78225
78343
  workspace_id: string;
78226
78344
  /** Date and time at which the event was created. */
78227
78345
  created_at: string;
78228
78346
  /** Date and time at which the event occurred. */
78229
78347
  occurred_at: string;
78230
- /** ID of the device. */
78348
+ /** ID of the affected device. */
78231
78349
  device_id: string;
78232
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78350
+ /** ID of the connected account associated with the event. */
78233
78351
  connected_account_id: string;
78234
78352
  event_type: 'thermostat.temperature_threshold_no_longer_exceeded';
78235
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
78353
+ /** Temperature, in °C, reported by the affected thermostat. */
78236
78354
  temperature_celsius: number;
78237
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
78355
+ /** Temperature, in °F, reported by the affected thermostat. */
78238
78356
  temperature_fahrenheit: number;
78239
- /** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
78357
+ /** Upper temperature limit, in °C, defined by the set threshold. */
78240
78358
  upper_limit_celsius: number | null;
78241
- /** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
78359
+ /** Upper temperature limit, in °F, defined by the set threshold. */
78242
78360
  upper_limit_fahrenheit: number | null;
78243
- /** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
78361
+ /** Lower temperature limit, in °C, defined by the set threshold. */
78244
78362
  lower_limit_celsius: number | null;
78245
- /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
78363
+ /** Lower temperature limit, in °F, defined by the set threshold. */
78246
78364
  lower_limit_fahrenheit: number | null;
78247
78365
  } | {
78248
78366
  /** ID of the event. */
78249
78367
  event_id: string;
78250
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78368
+ /** ID of the workspace associated with the event. */
78251
78369
  workspace_id: string;
78252
78370
  /** Date and time at which the event was created. */
78253
78371
  created_at: string;
78254
78372
  /** Date and time at which the event occurred. */
78255
78373
  occurred_at: string;
78256
- /** ID of the device. */
78374
+ /** ID of the affected device. */
78257
78375
  device_id: string;
78258
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78376
+ /** ID of the connected account associated with the event. */
78259
78377
  connected_account_id: string;
78260
78378
  event_type: 'thermostat.temperature_reached_set_point';
78261
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
78379
+ /** Temperature, in °C, reported by the affected thermostat. */
78262
78380
  temperature_celsius: number;
78263
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
78381
+ /** Temperature, in °F, reported by the affected thermostat. */
78264
78382
  temperature_fahrenheit: number;
78265
- /** Desired temperature, in °C, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
78383
+ /** Desired temperature, in °C, defined by the affected thermostat's cooling or heating set point. */
78266
78384
  desired_temperature_celsius?: number | undefined;
78267
- /** Desired temperature, in °F, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
78385
+ /** Desired temperature, in °F, defined by the affected thermostat's cooling or heating set point. */
78268
78386
  desired_temperature_fahrenheit?: number | undefined;
78269
78387
  } | {
78270
78388
  /** ID of the event. */
78271
78389
  event_id: string;
78272
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78390
+ /** ID of the workspace associated with the event. */
78273
78391
  workspace_id: string;
78274
78392
  /** Date and time at which the event was created. */
78275
78393
  created_at: string;
78276
78394
  /** Date and time at which the event occurred. */
78277
78395
  occurred_at: string;
78278
- /** ID of the device. */
78396
+ /** ID of the affected device. */
78279
78397
  device_id: string;
78280
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78398
+ /** ID of the connected account associated with the event. */
78281
78399
  connected_account_id: string;
78282
78400
  event_type: 'thermostat.temperature_changed';
78283
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
78401
+ /** Temperature, in °C, reported by the affected thermostat. */
78284
78402
  temperature_celsius: number;
78285
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
78403
+ /** Temperature, in °F, reported by the affected thermostat. */
78286
78404
  temperature_fahrenheit: number;
78287
78405
  } | {
78288
78406
  /** ID of the event. */
78289
78407
  event_id: string;
78290
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78408
+ /** ID of the workspace associated with the event. */
78291
78409
  workspace_id: string;
78292
78410
  /** Date and time at which the event was created. */
78293
78411
  created_at: string;
78294
78412
  /** Date and time at which the event occurred. */
78295
78413
  occurred_at: string;
78296
- /** ID of the device. */
78414
+ /** ID of the affected device. */
78297
78415
  device_id: string;
78298
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78416
+ /** ID of the connected account associated with the event. */
78299
78417
  connected_account_id: string;
78300
78418
  event_type: 'device.name_changed';
78301
- /** The new name of the device. */
78419
+ /** The new name of the affected device. */
78302
78420
  device_name: string;
78303
78421
  } | {
78304
78422
  /** ID of the event. */
78305
78423
  event_id: string;
78306
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78424
+ /** ID of the workspace associated with the event. */
78307
78425
  workspace_id: string;
78308
78426
  /** Date and time at which the event was created. */
78309
78427
  created_at: string;
78310
78428
  /** Date and time at which the event occurred. */
78311
78429
  occurred_at: string;
78312
- /** ID of the [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut). */
78430
+ /** ID of the affected enrollment automation. */
78313
78431
  enrollment_automation_id: string;
78314
78432
  event_type: 'enrollment_automation.deleted';
78315
78433
  } | {
78316
78434
  /** ID of the event. */
78317
78435
  event_id: string;
78318
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78436
+ /** ID of the workspace associated with the event. */
78319
78437
  workspace_id: string;
78320
78438
  /** Date and time at which the event was created. */
78321
78439
  created_at: string;
78322
78440
  /** Date and time at which the event occurred. */
78323
78441
  occurred_at: string;
78324
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78442
+ /** ID of the affected phone device. */
78325
78443
  device_id: string;
78326
78444
  event_type: 'phone.deactivated';
78327
78445
  }) | undefined;
@@ -78334,21 +78452,37 @@ interface Routes {
78334
78452
  queryParams: {};
78335
78453
  jsonBody: {};
78336
78454
  commonParams: {
78455
+ /** Offset for the events that you want to list. */
78337
78456
  unstable_offset?: number | undefined;
78457
+ /** Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. */
78338
78458
  since?: string | undefined;
78459
+ /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
78339
78460
  between?: Array<string | Date> | undefined;
78461
+ /** ID of the device for which you want to list events. */
78340
78462
  device_id?: string | undefined;
78463
+ /** IDs of the devices for which you want to list events. */
78341
78464
  device_ids?: string[] | undefined;
78465
+ /** ID of the access system for which you want to list events. */
78342
78466
  acs_system_id?: string | undefined;
78467
+ /** IDs of the access systems for which you want to list events. */
78343
78468
  acs_system_ids?: string[] | undefined;
78469
+ /** ID of the access code for which you want to list events. */
78344
78470
  access_code_id?: string | undefined;
78471
+ /** IDs of the access codes for which you want to list events. */
78345
78472
  access_code_ids?: string[] | undefined;
78473
+ /** Type of the events that you want to list. */
78346
78474
  event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
78475
+ /** Types of the events that you want to list. */
78347
78476
  event_types?: Array<'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated'> | undefined;
78477
+ /** ID of the connected account for which you want to list events. */
78348
78478
  connected_account_id?: string | undefined;
78479
+ /** IDs of the connected accounts for which you want to list events. */
78349
78480
  connect_webview_id?: string | undefined;
78481
+ /** Numerical limit on the number of events to return. */
78350
78482
  limit?: number;
78483
+ /** IDs of the events that you want to list. */
78351
78484
  event_ids?: string[] | undefined;
78485
+ /** IDs of the customers for which you want to list events. */
78352
78486
  customer_ids?: string[] | undefined;
78353
78487
  };
78354
78488
  formData: {};
@@ -78356,705 +78490,710 @@ interface Routes {
78356
78490
  events: Array<{
78357
78491
  /** ID of the event. */
78358
78492
  event_id: string;
78359
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78493
+ /** ID of the workspace associated with the event. */
78360
78494
  workspace_id: string;
78361
78495
  /** Date and time at which the event was created. */
78362
78496
  created_at: string;
78363
78497
  /** Date and time at which the event occurred. */
78364
78498
  occurred_at: string;
78365
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78499
+ /** ID of the affected access code. */
78366
78500
  access_code_id: string;
78367
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78501
+ /** ID of the device associated with the affected access code. */
78368
78502
  device_id: string;
78369
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78503
+ /** ID of the connected account associated with the affected access codes. */
78370
78504
  connected_account_id: string;
78371
78505
  event_type: 'access_code.created';
78372
78506
  } | {
78373
78507
  /** ID of the event. */
78374
78508
  event_id: string;
78375
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78509
+ /** ID of the workspace associated with the event. */
78376
78510
  workspace_id: string;
78377
78511
  /** Date and time at which the event was created. */
78378
78512
  created_at: string;
78379
78513
  /** Date and time at which the event occurred. */
78380
78514
  occurred_at: string;
78381
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78515
+ /** ID of the affected access code. */
78382
78516
  access_code_id: string;
78383
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78517
+ /** ID of the device associated with the affected access code. */
78384
78518
  device_id: string;
78385
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78519
+ /** ID of the connected account associated with the affected access codes. */
78386
78520
  connected_account_id: string;
78387
78521
  event_type: 'access_code.changed';
78388
78522
  } | {
78389
78523
  /** ID of the event. */
78390
78524
  event_id: string;
78391
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78525
+ /** ID of the workspace associated with the event. */
78392
78526
  workspace_id: string;
78393
78527
  /** Date and time at which the event was created. */
78394
78528
  created_at: string;
78395
78529
  /** Date and time at which the event occurred. */
78396
78530
  occurred_at: string;
78397
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78531
+ /** ID of the affected access code. */
78398
78532
  access_code_id: string;
78399
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78533
+ /** ID of the device associated with the affected access code. */
78400
78534
  device_id: string;
78401
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78535
+ /** ID of the connected account associated with the affected access codes. */
78402
78536
  connected_account_id: string;
78403
78537
  event_type: 'access_code.scheduled_on_device';
78404
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78538
+ /** Code for the affected access code. */
78405
78539
  code: string;
78406
78540
  } | {
78407
78541
  /** ID of the event. */
78408
78542
  event_id: string;
78409
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78543
+ /** ID of the workspace associated with the event. */
78410
78544
  workspace_id: string;
78411
78545
  /** Date and time at which the event was created. */
78412
78546
  created_at: string;
78413
78547
  /** Date and time at which the event occurred. */
78414
78548
  occurred_at: string;
78415
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78549
+ /** ID of the affected access code. */
78416
78550
  access_code_id: string;
78417
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78551
+ /** ID of the device associated with the affected access code. */
78418
78552
  device_id: string;
78419
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78553
+ /** ID of the connected account associated with the affected access codes. */
78420
78554
  connected_account_id: string;
78421
78555
  event_type: 'access_code.set_on_device';
78422
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78556
+ /** Code for the affected access code. */
78423
78557
  code: string;
78424
78558
  } | {
78425
78559
  /** ID of the event. */
78426
78560
  event_id: string;
78427
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78561
+ /** ID of the workspace associated with the event. */
78428
78562
  workspace_id: string;
78429
78563
  /** Date and time at which the event was created. */
78430
78564
  created_at: string;
78431
78565
  /** Date and time at which the event occurred. */
78432
78566
  occurred_at: string;
78433
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78567
+ /** ID of the affected access code. */
78434
78568
  access_code_id: string;
78435
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78569
+ /** ID of the device associated with the affected access code. */
78436
78570
  device_id: string;
78437
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78571
+ /** ID of the connected account associated with the affected access codes. */
78438
78572
  connected_account_id: string;
78439
78573
  event_type: 'access_code.removed_from_device';
78440
78574
  } | {
78441
78575
  /** ID of the event. */
78442
78576
  event_id: string;
78443
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78577
+ /** ID of the workspace associated with the event. */
78444
78578
  workspace_id: string;
78445
78579
  /** Date and time at which the event was created. */
78446
78580
  created_at: string;
78447
78581
  /** Date and time at which the event occurred. */
78448
78582
  occurred_at: string;
78449
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78583
+ /** ID of the affected access code. */
78450
78584
  access_code_id: string;
78451
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78585
+ /** ID of the device associated with the affected access code. */
78452
78586
  device_id: string;
78453
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78587
+ /** ID of the connected account associated with the affected access codes. */
78454
78588
  connected_account_id: string;
78455
78589
  event_type: 'access_code.delay_in_setting_on_device';
78456
78590
  } | {
78457
78591
  /** ID of the event. */
78458
78592
  event_id: string;
78459
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78593
+ /** ID of the workspace associated with the event. */
78460
78594
  workspace_id: string;
78461
78595
  /** Date and time at which the event was created. */
78462
78596
  created_at: string;
78463
78597
  /** Date and time at which the event occurred. */
78464
78598
  occurred_at: string;
78465
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78599
+ /** ID of the affected access code. */
78466
78600
  access_code_id: string;
78467
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78601
+ /** ID of the device associated with the affected access code. */
78468
78602
  device_id: string;
78469
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78603
+ /** ID of the connected account associated with the affected access codes. */
78470
78604
  connected_account_id: string;
78471
78605
  event_type: 'access_code.failed_to_set_on_device';
78472
78606
  } | {
78473
78607
  /** ID of the event. */
78474
78608
  event_id: string;
78475
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78609
+ /** ID of the workspace associated with the event. */
78476
78610
  workspace_id: string;
78477
78611
  /** Date and time at which the event was created. */
78478
78612
  created_at: string;
78479
78613
  /** Date and time at which the event occurred. */
78480
78614
  occurred_at: string;
78481
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78615
+ /** ID of the affected access code. */
78482
78616
  access_code_id: string;
78483
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78617
+ /** ID of the device associated with the affected access code. */
78484
78618
  device_id: string;
78485
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78619
+ /** ID of the connected account associated with the affected access codes. */
78486
78620
  connected_account_id: string;
78487
78621
  event_type: 'access_code.deleted';
78488
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78622
+ /** Code for the affected access code. */
78489
78623
  code: string | null;
78490
78624
  } | {
78491
78625
  /** ID of the event. */
78492
78626
  event_id: string;
78493
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78627
+ /** ID of the workspace associated with the event. */
78494
78628
  workspace_id: string;
78495
78629
  /** Date and time at which the event was created. */
78496
78630
  created_at: string;
78497
78631
  /** Date and time at which the event occurred. */
78498
78632
  occurred_at: string;
78499
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78633
+ /** ID of the affected access code. */
78500
78634
  access_code_id: string;
78501
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78635
+ /** ID of the device associated with the affected access code. */
78502
78636
  device_id: string;
78503
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78637
+ /** ID of the connected account associated with the affected access codes. */
78504
78638
  connected_account_id: string;
78505
78639
  event_type: 'access_code.delay_in_removing_from_device';
78506
78640
  } | {
78507
78641
  /** ID of the event. */
78508
78642
  event_id: string;
78509
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78643
+ /** ID of the workspace associated with the event. */
78510
78644
  workspace_id: string;
78511
78645
  /** Date and time at which the event was created. */
78512
78646
  created_at: string;
78513
78647
  /** Date and time at which the event occurred. */
78514
78648
  occurred_at: string;
78515
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78649
+ /** ID of the affected access code. */
78516
78650
  access_code_id: string;
78517
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78651
+ /** ID of the device associated with the affected access code. */
78518
78652
  device_id: string;
78519
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78653
+ /** ID of the connected account associated with the affected access codes. */
78520
78654
  connected_account_id: string;
78521
78655
  event_type: 'access_code.failed_to_remove_from_device';
78522
78656
  } | {
78523
78657
  /** ID of the event. */
78524
78658
  event_id: string;
78525
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78659
+ /** ID of the workspace associated with the event. */
78526
78660
  workspace_id: string;
78527
78661
  /** Date and time at which the event was created. */
78528
78662
  created_at: string;
78529
78663
  /** Date and time at which the event occurred. */
78530
78664
  occurred_at: string;
78531
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78665
+ /** ID of the affected access code. */
78532
78666
  access_code_id: string;
78533
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78667
+ /** ID of the device associated with the affected access code. */
78534
78668
  device_id: string;
78535
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78669
+ /** ID of the connected account associated with the affected access codes. */
78536
78670
  connected_account_id: string;
78537
78671
  event_type: 'access_code.modified_external_to_seam';
78538
78672
  } | {
78539
78673
  /** ID of the event. */
78540
78674
  event_id: string;
78541
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78675
+ /** ID of the workspace associated with the event. */
78542
78676
  workspace_id: string;
78543
78677
  /** Date and time at which the event was created. */
78544
78678
  created_at: string;
78545
78679
  /** Date and time at which the event occurred. */
78546
78680
  occurred_at: string;
78547
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78681
+ /** ID of the affected access code. */
78548
78682
  access_code_id: string;
78549
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78683
+ /** ID of the device associated with the affected access code. */
78550
78684
  device_id: string;
78551
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78685
+ /** ID of the connected account associated with the affected access codes. */
78552
78686
  connected_account_id: string;
78553
78687
  event_type: 'access_code.deleted_external_to_seam';
78554
78688
  } | {
78555
78689
  /** ID of the event. */
78556
78690
  event_id: string;
78557
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78691
+ /** ID of the workspace associated with the event. */
78558
78692
  workspace_id: string;
78559
78693
  /** Date and time at which the event was created. */
78560
78694
  created_at: string;
78561
78695
  /** Date and time at which the event occurred. */
78562
78696
  occurred_at: string;
78563
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78697
+ /** ID of the affected access code. */
78564
78698
  access_code_id: string;
78565
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78699
+ /** ID of the device associated with the affected access code. */
78566
78700
  device_id: string;
78567
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78701
+ /** ID of the connected account associated with the affected access codes. */
78568
78702
  connected_account_id: string;
78569
78703
  event_type: 'access_code.backup_access_code_pulled';
78570
78704
  backup_access_code_id: string;
78571
78705
  } | {
78572
78706
  /** ID of the event. */
78573
78707
  event_id: string;
78574
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78708
+ /** ID of the workspace associated with the event. */
78575
78709
  workspace_id: string;
78576
78710
  /** Date and time at which the event was created. */
78577
78711
  created_at: string;
78578
78712
  /** Date and time at which the event occurred. */
78579
78713
  occurred_at: string;
78580
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78714
+ /** ID of the affected access code. */
78581
78715
  access_code_id: string;
78582
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78716
+ /** ID of the device associated with the affected access code. */
78583
78717
  device_id: string;
78584
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78718
+ /** ID of the connected account associated with the affected access codes. */
78585
78719
  connected_account_id: string;
78586
78720
  event_type: 'access_code.unmanaged.converted_to_managed';
78587
78721
  } | {
78588
78722
  /** ID of the event. */
78589
78723
  event_id: string;
78590
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78724
+ /** ID of the workspace associated with the event. */
78591
78725
  workspace_id: string;
78592
78726
  /** Date and time at which the event was created. */
78593
78727
  created_at: string;
78594
78728
  /** Date and time at which the event occurred. */
78595
78729
  occurred_at: string;
78596
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78730
+ /** ID of the affected access code. */
78597
78731
  access_code_id: string;
78598
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78732
+ /** ID of the device associated with the affected access code. */
78599
78733
  device_id: string;
78600
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78734
+ /** ID of the connected account associated with the affected access codes. */
78601
78735
  connected_account_id: string;
78602
78736
  event_type: 'access_code.unmanaged.failed_to_convert_to_managed';
78603
78737
  } | {
78604
78738
  /** ID of the event. */
78605
78739
  event_id: string;
78606
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78740
+ /** ID of the workspace associated with the event. */
78607
78741
  workspace_id: string;
78608
78742
  /** Date and time at which the event was created. */
78609
78743
  created_at: string;
78610
78744
  /** Date and time at which the event occurred. */
78611
78745
  occurred_at: string;
78612
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78746
+ /** ID of the affected access code. */
78613
78747
  access_code_id: string;
78614
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78748
+ /** ID of the device associated with the affected access code. */
78615
78749
  device_id: string;
78616
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78750
+ /** ID of the connected account associated with the affected access codes. */
78617
78751
  connected_account_id: string;
78618
78752
  event_type: 'access_code.unmanaged.created';
78619
78753
  } | {
78620
78754
  /** ID of the event. */
78621
78755
  event_id: string;
78622
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78756
+ /** ID of the workspace associated with the event. */
78623
78757
  workspace_id: string;
78624
78758
  /** Date and time at which the event was created. */
78625
78759
  created_at: string;
78626
78760
  /** Date and time at which the event occurred. */
78627
78761
  occurred_at: string;
78628
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
78762
+ /** ID of the affected access code. */
78629
78763
  access_code_id: string;
78630
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
78764
+ /** ID of the device associated with the affected access code. */
78631
78765
  device_id: string;
78632
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78766
+ /** ID of the connected account associated with the affected access codes. */
78633
78767
  connected_account_id: string;
78634
78768
  event_type: 'access_code.unmanaged.removed';
78635
78769
  } | {
78636
78770
  /** ID of the event. */
78637
78771
  event_id: string;
78638
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78772
+ /** ID of the workspace associated with the event. */
78639
78773
  workspace_id: string;
78640
78774
  /** Date and time at which the event was created. */
78641
78775
  created_at: string;
78642
78776
  /** Date and time at which the event occurred. */
78643
78777
  occurred_at: string;
78644
- /** ID of the access grant. */
78778
+ /** ID of the affected access grant. */
78645
78779
  access_grant_id: string;
78646
78780
  event_type: 'access_grant.created';
78647
78781
  } | {
78648
78782
  /** ID of the event. */
78649
78783
  event_id: string;
78650
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78784
+ /** ID of the workspace associated with the event. */
78651
78785
  workspace_id: string;
78652
78786
  /** Date and time at which the event was created. */
78653
78787
  created_at: string;
78654
78788
  /** Date and time at which the event occurred. */
78655
78789
  occurred_at: string;
78656
- /** ID of the access grant. */
78790
+ /** ID of the affected access grant. */
78657
78791
  access_grant_id: string;
78658
78792
  event_type: 'access_grant.deleted';
78659
78793
  } | {
78660
78794
  /** ID of the event. */
78661
78795
  event_id: string;
78662
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78796
+ /** ID of the workspace associated with the event. */
78663
78797
  workspace_id: string;
78664
78798
  /** Date and time at which the event was created. */
78665
78799
  created_at: string;
78666
78800
  /** Date and time at which the event occurred. */
78667
78801
  occurred_at: string;
78668
- /** ID of the access grant. */
78802
+ /** ID of the affected access grant. */
78669
78803
  access_grant_id: string;
78670
78804
  event_type: 'access_grant.access_granted_to_all_doors';
78671
78805
  } | {
78672
78806
  /** ID of the event. */
78673
78807
  event_id: string;
78674
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78808
+ /** ID of the workspace associated with the event. */
78675
78809
  workspace_id: string;
78676
78810
  /** Date and time at which the event was created. */
78677
78811
  created_at: string;
78678
78812
  /** Date and time at which the event occurred. */
78679
78813
  occurred_at: string;
78680
- /** ID of the access grant. */
78814
+ /** ID of the affected access grant. */
78681
78815
  access_grant_id: string;
78682
78816
  event_type: 'access_grant.access_granted_to_door';
78683
- /** ID of the door, an [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
78817
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
78684
78818
  acs_entrance_id: string;
78685
78819
  } | {
78686
78820
  /** ID of the event. */
78687
78821
  event_id: string;
78688
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78822
+ /** ID of the workspace associated with the event. */
78689
78823
  workspace_id: string;
78690
78824
  /** Date and time at which the event was created. */
78691
78825
  created_at: string;
78692
78826
  /** Date and time at which the event occurred. */
78693
78827
  occurred_at: string;
78694
- /** ID of the access grant. */
78828
+ /** ID of the affected access grant. */
78695
78829
  access_grant_id: string;
78696
78830
  event_type: 'access_grant.access_to_door_lost';
78697
- /** ID of the door, an [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
78831
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
78698
78832
  acs_entrance_id: string;
78699
78833
  } | {
78700
78834
  /** ID of the event. */
78701
78835
  event_id: string;
78702
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78836
+ /** ID of the workspace associated with the event. */
78703
78837
  workspace_id: string;
78704
78838
  /** Date and time at which the event was created. */
78705
78839
  created_at: string;
78706
78840
  /** Date and time at which the event occurred. */
78707
78841
  occurred_at: string;
78708
- /** ID of the access method. */
78842
+ /** ID of the affected access method. */
78709
78843
  access_method_id: string;
78710
78844
  event_type: 'access_method.issued';
78711
78845
  } | {
78712
78846
  /** ID of the event. */
78713
78847
  event_id: string;
78714
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78848
+ /** ID of the workspace associated with the event. */
78715
78849
  workspace_id: string;
78716
78850
  /** Date and time at which the event was created. */
78717
78851
  created_at: string;
78718
78852
  /** Date and time at which the event occurred. */
78719
78853
  occurred_at: string;
78720
- /** ID of the access method. */
78854
+ /** ID of the affected access method. */
78721
78855
  access_method_id: string;
78722
78856
  event_type: 'access_method.revoked';
78723
78857
  } | {
78724
78858
  /** ID of the event. */
78725
78859
  event_id: string;
78726
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78860
+ /** ID of the workspace associated with the event. */
78727
78861
  workspace_id: string;
78728
78862
  /** Date and time at which the event was created. */
78729
78863
  created_at: string;
78730
78864
  /** Date and time at which the event occurred. */
78731
78865
  occurred_at: string;
78732
- /** ID of the access method. */
78866
+ /** ID of the affected access method. */
78733
78867
  access_method_id: string;
78734
78868
  event_type: 'access_method.card_encoding_required';
78735
78869
  } | {
78736
78870
  /** ID of the event. */
78737
78871
  event_id: string;
78738
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78872
+ /** ID of the workspace associated with the event. */
78739
78873
  workspace_id: string;
78740
78874
  /** Date and time at which the event was created. */
78741
78875
  created_at: string;
78742
78876
  /** Date and time at which the event occurred. */
78743
78877
  occurred_at: string;
78744
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78878
+ /** ID of the connected account. */
78745
78879
  connected_account_id?: string | undefined;
78746
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
78880
+ /** ID of the access system. */
78747
78881
  acs_system_id: string;
78748
78882
  event_type: 'acs_system.connected';
78749
78883
  } | {
78750
78884
  /** ID of the event. */
78751
78885
  event_id: string;
78752
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78886
+ /** ID of the workspace associated with the event. */
78753
78887
  workspace_id: string;
78754
78888
  /** Date and time at which the event was created. */
78755
78889
  created_at: string;
78756
78890
  /** Date and time at which the event occurred. */
78757
78891
  occurred_at: string;
78758
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78892
+ /** ID of the connected account. */
78759
78893
  connected_account_id?: string | undefined;
78760
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
78894
+ /** ID of the access system. */
78761
78895
  acs_system_id: string;
78762
78896
  event_type: 'acs_system.added';
78763
78897
  } | {
78764
78898
  /** ID of the event. */
78765
78899
  event_id: string;
78766
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78900
+ /** ID of the workspace associated with the event. */
78767
78901
  workspace_id: string;
78768
78902
  /** Date and time at which the event was created. */
78769
78903
  created_at: string;
78770
78904
  /** Date and time at which the event occurred. */
78771
78905
  occurred_at: string;
78772
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78906
+ /** ID of the connected account. */
78773
78907
  connected_account_id?: string | undefined;
78774
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
78908
+ /** ID of the access system. */
78775
78909
  acs_system_id: string;
78776
78910
  event_type: 'acs_system.disconnected';
78777
78911
  } | {
78778
78912
  /** ID of the event. */
78779
78913
  event_id: string;
78780
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78914
+ /** ID of the workspace associated with the event. */
78781
78915
  workspace_id: string;
78782
78916
  /** Date and time at which the event was created. */
78783
78917
  created_at: string;
78784
78918
  /** Date and time at which the event occurred. */
78785
78919
  occurred_at: string;
78786
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78920
+ /** ID of the connected account. */
78787
78921
  connected_account_id?: string | undefined;
78788
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
78922
+ /** ID of the access system. */
78789
78923
  acs_system_id: string;
78924
+ /** ID of the affected credential. */
78790
78925
  acs_credential_id: string;
78791
78926
  event_type: 'acs_credential.deleted';
78792
78927
  } | {
78793
78928
  /** ID of the event. */
78794
78929
  event_id: string;
78795
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78930
+ /** ID of the workspace associated with the event. */
78796
78931
  workspace_id: string;
78797
78932
  /** Date and time at which the event was created. */
78798
78933
  created_at: string;
78799
78934
  /** Date and time at which the event occurred. */
78800
78935
  occurred_at: string;
78801
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78936
+ /** ID of the connected account. */
78802
78937
  connected_account_id?: string | undefined;
78803
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
78938
+ /** ID of the access system. */
78804
78939
  acs_system_id: string;
78940
+ /** ID of the affected credential. */
78805
78941
  acs_credential_id: string;
78806
78942
  event_type: 'acs_credential.issued';
78807
78943
  } | {
78808
78944
  /** ID of the event. */
78809
78945
  event_id: string;
78810
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78946
+ /** ID of the workspace associated with the event. */
78811
78947
  workspace_id: string;
78812
78948
  /** Date and time at which the event was created. */
78813
78949
  created_at: string;
78814
78950
  /** Date and time at which the event occurred. */
78815
78951
  occurred_at: string;
78816
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78952
+ /** ID of the connected account. */
78817
78953
  connected_account_id?: string | undefined;
78818
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
78954
+ /** ID of the access system. */
78819
78955
  acs_system_id: string;
78956
+ /** ID of the affected credential. */
78820
78957
  acs_credential_id: string;
78821
78958
  event_type: 'acs_credential.reissued';
78822
78959
  } | {
78823
78960
  /** ID of the event. */
78824
78961
  event_id: string;
78825
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78962
+ /** ID of the workspace associated with the event. */
78826
78963
  workspace_id: string;
78827
78964
  /** Date and time at which the event was created. */
78828
78965
  created_at: string;
78829
78966
  /** Date and time at which the event occurred. */
78830
78967
  occurred_at: string;
78831
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78968
+ /** ID of the connected account. */
78832
78969
  connected_account_id?: string | undefined;
78833
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
78970
+ /** ID of the access system. */
78834
78971
  acs_system_id: string;
78972
+ /** ID of the affected credential. */
78835
78973
  acs_credential_id: string;
78836
78974
  event_type: 'acs_credential.invalidated';
78837
78975
  } | {
78838
78976
  /** ID of the event. */
78839
78977
  event_id: string;
78840
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78978
+ /** ID of the workspace associated with the event. */
78841
78979
  workspace_id: string;
78842
78980
  /** Date and time at which the event was created. */
78843
78981
  created_at: string;
78844
78982
  /** Date and time at which the event occurred. */
78845
78983
  occurred_at: string;
78846
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78984
+ /** ID of the connected account. */
78847
78985
  connected_account_id?: string | undefined;
78848
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
78986
+ /** ID of the access system. */
78849
78987
  acs_system_id: string;
78850
78988
  acs_user_id: string;
78851
78989
  event_type: 'acs_user.created';
78852
78990
  } | {
78853
78991
  /** ID of the event. */
78854
78992
  event_id: string;
78855
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
78993
+ /** ID of the workspace associated with the event. */
78856
78994
  workspace_id: string;
78857
78995
  /** Date and time at which the event was created. */
78858
78996
  created_at: string;
78859
78997
  /** Date and time at which the event occurred. */
78860
78998
  occurred_at: string;
78861
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
78999
+ /** ID of the connected account. */
78862
79000
  connected_account_id?: string | undefined;
78863
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
79001
+ /** ID of the access system. */
78864
79002
  acs_system_id: string;
78865
79003
  acs_user_id: string;
78866
79004
  event_type: 'acs_user.deleted';
78867
79005
  } | {
78868
79006
  /** ID of the event. */
78869
79007
  event_id: string;
78870
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79008
+ /** ID of the workspace associated with the event. */
78871
79009
  workspace_id: string;
78872
79010
  /** Date and time at which the event was created. */
78873
79011
  created_at: string;
78874
79012
  /** Date and time at which the event occurred. */
78875
79013
  occurred_at: string;
78876
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79014
+ /** ID of the connected account. */
78877
79015
  connected_account_id?: string | undefined;
78878
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
79016
+ /** ID of the access system. */
78879
79017
  acs_system_id: string;
78880
- /** ID of the [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
79018
+ /** ID of the affected encoder. */
78881
79019
  acs_encoder_id: string;
78882
79020
  event_type: 'acs_encoder.added';
78883
79021
  } | {
78884
79022
  /** ID of the event. */
78885
79023
  event_id: string;
78886
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79024
+ /** ID of the workspace associated with the event. */
78887
79025
  workspace_id: string;
78888
79026
  /** Date and time at which the event was created. */
78889
79027
  created_at: string;
78890
79028
  /** Date and time at which the event occurred. */
78891
79029
  occurred_at: string;
78892
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79030
+ /** ID of the connected account. */
78893
79031
  connected_account_id?: string | undefined;
78894
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
79032
+ /** ID of the access system. */
78895
79033
  acs_system_id: string;
78896
- /** ID of the [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
79034
+ /** ID of the affected encoder. */
78897
79035
  acs_encoder_id: string;
78898
79036
  event_type: 'acs_encoder.removed';
78899
79037
  } | {
78900
79038
  /** ID of the event. */
78901
79039
  event_id: string;
78902
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79040
+ /** ID of the workspace associated with the event. */
78903
79041
  workspace_id: string;
78904
79042
  /** Date and time at which the event was created. */
78905
79043
  created_at: string;
78906
79044
  /** Date and time at which the event occurred. */
78907
79045
  occurred_at: string;
78908
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79046
+ /** ID of the connected account. */
78909
79047
  connected_account_id?: string | undefined;
78910
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
79048
+ /** ID of the access system. */
78911
79049
  acs_system_id: string;
79050
+ /** ID of the affected access group. */
78912
79051
  acs_access_group_id: string;
78913
79052
  event_type: 'acs_access_group.deleted';
78914
79053
  } | {
78915
79054
  /** ID of the event. */
78916
79055
  event_id: string;
78917
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79056
+ /** ID of the workspace associated with the event. */
78918
79057
  workspace_id: string;
78919
79058
  /** Date and time at which the event was created. */
78920
79059
  created_at: string;
78921
79060
  /** Date and time at which the event occurred. */
78922
79061
  occurred_at: string;
78923
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79062
+ /** ID of the connected account. */
78924
79063
  connected_account_id?: string | undefined;
78925
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
79064
+ /** ID of the access system. */
78926
79065
  acs_system_id: string;
78927
79066
  acs_entrance_id: string;
78928
79067
  event_type: 'acs_entrance.added';
78929
79068
  } | {
78930
79069
  /** ID of the event. */
78931
79070
  event_id: string;
78932
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79071
+ /** ID of the workspace associated with the event. */
78933
79072
  workspace_id: string;
78934
79073
  /** Date and time at which the event was created. */
78935
79074
  created_at: string;
78936
79075
  /** Date and time at which the event occurred. */
78937
79076
  occurred_at: string;
78938
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79077
+ /** ID of the connected account. */
78939
79078
  connected_account_id?: string | undefined;
78940
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
79079
+ /** ID of the access system. */
78941
79080
  acs_system_id: string;
78942
79081
  acs_entrance_id: string;
78943
79082
  event_type: 'acs_entrance.removed';
78944
79083
  } | {
78945
79084
  /** ID of the event. */
78946
79085
  event_id: string;
78947
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79086
+ /** ID of the workspace associated with the event. */
78948
79087
  workspace_id: string;
78949
79088
  /** Date and time at which the event was created. */
78950
79089
  created_at: string;
78951
79090
  /** Date and time at which the event occurred. */
78952
79091
  occurred_at: string;
78953
- /** ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
79092
+ /** ID of the affected client session. */
78954
79093
  client_session_id: string;
78955
79094
  event_type: 'client_session.deleted';
78956
79095
  } | {
78957
79096
  /** ID of the event. */
78958
79097
  event_id: string;
78959
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79098
+ /** ID of the workspace associated with the event. */
78960
79099
  workspace_id: string;
78961
79100
  /** Date and time at which the event was created. */
78962
79101
  created_at: string;
78963
79102
  /** Date and time at which the event occurred. */
78964
79103
  occurred_at: string;
78965
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79104
+ /** ID of the affected connected account. */
78966
79105
  connected_account_id: string;
78967
79106
  event_type: 'connected_account.connected';
78968
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
79107
+ /** ID of the Connect Webview associated with the event. */
78969
79108
  connect_webview_id: string;
78970
79109
  } | {
78971
79110
  /** ID of the event. */
78972
79111
  event_id: string;
78973
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79112
+ /** ID of the workspace associated with the event. */
78974
79113
  workspace_id: string;
78975
79114
  /** Date and time at which the event was created. */
78976
79115
  created_at: string;
78977
79116
  /** Date and time at which the event occurred. */
78978
79117
  occurred_at: string;
78979
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79118
+ /** ID of the affected connected account. */
78980
79119
  connected_account_id: string;
78981
79120
  event_type: 'connected_account.created';
78982
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
79121
+ /** ID of the Connect Webview associated with the event. */
78983
79122
  connect_webview_id: string;
78984
79123
  } | {
78985
79124
  /** ID of the event. */
78986
79125
  event_id: string;
78987
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79126
+ /** ID of the workspace associated with the event. */
78988
79127
  workspace_id: string;
78989
79128
  /** Date and time at which the event was created. */
78990
79129
  created_at: string;
78991
79130
  /** Date and time at which the event occurred. */
78992
79131
  occurred_at: string;
78993
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79132
+ /** ID of the affected connected account. */
78994
79133
  connected_account_id: string;
78995
79134
  event_type: 'connected_account.successful_login';
78996
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
79135
+ /** ID of the Connect Webview associated with the event. */
78997
79136
  connect_webview_id: string;
78998
79137
  } | {
78999
79138
  /** ID of the event. */
79000
79139
  event_id: string;
79001
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79140
+ /** ID of the workspace associated with the event. */
79002
79141
  workspace_id: string;
79003
79142
  /** Date and time at which the event was created. */
79004
79143
  created_at: string;
79005
79144
  /** Date and time at which the event occurred. */
79006
79145
  occurred_at: string;
79007
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79146
+ /** ID of the affected connected account. */
79008
79147
  connected_account_id: string;
79009
79148
  event_type: 'connected_account.disconnected';
79010
79149
  } | {
79011
79150
  /** ID of the event. */
79012
79151
  event_id: string;
79013
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79152
+ /** ID of the workspace associated with the event. */
79014
79153
  workspace_id: string;
79015
79154
  /** Date and time at which the event was created. */
79016
79155
  created_at: string;
79017
79156
  /** Date and time at which the event occurred. */
79018
79157
  occurred_at: string;
79019
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79158
+ /** ID of the affected connected account. */
79020
79159
  connected_account_id: string;
79021
79160
  event_type: 'connected_account.completed_first_sync';
79022
79161
  } | {
79023
79162
  /** ID of the event. */
79024
79163
  event_id: string;
79025
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79164
+ /** ID of the workspace associated with the event. */
79026
79165
  workspace_id: string;
79027
79166
  /** Date and time at which the event was created. */
79028
79167
  created_at: string;
79029
79168
  /** Date and time at which the event occurred. */
79030
79169
  occurred_at: string;
79031
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79170
+ /** ID of the affected connected account. */
79032
79171
  connected_account_id: string;
79033
79172
  event_type: 'connected_account.deleted';
79034
79173
  } | {
79035
79174
  /** ID of the event. */
79036
79175
  event_id: string;
79037
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79176
+ /** ID of the workspace associated with the event. */
79038
79177
  workspace_id: string;
79039
79178
  /** Date and time at which the event was created. */
79040
79179
  created_at: string;
79041
79180
  /** Date and time at which the event occurred. */
79042
79181
  occurred_at: string;
79043
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79182
+ /** ID of the affected connected account. */
79044
79183
  connected_account_id: string;
79045
79184
  event_type: 'connected_account.completed_first_sync_after_reconnection';
79046
79185
  } | {
79047
79186
  /** ID of the event. */
79048
79187
  event_id: string;
79049
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79188
+ /** ID of the workspace associated with the event. */
79050
79189
  workspace_id: string;
79051
79190
  /** Date and time at which the event was created. */
79052
79191
  created_at: string;
79053
79192
  /** Date and time at which the event occurred. */
79054
79193
  occurred_at: string;
79055
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
79194
+ /** ID of the affected action attempt. */
79056
79195
  action_attempt_id: string;
79057
- /** Type of action. */
79196
+ /** Type of the action. */
79058
79197
  action_type: string;
79059
79198
  /** Status of the action. */
79060
79199
  status: string;
@@ -79062,15 +79201,15 @@ interface Routes {
79062
79201
  } | {
79063
79202
  /** ID of the event. */
79064
79203
  event_id: string;
79065
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79204
+ /** ID of the workspace associated with the event. */
79066
79205
  workspace_id: string;
79067
79206
  /** Date and time at which the event was created. */
79068
79207
  created_at: string;
79069
79208
  /** Date and time at which the event occurred. */
79070
79209
  occurred_at: string;
79071
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
79210
+ /** ID of the affected action attempt. */
79072
79211
  action_attempt_id: string;
79073
- /** Type of action. */
79212
+ /** Type of the action. */
79074
79213
  action_type: string;
79075
79214
  /** Status of the action. */
79076
79215
  status: string;
@@ -79078,15 +79217,15 @@ interface Routes {
79078
79217
  } | {
79079
79218
  /** ID of the event. */
79080
79219
  event_id: string;
79081
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79220
+ /** ID of the workspace associated with the event. */
79082
79221
  workspace_id: string;
79083
79222
  /** Date and time at which the event was created. */
79084
79223
  created_at: string;
79085
79224
  /** Date and time at which the event occurred. */
79086
79225
  occurred_at: string;
79087
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
79226
+ /** ID of the affected action attempt. */
79088
79227
  action_attempt_id: string;
79089
- /** Type of action. */
79228
+ /** Type of the action. */
79090
79229
  action_type: string;
79091
79230
  /** Status of the action. */
79092
79231
  status: string;
@@ -79094,15 +79233,15 @@ interface Routes {
79094
79233
  } | {
79095
79234
  /** ID of the event. */
79096
79235
  event_id: string;
79097
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79236
+ /** ID of the workspace associated with the event. */
79098
79237
  workspace_id: string;
79099
79238
  /** Date and time at which the event was created. */
79100
79239
  created_at: string;
79101
79240
  /** Date and time at which the event occurred. */
79102
79241
  occurred_at: string;
79103
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
79242
+ /** ID of the affected action attempt. */
79104
79243
  action_attempt_id: string;
79105
- /** Type of action. */
79244
+ /** Type of the action. */
79106
79245
  action_type: string;
79107
79246
  /** Status of the action. */
79108
79247
  status: string;
@@ -79110,111 +79249,111 @@ interface Routes {
79110
79249
  } | {
79111
79250
  /** ID of the event. */
79112
79251
  event_id: string;
79113
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79252
+ /** ID of the workspace associated with the event. */
79114
79253
  workspace_id: string;
79115
79254
  /** Date and time at which the event was created. */
79116
79255
  created_at: string;
79117
79256
  /** Date and time at which the event occurred. */
79118
79257
  occurred_at: string;
79119
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
79258
+ /** ID of the affected Connect Webview. */
79120
79259
  connect_webview_id: string;
79121
79260
  event_type: 'connect_webview.login_succeeded';
79122
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79261
+ /** ID of the connected account associated with the event. */
79123
79262
  connected_account_id: string;
79124
79263
  } | {
79125
79264
  /** ID of the event. */
79126
79265
  event_id: string;
79127
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79266
+ /** ID of the workspace associated with the event. */
79128
79267
  workspace_id: string;
79129
79268
  /** Date and time at which the event was created. */
79130
79269
  created_at: string;
79131
79270
  /** Date and time at which the event occurred. */
79132
79271
  occurred_at: string;
79133
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
79272
+ /** ID of the affected Connect Webview. */
79134
79273
  connect_webview_id: string;
79135
79274
  event_type: 'connect_webview.login_failed';
79136
79275
  } | {
79137
79276
  /** ID of the event. */
79138
79277
  event_id: string;
79139
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79278
+ /** ID of the workspace associated with the event. */
79140
79279
  workspace_id: string;
79141
79280
  /** Date and time at which the event was created. */
79142
79281
  created_at: string;
79143
79282
  /** Date and time at which the event occurred. */
79144
79283
  occurred_at: string;
79145
- /** ID of the device. */
79284
+ /** ID of the affected device. */
79146
79285
  device_id: string;
79147
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79286
+ /** ID of the connected account associated with the event. */
79148
79287
  connected_account_id: string;
79149
79288
  event_type: 'device.connected';
79150
79289
  } | {
79151
79290
  /** ID of the event. */
79152
79291
  event_id: string;
79153
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79292
+ /** ID of the workspace associated with the event. */
79154
79293
  workspace_id: string;
79155
79294
  /** Date and time at which the event was created. */
79156
79295
  created_at: string;
79157
79296
  /** Date and time at which the event occurred. */
79158
79297
  occurred_at: string;
79159
- /** ID of the device. */
79298
+ /** ID of the affected device. */
79160
79299
  device_id: string;
79161
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79300
+ /** ID of the connected account associated with the event. */
79162
79301
  connected_account_id: string;
79163
79302
  event_type: 'device.added';
79164
79303
  } | {
79165
79304
  /** ID of the event. */
79166
79305
  event_id: string;
79167
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79306
+ /** ID of the workspace associated with the event. */
79168
79307
  workspace_id: string;
79169
79308
  /** Date and time at which the event was created. */
79170
79309
  created_at: string;
79171
79310
  /** Date and time at which the event occurred. */
79172
79311
  occurred_at: string;
79173
- /** ID of the device. */
79312
+ /** ID of the affected device. */
79174
79313
  device_id: string;
79175
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79314
+ /** ID of the connected account associated with the event. */
79176
79315
  connected_account_id: string;
79177
79316
  event_type: 'device.converted_to_unmanaged';
79178
79317
  } | {
79179
79318
  /** ID of the event. */
79180
79319
  event_id: string;
79181
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79320
+ /** ID of the workspace associated with the event. */
79182
79321
  workspace_id: string;
79183
79322
  /** Date and time at which the event was created. */
79184
79323
  created_at: string;
79185
79324
  /** Date and time at which the event occurred. */
79186
79325
  occurred_at: string;
79187
- /** ID of the device. */
79326
+ /** ID of the affected device. */
79188
79327
  device_id: string;
79189
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79328
+ /** ID of the connected account associated with the event. */
79190
79329
  connected_account_id: string;
79191
79330
  event_type: 'device.unmanaged.converted_to_managed';
79192
79331
  } | {
79193
79332
  /** ID of the event. */
79194
79333
  event_id: string;
79195
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79334
+ /** ID of the workspace associated with the event. */
79196
79335
  workspace_id: string;
79197
79336
  /** Date and time at which the event was created. */
79198
79337
  created_at: string;
79199
79338
  /** Date and time at which the event occurred. */
79200
79339
  occurred_at: string;
79201
- /** ID of the device. */
79340
+ /** ID of the affected device. */
79202
79341
  device_id: string;
79203
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79342
+ /** ID of the connected account associated with the event. */
79204
79343
  connected_account_id: string;
79205
79344
  event_type: 'device.unmanaged.connected';
79206
79345
  } | {
79207
79346
  /** ID of the event. */
79208
79347
  event_id: string;
79209
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79348
+ /** ID of the workspace associated with the event. */
79210
79349
  workspace_id: string;
79211
79350
  /** Date and time at which the event was created. */
79212
79351
  created_at: string;
79213
79352
  /** Date and time at which the event occurred. */
79214
79353
  occurred_at: string;
79215
- /** ID of the device. */
79354
+ /** ID of the affected device. */
79216
79355
  device_id: string;
79217
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79356
+ /** ID of the connected account associated with the event. */
79218
79357
  connected_account_id: string;
79219
79358
  event_type: 'device.disconnected';
79220
79359
  /** Error code associated with the disconnection event, if any. */
@@ -79222,15 +79361,15 @@ interface Routes {
79222
79361
  } | {
79223
79362
  /** ID of the event. */
79224
79363
  event_id: string;
79225
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79364
+ /** ID of the workspace associated with the event. */
79226
79365
  workspace_id: string;
79227
79366
  /** Date and time at which the event was created. */
79228
79367
  created_at: string;
79229
79368
  /** Date and time at which the event occurred. */
79230
79369
  occurred_at: string;
79231
- /** ID of the device. */
79370
+ /** ID of the affected device. */
79232
79371
  device_id: string;
79233
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79372
+ /** ID of the connected account associated with the event. */
79234
79373
  connected_account_id: string;
79235
79374
  event_type: 'device.unmanaged.disconnected';
79236
79375
  /** Error code associated with the disconnection event, if any. */
@@ -79238,240 +79377,240 @@ interface Routes {
79238
79377
  } | {
79239
79378
  /** ID of the event. */
79240
79379
  event_id: string;
79241
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79380
+ /** ID of the workspace associated with the event. */
79242
79381
  workspace_id: string;
79243
79382
  /** Date and time at which the event was created. */
79244
79383
  created_at: string;
79245
79384
  /** Date and time at which the event occurred. */
79246
79385
  occurred_at: string;
79247
- /** ID of the device. */
79386
+ /** ID of the affected device. */
79248
79387
  device_id: string;
79249
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79388
+ /** ID of the connected account associated with the event. */
79250
79389
  connected_account_id: string;
79251
79390
  event_type: 'device.tampered';
79252
79391
  } | {
79253
79392
  /** ID of the event. */
79254
79393
  event_id: string;
79255
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79394
+ /** ID of the workspace associated with the event. */
79256
79395
  workspace_id: string;
79257
79396
  /** Date and time at which the event was created. */
79258
79397
  created_at: string;
79259
79398
  /** Date and time at which the event occurred. */
79260
79399
  occurred_at: string;
79261
- /** ID of the device. */
79400
+ /** ID of the affected device. */
79262
79401
  device_id: string;
79263
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79402
+ /** ID of the connected account associated with the event. */
79264
79403
  connected_account_id: string;
79265
79404
  event_type: 'device.low_battery';
79266
- /** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
79405
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
79267
79406
  battery_level: number;
79268
79407
  } | {
79269
79408
  /** ID of the event. */
79270
79409
  event_id: string;
79271
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79410
+ /** ID of the workspace associated with the event. */
79272
79411
  workspace_id: string;
79273
79412
  /** Date and time at which the event was created. */
79274
79413
  created_at: string;
79275
79414
  /** Date and time at which the event occurred. */
79276
79415
  occurred_at: string;
79277
- /** ID of the device. */
79416
+ /** ID of the affected device. */
79278
79417
  device_id: string;
79279
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79418
+ /** ID of the connected account associated with the event. */
79280
79419
  connected_account_id: string;
79281
79420
  event_type: 'device.battery_status_changed';
79282
- /** Battery status of the device, calculated from the numeric `battery_level` value. */
79421
+ /** Battery status of the affected device, calculated from the numeric `battery_level` value. */
79283
79422
  battery_status: 'critical' | 'low' | 'good' | 'full';
79284
- /** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
79423
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
79285
79424
  battery_level: number;
79286
79425
  } | {
79287
79426
  /** ID of the event. */
79288
79427
  event_id: string;
79289
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79428
+ /** ID of the workspace associated with the event. */
79290
79429
  workspace_id: string;
79291
79430
  /** Date and time at which the event was created. */
79292
79431
  created_at: string;
79293
79432
  /** Date and time at which the event occurred. */
79294
79433
  occurred_at: string;
79295
- /** ID of the device. */
79434
+ /** ID of the affected device. */
79296
79435
  device_id: string;
79297
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79436
+ /** ID of the connected account associated with the event. */
79298
79437
  connected_account_id: string;
79299
79438
  event_type: 'device.removed';
79300
79439
  } | {
79301
79440
  /** ID of the event. */
79302
79441
  event_id: string;
79303
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79442
+ /** ID of the workspace associated with the event. */
79304
79443
  workspace_id: string;
79305
79444
  /** Date and time at which the event was created. */
79306
79445
  created_at: string;
79307
79446
  /** Date and time at which the event occurred. */
79308
79447
  occurred_at: string;
79309
- /** ID of the device. */
79448
+ /** ID of the affected device. */
79310
79449
  device_id: string;
79311
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79450
+ /** ID of the connected account associated with the event. */
79312
79451
  connected_account_id: string;
79313
79452
  event_type: 'device.deleted';
79314
79453
  } | {
79315
79454
  /** ID of the event. */
79316
79455
  event_id: string;
79317
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79456
+ /** ID of the workspace associated with the event. */
79318
79457
  workspace_id: string;
79319
79458
  /** Date and time at which the event was created. */
79320
79459
  created_at: string;
79321
79460
  /** Date and time at which the event occurred. */
79322
79461
  occurred_at: string;
79323
- /** ID of the device. */
79462
+ /** ID of the affected device. */
79324
79463
  device_id: string;
79325
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79464
+ /** ID of the connected account associated with the event. */
79326
79465
  connected_account_id: string;
79327
79466
  event_type: 'device.third_party_integration_detected';
79328
79467
  } | {
79329
79468
  /** ID of the event. */
79330
79469
  event_id: string;
79331
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79470
+ /** ID of the workspace associated with the event. */
79332
79471
  workspace_id: string;
79333
79472
  /** Date and time at which the event was created. */
79334
79473
  created_at: string;
79335
79474
  /** Date and time at which the event occurred. */
79336
79475
  occurred_at: string;
79337
- /** ID of the device. */
79476
+ /** ID of the affected device. */
79338
79477
  device_id: string;
79339
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79478
+ /** ID of the connected account associated with the event. */
79340
79479
  connected_account_id: string;
79341
79480
  event_type: 'device.third_party_integration_no_longer_detected';
79342
79481
  } | {
79343
79482
  /** ID of the event. */
79344
79483
  event_id: string;
79345
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79484
+ /** ID of the workspace associated with the event. */
79346
79485
  workspace_id: string;
79347
79486
  /** Date and time at which the event was created. */
79348
79487
  created_at: string;
79349
79488
  /** Date and time at which the event occurred. */
79350
79489
  occurred_at: string;
79351
- /** ID of the device. */
79490
+ /** ID of the affected device. */
79352
79491
  device_id: string;
79353
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79492
+ /** ID of the connected account associated with the event. */
79354
79493
  connected_account_id: string;
79355
79494
  event_type: 'device.salto.privacy_mode_activated';
79356
79495
  } | {
79357
79496
  /** ID of the event. */
79358
79497
  event_id: string;
79359
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79498
+ /** ID of the workspace associated with the event. */
79360
79499
  workspace_id: string;
79361
79500
  /** Date and time at which the event was created. */
79362
79501
  created_at: string;
79363
79502
  /** Date and time at which the event occurred. */
79364
79503
  occurred_at: string;
79365
- /** ID of the device. */
79504
+ /** ID of the affected device. */
79366
79505
  device_id: string;
79367
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79506
+ /** ID of the connected account associated with the event. */
79368
79507
  connected_account_id: string;
79369
79508
  event_type: 'device.salto.privacy_mode_deactivated';
79370
79509
  } | {
79371
79510
  /** ID of the event. */
79372
79511
  event_id: string;
79373
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79512
+ /** ID of the workspace associated with the event. */
79374
79513
  workspace_id: string;
79375
79514
  /** Date and time at which the event was created. */
79376
79515
  created_at: string;
79377
79516
  /** Date and time at which the event occurred. */
79378
79517
  occurred_at: string;
79379
- /** ID of the device. */
79518
+ /** ID of the affected device. */
79380
79519
  device_id: string;
79381
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79520
+ /** ID of the connected account associated with the event. */
79382
79521
  connected_account_id: string;
79383
79522
  event_type: 'device.connection_became_flaky';
79384
79523
  } | {
79385
79524
  /** ID of the event. */
79386
79525
  event_id: string;
79387
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79526
+ /** ID of the workspace associated with the event. */
79388
79527
  workspace_id: string;
79389
79528
  /** Date and time at which the event was created. */
79390
79529
  created_at: string;
79391
79530
  /** Date and time at which the event occurred. */
79392
79531
  occurred_at: string;
79393
- /** ID of the device. */
79532
+ /** ID of the affected device. */
79394
79533
  device_id: string;
79395
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79534
+ /** ID of the connected account associated with the event. */
79396
79535
  connected_account_id: string;
79397
79536
  event_type: 'device.connection_stabilized';
79398
79537
  } | {
79399
79538
  /** ID of the event. */
79400
79539
  event_id: string;
79401
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79540
+ /** ID of the workspace associated with the event. */
79402
79541
  workspace_id: string;
79403
79542
  /** Date and time at which the event was created. */
79404
79543
  created_at: string;
79405
79544
  /** Date and time at which the event occurred. */
79406
79545
  occurred_at: string;
79407
- /** ID of the device. */
79546
+ /** ID of the affected device. */
79408
79547
  device_id: string;
79409
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79548
+ /** ID of the connected account associated with the event. */
79410
79549
  connected_account_id: string;
79411
79550
  event_type: 'device.error.subscription_required';
79412
79551
  } | {
79413
79552
  /** ID of the event. */
79414
79553
  event_id: string;
79415
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79554
+ /** ID of the workspace associated with the event. */
79416
79555
  workspace_id: string;
79417
79556
  /** Date and time at which the event was created. */
79418
79557
  created_at: string;
79419
79558
  /** Date and time at which the event occurred. */
79420
79559
  occurred_at: string;
79421
- /** ID of the device. */
79560
+ /** ID of the affected device. */
79422
79561
  device_id: string;
79423
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79562
+ /** ID of the connected account associated with the event. */
79424
79563
  connected_account_id: string;
79425
79564
  event_type: 'device.error.subscription_required.resolved';
79426
79565
  } | {
79427
79566
  /** ID of the event. */
79428
79567
  event_id: string;
79429
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79568
+ /** ID of the workspace associated with the event. */
79430
79569
  workspace_id: string;
79431
79570
  /** Date and time at which the event was created. */
79432
79571
  created_at: string;
79433
79572
  /** Date and time at which the event occurred. */
79434
79573
  occurred_at: string;
79435
- /** ID of the device. */
79574
+ /** ID of the affected device. */
79436
79575
  device_id: string;
79437
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79576
+ /** ID of the connected account associated with the event. */
79438
79577
  connected_account_id: string;
79439
79578
  event_type: 'device.accessory_keypad_connected';
79440
79579
  } | {
79441
79580
  /** ID of the event. */
79442
79581
  event_id: string;
79443
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79582
+ /** ID of the workspace associated with the event. */
79444
79583
  workspace_id: string;
79445
79584
  /** Date and time at which the event was created. */
79446
79585
  created_at: string;
79447
79586
  /** Date and time at which the event occurred. */
79448
79587
  occurred_at: string;
79449
- /** ID of the device. */
79588
+ /** ID of the affected device. */
79450
79589
  device_id: string;
79451
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79590
+ /** ID of the connected account associated with the event. */
79452
79591
  connected_account_id: string;
79453
79592
  event_type: 'device.accessory_keypad_disconnected';
79454
79593
  } | {
79455
79594
  /** ID of the event. */
79456
79595
  event_id: string;
79457
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79596
+ /** ID of the workspace associated with the event. */
79458
79597
  workspace_id: string;
79459
79598
  /** Date and time at which the event was created. */
79460
79599
  created_at: string;
79461
79600
  /** Date and time at which the event occurred. */
79462
79601
  occurred_at: string;
79463
- /** ID of the device. */
79602
+ /** ID of the affected device. */
79464
79603
  device_id: string;
79465
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79604
+ /** ID of the connected account associated with the event. */
79466
79605
  connected_account_id: string;
79467
79606
  event_type: 'noise_sensor.noise_threshold_triggered';
79468
79607
  /** Detected noise level in decibels. */
79469
79608
  noise_level_decibels?: number | undefined;
79470
79609
  /** Detected noise level in Noiseaware Noise Risk Score (NRS). */
79471
79610
  noise_level_nrs?: number | undefined;
79472
- /** ID of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
79611
+ /** ID of the noise threshold that was triggered. */
79473
79612
  noise_threshold_id?: string | undefined;
79474
- /** Name of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
79613
+ /** Name of the noise threshold that was triggered. */
79475
79614
  noise_threshold_name?: string | undefined;
79476
79615
  /** Metadata from Noiseaware. */
79477
79616
  noiseaware_metadata?: Record<string, unknown> | undefined;
@@ -79480,94 +79619,94 @@ interface Routes {
79480
79619
  } | {
79481
79620
  /** ID of the event. */
79482
79621
  event_id: string;
79483
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79622
+ /** ID of the workspace associated with the event. */
79484
79623
  workspace_id: string;
79485
79624
  /** Date and time at which the event was created. */
79486
79625
  created_at: string;
79487
79626
  /** Date and time at which the event occurred. */
79488
79627
  occurred_at: string;
79489
- /** ID of the device. */
79628
+ /** ID of the affected device. */
79490
79629
  device_id: string;
79491
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79630
+ /** ID of the connected account associated with the event. */
79492
79631
  connected_account_id: string;
79493
79632
  event_type: 'lock.locked';
79494
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to lock the device. */
79633
+ /** ID of the access code that was used to lock the device. */
79495
79634
  access_code_id?: string | undefined;
79496
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the lock action. */
79635
+ /** ID of the action attempt associated with the lock action. */
79497
79636
  action_attempt_id?: string | undefined;
79498
- /** Method by which a [lock device](https://docs.seam.co/latest/capability-guides/smart-locks) 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. */
79637
+ /** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
79499
79638
  method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
79500
79639
  } | {
79501
79640
  /** ID of the event. */
79502
79641
  event_id: string;
79503
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79642
+ /** ID of the workspace associated with the event. */
79504
79643
  workspace_id: string;
79505
79644
  /** Date and time at which the event was created. */
79506
79645
  created_at: string;
79507
79646
  /** Date and time at which the event occurred. */
79508
79647
  occurred_at: string;
79509
- /** ID of the device. */
79648
+ /** ID of the affected device. */
79510
79649
  device_id: string;
79511
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79650
+ /** ID of the connected account associated with the event. */
79512
79651
  connected_account_id: string;
79513
79652
  event_type: 'lock.unlocked';
79514
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to unlock the device. */
79653
+ /** ID of the access code that was used to unlock the affected device. */
79515
79654
  access_code_id?: string | undefined;
79516
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the unlock action. */
79655
+ /** ID of the action attempt associated with the unlock action. */
79517
79656
  action_attempt_id?: string | undefined;
79518
- /** Method by which a [lock device](https://docs.seam.co/latest/capability-guides/smart-locks) 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. */
79657
+ /** Method by which the affected 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. */
79519
79658
  method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
79520
79659
  } | {
79521
79660
  /** ID of the event. */
79522
79661
  event_id: string;
79523
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79662
+ /** ID of the workspace associated with the event. */
79524
79663
  workspace_id: string;
79525
79664
  /** Date and time at which the event was created. */
79526
79665
  created_at: string;
79527
79666
  /** Date and time at which the event occurred. */
79528
79667
  occurred_at: string;
79529
- /** ID of the device. */
79668
+ /** ID of the affected device. */
79530
79669
  device_id: string;
79531
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79670
+ /** ID of the connected account associated with the event. */
79532
79671
  connected_account_id: string;
79533
79672
  event_type: 'lock.access_denied';
79534
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used in the unlock attempts. */
79673
+ /** ID of the access code that was used in the unlock attempts. */
79535
79674
  access_code_id?: string | undefined;
79536
79675
  } | {
79537
79676
  /** ID of the event. */
79538
79677
  event_id: string;
79539
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79678
+ /** ID of the workspace associated with the event. */
79540
79679
  workspace_id: string;
79541
79680
  /** Date and time at which the event was created. */
79542
79681
  created_at: string;
79543
79682
  /** Date and time at which the event occurred. */
79544
79683
  occurred_at: string;
79545
- /** ID of the device. */
79684
+ /** ID of the affected device. */
79546
79685
  device_id: string;
79547
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79686
+ /** ID of the connected account associated with the event. */
79548
79687
  connected_account_id: string;
79549
79688
  event_type: 'thermostat.climate_preset_activated';
79550
- /** 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. */
79689
+ /** ID of the thermostat schedule that prompted the affected climate preset to be activated. */
79551
79690
  thermostat_schedule_id: string | null;
79552
- /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated. */
79691
+ /** Key of the climate preset that was activated. */
79553
79692
  climate_preset_key: string;
79554
- /** 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](https://docs.seam.co/latest/capability-guides/thermostats). */
79693
+ /** Indicates whether the climate preset that was activated is the fallback climate preset for the thermostat. */
79555
79694
  is_fallback_climate_preset: boolean;
79556
79695
  } | {
79557
79696
  /** ID of the event. */
79558
79697
  event_id: string;
79559
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79698
+ /** ID of the workspace associated with the event. */
79560
79699
  workspace_id: string;
79561
79700
  /** Date and time at which the event was created. */
79562
79701
  created_at: string;
79563
79702
  /** Date and time at which the event occurred. */
79564
79703
  occurred_at: string;
79565
- /** ID of the device. */
79704
+ /** ID of the affected device. */
79566
79705
  device_id: string;
79567
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79706
+ /** ID of the connected account associated with the event. */
79568
79707
  connected_account_id: string;
79569
79708
  event_type: 'thermostat.manually_adjusted';
79570
- /** Method used to adjust the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
79709
+ /** Method used to adjust the affected thermostat manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the thermostat. */
79571
79710
  method: 'seam' | 'external';
79572
79711
  /** Desired [fan mode setting](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`. */
79573
79712
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
@@ -79584,133 +79723,133 @@ interface Routes {
79584
79723
  } | {
79585
79724
  /** ID of the event. */
79586
79725
  event_id: string;
79587
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79726
+ /** ID of the workspace associated with the event. */
79588
79727
  workspace_id: string;
79589
79728
  /** Date and time at which the event was created. */
79590
79729
  created_at: string;
79591
79730
  /** Date and time at which the event occurred. */
79592
79731
  occurred_at: string;
79593
- /** ID of the device. */
79732
+ /** ID of the affected device. */
79594
79733
  device_id: string;
79595
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79734
+ /** ID of the connected account associated with the event. */
79596
79735
  connected_account_id: string;
79597
79736
  event_type: 'thermostat.temperature_threshold_exceeded';
79598
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
79737
+ /** Temperature, in °C, reported by the affected thermostat. */
79599
79738
  temperature_celsius: number;
79600
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
79739
+ /** Temperature, in °F, reported by the affected thermostat. */
79601
79740
  temperature_fahrenheit: number;
79602
- /** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
79741
+ /** Upper temperature limit, in °C, defined by the set threshold. */
79603
79742
  upper_limit_celsius: number | null;
79604
- /** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
79743
+ /** Upper temperature limit, in °F, defined by the set threshold. */
79605
79744
  upper_limit_fahrenheit: number | null;
79606
- /** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
79745
+ /** Lower temperature limit, in °C, defined by the set threshold. */
79607
79746
  lower_limit_celsius: number | null;
79608
- /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
79747
+ /** Lower temperature limit, in °F, defined by the set threshold. */
79609
79748
  lower_limit_fahrenheit: number | null;
79610
79749
  } | {
79611
79750
  /** ID of the event. */
79612
79751
  event_id: string;
79613
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79752
+ /** ID of the workspace associated with the event. */
79614
79753
  workspace_id: string;
79615
79754
  /** Date and time at which the event was created. */
79616
79755
  created_at: string;
79617
79756
  /** Date and time at which the event occurred. */
79618
79757
  occurred_at: string;
79619
- /** ID of the device. */
79758
+ /** ID of the affected device. */
79620
79759
  device_id: string;
79621
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79760
+ /** ID of the connected account associated with the event. */
79622
79761
  connected_account_id: string;
79623
79762
  event_type: 'thermostat.temperature_threshold_no_longer_exceeded';
79624
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
79763
+ /** Temperature, in °C, reported by the affected thermostat. */
79625
79764
  temperature_celsius: number;
79626
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
79765
+ /** Temperature, in °F, reported by the affected thermostat. */
79627
79766
  temperature_fahrenheit: number;
79628
- /** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
79767
+ /** Upper temperature limit, in °C, defined by the set threshold. */
79629
79768
  upper_limit_celsius: number | null;
79630
- /** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
79769
+ /** Upper temperature limit, in °F, defined by the set threshold. */
79631
79770
  upper_limit_fahrenheit: number | null;
79632
- /** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
79771
+ /** Lower temperature limit, in °C, defined by the set threshold. */
79633
79772
  lower_limit_celsius: number | null;
79634
- /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
79773
+ /** Lower temperature limit, in °F, defined by the set threshold. */
79635
79774
  lower_limit_fahrenheit: number | null;
79636
79775
  } | {
79637
79776
  /** ID of the event. */
79638
79777
  event_id: string;
79639
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79778
+ /** ID of the workspace associated with the event. */
79640
79779
  workspace_id: string;
79641
79780
  /** Date and time at which the event was created. */
79642
79781
  created_at: string;
79643
79782
  /** Date and time at which the event occurred. */
79644
79783
  occurred_at: string;
79645
- /** ID of the device. */
79784
+ /** ID of the affected device. */
79646
79785
  device_id: string;
79647
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79786
+ /** ID of the connected account associated with the event. */
79648
79787
  connected_account_id: string;
79649
79788
  event_type: 'thermostat.temperature_reached_set_point';
79650
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
79789
+ /** Temperature, in °C, reported by the affected thermostat. */
79651
79790
  temperature_celsius: number;
79652
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
79791
+ /** Temperature, in °F, reported by the affected thermostat. */
79653
79792
  temperature_fahrenheit: number;
79654
- /** Desired temperature, in °C, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
79793
+ /** Desired temperature, in °C, defined by the affected thermostat's cooling or heating set point. */
79655
79794
  desired_temperature_celsius?: number | undefined;
79656
- /** Desired temperature, in °F, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
79795
+ /** Desired temperature, in °F, defined by the affected thermostat's cooling or heating set point. */
79657
79796
  desired_temperature_fahrenheit?: number | undefined;
79658
79797
  } | {
79659
79798
  /** ID of the event. */
79660
79799
  event_id: string;
79661
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79800
+ /** ID of the workspace associated with the event. */
79662
79801
  workspace_id: string;
79663
79802
  /** Date and time at which the event was created. */
79664
79803
  created_at: string;
79665
79804
  /** Date and time at which the event occurred. */
79666
79805
  occurred_at: string;
79667
- /** ID of the device. */
79806
+ /** ID of the affected device. */
79668
79807
  device_id: string;
79669
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79808
+ /** ID of the connected account associated with the event. */
79670
79809
  connected_account_id: string;
79671
79810
  event_type: 'thermostat.temperature_changed';
79672
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
79811
+ /** Temperature, in °C, reported by the affected thermostat. */
79673
79812
  temperature_celsius: number;
79674
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
79813
+ /** Temperature, in °F, reported by the affected thermostat. */
79675
79814
  temperature_fahrenheit: number;
79676
79815
  } | {
79677
79816
  /** ID of the event. */
79678
79817
  event_id: string;
79679
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79818
+ /** ID of the workspace associated with the event. */
79680
79819
  workspace_id: string;
79681
79820
  /** Date and time at which the event was created. */
79682
79821
  created_at: string;
79683
79822
  /** Date and time at which the event occurred. */
79684
79823
  occurred_at: string;
79685
- /** ID of the device. */
79824
+ /** ID of the affected device. */
79686
79825
  device_id: string;
79687
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
79826
+ /** ID of the connected account associated with the event. */
79688
79827
  connected_account_id: string;
79689
79828
  event_type: 'device.name_changed';
79690
- /** The new name of the device. */
79829
+ /** The new name of the affected device. */
79691
79830
  device_name: string;
79692
79831
  } | {
79693
79832
  /** ID of the event. */
79694
79833
  event_id: string;
79695
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79834
+ /** ID of the workspace associated with the event. */
79696
79835
  workspace_id: string;
79697
79836
  /** Date and time at which the event was created. */
79698
79837
  created_at: string;
79699
79838
  /** Date and time at which the event occurred. */
79700
79839
  occurred_at: string;
79701
- /** ID of the [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut). */
79840
+ /** ID of the affected enrollment automation. */
79702
79841
  enrollment_automation_id: string;
79703
79842
  event_type: 'enrollment_automation.deleted';
79704
79843
  } | {
79705
79844
  /** ID of the event. */
79706
79845
  event_id: string;
79707
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
79846
+ /** ID of the workspace associated with the event. */
79708
79847
  workspace_id: string;
79709
79848
  /** Date and time at which the event was created. */
79710
79849
  created_at: string;
79711
79850
  /** Date and time at which the event occurred. */
79712
79851
  occurred_at: string;
79713
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
79852
+ /** ID of the affected phone device. */
79714
79853
  device_id: string;
79715
79854
  event_type: 'phone.deactivated';
79716
79855
  }>;