@seamapi/types 1.406.1 → 1.406.2

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