@seamapi/types 1.406.1 → 1.406.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/connect.cjs +496 -476
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +753 -614
  4. package/lib/seam/connect/models/events/access-codes.js +4 -9
  5. package/lib/seam/connect/models/events/access-codes.js.map +1 -1
  6. package/lib/seam/connect/models/events/access-grants.js +5 -2
  7. package/lib/seam/connect/models/events/access-grants.js.map +1 -1
  8. package/lib/seam/connect/models/events/access-methods.js +4 -1
  9. package/lib/seam/connect/models/events/access-methods.js.map +1 -1
  10. package/lib/seam/connect/models/events/acs/access-groups.js +4 -1
  11. package/lib/seam/connect/models/events/acs/access-groups.js.map +1 -1
  12. package/lib/seam/connect/models/events/acs/common.js +2 -5
  13. package/lib/seam/connect/models/events/acs/common.js.map +1 -1
  14. package/lib/seam/connect/models/events/acs/credentials.js +4 -1
  15. package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
  16. package/lib/seam/connect/models/events/acs/encoders.js +1 -4
  17. package/lib/seam/connect/models/events/acs/encoders.js.map +1 -1
  18. package/lib/seam/connect/models/events/acs/entrances.js +1 -1
  19. package/lib/seam/connect/models/events/acs/entrances.js.map +1 -1
  20. package/lib/seam/connect/models/events/acs/systems.js +3 -3
  21. package/lib/seam/connect/models/events/acs/users.js +3 -3
  22. package/lib/seam/connect/models/events/acs/users.js.map +1 -1
  23. package/lib/seam/connect/models/events/action-attempts.js +2 -2
  24. package/lib/seam/connect/models/events/action-attempts.js.map +1 -1
  25. package/lib/seam/connect/models/events/client-sessions.js +1 -1
  26. package/lib/seam/connect/models/events/client-sessions.js.map +1 -1
  27. package/lib/seam/connect/models/events/common.js +1 -1
  28. package/lib/seam/connect/models/events/common.js.map +1 -1
  29. package/lib/seam/connect/models/events/connect-webviews.js +2 -2
  30. package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
  31. package/lib/seam/connect/models/events/connected-accounts.js +2 -2
  32. package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
  33. package/lib/seam/connect/models/events/devices.js +37 -37
  34. package/lib/seam/connect/models/events/devices.js.map +1 -1
  35. package/lib/seam/connect/models/events/enrollment-automations.js +1 -1
  36. package/lib/seam/connect/models/events/enrollment-automations.js.map +1 -1
  37. package/lib/seam/connect/models/events/phones.js +1 -4
  38. package/lib/seam/connect/models/events/phones.js.map +1 -1
  39. package/lib/seam/connect/openapi.d.ts +110 -0
  40. package/lib/seam/connect/openapi.js +422 -328
  41. package/lib/seam/connect/openapi.js.map +1 -1
  42. package/lib/seam/connect/route-types.d.ts +643 -614
  43. package/package.json +1 -1
  44. package/src/lib/seam/connect/models/events/access-codes.ts +4 -15
  45. package/src/lib/seam/connect/models/events/access-grants.ts +5 -2
  46. package/src/lib/seam/connect/models/events/access-methods.ts +4 -1
  47. package/src/lib/seam/connect/models/events/acs/access-groups.ts +4 -1
  48. package/src/lib/seam/connect/models/events/acs/common.ts +2 -9
  49. package/src/lib/seam/connect/models/events/acs/credentials.ts +4 -1
  50. package/src/lib/seam/connect/models/events/acs/encoders.ts +1 -6
  51. package/src/lib/seam/connect/models/events/acs/entrances.ts +1 -3
  52. package/src/lib/seam/connect/models/events/acs/systems.ts +3 -3
  53. package/src/lib/seam/connect/models/events/acs/users.ts +3 -5
  54. package/src/lib/seam/connect/models/events/action-attempts.ts +2 -4
  55. package/src/lib/seam/connect/models/events/client-sessions.ts +1 -3
  56. package/src/lib/seam/connect/models/events/common.ts +1 -3
  57. package/src/lib/seam/connect/models/events/connect-webviews.ts +2 -6
  58. package/src/lib/seam/connect/models/events/connected-accounts.ts +2 -6
  59. package/src/lib/seam/connect/models/events/devices.ts +37 -77
  60. package/src/lib/seam/connect/models/events/enrollment-automations.ts +1 -3
  61. package/src/lib/seam/connect/models/events/phones.ts +1 -6
  62. package/src/lib/seam/connect/openapi.ts +436 -485
  63. package/src/lib/seam/connect/route-types.ts +643 -614
@@ -22664,8 +22664,11 @@ export interface Routes {
22664
22664
  queryParams: {};
22665
22665
  jsonBody: {};
22666
22666
  commonParams: {
22667
+ /** Unique identifier for the event that you want to get. */
22667
22668
  event_id?: string | undefined;
22669
+ /** Type of the event that you want to get. */
22668
22670
  event_type?: string | undefined;
22671
+ /** Unique identifier for the device that triggered the event that you want to get. */
22669
22672
  device_id?: string | undefined;
22670
22673
  };
22671
22674
  formData: {};
@@ -22676,705 +22679,710 @@ export interface Routes {
22676
22679
  event?: ({
22677
22680
  /** ID of the event. */
22678
22681
  event_id: string;
22679
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22682
+ /** ID of the workspace associated with the event. */
22680
22683
  workspace_id: string;
22681
22684
  /** Date and time at which the event was created. */
22682
22685
  created_at: string;
22683
22686
  /** Date and time at which the event occurred. */
22684
22687
  occurred_at: string;
22685
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22688
+ /** ID of the affected access code. */
22686
22689
  access_code_id: string;
22687
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22690
+ /** ID of the device associated with the affected access code. */
22688
22691
  device_id: string;
22689
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22692
+ /** ID of the connected account associated with the affected access codes. */
22690
22693
  connected_account_id: string;
22691
22694
  event_type: 'access_code.created';
22692
22695
  } | {
22693
22696
  /** ID of the event. */
22694
22697
  event_id: string;
22695
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22698
+ /** ID of the workspace associated with the event. */
22696
22699
  workspace_id: string;
22697
22700
  /** Date and time at which the event was created. */
22698
22701
  created_at: string;
22699
22702
  /** Date and time at which the event occurred. */
22700
22703
  occurred_at: string;
22701
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22704
+ /** ID of the affected access code. */
22702
22705
  access_code_id: string;
22703
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22706
+ /** ID of the device associated with the affected access code. */
22704
22707
  device_id: string;
22705
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22708
+ /** ID of the connected account associated with the affected access codes. */
22706
22709
  connected_account_id: string;
22707
22710
  event_type: 'access_code.changed';
22708
22711
  } | {
22709
22712
  /** ID of the event. */
22710
22713
  event_id: string;
22711
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22714
+ /** ID of the workspace associated with the event. */
22712
22715
  workspace_id: string;
22713
22716
  /** Date and time at which the event was created. */
22714
22717
  created_at: string;
22715
22718
  /** Date and time at which the event occurred. */
22716
22719
  occurred_at: string;
22717
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22720
+ /** ID of the affected access code. */
22718
22721
  access_code_id: string;
22719
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22722
+ /** ID of the device associated with the affected access code. */
22720
22723
  device_id: string;
22721
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22724
+ /** ID of the connected account associated with the affected access codes. */
22722
22725
  connected_account_id: string;
22723
22726
  event_type: 'access_code.scheduled_on_device';
22724
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22727
+ /** Code for the affected access code. */
22725
22728
  code: string;
22726
22729
  } | {
22727
22730
  /** ID of the event. */
22728
22731
  event_id: string;
22729
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22732
+ /** ID of the workspace associated with the event. */
22730
22733
  workspace_id: string;
22731
22734
  /** Date and time at which the event was created. */
22732
22735
  created_at: string;
22733
22736
  /** Date and time at which the event occurred. */
22734
22737
  occurred_at: string;
22735
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22738
+ /** ID of the affected access code. */
22736
22739
  access_code_id: string;
22737
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22740
+ /** ID of the device associated with the affected access code. */
22738
22741
  device_id: string;
22739
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22742
+ /** ID of the connected account associated with the affected access codes. */
22740
22743
  connected_account_id: string;
22741
22744
  event_type: 'access_code.set_on_device';
22742
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22745
+ /** Code for the affected access code. */
22743
22746
  code: string;
22744
22747
  } | {
22745
22748
  /** ID of the event. */
22746
22749
  event_id: string;
22747
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22750
+ /** ID of the workspace associated with the event. */
22748
22751
  workspace_id: string;
22749
22752
  /** Date and time at which the event was created. */
22750
22753
  created_at: string;
22751
22754
  /** Date and time at which the event occurred. */
22752
22755
  occurred_at: string;
22753
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22756
+ /** ID of the affected access code. */
22754
22757
  access_code_id: string;
22755
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22758
+ /** ID of the device associated with the affected access code. */
22756
22759
  device_id: string;
22757
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22760
+ /** ID of the connected account associated with the affected access codes. */
22758
22761
  connected_account_id: string;
22759
22762
  event_type: 'access_code.removed_from_device';
22760
22763
  } | {
22761
22764
  /** ID of the event. */
22762
22765
  event_id: string;
22763
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22766
+ /** ID of the workspace associated with the event. */
22764
22767
  workspace_id: string;
22765
22768
  /** Date and time at which the event was created. */
22766
22769
  created_at: string;
22767
22770
  /** Date and time at which the event occurred. */
22768
22771
  occurred_at: string;
22769
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22772
+ /** ID of the affected access code. */
22770
22773
  access_code_id: string;
22771
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22774
+ /** ID of the device associated with the affected access code. */
22772
22775
  device_id: string;
22773
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22776
+ /** ID of the connected account associated with the affected access codes. */
22774
22777
  connected_account_id: string;
22775
22778
  event_type: 'access_code.delay_in_setting_on_device';
22776
22779
  } | {
22777
22780
  /** ID of the event. */
22778
22781
  event_id: string;
22779
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22782
+ /** ID of the workspace associated with the event. */
22780
22783
  workspace_id: string;
22781
22784
  /** Date and time at which the event was created. */
22782
22785
  created_at: string;
22783
22786
  /** Date and time at which the event occurred. */
22784
22787
  occurred_at: string;
22785
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22788
+ /** ID of the affected access code. */
22786
22789
  access_code_id: string;
22787
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22790
+ /** ID of the device associated with the affected access code. */
22788
22791
  device_id: string;
22789
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22792
+ /** ID of the connected account associated with the affected access codes. */
22790
22793
  connected_account_id: string;
22791
22794
  event_type: 'access_code.failed_to_set_on_device';
22792
22795
  } | {
22793
22796
  /** ID of the event. */
22794
22797
  event_id: string;
22795
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22798
+ /** ID of the workspace associated with the event. */
22796
22799
  workspace_id: string;
22797
22800
  /** Date and time at which the event was created. */
22798
22801
  created_at: string;
22799
22802
  /** Date and time at which the event occurred. */
22800
22803
  occurred_at: string;
22801
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22804
+ /** ID of the affected access code. */
22802
22805
  access_code_id: string;
22803
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22806
+ /** ID of the device associated with the affected access code. */
22804
22807
  device_id: string;
22805
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22808
+ /** ID of the connected account associated with the affected access codes. */
22806
22809
  connected_account_id: string;
22807
22810
  event_type: 'access_code.deleted';
22808
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22811
+ /** Code for the affected access code. */
22809
22812
  code: string | null;
22810
22813
  } | {
22811
22814
  /** ID of the event. */
22812
22815
  event_id: string;
22813
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22816
+ /** ID of the workspace associated with the event. */
22814
22817
  workspace_id: string;
22815
22818
  /** Date and time at which the event was created. */
22816
22819
  created_at: string;
22817
22820
  /** Date and time at which the event occurred. */
22818
22821
  occurred_at: string;
22819
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22822
+ /** ID of the affected access code. */
22820
22823
  access_code_id: string;
22821
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22824
+ /** ID of the device associated with the affected access code. */
22822
22825
  device_id: string;
22823
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22826
+ /** ID of the connected account associated with the affected access codes. */
22824
22827
  connected_account_id: string;
22825
22828
  event_type: 'access_code.delay_in_removing_from_device';
22826
22829
  } | {
22827
22830
  /** ID of the event. */
22828
22831
  event_id: string;
22829
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22832
+ /** ID of the workspace associated with the event. */
22830
22833
  workspace_id: string;
22831
22834
  /** Date and time at which the event was created. */
22832
22835
  created_at: string;
22833
22836
  /** Date and time at which the event occurred. */
22834
22837
  occurred_at: string;
22835
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22838
+ /** ID of the affected access code. */
22836
22839
  access_code_id: string;
22837
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22840
+ /** ID of the device associated with the affected access code. */
22838
22841
  device_id: string;
22839
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22842
+ /** ID of the connected account associated with the affected access codes. */
22840
22843
  connected_account_id: string;
22841
22844
  event_type: 'access_code.failed_to_remove_from_device';
22842
22845
  } | {
22843
22846
  /** ID of the event. */
22844
22847
  event_id: string;
22845
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22848
+ /** ID of the workspace associated with the event. */
22846
22849
  workspace_id: string;
22847
22850
  /** Date and time at which the event was created. */
22848
22851
  created_at: string;
22849
22852
  /** Date and time at which the event occurred. */
22850
22853
  occurred_at: string;
22851
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22854
+ /** ID of the affected access code. */
22852
22855
  access_code_id: string;
22853
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22856
+ /** ID of the device associated with the affected access code. */
22854
22857
  device_id: string;
22855
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22858
+ /** ID of the connected account associated with the affected access codes. */
22856
22859
  connected_account_id: string;
22857
22860
  event_type: 'access_code.modified_external_to_seam';
22858
22861
  } | {
22859
22862
  /** ID of the event. */
22860
22863
  event_id: string;
22861
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22864
+ /** ID of the workspace associated with the event. */
22862
22865
  workspace_id: string;
22863
22866
  /** Date and time at which the event was created. */
22864
22867
  created_at: string;
22865
22868
  /** Date and time at which the event occurred. */
22866
22869
  occurred_at: string;
22867
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22870
+ /** ID of the affected access code. */
22868
22871
  access_code_id: string;
22869
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22872
+ /** ID of the device associated with the affected access code. */
22870
22873
  device_id: string;
22871
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22874
+ /** ID of the connected account associated with the affected access codes. */
22872
22875
  connected_account_id: string;
22873
22876
  event_type: 'access_code.deleted_external_to_seam';
22874
22877
  } | {
22875
22878
  /** ID of the event. */
22876
22879
  event_id: string;
22877
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22880
+ /** ID of the workspace associated with the event. */
22878
22881
  workspace_id: string;
22879
22882
  /** Date and time at which the event was created. */
22880
22883
  created_at: string;
22881
22884
  /** Date and time at which the event occurred. */
22882
22885
  occurred_at: string;
22883
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22886
+ /** ID of the affected access code. */
22884
22887
  access_code_id: string;
22885
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22888
+ /** ID of the device associated with the affected access code. */
22886
22889
  device_id: string;
22887
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22890
+ /** ID of the connected account associated with the affected access codes. */
22888
22891
  connected_account_id: string;
22889
22892
  event_type: 'access_code.backup_access_code_pulled';
22890
22893
  backup_access_code_id: string;
22891
22894
  } | {
22892
22895
  /** ID of the event. */
22893
22896
  event_id: string;
22894
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22897
+ /** ID of the workspace associated with the event. */
22895
22898
  workspace_id: string;
22896
22899
  /** Date and time at which the event was created. */
22897
22900
  created_at: string;
22898
22901
  /** Date and time at which the event occurred. */
22899
22902
  occurred_at: string;
22900
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22903
+ /** ID of the affected access code. */
22901
22904
  access_code_id: string;
22902
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22905
+ /** ID of the device associated with the affected access code. */
22903
22906
  device_id: string;
22904
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22907
+ /** ID of the connected account associated with the affected access codes. */
22905
22908
  connected_account_id: string;
22906
22909
  event_type: 'access_code.unmanaged.converted_to_managed';
22907
22910
  } | {
22908
22911
  /** ID of the event. */
22909
22912
  event_id: string;
22910
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22913
+ /** ID of the workspace associated with the event. */
22911
22914
  workspace_id: string;
22912
22915
  /** Date and time at which the event was created. */
22913
22916
  created_at: string;
22914
22917
  /** Date and time at which the event occurred. */
22915
22918
  occurred_at: string;
22916
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22919
+ /** ID of the affected access code. */
22917
22920
  access_code_id: string;
22918
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22921
+ /** ID of the device associated with the affected access code. */
22919
22922
  device_id: string;
22920
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22923
+ /** ID of the connected account associated with the affected access codes. */
22921
22924
  connected_account_id: string;
22922
22925
  event_type: 'access_code.unmanaged.failed_to_convert_to_managed';
22923
22926
  } | {
22924
22927
  /** ID of the event. */
22925
22928
  event_id: string;
22926
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22929
+ /** ID of the workspace associated with the event. */
22927
22930
  workspace_id: string;
22928
22931
  /** Date and time at which the event was created. */
22929
22932
  created_at: string;
22930
22933
  /** Date and time at which the event occurred. */
22931
22934
  occurred_at: string;
22932
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22935
+ /** ID of the affected access code. */
22933
22936
  access_code_id: string;
22934
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22937
+ /** ID of the device associated with the affected access code. */
22935
22938
  device_id: string;
22936
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22939
+ /** ID of the connected account associated with the affected access codes. */
22937
22940
  connected_account_id: string;
22938
22941
  event_type: 'access_code.unmanaged.created';
22939
22942
  } | {
22940
22943
  /** ID of the event. */
22941
22944
  event_id: string;
22942
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22945
+ /** ID of the workspace associated with the event. */
22943
22946
  workspace_id: string;
22944
22947
  /** Date and time at which the event was created. */
22945
22948
  created_at: string;
22946
22949
  /** Date and time at which the event occurred. */
22947
22950
  occurred_at: string;
22948
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
22951
+ /** ID of the affected access code. */
22949
22952
  access_code_id: string;
22950
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
22953
+ /** ID of the device associated with the affected access code. */
22951
22954
  device_id: string;
22952
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22955
+ /** ID of the connected account associated with the affected access codes. */
22953
22956
  connected_account_id: string;
22954
22957
  event_type: 'access_code.unmanaged.removed';
22955
22958
  } | {
22956
22959
  /** ID of the event. */
22957
22960
  event_id: string;
22958
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22961
+ /** ID of the workspace associated with the event. */
22959
22962
  workspace_id: string;
22960
22963
  /** Date and time at which the event was created. */
22961
22964
  created_at: string;
22962
22965
  /** Date and time at which the event occurred. */
22963
22966
  occurred_at: string;
22964
- /** ID of the access grant. */
22967
+ /** ID of the affected access grant. */
22965
22968
  access_grant_id: string;
22966
22969
  event_type: 'access_grant.created';
22967
22970
  } | {
22968
22971
  /** ID of the event. */
22969
22972
  event_id: string;
22970
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22973
+ /** ID of the workspace associated with the event. */
22971
22974
  workspace_id: string;
22972
22975
  /** Date and time at which the event was created. */
22973
22976
  created_at: string;
22974
22977
  /** Date and time at which the event occurred. */
22975
22978
  occurred_at: string;
22976
- /** ID of the access grant. */
22979
+ /** ID of the affected access grant. */
22977
22980
  access_grant_id: string;
22978
22981
  event_type: 'access_grant.deleted';
22979
22982
  } | {
22980
22983
  /** ID of the event. */
22981
22984
  event_id: string;
22982
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22985
+ /** ID of the workspace associated with the event. */
22983
22986
  workspace_id: string;
22984
22987
  /** Date and time at which the event was created. */
22985
22988
  created_at: string;
22986
22989
  /** Date and time at which the event occurred. */
22987
22990
  occurred_at: string;
22988
- /** ID of the access grant. */
22991
+ /** ID of the affected access grant. */
22989
22992
  access_grant_id: string;
22990
22993
  event_type: 'access_grant.access_granted_to_all_doors';
22991
22994
  } | {
22992
22995
  /** ID of the event. */
22993
22996
  event_id: string;
22994
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22997
+ /** ID of the workspace associated with the event. */
22995
22998
  workspace_id: string;
22996
22999
  /** Date and time at which the event was created. */
22997
23000
  created_at: string;
22998
23001
  /** Date and time at which the event occurred. */
22999
23002
  occurred_at: string;
23000
- /** ID of the access grant. */
23003
+ /** ID of the affected access grant. */
23001
23004
  access_grant_id: string;
23002
23005
  event_type: 'access_grant.access_granted_to_door';
23003
- /** ID of the door, an [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
23006
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
23004
23007
  acs_entrance_id: string;
23005
23008
  } | {
23006
23009
  /** ID of the event. */
23007
23010
  event_id: string;
23008
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23011
+ /** ID of the workspace associated with the event. */
23009
23012
  workspace_id: string;
23010
23013
  /** Date and time at which the event was created. */
23011
23014
  created_at: string;
23012
23015
  /** Date and time at which the event occurred. */
23013
23016
  occurred_at: string;
23014
- /** ID of the access grant. */
23017
+ /** ID of the affected access grant. */
23015
23018
  access_grant_id: string;
23016
23019
  event_type: 'access_grant.access_to_door_lost';
23017
- /** ID of the door, an [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
23020
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
23018
23021
  acs_entrance_id: string;
23019
23022
  } | {
23020
23023
  /** ID of the event. */
23021
23024
  event_id: string;
23022
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23025
+ /** ID of the workspace associated with the event. */
23023
23026
  workspace_id: string;
23024
23027
  /** Date and time at which the event was created. */
23025
23028
  created_at: string;
23026
23029
  /** Date and time at which the event occurred. */
23027
23030
  occurred_at: string;
23028
- /** ID of the access method. */
23031
+ /** ID of the affected access method. */
23029
23032
  access_method_id: string;
23030
23033
  event_type: 'access_method.issued';
23031
23034
  } | {
23032
23035
  /** ID of the event. */
23033
23036
  event_id: string;
23034
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23037
+ /** ID of the workspace associated with the event. */
23035
23038
  workspace_id: string;
23036
23039
  /** Date and time at which the event was created. */
23037
23040
  created_at: string;
23038
23041
  /** Date and time at which the event occurred. */
23039
23042
  occurred_at: string;
23040
- /** ID of the access method. */
23043
+ /** ID of the affected access method. */
23041
23044
  access_method_id: string;
23042
23045
  event_type: 'access_method.revoked';
23043
23046
  } | {
23044
23047
  /** ID of the event. */
23045
23048
  event_id: string;
23046
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23049
+ /** ID of the workspace associated with the event. */
23047
23050
  workspace_id: string;
23048
23051
  /** Date and time at which the event was created. */
23049
23052
  created_at: string;
23050
23053
  /** Date and time at which the event occurred. */
23051
23054
  occurred_at: string;
23052
- /** ID of the access method. */
23055
+ /** ID of the affected access method. */
23053
23056
  access_method_id: string;
23054
23057
  event_type: 'access_method.card_encoding_required';
23055
23058
  } | {
23056
23059
  /** ID of the event. */
23057
23060
  event_id: string;
23058
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23061
+ /** ID of the workspace associated with the event. */
23059
23062
  workspace_id: string;
23060
23063
  /** Date and time at which the event was created. */
23061
23064
  created_at: string;
23062
23065
  /** Date and time at which the event occurred. */
23063
23066
  occurred_at: string;
23064
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23067
+ /** ID of the connected account. */
23065
23068
  connected_account_id?: string | undefined;
23066
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
23069
+ /** ID of the access system. */
23067
23070
  acs_system_id: string;
23068
23071
  event_type: 'acs_system.connected';
23069
23072
  } | {
23070
23073
  /** ID of the event. */
23071
23074
  event_id: string;
23072
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23075
+ /** ID of the workspace associated with the event. */
23073
23076
  workspace_id: string;
23074
23077
  /** Date and time at which the event was created. */
23075
23078
  created_at: string;
23076
23079
  /** Date and time at which the event occurred. */
23077
23080
  occurred_at: string;
23078
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23081
+ /** ID of the connected account. */
23079
23082
  connected_account_id?: string | undefined;
23080
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
23083
+ /** ID of the access system. */
23081
23084
  acs_system_id: string;
23082
23085
  event_type: 'acs_system.added';
23083
23086
  } | {
23084
23087
  /** ID of the event. */
23085
23088
  event_id: string;
23086
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23089
+ /** ID of the workspace associated with the event. */
23087
23090
  workspace_id: string;
23088
23091
  /** Date and time at which the event was created. */
23089
23092
  created_at: string;
23090
23093
  /** Date and time at which the event occurred. */
23091
23094
  occurred_at: string;
23092
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23095
+ /** ID of the connected account. */
23093
23096
  connected_account_id?: string | undefined;
23094
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
23097
+ /** ID of the access system. */
23095
23098
  acs_system_id: string;
23096
23099
  event_type: 'acs_system.disconnected';
23097
23100
  } | {
23098
23101
  /** ID of the event. */
23099
23102
  event_id: string;
23100
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23103
+ /** ID of the workspace associated with the event. */
23101
23104
  workspace_id: string;
23102
23105
  /** Date and time at which the event was created. */
23103
23106
  created_at: string;
23104
23107
  /** Date and time at which the event occurred. */
23105
23108
  occurred_at: string;
23106
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23109
+ /** ID of the connected account. */
23107
23110
  connected_account_id?: string | undefined;
23108
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
23111
+ /** ID of the access system. */
23109
23112
  acs_system_id: string;
23113
+ /** ID of the affected credential. */
23110
23114
  acs_credential_id: string;
23111
23115
  event_type: 'acs_credential.deleted';
23112
23116
  } | {
23113
23117
  /** ID of the event. */
23114
23118
  event_id: string;
23115
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23119
+ /** ID of the workspace associated with the event. */
23116
23120
  workspace_id: string;
23117
23121
  /** Date and time at which the event was created. */
23118
23122
  created_at: string;
23119
23123
  /** Date and time at which the event occurred. */
23120
23124
  occurred_at: string;
23121
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23125
+ /** ID of the connected account. */
23122
23126
  connected_account_id?: string | undefined;
23123
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
23127
+ /** ID of the access system. */
23124
23128
  acs_system_id: string;
23129
+ /** ID of the affected credential. */
23125
23130
  acs_credential_id: string;
23126
23131
  event_type: 'acs_credential.issued';
23127
23132
  } | {
23128
23133
  /** ID of the event. */
23129
23134
  event_id: string;
23130
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23135
+ /** ID of the workspace associated with the event. */
23131
23136
  workspace_id: string;
23132
23137
  /** Date and time at which the event was created. */
23133
23138
  created_at: string;
23134
23139
  /** Date and time at which the event occurred. */
23135
23140
  occurred_at: string;
23136
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23141
+ /** ID of the connected account. */
23137
23142
  connected_account_id?: string | undefined;
23138
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
23143
+ /** ID of the access system. */
23139
23144
  acs_system_id: string;
23145
+ /** ID of the affected credential. */
23140
23146
  acs_credential_id: string;
23141
23147
  event_type: 'acs_credential.reissued';
23142
23148
  } | {
23143
23149
  /** ID of the event. */
23144
23150
  event_id: string;
23145
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23151
+ /** ID of the workspace associated with the event. */
23146
23152
  workspace_id: string;
23147
23153
  /** Date and time at which the event was created. */
23148
23154
  created_at: string;
23149
23155
  /** Date and time at which the event occurred. */
23150
23156
  occurred_at: string;
23151
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23157
+ /** ID of the connected account. */
23152
23158
  connected_account_id?: string | undefined;
23153
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
23159
+ /** ID of the access system. */
23154
23160
  acs_system_id: string;
23161
+ /** ID of the affected credential. */
23155
23162
  acs_credential_id: string;
23156
23163
  event_type: 'acs_credential.invalidated';
23157
23164
  } | {
23158
23165
  /** ID of the event. */
23159
23166
  event_id: string;
23160
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23167
+ /** ID of the workspace associated with the event. */
23161
23168
  workspace_id: string;
23162
23169
  /** Date and time at which the event was created. */
23163
23170
  created_at: string;
23164
23171
  /** Date and time at which the event occurred. */
23165
23172
  occurred_at: string;
23166
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23173
+ /** ID of the connected account. */
23167
23174
  connected_account_id?: string | undefined;
23168
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
23175
+ /** ID of the access system. */
23169
23176
  acs_system_id: string;
23170
23177
  acs_user_id: string;
23171
23178
  event_type: 'acs_user.created';
23172
23179
  } | {
23173
23180
  /** ID of the event. */
23174
23181
  event_id: string;
23175
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23182
+ /** ID of the workspace associated with the event. */
23176
23183
  workspace_id: string;
23177
23184
  /** Date and time at which the event was created. */
23178
23185
  created_at: string;
23179
23186
  /** Date and time at which the event occurred. */
23180
23187
  occurred_at: string;
23181
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23188
+ /** ID of the connected account. */
23182
23189
  connected_account_id?: string | undefined;
23183
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
23190
+ /** ID of the access system. */
23184
23191
  acs_system_id: string;
23185
23192
  acs_user_id: string;
23186
23193
  event_type: 'acs_user.deleted';
23187
23194
  } | {
23188
23195
  /** ID of the event. */
23189
23196
  event_id: string;
23190
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23197
+ /** ID of the workspace associated with the event. */
23191
23198
  workspace_id: string;
23192
23199
  /** Date and time at which the event was created. */
23193
23200
  created_at: string;
23194
23201
  /** Date and time at which the event occurred. */
23195
23202
  occurred_at: string;
23196
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23203
+ /** ID of the connected account. */
23197
23204
  connected_account_id?: string | undefined;
23198
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
23205
+ /** ID of the access system. */
23199
23206
  acs_system_id: string;
23200
- /** ID of the [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
23207
+ /** ID of the affected encoder. */
23201
23208
  acs_encoder_id: string;
23202
23209
  event_type: 'acs_encoder.added';
23203
23210
  } | {
23204
23211
  /** ID of the event. */
23205
23212
  event_id: string;
23206
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23213
+ /** ID of the workspace associated with the event. */
23207
23214
  workspace_id: string;
23208
23215
  /** Date and time at which the event was created. */
23209
23216
  created_at: string;
23210
23217
  /** Date and time at which the event occurred. */
23211
23218
  occurred_at: string;
23212
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23219
+ /** ID of the connected account. */
23213
23220
  connected_account_id?: string | undefined;
23214
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
23221
+ /** ID of the access system. */
23215
23222
  acs_system_id: string;
23216
- /** ID of the [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
23223
+ /** ID of the affected encoder. */
23217
23224
  acs_encoder_id: string;
23218
23225
  event_type: 'acs_encoder.removed';
23219
23226
  } | {
23220
23227
  /** ID of the event. */
23221
23228
  event_id: string;
23222
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23229
+ /** ID of the workspace associated with the event. */
23223
23230
  workspace_id: string;
23224
23231
  /** Date and time at which the event was created. */
23225
23232
  created_at: string;
23226
23233
  /** Date and time at which the event occurred. */
23227
23234
  occurred_at: string;
23228
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23235
+ /** ID of the connected account. */
23229
23236
  connected_account_id?: string | undefined;
23230
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
23237
+ /** ID of the access system. */
23231
23238
  acs_system_id: string;
23239
+ /** ID of the affected access group. */
23232
23240
  acs_access_group_id: string;
23233
23241
  event_type: 'acs_access_group.deleted';
23234
23242
  } | {
23235
23243
  /** ID of the event. */
23236
23244
  event_id: string;
23237
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23245
+ /** ID of the workspace associated with the event. */
23238
23246
  workspace_id: string;
23239
23247
  /** Date and time at which the event was created. */
23240
23248
  created_at: string;
23241
23249
  /** Date and time at which the event occurred. */
23242
23250
  occurred_at: string;
23243
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23251
+ /** ID of the connected account. */
23244
23252
  connected_account_id?: string | undefined;
23245
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
23253
+ /** ID of the access system. */
23246
23254
  acs_system_id: string;
23247
23255
  acs_entrance_id: string;
23248
23256
  event_type: 'acs_entrance.added';
23249
23257
  } | {
23250
23258
  /** ID of the event. */
23251
23259
  event_id: string;
23252
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23260
+ /** ID of the workspace associated with the event. */
23253
23261
  workspace_id: string;
23254
23262
  /** Date and time at which the event was created. */
23255
23263
  created_at: string;
23256
23264
  /** Date and time at which the event occurred. */
23257
23265
  occurred_at: string;
23258
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23266
+ /** ID of the connected account. */
23259
23267
  connected_account_id?: string | undefined;
23260
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
23268
+ /** ID of the access system. */
23261
23269
  acs_system_id: string;
23262
23270
  acs_entrance_id: string;
23263
23271
  event_type: 'acs_entrance.removed';
23264
23272
  } | {
23265
23273
  /** ID of the event. */
23266
23274
  event_id: string;
23267
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23275
+ /** ID of the workspace associated with the event. */
23268
23276
  workspace_id: string;
23269
23277
  /** Date and time at which the event was created. */
23270
23278
  created_at: string;
23271
23279
  /** Date and time at which the event occurred. */
23272
23280
  occurred_at: string;
23273
- /** ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
23281
+ /** ID of the affected client session. */
23274
23282
  client_session_id: string;
23275
23283
  event_type: 'client_session.deleted';
23276
23284
  } | {
23277
23285
  /** ID of the event. */
23278
23286
  event_id: string;
23279
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23287
+ /** ID of the workspace associated with the event. */
23280
23288
  workspace_id: string;
23281
23289
  /** Date and time at which the event was created. */
23282
23290
  created_at: string;
23283
23291
  /** Date and time at which the event occurred. */
23284
23292
  occurred_at: string;
23285
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23293
+ /** ID of the affected connected account. */
23286
23294
  connected_account_id: string;
23287
23295
  event_type: 'connected_account.connected';
23288
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
23296
+ /** ID of the Connect Webview associated with the event. */
23289
23297
  connect_webview_id: string;
23290
23298
  } | {
23291
23299
  /** ID of the event. */
23292
23300
  event_id: string;
23293
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23301
+ /** ID of the workspace associated with the event. */
23294
23302
  workspace_id: string;
23295
23303
  /** Date and time at which the event was created. */
23296
23304
  created_at: string;
23297
23305
  /** Date and time at which the event occurred. */
23298
23306
  occurred_at: string;
23299
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23307
+ /** ID of the affected connected account. */
23300
23308
  connected_account_id: string;
23301
23309
  event_type: 'connected_account.created';
23302
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
23310
+ /** ID of the Connect Webview associated with the event. */
23303
23311
  connect_webview_id: string;
23304
23312
  } | {
23305
23313
  /** ID of the event. */
23306
23314
  event_id: string;
23307
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23315
+ /** ID of the workspace associated with the event. */
23308
23316
  workspace_id: string;
23309
23317
  /** Date and time at which the event was created. */
23310
23318
  created_at: string;
23311
23319
  /** Date and time at which the event occurred. */
23312
23320
  occurred_at: string;
23313
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23321
+ /** ID of the affected connected account. */
23314
23322
  connected_account_id: string;
23315
23323
  event_type: 'connected_account.successful_login';
23316
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
23324
+ /** ID of the Connect Webview associated with the event. */
23317
23325
  connect_webview_id: string;
23318
23326
  } | {
23319
23327
  /** ID of the event. */
23320
23328
  event_id: string;
23321
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23329
+ /** ID of the workspace associated with the event. */
23322
23330
  workspace_id: string;
23323
23331
  /** Date and time at which the event was created. */
23324
23332
  created_at: string;
23325
23333
  /** Date and time at which the event occurred. */
23326
23334
  occurred_at: string;
23327
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23335
+ /** ID of the affected connected account. */
23328
23336
  connected_account_id: string;
23329
23337
  event_type: 'connected_account.disconnected';
23330
23338
  } | {
23331
23339
  /** ID of the event. */
23332
23340
  event_id: string;
23333
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23341
+ /** ID of the workspace associated with the event. */
23334
23342
  workspace_id: string;
23335
23343
  /** Date and time at which the event was created. */
23336
23344
  created_at: string;
23337
23345
  /** Date and time at which the event occurred. */
23338
23346
  occurred_at: string;
23339
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23347
+ /** ID of the affected connected account. */
23340
23348
  connected_account_id: string;
23341
23349
  event_type: 'connected_account.completed_first_sync';
23342
23350
  } | {
23343
23351
  /** ID of the event. */
23344
23352
  event_id: string;
23345
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23353
+ /** ID of the workspace associated with the event. */
23346
23354
  workspace_id: string;
23347
23355
  /** Date and time at which the event was created. */
23348
23356
  created_at: string;
23349
23357
  /** Date and time at which the event occurred. */
23350
23358
  occurred_at: string;
23351
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23359
+ /** ID of the affected connected account. */
23352
23360
  connected_account_id: string;
23353
23361
  event_type: 'connected_account.deleted';
23354
23362
  } | {
23355
23363
  /** ID of the event. */
23356
23364
  event_id: string;
23357
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23365
+ /** ID of the workspace associated with the event. */
23358
23366
  workspace_id: string;
23359
23367
  /** Date and time at which the event was created. */
23360
23368
  created_at: string;
23361
23369
  /** Date and time at which the event occurred. */
23362
23370
  occurred_at: string;
23363
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23371
+ /** ID of the affected connected account. */
23364
23372
  connected_account_id: string;
23365
23373
  event_type: 'connected_account.completed_first_sync_after_reconnection';
23366
23374
  } | {
23367
23375
  /** ID of the event. */
23368
23376
  event_id: string;
23369
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23377
+ /** ID of the workspace associated with the event. */
23370
23378
  workspace_id: string;
23371
23379
  /** Date and time at which the event was created. */
23372
23380
  created_at: string;
23373
23381
  /** Date and time at which the event occurred. */
23374
23382
  occurred_at: string;
23375
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
23383
+ /** ID of the affected action attempt. */
23376
23384
  action_attempt_id: string;
23377
- /** Type of action. */
23385
+ /** Type of the action. */
23378
23386
  action_type: string;
23379
23387
  /** Status of the action. */
23380
23388
  status: string;
@@ -23382,15 +23390,15 @@ export interface Routes {
23382
23390
  } | {
23383
23391
  /** ID of the event. */
23384
23392
  event_id: string;
23385
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23393
+ /** ID of the workspace associated with the event. */
23386
23394
  workspace_id: string;
23387
23395
  /** Date and time at which the event was created. */
23388
23396
  created_at: string;
23389
23397
  /** Date and time at which the event occurred. */
23390
23398
  occurred_at: string;
23391
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
23399
+ /** ID of the affected action attempt. */
23392
23400
  action_attempt_id: string;
23393
- /** Type of action. */
23401
+ /** Type of the action. */
23394
23402
  action_type: string;
23395
23403
  /** Status of the action. */
23396
23404
  status: string;
@@ -23398,15 +23406,15 @@ export interface Routes {
23398
23406
  } | {
23399
23407
  /** ID of the event. */
23400
23408
  event_id: string;
23401
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23409
+ /** ID of the workspace associated with the event. */
23402
23410
  workspace_id: string;
23403
23411
  /** Date and time at which the event was created. */
23404
23412
  created_at: string;
23405
23413
  /** Date and time at which the event occurred. */
23406
23414
  occurred_at: string;
23407
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
23415
+ /** ID of the affected action attempt. */
23408
23416
  action_attempt_id: string;
23409
- /** Type of action. */
23417
+ /** Type of the action. */
23410
23418
  action_type: string;
23411
23419
  /** Status of the action. */
23412
23420
  status: string;
@@ -23414,15 +23422,15 @@ export interface Routes {
23414
23422
  } | {
23415
23423
  /** ID of the event. */
23416
23424
  event_id: string;
23417
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23425
+ /** ID of the workspace associated with the event. */
23418
23426
  workspace_id: string;
23419
23427
  /** Date and time at which the event was created. */
23420
23428
  created_at: string;
23421
23429
  /** Date and time at which the event occurred. */
23422
23430
  occurred_at: string;
23423
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
23431
+ /** ID of the affected action attempt. */
23424
23432
  action_attempt_id: string;
23425
- /** Type of action. */
23433
+ /** Type of the action. */
23426
23434
  action_type: string;
23427
23435
  /** Status of the action. */
23428
23436
  status: string;
@@ -23430,111 +23438,111 @@ export interface Routes {
23430
23438
  } | {
23431
23439
  /** ID of the event. */
23432
23440
  event_id: string;
23433
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23441
+ /** ID of the workspace associated with the event. */
23434
23442
  workspace_id: string;
23435
23443
  /** Date and time at which the event was created. */
23436
23444
  created_at: string;
23437
23445
  /** Date and time at which the event occurred. */
23438
23446
  occurred_at: string;
23439
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
23447
+ /** ID of the affected Connect Webview. */
23440
23448
  connect_webview_id: string;
23441
23449
  event_type: 'connect_webview.login_succeeded';
23442
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23450
+ /** ID of the connected account associated with the event. */
23443
23451
  connected_account_id: string;
23444
23452
  } | {
23445
23453
  /** ID of the event. */
23446
23454
  event_id: string;
23447
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23455
+ /** ID of the workspace associated with the event. */
23448
23456
  workspace_id: string;
23449
23457
  /** Date and time at which the event was created. */
23450
23458
  created_at: string;
23451
23459
  /** Date and time at which the event occurred. */
23452
23460
  occurred_at: string;
23453
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
23461
+ /** ID of the affected Connect Webview. */
23454
23462
  connect_webview_id: string;
23455
23463
  event_type: 'connect_webview.login_failed';
23456
23464
  } | {
23457
23465
  /** ID of the event. */
23458
23466
  event_id: string;
23459
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23467
+ /** ID of the workspace associated with the event. */
23460
23468
  workspace_id: string;
23461
23469
  /** Date and time at which the event was created. */
23462
23470
  created_at: string;
23463
23471
  /** Date and time at which the event occurred. */
23464
23472
  occurred_at: string;
23465
- /** ID of the device. */
23473
+ /** ID of the affected device. */
23466
23474
  device_id: string;
23467
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23475
+ /** ID of the connected account associated with the event. */
23468
23476
  connected_account_id: string;
23469
23477
  event_type: 'device.connected';
23470
23478
  } | {
23471
23479
  /** ID of the event. */
23472
23480
  event_id: string;
23473
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23481
+ /** ID of the workspace associated with the event. */
23474
23482
  workspace_id: string;
23475
23483
  /** Date and time at which the event was created. */
23476
23484
  created_at: string;
23477
23485
  /** Date and time at which the event occurred. */
23478
23486
  occurred_at: string;
23479
- /** ID of the device. */
23487
+ /** ID of the affected device. */
23480
23488
  device_id: string;
23481
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23489
+ /** ID of the connected account associated with the event. */
23482
23490
  connected_account_id: string;
23483
23491
  event_type: 'device.added';
23484
23492
  } | {
23485
23493
  /** ID of the event. */
23486
23494
  event_id: string;
23487
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23495
+ /** ID of the workspace associated with the event. */
23488
23496
  workspace_id: string;
23489
23497
  /** Date and time at which the event was created. */
23490
23498
  created_at: string;
23491
23499
  /** Date and time at which the event occurred. */
23492
23500
  occurred_at: string;
23493
- /** ID of the device. */
23501
+ /** ID of the affected device. */
23494
23502
  device_id: string;
23495
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23503
+ /** ID of the connected account associated with the event. */
23496
23504
  connected_account_id: string;
23497
23505
  event_type: 'device.converted_to_unmanaged';
23498
23506
  } | {
23499
23507
  /** ID of the event. */
23500
23508
  event_id: string;
23501
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23509
+ /** ID of the workspace associated with the event. */
23502
23510
  workspace_id: string;
23503
23511
  /** Date and time at which the event was created. */
23504
23512
  created_at: string;
23505
23513
  /** Date and time at which the event occurred. */
23506
23514
  occurred_at: string;
23507
- /** ID of the device. */
23515
+ /** ID of the affected device. */
23508
23516
  device_id: string;
23509
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23517
+ /** ID of the connected account associated with the event. */
23510
23518
  connected_account_id: string;
23511
23519
  event_type: 'device.unmanaged.converted_to_managed';
23512
23520
  } | {
23513
23521
  /** ID of the event. */
23514
23522
  event_id: string;
23515
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23523
+ /** ID of the workspace associated with the event. */
23516
23524
  workspace_id: string;
23517
23525
  /** Date and time at which the event was created. */
23518
23526
  created_at: string;
23519
23527
  /** Date and time at which the event occurred. */
23520
23528
  occurred_at: string;
23521
- /** ID of the device. */
23529
+ /** ID of the affected device. */
23522
23530
  device_id: string;
23523
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23531
+ /** ID of the connected account associated with the event. */
23524
23532
  connected_account_id: string;
23525
23533
  event_type: 'device.unmanaged.connected';
23526
23534
  } | {
23527
23535
  /** ID of the event. */
23528
23536
  event_id: string;
23529
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23537
+ /** ID of the workspace associated with the event. */
23530
23538
  workspace_id: string;
23531
23539
  /** Date and time at which the event was created. */
23532
23540
  created_at: string;
23533
23541
  /** Date and time at which the event occurred. */
23534
23542
  occurred_at: string;
23535
- /** ID of the device. */
23543
+ /** ID of the affected device. */
23536
23544
  device_id: string;
23537
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23545
+ /** ID of the connected account associated with the event. */
23538
23546
  connected_account_id: string;
23539
23547
  event_type: 'device.disconnected';
23540
23548
  /** Error code associated with the disconnection event, if any. */
@@ -23542,15 +23550,15 @@ export interface Routes {
23542
23550
  } | {
23543
23551
  /** ID of the event. */
23544
23552
  event_id: string;
23545
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23553
+ /** ID of the workspace associated with the event. */
23546
23554
  workspace_id: string;
23547
23555
  /** Date and time at which the event was created. */
23548
23556
  created_at: string;
23549
23557
  /** Date and time at which the event occurred. */
23550
23558
  occurred_at: string;
23551
- /** ID of the device. */
23559
+ /** ID of the affected device. */
23552
23560
  device_id: string;
23553
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23561
+ /** ID of the connected account associated with the event. */
23554
23562
  connected_account_id: string;
23555
23563
  event_type: 'device.unmanaged.disconnected';
23556
23564
  /** Error code associated with the disconnection event, if any. */
@@ -23558,240 +23566,240 @@ export interface Routes {
23558
23566
  } | {
23559
23567
  /** ID of the event. */
23560
23568
  event_id: string;
23561
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23569
+ /** ID of the workspace associated with the event. */
23562
23570
  workspace_id: string;
23563
23571
  /** Date and time at which the event was created. */
23564
23572
  created_at: string;
23565
23573
  /** Date and time at which the event occurred. */
23566
23574
  occurred_at: string;
23567
- /** ID of the device. */
23575
+ /** ID of the affected device. */
23568
23576
  device_id: string;
23569
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23577
+ /** ID of the connected account associated with the event. */
23570
23578
  connected_account_id: string;
23571
23579
  event_type: 'device.tampered';
23572
23580
  } | {
23573
23581
  /** ID of the event. */
23574
23582
  event_id: string;
23575
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23583
+ /** ID of the workspace associated with the event. */
23576
23584
  workspace_id: string;
23577
23585
  /** Date and time at which the event was created. */
23578
23586
  created_at: string;
23579
23587
  /** Date and time at which the event occurred. */
23580
23588
  occurred_at: string;
23581
- /** ID of the device. */
23589
+ /** ID of the affected device. */
23582
23590
  device_id: string;
23583
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23591
+ /** ID of the connected account associated with the event. */
23584
23592
  connected_account_id: string;
23585
23593
  event_type: 'device.low_battery';
23586
- /** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
23594
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
23587
23595
  battery_level: number;
23588
23596
  } | {
23589
23597
  /** ID of the event. */
23590
23598
  event_id: string;
23591
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23599
+ /** ID of the workspace associated with the event. */
23592
23600
  workspace_id: string;
23593
23601
  /** Date and time at which the event was created. */
23594
23602
  created_at: string;
23595
23603
  /** Date and time at which the event occurred. */
23596
23604
  occurred_at: string;
23597
- /** ID of the device. */
23605
+ /** ID of the affected device. */
23598
23606
  device_id: string;
23599
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23607
+ /** ID of the connected account associated with the event. */
23600
23608
  connected_account_id: string;
23601
23609
  event_type: 'device.battery_status_changed';
23602
- /** Battery status of the device, calculated from the numeric `battery_level` value. */
23610
+ /** Battery status of the affected device, calculated from the numeric `battery_level` value. */
23603
23611
  battery_status: 'critical' | 'low' | 'good' | 'full';
23604
- /** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
23612
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
23605
23613
  battery_level: number;
23606
23614
  } | {
23607
23615
  /** ID of the event. */
23608
23616
  event_id: string;
23609
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23617
+ /** ID of the workspace associated with the event. */
23610
23618
  workspace_id: string;
23611
23619
  /** Date and time at which the event was created. */
23612
23620
  created_at: string;
23613
23621
  /** Date and time at which the event occurred. */
23614
23622
  occurred_at: string;
23615
- /** ID of the device. */
23623
+ /** ID of the affected device. */
23616
23624
  device_id: string;
23617
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23625
+ /** ID of the connected account associated with the event. */
23618
23626
  connected_account_id: string;
23619
23627
  event_type: 'device.removed';
23620
23628
  } | {
23621
23629
  /** ID of the event. */
23622
23630
  event_id: string;
23623
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23631
+ /** ID of the workspace associated with the event. */
23624
23632
  workspace_id: string;
23625
23633
  /** Date and time at which the event was created. */
23626
23634
  created_at: string;
23627
23635
  /** Date and time at which the event occurred. */
23628
23636
  occurred_at: string;
23629
- /** ID of the device. */
23637
+ /** ID of the affected device. */
23630
23638
  device_id: string;
23631
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23639
+ /** ID of the connected account associated with the event. */
23632
23640
  connected_account_id: string;
23633
23641
  event_type: 'device.deleted';
23634
23642
  } | {
23635
23643
  /** ID of the event. */
23636
23644
  event_id: string;
23637
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23645
+ /** ID of the workspace associated with the event. */
23638
23646
  workspace_id: string;
23639
23647
  /** Date and time at which the event was created. */
23640
23648
  created_at: string;
23641
23649
  /** Date and time at which the event occurred. */
23642
23650
  occurred_at: string;
23643
- /** ID of the device. */
23651
+ /** ID of the affected device. */
23644
23652
  device_id: string;
23645
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23653
+ /** ID of the connected account associated with the event. */
23646
23654
  connected_account_id: string;
23647
23655
  event_type: 'device.third_party_integration_detected';
23648
23656
  } | {
23649
23657
  /** ID of the event. */
23650
23658
  event_id: string;
23651
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23659
+ /** ID of the workspace associated with the event. */
23652
23660
  workspace_id: string;
23653
23661
  /** Date and time at which the event was created. */
23654
23662
  created_at: string;
23655
23663
  /** Date and time at which the event occurred. */
23656
23664
  occurred_at: string;
23657
- /** ID of the device. */
23665
+ /** ID of the affected device. */
23658
23666
  device_id: string;
23659
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23667
+ /** ID of the connected account associated with the event. */
23660
23668
  connected_account_id: string;
23661
23669
  event_type: 'device.third_party_integration_no_longer_detected';
23662
23670
  } | {
23663
23671
  /** ID of the event. */
23664
23672
  event_id: string;
23665
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23673
+ /** ID of the workspace associated with the event. */
23666
23674
  workspace_id: string;
23667
23675
  /** Date and time at which the event was created. */
23668
23676
  created_at: string;
23669
23677
  /** Date and time at which the event occurred. */
23670
23678
  occurred_at: string;
23671
- /** ID of the device. */
23679
+ /** ID of the affected device. */
23672
23680
  device_id: string;
23673
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23681
+ /** ID of the connected account associated with the event. */
23674
23682
  connected_account_id: string;
23675
23683
  event_type: 'device.salto.privacy_mode_activated';
23676
23684
  } | {
23677
23685
  /** ID of the event. */
23678
23686
  event_id: string;
23679
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23687
+ /** ID of the workspace associated with the event. */
23680
23688
  workspace_id: string;
23681
23689
  /** Date and time at which the event was created. */
23682
23690
  created_at: string;
23683
23691
  /** Date and time at which the event occurred. */
23684
23692
  occurred_at: string;
23685
- /** ID of the device. */
23693
+ /** ID of the affected device. */
23686
23694
  device_id: string;
23687
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23695
+ /** ID of the connected account associated with the event. */
23688
23696
  connected_account_id: string;
23689
23697
  event_type: 'device.salto.privacy_mode_deactivated';
23690
23698
  } | {
23691
23699
  /** ID of the event. */
23692
23700
  event_id: string;
23693
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23701
+ /** ID of the workspace associated with the event. */
23694
23702
  workspace_id: string;
23695
23703
  /** Date and time at which the event was created. */
23696
23704
  created_at: string;
23697
23705
  /** Date and time at which the event occurred. */
23698
23706
  occurred_at: string;
23699
- /** ID of the device. */
23707
+ /** ID of the affected device. */
23700
23708
  device_id: string;
23701
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23709
+ /** ID of the connected account associated with the event. */
23702
23710
  connected_account_id: string;
23703
23711
  event_type: 'device.connection_became_flaky';
23704
23712
  } | {
23705
23713
  /** ID of the event. */
23706
23714
  event_id: string;
23707
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23715
+ /** ID of the workspace associated with the event. */
23708
23716
  workspace_id: string;
23709
23717
  /** Date and time at which the event was created. */
23710
23718
  created_at: string;
23711
23719
  /** Date and time at which the event occurred. */
23712
23720
  occurred_at: string;
23713
- /** ID of the device. */
23721
+ /** ID of the affected device. */
23714
23722
  device_id: string;
23715
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23723
+ /** ID of the connected account associated with the event. */
23716
23724
  connected_account_id: string;
23717
23725
  event_type: 'device.connection_stabilized';
23718
23726
  } | {
23719
23727
  /** ID of the event. */
23720
23728
  event_id: string;
23721
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23729
+ /** ID of the workspace associated with the event. */
23722
23730
  workspace_id: string;
23723
23731
  /** Date and time at which the event was created. */
23724
23732
  created_at: string;
23725
23733
  /** Date and time at which the event occurred. */
23726
23734
  occurred_at: string;
23727
- /** ID of the device. */
23735
+ /** ID of the affected device. */
23728
23736
  device_id: string;
23729
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23737
+ /** ID of the connected account associated with the event. */
23730
23738
  connected_account_id: string;
23731
23739
  event_type: 'device.error.subscription_required';
23732
23740
  } | {
23733
23741
  /** ID of the event. */
23734
23742
  event_id: string;
23735
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23743
+ /** ID of the workspace associated with the event. */
23736
23744
  workspace_id: string;
23737
23745
  /** Date and time at which the event was created. */
23738
23746
  created_at: string;
23739
23747
  /** Date and time at which the event occurred. */
23740
23748
  occurred_at: string;
23741
- /** ID of the device. */
23749
+ /** ID of the affected device. */
23742
23750
  device_id: string;
23743
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23751
+ /** ID of the connected account associated with the event. */
23744
23752
  connected_account_id: string;
23745
23753
  event_type: 'device.error.subscription_required.resolved';
23746
23754
  } | {
23747
23755
  /** ID of the event. */
23748
23756
  event_id: string;
23749
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23757
+ /** ID of the workspace associated with the event. */
23750
23758
  workspace_id: string;
23751
23759
  /** Date and time at which the event was created. */
23752
23760
  created_at: string;
23753
23761
  /** Date and time at which the event occurred. */
23754
23762
  occurred_at: string;
23755
- /** ID of the device. */
23763
+ /** ID of the affected device. */
23756
23764
  device_id: string;
23757
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23765
+ /** ID of the connected account associated with the event. */
23758
23766
  connected_account_id: string;
23759
23767
  event_type: 'device.accessory_keypad_connected';
23760
23768
  } | {
23761
23769
  /** ID of the event. */
23762
23770
  event_id: string;
23763
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23771
+ /** ID of the workspace associated with the event. */
23764
23772
  workspace_id: string;
23765
23773
  /** Date and time at which the event was created. */
23766
23774
  created_at: string;
23767
23775
  /** Date and time at which the event occurred. */
23768
23776
  occurred_at: string;
23769
- /** ID of the device. */
23777
+ /** ID of the affected device. */
23770
23778
  device_id: string;
23771
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23779
+ /** ID of the connected account associated with the event. */
23772
23780
  connected_account_id: string;
23773
23781
  event_type: 'device.accessory_keypad_disconnected';
23774
23782
  } | {
23775
23783
  /** ID of the event. */
23776
23784
  event_id: string;
23777
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23785
+ /** ID of the workspace associated with the event. */
23778
23786
  workspace_id: string;
23779
23787
  /** Date and time at which the event was created. */
23780
23788
  created_at: string;
23781
23789
  /** Date and time at which the event occurred. */
23782
23790
  occurred_at: string;
23783
- /** ID of the device. */
23791
+ /** ID of the affected device. */
23784
23792
  device_id: string;
23785
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23793
+ /** ID of the connected account associated with the event. */
23786
23794
  connected_account_id: string;
23787
23795
  event_type: 'noise_sensor.noise_threshold_triggered';
23788
23796
  /** Detected noise level in decibels. */
23789
23797
  noise_level_decibels?: number | undefined;
23790
23798
  /** Detected noise level in Noiseaware Noise Risk Score (NRS). */
23791
23799
  noise_level_nrs?: number | undefined;
23792
- /** ID of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
23800
+ /** ID of the noise threshold that was triggered. */
23793
23801
  noise_threshold_id?: string | undefined;
23794
- /** Name of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
23802
+ /** Name of the noise threshold that was triggered. */
23795
23803
  noise_threshold_name?: string | undefined;
23796
23804
  /** Metadata from Noiseaware. */
23797
23805
  noiseaware_metadata?: Record<string, unknown> | undefined;
@@ -23800,94 +23808,94 @@ export interface Routes {
23800
23808
  } | {
23801
23809
  /** ID of the event. */
23802
23810
  event_id: string;
23803
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23811
+ /** ID of the workspace associated with the event. */
23804
23812
  workspace_id: string;
23805
23813
  /** Date and time at which the event was created. */
23806
23814
  created_at: string;
23807
23815
  /** Date and time at which the event occurred. */
23808
23816
  occurred_at: string;
23809
- /** ID of the device. */
23817
+ /** ID of the affected device. */
23810
23818
  device_id: string;
23811
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23819
+ /** ID of the connected account associated with the event. */
23812
23820
  connected_account_id: string;
23813
23821
  event_type: 'lock.locked';
23814
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to lock the device. */
23822
+ /** ID of the access code that was used to lock the device. */
23815
23823
  access_code_id?: string | undefined;
23816
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the lock action. */
23824
+ /** ID of the action attempt associated with the lock action. */
23817
23825
  action_attempt_id?: string | undefined;
23818
- /** 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. */
23826
+ /** 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. */
23819
23827
  method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
23820
23828
  } | {
23821
23829
  /** ID of the event. */
23822
23830
  event_id: string;
23823
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23831
+ /** ID of the workspace associated with the event. */
23824
23832
  workspace_id: string;
23825
23833
  /** Date and time at which the event was created. */
23826
23834
  created_at: string;
23827
23835
  /** Date and time at which the event occurred. */
23828
23836
  occurred_at: string;
23829
- /** ID of the device. */
23837
+ /** ID of the affected device. */
23830
23838
  device_id: string;
23831
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23839
+ /** ID of the connected account associated with the event. */
23832
23840
  connected_account_id: string;
23833
23841
  event_type: 'lock.unlocked';
23834
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to unlock the device. */
23842
+ /** ID of the access code that was used to unlock the affected device. */
23835
23843
  access_code_id?: string | undefined;
23836
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the unlock action. */
23844
+ /** ID of the action attempt associated with the unlock action. */
23837
23845
  action_attempt_id?: string | undefined;
23838
- /** 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. */
23846
+ /** 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. */
23839
23847
  method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
23840
23848
  } | {
23841
23849
  /** ID of the event. */
23842
23850
  event_id: string;
23843
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23851
+ /** ID of the workspace associated with the event. */
23844
23852
  workspace_id: string;
23845
23853
  /** Date and time at which the event was created. */
23846
23854
  created_at: string;
23847
23855
  /** Date and time at which the event occurred. */
23848
23856
  occurred_at: string;
23849
- /** ID of the device. */
23857
+ /** ID of the affected device. */
23850
23858
  device_id: string;
23851
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23859
+ /** ID of the connected account associated with the event. */
23852
23860
  connected_account_id: string;
23853
23861
  event_type: 'lock.access_denied';
23854
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used in the unlock attempts. */
23862
+ /** ID of the access code that was used in the unlock attempts. */
23855
23863
  access_code_id?: string | undefined;
23856
23864
  } | {
23857
23865
  /** ID of the event. */
23858
23866
  event_id: string;
23859
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23867
+ /** ID of the workspace associated with the event. */
23860
23868
  workspace_id: string;
23861
23869
  /** Date and time at which the event was created. */
23862
23870
  created_at: string;
23863
23871
  /** Date and time at which the event occurred. */
23864
23872
  occurred_at: string;
23865
- /** ID of the device. */
23873
+ /** ID of the affected device. */
23866
23874
  device_id: string;
23867
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23875
+ /** ID of the connected account associated with the event. */
23868
23876
  connected_account_id: string;
23869
23877
  event_type: 'thermostat.climate_preset_activated';
23870
- /** 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. */
23878
+ /** ID of the thermostat schedule that prompted the affected climate preset to be activated. */
23871
23879
  thermostat_schedule_id: string | null;
23872
- /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated. */
23880
+ /** Key of the climate preset that was activated. */
23873
23881
  climate_preset_key: string;
23874
- /** 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). */
23882
+ /** Indicates whether the climate preset that was activated is the fallback climate preset for the thermostat. */
23875
23883
  is_fallback_climate_preset: boolean;
23876
23884
  } | {
23877
23885
  /** ID of the event. */
23878
23886
  event_id: string;
23879
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23887
+ /** ID of the workspace associated with the event. */
23880
23888
  workspace_id: string;
23881
23889
  /** Date and time at which the event was created. */
23882
23890
  created_at: string;
23883
23891
  /** Date and time at which the event occurred. */
23884
23892
  occurred_at: string;
23885
- /** ID of the device. */
23893
+ /** ID of the affected device. */
23886
23894
  device_id: string;
23887
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23895
+ /** ID of the connected account associated with the event. */
23888
23896
  connected_account_id: string;
23889
23897
  event_type: 'thermostat.manually_adjusted';
23890
- /** 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). */
23898
+ /** 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. */
23891
23899
  method: 'seam' | 'external';
23892
23900
  /** 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`. */
23893
23901
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
@@ -23904,133 +23912,133 @@ export interface Routes {
23904
23912
  } | {
23905
23913
  /** ID of the event. */
23906
23914
  event_id: string;
23907
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23915
+ /** ID of the workspace associated with the event. */
23908
23916
  workspace_id: string;
23909
23917
  /** Date and time at which the event was created. */
23910
23918
  created_at: string;
23911
23919
  /** Date and time at which the event occurred. */
23912
23920
  occurred_at: string;
23913
- /** ID of the device. */
23921
+ /** ID of the affected device. */
23914
23922
  device_id: string;
23915
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23923
+ /** ID of the connected account associated with the event. */
23916
23924
  connected_account_id: string;
23917
23925
  event_type: 'thermostat.temperature_threshold_exceeded';
23918
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
23926
+ /** Temperature, in °C, reported by the affected thermostat. */
23919
23927
  temperature_celsius: number;
23920
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
23928
+ /** Temperature, in °F, reported by the affected thermostat. */
23921
23929
  temperature_fahrenheit: number;
23922
- /** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
23930
+ /** Upper temperature limit, in °C, defined by the set threshold. */
23923
23931
  upper_limit_celsius: number | null;
23924
- /** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
23932
+ /** Upper temperature limit, in °F, defined by the set threshold. */
23925
23933
  upper_limit_fahrenheit: number | null;
23926
- /** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
23934
+ /** Lower temperature limit, in °C, defined by the set threshold. */
23927
23935
  lower_limit_celsius: number | null;
23928
- /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
23936
+ /** Lower temperature limit, in °F, defined by the set threshold. */
23929
23937
  lower_limit_fahrenheit: number | null;
23930
23938
  } | {
23931
23939
  /** ID of the event. */
23932
23940
  event_id: string;
23933
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23941
+ /** ID of the workspace associated with the event. */
23934
23942
  workspace_id: string;
23935
23943
  /** Date and time at which the event was created. */
23936
23944
  created_at: string;
23937
23945
  /** Date and time at which the event occurred. */
23938
23946
  occurred_at: string;
23939
- /** ID of the device. */
23947
+ /** ID of the affected device. */
23940
23948
  device_id: string;
23941
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23949
+ /** ID of the connected account associated with the event. */
23942
23950
  connected_account_id: string;
23943
23951
  event_type: 'thermostat.temperature_threshold_no_longer_exceeded';
23944
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
23952
+ /** Temperature, in °C, reported by the affected thermostat. */
23945
23953
  temperature_celsius: number;
23946
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
23954
+ /** Temperature, in °F, reported by the affected thermostat. */
23947
23955
  temperature_fahrenheit: number;
23948
- /** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
23956
+ /** Upper temperature limit, in °C, defined by the set threshold. */
23949
23957
  upper_limit_celsius: number | null;
23950
- /** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
23958
+ /** Upper temperature limit, in °F, defined by the set threshold. */
23951
23959
  upper_limit_fahrenheit: number | null;
23952
- /** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
23960
+ /** Lower temperature limit, in °C, defined by the set threshold. */
23953
23961
  lower_limit_celsius: number | null;
23954
- /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
23962
+ /** Lower temperature limit, in °F, defined by the set threshold. */
23955
23963
  lower_limit_fahrenheit: number | null;
23956
23964
  } | {
23957
23965
  /** ID of the event. */
23958
23966
  event_id: string;
23959
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23967
+ /** ID of the workspace associated with the event. */
23960
23968
  workspace_id: string;
23961
23969
  /** Date and time at which the event was created. */
23962
23970
  created_at: string;
23963
23971
  /** Date and time at which the event occurred. */
23964
23972
  occurred_at: string;
23965
- /** ID of the device. */
23973
+ /** ID of the affected device. */
23966
23974
  device_id: string;
23967
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23975
+ /** ID of the connected account associated with the event. */
23968
23976
  connected_account_id: string;
23969
23977
  event_type: 'thermostat.temperature_reached_set_point';
23970
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
23978
+ /** Temperature, in °C, reported by the affected thermostat. */
23971
23979
  temperature_celsius: number;
23972
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
23980
+ /** Temperature, in °F, reported by the affected thermostat. */
23973
23981
  temperature_fahrenheit: number;
23974
- /** 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). */
23982
+ /** Desired temperature, in °C, defined by the affected thermostat's cooling or heating set point. */
23975
23983
  desired_temperature_celsius?: number | undefined;
23976
- /** 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). */
23984
+ /** Desired temperature, in °F, defined by the affected thermostat's cooling or heating set point. */
23977
23985
  desired_temperature_fahrenheit?: number | undefined;
23978
23986
  } | {
23979
23987
  /** ID of the event. */
23980
23988
  event_id: string;
23981
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
23989
+ /** ID of the workspace associated with the event. */
23982
23990
  workspace_id: string;
23983
23991
  /** Date and time at which the event was created. */
23984
23992
  created_at: string;
23985
23993
  /** Date and time at which the event occurred. */
23986
23994
  occurred_at: string;
23987
- /** ID of the device. */
23995
+ /** ID of the affected device. */
23988
23996
  device_id: string;
23989
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
23997
+ /** ID of the connected account associated with the event. */
23990
23998
  connected_account_id: string;
23991
23999
  event_type: 'thermostat.temperature_changed';
23992
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
24000
+ /** Temperature, in °C, reported by the affected thermostat. */
23993
24001
  temperature_celsius: number;
23994
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
24002
+ /** Temperature, in °F, reported by the affected thermostat. */
23995
24003
  temperature_fahrenheit: number;
23996
24004
  } | {
23997
24005
  /** ID of the event. */
23998
24006
  event_id: string;
23999
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24007
+ /** ID of the workspace associated with the event. */
24000
24008
  workspace_id: string;
24001
24009
  /** Date and time at which the event was created. */
24002
24010
  created_at: string;
24003
24011
  /** Date and time at which the event occurred. */
24004
24012
  occurred_at: string;
24005
- /** ID of the device. */
24013
+ /** ID of the affected device. */
24006
24014
  device_id: string;
24007
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24015
+ /** ID of the connected account associated with the event. */
24008
24016
  connected_account_id: string;
24009
24017
  event_type: 'device.name_changed';
24010
- /** The new name of the device. */
24018
+ /** The new name of the affected device. */
24011
24019
  device_name: string;
24012
24020
  } | {
24013
24021
  /** ID of the event. */
24014
24022
  event_id: string;
24015
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24023
+ /** ID of the workspace associated with the event. */
24016
24024
  workspace_id: string;
24017
24025
  /** Date and time at which the event was created. */
24018
24026
  created_at: string;
24019
24027
  /** Date and time at which the event occurred. */
24020
24028
  occurred_at: string;
24021
- /** 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). */
24029
+ /** ID of the affected enrollment automation. */
24022
24030
  enrollment_automation_id: string;
24023
24031
  event_type: 'enrollment_automation.deleted';
24024
24032
  } | {
24025
24033
  /** ID of the event. */
24026
24034
  event_id: string;
24027
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24035
+ /** ID of the workspace associated with the event. */
24028
24036
  workspace_id: string;
24029
24037
  /** Date and time at which the event was created. */
24030
24038
  created_at: string;
24031
24039
  /** Date and time at which the event occurred. */
24032
24040
  occurred_at: string;
24033
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24041
+ /** ID of the affected phone device. */
24034
24042
  device_id: string;
24035
24043
  event_type: 'phone.deactivated';
24036
24044
  }) | undefined;
@@ -24043,21 +24051,37 @@ export interface Routes {
24043
24051
  queryParams: {};
24044
24052
  jsonBody: {};
24045
24053
  commonParams: {
24054
+ /** Offset for the events that you want to list. */
24046
24055
  unstable_offset?: number | undefined;
24056
+ /** Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. */
24047
24057
  since?: string | undefined;
24058
+ /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
24048
24059
  between?: Array<string | Date> | undefined;
24060
+ /** ID of the device for which you want to list events. */
24049
24061
  device_id?: string | undefined;
24062
+ /** IDs of the devices for which you want to list events. */
24050
24063
  device_ids?: string[] | undefined;
24064
+ /** ID of the access system for which you want to list events. */
24051
24065
  acs_system_id?: string | undefined;
24066
+ /** IDs of the access systems for which you want to list events. */
24052
24067
  acs_system_ids?: string[] | undefined;
24068
+ /** ID of the access code for which you want to list events. */
24053
24069
  access_code_id?: string | undefined;
24070
+ /** IDs of the access codes for which you want to list events. */
24054
24071
  access_code_ids?: string[] | undefined;
24072
+ /** Type of the events that you want to list. */
24055
24073
  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;
24074
+ /** Types of the events that you want to list. */
24056
24075
  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;
24076
+ /** ID of the connected account for which you want to list events. */
24057
24077
  connected_account_id?: string | undefined;
24078
+ /** IDs of the connected accounts for which you want to list events. */
24058
24079
  connect_webview_id?: string | undefined;
24080
+ /** Numerical limit on the number of events to return. */
24059
24081
  limit?: number;
24082
+ /** IDs of the events that you want to list. */
24060
24083
  event_ids?: string[] | undefined;
24084
+ /** IDs of the customers for which you want to list events. */
24061
24085
  customer_ids?: string[] | undefined;
24062
24086
  };
24063
24087
  formData: {};
@@ -24065,705 +24089,710 @@ export interface Routes {
24065
24089
  events: Array<{
24066
24090
  /** ID of the event. */
24067
24091
  event_id: string;
24068
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24092
+ /** ID of the workspace associated with the event. */
24069
24093
  workspace_id: string;
24070
24094
  /** Date and time at which the event was created. */
24071
24095
  created_at: string;
24072
24096
  /** Date and time at which the event occurred. */
24073
24097
  occurred_at: string;
24074
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24098
+ /** ID of the affected access code. */
24075
24099
  access_code_id: string;
24076
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24100
+ /** ID of the device associated with the affected access code. */
24077
24101
  device_id: string;
24078
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24102
+ /** ID of the connected account associated with the affected access codes. */
24079
24103
  connected_account_id: string;
24080
24104
  event_type: 'access_code.created';
24081
24105
  } | {
24082
24106
  /** ID of the event. */
24083
24107
  event_id: string;
24084
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24108
+ /** ID of the workspace associated with the event. */
24085
24109
  workspace_id: string;
24086
24110
  /** Date and time at which the event was created. */
24087
24111
  created_at: string;
24088
24112
  /** Date and time at which the event occurred. */
24089
24113
  occurred_at: string;
24090
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24114
+ /** ID of the affected access code. */
24091
24115
  access_code_id: string;
24092
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24116
+ /** ID of the device associated with the affected access code. */
24093
24117
  device_id: string;
24094
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24118
+ /** ID of the connected account associated with the affected access codes. */
24095
24119
  connected_account_id: string;
24096
24120
  event_type: 'access_code.changed';
24097
24121
  } | {
24098
24122
  /** ID of the event. */
24099
24123
  event_id: string;
24100
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24124
+ /** ID of the workspace associated with the event. */
24101
24125
  workspace_id: string;
24102
24126
  /** Date and time at which the event was created. */
24103
24127
  created_at: string;
24104
24128
  /** Date and time at which the event occurred. */
24105
24129
  occurred_at: string;
24106
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24130
+ /** ID of the affected access code. */
24107
24131
  access_code_id: string;
24108
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24132
+ /** ID of the device associated with the affected access code. */
24109
24133
  device_id: string;
24110
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24134
+ /** ID of the connected account associated with the affected access codes. */
24111
24135
  connected_account_id: string;
24112
24136
  event_type: 'access_code.scheduled_on_device';
24113
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24137
+ /** Code for the affected access code. */
24114
24138
  code: string;
24115
24139
  } | {
24116
24140
  /** ID of the event. */
24117
24141
  event_id: string;
24118
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24142
+ /** ID of the workspace associated with the event. */
24119
24143
  workspace_id: string;
24120
24144
  /** Date and time at which the event was created. */
24121
24145
  created_at: string;
24122
24146
  /** Date and time at which the event occurred. */
24123
24147
  occurred_at: string;
24124
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24148
+ /** ID of the affected access code. */
24125
24149
  access_code_id: string;
24126
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24150
+ /** ID of the device associated with the affected access code. */
24127
24151
  device_id: string;
24128
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24152
+ /** ID of the connected account associated with the affected access codes. */
24129
24153
  connected_account_id: string;
24130
24154
  event_type: 'access_code.set_on_device';
24131
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24155
+ /** Code for the affected access code. */
24132
24156
  code: string;
24133
24157
  } | {
24134
24158
  /** ID of the event. */
24135
24159
  event_id: string;
24136
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24160
+ /** ID of the workspace associated with the event. */
24137
24161
  workspace_id: string;
24138
24162
  /** Date and time at which the event was created. */
24139
24163
  created_at: string;
24140
24164
  /** Date and time at which the event occurred. */
24141
24165
  occurred_at: string;
24142
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24166
+ /** ID of the affected access code. */
24143
24167
  access_code_id: string;
24144
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24168
+ /** ID of the device associated with the affected access code. */
24145
24169
  device_id: string;
24146
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24170
+ /** ID of the connected account associated with the affected access codes. */
24147
24171
  connected_account_id: string;
24148
24172
  event_type: 'access_code.removed_from_device';
24149
24173
  } | {
24150
24174
  /** ID of the event. */
24151
24175
  event_id: string;
24152
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24176
+ /** ID of the workspace associated with the event. */
24153
24177
  workspace_id: string;
24154
24178
  /** Date and time at which the event was created. */
24155
24179
  created_at: string;
24156
24180
  /** Date and time at which the event occurred. */
24157
24181
  occurred_at: string;
24158
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24182
+ /** ID of the affected access code. */
24159
24183
  access_code_id: string;
24160
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24184
+ /** ID of the device associated with the affected access code. */
24161
24185
  device_id: string;
24162
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24186
+ /** ID of the connected account associated with the affected access codes. */
24163
24187
  connected_account_id: string;
24164
24188
  event_type: 'access_code.delay_in_setting_on_device';
24165
24189
  } | {
24166
24190
  /** ID of the event. */
24167
24191
  event_id: string;
24168
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24192
+ /** ID of the workspace associated with the event. */
24169
24193
  workspace_id: string;
24170
24194
  /** Date and time at which the event was created. */
24171
24195
  created_at: string;
24172
24196
  /** Date and time at which the event occurred. */
24173
24197
  occurred_at: string;
24174
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24198
+ /** ID of the affected access code. */
24175
24199
  access_code_id: string;
24176
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24200
+ /** ID of the device associated with the affected access code. */
24177
24201
  device_id: string;
24178
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24202
+ /** ID of the connected account associated with the affected access codes. */
24179
24203
  connected_account_id: string;
24180
24204
  event_type: 'access_code.failed_to_set_on_device';
24181
24205
  } | {
24182
24206
  /** ID of the event. */
24183
24207
  event_id: string;
24184
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24208
+ /** ID of the workspace associated with the event. */
24185
24209
  workspace_id: string;
24186
24210
  /** Date and time at which the event was created. */
24187
24211
  created_at: string;
24188
24212
  /** Date and time at which the event occurred. */
24189
24213
  occurred_at: string;
24190
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24214
+ /** ID of the affected access code. */
24191
24215
  access_code_id: string;
24192
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24216
+ /** ID of the device associated with the affected access code. */
24193
24217
  device_id: string;
24194
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24218
+ /** ID of the connected account associated with the affected access codes. */
24195
24219
  connected_account_id: string;
24196
24220
  event_type: 'access_code.deleted';
24197
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24221
+ /** Code for the affected access code. */
24198
24222
  code: string | null;
24199
24223
  } | {
24200
24224
  /** ID of the event. */
24201
24225
  event_id: string;
24202
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24226
+ /** ID of the workspace associated with the event. */
24203
24227
  workspace_id: string;
24204
24228
  /** Date and time at which the event was created. */
24205
24229
  created_at: string;
24206
24230
  /** Date and time at which the event occurred. */
24207
24231
  occurred_at: string;
24208
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24232
+ /** ID of the affected access code. */
24209
24233
  access_code_id: string;
24210
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24234
+ /** ID of the device associated with the affected access code. */
24211
24235
  device_id: string;
24212
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24236
+ /** ID of the connected account associated with the affected access codes. */
24213
24237
  connected_account_id: string;
24214
24238
  event_type: 'access_code.delay_in_removing_from_device';
24215
24239
  } | {
24216
24240
  /** ID of the event. */
24217
24241
  event_id: string;
24218
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24242
+ /** ID of the workspace associated with the event. */
24219
24243
  workspace_id: string;
24220
24244
  /** Date and time at which the event was created. */
24221
24245
  created_at: string;
24222
24246
  /** Date and time at which the event occurred. */
24223
24247
  occurred_at: string;
24224
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24248
+ /** ID of the affected access code. */
24225
24249
  access_code_id: string;
24226
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24250
+ /** ID of the device associated with the affected access code. */
24227
24251
  device_id: string;
24228
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24252
+ /** ID of the connected account associated with the affected access codes. */
24229
24253
  connected_account_id: string;
24230
24254
  event_type: 'access_code.failed_to_remove_from_device';
24231
24255
  } | {
24232
24256
  /** ID of the event. */
24233
24257
  event_id: string;
24234
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24258
+ /** ID of the workspace associated with the event. */
24235
24259
  workspace_id: string;
24236
24260
  /** Date and time at which the event was created. */
24237
24261
  created_at: string;
24238
24262
  /** Date and time at which the event occurred. */
24239
24263
  occurred_at: string;
24240
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24264
+ /** ID of the affected access code. */
24241
24265
  access_code_id: string;
24242
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24266
+ /** ID of the device associated with the affected access code. */
24243
24267
  device_id: string;
24244
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24268
+ /** ID of the connected account associated with the affected access codes. */
24245
24269
  connected_account_id: string;
24246
24270
  event_type: 'access_code.modified_external_to_seam';
24247
24271
  } | {
24248
24272
  /** ID of the event. */
24249
24273
  event_id: string;
24250
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24274
+ /** ID of the workspace associated with the event. */
24251
24275
  workspace_id: string;
24252
24276
  /** Date and time at which the event was created. */
24253
24277
  created_at: string;
24254
24278
  /** Date and time at which the event occurred. */
24255
24279
  occurred_at: string;
24256
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24280
+ /** ID of the affected access code. */
24257
24281
  access_code_id: string;
24258
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24282
+ /** ID of the device associated with the affected access code. */
24259
24283
  device_id: string;
24260
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24284
+ /** ID of the connected account associated with the affected access codes. */
24261
24285
  connected_account_id: string;
24262
24286
  event_type: 'access_code.deleted_external_to_seam';
24263
24287
  } | {
24264
24288
  /** ID of the event. */
24265
24289
  event_id: string;
24266
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24290
+ /** ID of the workspace associated with the event. */
24267
24291
  workspace_id: string;
24268
24292
  /** Date and time at which the event was created. */
24269
24293
  created_at: string;
24270
24294
  /** Date and time at which the event occurred. */
24271
24295
  occurred_at: string;
24272
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24296
+ /** ID of the affected access code. */
24273
24297
  access_code_id: string;
24274
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24298
+ /** ID of the device associated with the affected access code. */
24275
24299
  device_id: string;
24276
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24300
+ /** ID of the connected account associated with the affected access codes. */
24277
24301
  connected_account_id: string;
24278
24302
  event_type: 'access_code.backup_access_code_pulled';
24279
24303
  backup_access_code_id: string;
24280
24304
  } | {
24281
24305
  /** ID of the event. */
24282
24306
  event_id: string;
24283
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24307
+ /** ID of the workspace associated with the event. */
24284
24308
  workspace_id: string;
24285
24309
  /** Date and time at which the event was created. */
24286
24310
  created_at: string;
24287
24311
  /** Date and time at which the event occurred. */
24288
24312
  occurred_at: string;
24289
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24313
+ /** ID of the affected access code. */
24290
24314
  access_code_id: string;
24291
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24315
+ /** ID of the device associated with the affected access code. */
24292
24316
  device_id: string;
24293
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24317
+ /** ID of the connected account associated with the affected access codes. */
24294
24318
  connected_account_id: string;
24295
24319
  event_type: 'access_code.unmanaged.converted_to_managed';
24296
24320
  } | {
24297
24321
  /** ID of the event. */
24298
24322
  event_id: string;
24299
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24323
+ /** ID of the workspace associated with the event. */
24300
24324
  workspace_id: string;
24301
24325
  /** Date and time at which the event was created. */
24302
24326
  created_at: string;
24303
24327
  /** Date and time at which the event occurred. */
24304
24328
  occurred_at: string;
24305
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24329
+ /** ID of the affected access code. */
24306
24330
  access_code_id: string;
24307
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24331
+ /** ID of the device associated with the affected access code. */
24308
24332
  device_id: string;
24309
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24333
+ /** ID of the connected account associated with the affected access codes. */
24310
24334
  connected_account_id: string;
24311
24335
  event_type: 'access_code.unmanaged.failed_to_convert_to_managed';
24312
24336
  } | {
24313
24337
  /** ID of the event. */
24314
24338
  event_id: string;
24315
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24339
+ /** ID of the workspace associated with the event. */
24316
24340
  workspace_id: string;
24317
24341
  /** Date and time at which the event was created. */
24318
24342
  created_at: string;
24319
24343
  /** Date and time at which the event occurred. */
24320
24344
  occurred_at: string;
24321
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24345
+ /** ID of the affected access code. */
24322
24346
  access_code_id: string;
24323
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24347
+ /** ID of the device associated with the affected access code. */
24324
24348
  device_id: string;
24325
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24349
+ /** ID of the connected account associated with the affected access codes. */
24326
24350
  connected_account_id: string;
24327
24351
  event_type: 'access_code.unmanaged.created';
24328
24352
  } | {
24329
24353
  /** ID of the event. */
24330
24354
  event_id: string;
24331
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24355
+ /** ID of the workspace associated with the event. */
24332
24356
  workspace_id: string;
24333
24357
  /** Date and time at which the event was created. */
24334
24358
  created_at: string;
24335
24359
  /** Date and time at which the event occurred. */
24336
24360
  occurred_at: string;
24337
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
24361
+ /** ID of the affected access code. */
24338
24362
  access_code_id: string;
24339
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
24363
+ /** ID of the device associated with the affected access code. */
24340
24364
  device_id: string;
24341
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24365
+ /** ID of the connected account associated with the affected access codes. */
24342
24366
  connected_account_id: string;
24343
24367
  event_type: 'access_code.unmanaged.removed';
24344
24368
  } | {
24345
24369
  /** ID of the event. */
24346
24370
  event_id: string;
24347
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24371
+ /** ID of the workspace associated with the event. */
24348
24372
  workspace_id: string;
24349
24373
  /** Date and time at which the event was created. */
24350
24374
  created_at: string;
24351
24375
  /** Date and time at which the event occurred. */
24352
24376
  occurred_at: string;
24353
- /** ID of the access grant. */
24377
+ /** ID of the affected access grant. */
24354
24378
  access_grant_id: string;
24355
24379
  event_type: 'access_grant.created';
24356
24380
  } | {
24357
24381
  /** ID of the event. */
24358
24382
  event_id: string;
24359
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24383
+ /** ID of the workspace associated with the event. */
24360
24384
  workspace_id: string;
24361
24385
  /** Date and time at which the event was created. */
24362
24386
  created_at: string;
24363
24387
  /** Date and time at which the event occurred. */
24364
24388
  occurred_at: string;
24365
- /** ID of the access grant. */
24389
+ /** ID of the affected access grant. */
24366
24390
  access_grant_id: string;
24367
24391
  event_type: 'access_grant.deleted';
24368
24392
  } | {
24369
24393
  /** ID of the event. */
24370
24394
  event_id: string;
24371
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24395
+ /** ID of the workspace associated with the event. */
24372
24396
  workspace_id: string;
24373
24397
  /** Date and time at which the event was created. */
24374
24398
  created_at: string;
24375
24399
  /** Date and time at which the event occurred. */
24376
24400
  occurred_at: string;
24377
- /** ID of the access grant. */
24401
+ /** ID of the affected access grant. */
24378
24402
  access_grant_id: string;
24379
24403
  event_type: 'access_grant.access_granted_to_all_doors';
24380
24404
  } | {
24381
24405
  /** ID of the event. */
24382
24406
  event_id: string;
24383
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24407
+ /** ID of the workspace associated with the event. */
24384
24408
  workspace_id: string;
24385
24409
  /** Date and time at which the event was created. */
24386
24410
  created_at: string;
24387
24411
  /** Date and time at which the event occurred. */
24388
24412
  occurred_at: string;
24389
- /** ID of the access grant. */
24413
+ /** ID of the affected access grant. */
24390
24414
  access_grant_id: string;
24391
24415
  event_type: 'access_grant.access_granted_to_door';
24392
- /** ID of the door, an [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
24416
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
24393
24417
  acs_entrance_id: string;
24394
24418
  } | {
24395
24419
  /** ID of the event. */
24396
24420
  event_id: string;
24397
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24421
+ /** ID of the workspace associated with the event. */
24398
24422
  workspace_id: string;
24399
24423
  /** Date and time at which the event was created. */
24400
24424
  created_at: string;
24401
24425
  /** Date and time at which the event occurred. */
24402
24426
  occurred_at: string;
24403
- /** ID of the access grant. */
24427
+ /** ID of the affected access grant. */
24404
24428
  access_grant_id: string;
24405
24429
  event_type: 'access_grant.access_to_door_lost';
24406
- /** ID of the door, an [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
24430
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
24407
24431
  acs_entrance_id: string;
24408
24432
  } | {
24409
24433
  /** ID of the event. */
24410
24434
  event_id: string;
24411
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24435
+ /** ID of the workspace associated with the event. */
24412
24436
  workspace_id: string;
24413
24437
  /** Date and time at which the event was created. */
24414
24438
  created_at: string;
24415
24439
  /** Date and time at which the event occurred. */
24416
24440
  occurred_at: string;
24417
- /** ID of the access method. */
24441
+ /** ID of the affected access method. */
24418
24442
  access_method_id: string;
24419
24443
  event_type: 'access_method.issued';
24420
24444
  } | {
24421
24445
  /** ID of the event. */
24422
24446
  event_id: string;
24423
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24447
+ /** ID of the workspace associated with the event. */
24424
24448
  workspace_id: string;
24425
24449
  /** Date and time at which the event was created. */
24426
24450
  created_at: string;
24427
24451
  /** Date and time at which the event occurred. */
24428
24452
  occurred_at: string;
24429
- /** ID of the access method. */
24453
+ /** ID of the affected access method. */
24430
24454
  access_method_id: string;
24431
24455
  event_type: 'access_method.revoked';
24432
24456
  } | {
24433
24457
  /** ID of the event. */
24434
24458
  event_id: string;
24435
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24459
+ /** ID of the workspace associated with the event. */
24436
24460
  workspace_id: string;
24437
24461
  /** Date and time at which the event was created. */
24438
24462
  created_at: string;
24439
24463
  /** Date and time at which the event occurred. */
24440
24464
  occurred_at: string;
24441
- /** ID of the access method. */
24465
+ /** ID of the affected access method. */
24442
24466
  access_method_id: string;
24443
24467
  event_type: 'access_method.card_encoding_required';
24444
24468
  } | {
24445
24469
  /** ID of the event. */
24446
24470
  event_id: string;
24447
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24471
+ /** ID of the workspace associated with the event. */
24448
24472
  workspace_id: string;
24449
24473
  /** Date and time at which the event was created. */
24450
24474
  created_at: string;
24451
24475
  /** Date and time at which the event occurred. */
24452
24476
  occurred_at: string;
24453
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24477
+ /** ID of the connected account. */
24454
24478
  connected_account_id?: string | undefined;
24455
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
24479
+ /** ID of the access system. */
24456
24480
  acs_system_id: string;
24457
24481
  event_type: 'acs_system.connected';
24458
24482
  } | {
24459
24483
  /** ID of the event. */
24460
24484
  event_id: string;
24461
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24485
+ /** ID of the workspace associated with the event. */
24462
24486
  workspace_id: string;
24463
24487
  /** Date and time at which the event was created. */
24464
24488
  created_at: string;
24465
24489
  /** Date and time at which the event occurred. */
24466
24490
  occurred_at: string;
24467
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24491
+ /** ID of the connected account. */
24468
24492
  connected_account_id?: string | undefined;
24469
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
24493
+ /** ID of the access system. */
24470
24494
  acs_system_id: string;
24471
24495
  event_type: 'acs_system.added';
24472
24496
  } | {
24473
24497
  /** ID of the event. */
24474
24498
  event_id: string;
24475
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24499
+ /** ID of the workspace associated with the event. */
24476
24500
  workspace_id: string;
24477
24501
  /** Date and time at which the event was created. */
24478
24502
  created_at: string;
24479
24503
  /** Date and time at which the event occurred. */
24480
24504
  occurred_at: string;
24481
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24505
+ /** ID of the connected account. */
24482
24506
  connected_account_id?: string | undefined;
24483
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
24507
+ /** ID of the access system. */
24484
24508
  acs_system_id: string;
24485
24509
  event_type: 'acs_system.disconnected';
24486
24510
  } | {
24487
24511
  /** ID of the event. */
24488
24512
  event_id: string;
24489
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24513
+ /** ID of the workspace associated with the event. */
24490
24514
  workspace_id: string;
24491
24515
  /** Date and time at which the event was created. */
24492
24516
  created_at: string;
24493
24517
  /** Date and time at which the event occurred. */
24494
24518
  occurred_at: string;
24495
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24519
+ /** ID of the connected account. */
24496
24520
  connected_account_id?: string | undefined;
24497
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
24521
+ /** ID of the access system. */
24498
24522
  acs_system_id: string;
24523
+ /** ID of the affected credential. */
24499
24524
  acs_credential_id: string;
24500
24525
  event_type: 'acs_credential.deleted';
24501
24526
  } | {
24502
24527
  /** ID of the event. */
24503
24528
  event_id: string;
24504
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24529
+ /** ID of the workspace associated with the event. */
24505
24530
  workspace_id: string;
24506
24531
  /** Date and time at which the event was created. */
24507
24532
  created_at: string;
24508
24533
  /** Date and time at which the event occurred. */
24509
24534
  occurred_at: string;
24510
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24535
+ /** ID of the connected account. */
24511
24536
  connected_account_id?: string | undefined;
24512
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
24537
+ /** ID of the access system. */
24513
24538
  acs_system_id: string;
24539
+ /** ID of the affected credential. */
24514
24540
  acs_credential_id: string;
24515
24541
  event_type: 'acs_credential.issued';
24516
24542
  } | {
24517
24543
  /** ID of the event. */
24518
24544
  event_id: string;
24519
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24545
+ /** ID of the workspace associated with the event. */
24520
24546
  workspace_id: string;
24521
24547
  /** Date and time at which the event was created. */
24522
24548
  created_at: string;
24523
24549
  /** Date and time at which the event occurred. */
24524
24550
  occurred_at: string;
24525
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24551
+ /** ID of the connected account. */
24526
24552
  connected_account_id?: string | undefined;
24527
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
24553
+ /** ID of the access system. */
24528
24554
  acs_system_id: string;
24555
+ /** ID of the affected credential. */
24529
24556
  acs_credential_id: string;
24530
24557
  event_type: 'acs_credential.reissued';
24531
24558
  } | {
24532
24559
  /** ID of the event. */
24533
24560
  event_id: string;
24534
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24561
+ /** ID of the workspace associated with the event. */
24535
24562
  workspace_id: string;
24536
24563
  /** Date and time at which the event was created. */
24537
24564
  created_at: string;
24538
24565
  /** Date and time at which the event occurred. */
24539
24566
  occurred_at: string;
24540
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24567
+ /** ID of the connected account. */
24541
24568
  connected_account_id?: string | undefined;
24542
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
24569
+ /** ID of the access system. */
24543
24570
  acs_system_id: string;
24571
+ /** ID of the affected credential. */
24544
24572
  acs_credential_id: string;
24545
24573
  event_type: 'acs_credential.invalidated';
24546
24574
  } | {
24547
24575
  /** ID of the event. */
24548
24576
  event_id: string;
24549
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24577
+ /** ID of the workspace associated with the event. */
24550
24578
  workspace_id: string;
24551
24579
  /** Date and time at which the event was created. */
24552
24580
  created_at: string;
24553
24581
  /** Date and time at which the event occurred. */
24554
24582
  occurred_at: string;
24555
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24583
+ /** ID of the connected account. */
24556
24584
  connected_account_id?: string | undefined;
24557
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
24585
+ /** ID of the access system. */
24558
24586
  acs_system_id: string;
24559
24587
  acs_user_id: string;
24560
24588
  event_type: 'acs_user.created';
24561
24589
  } | {
24562
24590
  /** ID of the event. */
24563
24591
  event_id: string;
24564
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24592
+ /** ID of the workspace associated with the event. */
24565
24593
  workspace_id: string;
24566
24594
  /** Date and time at which the event was created. */
24567
24595
  created_at: string;
24568
24596
  /** Date and time at which the event occurred. */
24569
24597
  occurred_at: string;
24570
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24598
+ /** ID of the connected account. */
24571
24599
  connected_account_id?: string | undefined;
24572
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
24600
+ /** ID of the access system. */
24573
24601
  acs_system_id: string;
24574
24602
  acs_user_id: string;
24575
24603
  event_type: 'acs_user.deleted';
24576
24604
  } | {
24577
24605
  /** ID of the event. */
24578
24606
  event_id: string;
24579
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24607
+ /** ID of the workspace associated with the event. */
24580
24608
  workspace_id: string;
24581
24609
  /** Date and time at which the event was created. */
24582
24610
  created_at: string;
24583
24611
  /** Date and time at which the event occurred. */
24584
24612
  occurred_at: string;
24585
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24613
+ /** ID of the connected account. */
24586
24614
  connected_account_id?: string | undefined;
24587
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
24615
+ /** ID of the access system. */
24588
24616
  acs_system_id: string;
24589
- /** ID of the [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
24617
+ /** ID of the affected encoder. */
24590
24618
  acs_encoder_id: string;
24591
24619
  event_type: 'acs_encoder.added';
24592
24620
  } | {
24593
24621
  /** ID of the event. */
24594
24622
  event_id: string;
24595
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24623
+ /** ID of the workspace associated with the event. */
24596
24624
  workspace_id: string;
24597
24625
  /** Date and time at which the event was created. */
24598
24626
  created_at: string;
24599
24627
  /** Date and time at which the event occurred. */
24600
24628
  occurred_at: string;
24601
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24629
+ /** ID of the connected account. */
24602
24630
  connected_account_id?: string | undefined;
24603
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
24631
+ /** ID of the access system. */
24604
24632
  acs_system_id: string;
24605
- /** ID of the [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
24633
+ /** ID of the affected encoder. */
24606
24634
  acs_encoder_id: string;
24607
24635
  event_type: 'acs_encoder.removed';
24608
24636
  } | {
24609
24637
  /** ID of the event. */
24610
24638
  event_id: string;
24611
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24639
+ /** ID of the workspace associated with the event. */
24612
24640
  workspace_id: string;
24613
24641
  /** Date and time at which the event was created. */
24614
24642
  created_at: string;
24615
24643
  /** Date and time at which the event occurred. */
24616
24644
  occurred_at: string;
24617
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24645
+ /** ID of the connected account. */
24618
24646
  connected_account_id?: string | undefined;
24619
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
24647
+ /** ID of the access system. */
24620
24648
  acs_system_id: string;
24649
+ /** ID of the affected access group. */
24621
24650
  acs_access_group_id: string;
24622
24651
  event_type: 'acs_access_group.deleted';
24623
24652
  } | {
24624
24653
  /** ID of the event. */
24625
24654
  event_id: string;
24626
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24655
+ /** ID of the workspace associated with the event. */
24627
24656
  workspace_id: string;
24628
24657
  /** Date and time at which the event was created. */
24629
24658
  created_at: string;
24630
24659
  /** Date and time at which the event occurred. */
24631
24660
  occurred_at: string;
24632
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24661
+ /** ID of the connected account. */
24633
24662
  connected_account_id?: string | undefined;
24634
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
24663
+ /** ID of the access system. */
24635
24664
  acs_system_id: string;
24636
24665
  acs_entrance_id: string;
24637
24666
  event_type: 'acs_entrance.added';
24638
24667
  } | {
24639
24668
  /** ID of the event. */
24640
24669
  event_id: string;
24641
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24670
+ /** ID of the workspace associated with the event. */
24642
24671
  workspace_id: string;
24643
24672
  /** Date and time at which the event was created. */
24644
24673
  created_at: string;
24645
24674
  /** Date and time at which the event occurred. */
24646
24675
  occurred_at: string;
24647
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24676
+ /** ID of the connected account. */
24648
24677
  connected_account_id?: string | undefined;
24649
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
24678
+ /** ID of the access system. */
24650
24679
  acs_system_id: string;
24651
24680
  acs_entrance_id: string;
24652
24681
  event_type: 'acs_entrance.removed';
24653
24682
  } | {
24654
24683
  /** ID of the event. */
24655
24684
  event_id: string;
24656
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24685
+ /** ID of the workspace associated with the event. */
24657
24686
  workspace_id: string;
24658
24687
  /** Date and time at which the event was created. */
24659
24688
  created_at: string;
24660
24689
  /** Date and time at which the event occurred. */
24661
24690
  occurred_at: string;
24662
- /** ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
24691
+ /** ID of the affected client session. */
24663
24692
  client_session_id: string;
24664
24693
  event_type: 'client_session.deleted';
24665
24694
  } | {
24666
24695
  /** ID of the event. */
24667
24696
  event_id: string;
24668
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24697
+ /** ID of the workspace associated with the event. */
24669
24698
  workspace_id: string;
24670
24699
  /** Date and time at which the event was created. */
24671
24700
  created_at: string;
24672
24701
  /** Date and time at which the event occurred. */
24673
24702
  occurred_at: string;
24674
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24703
+ /** ID of the affected connected account. */
24675
24704
  connected_account_id: string;
24676
24705
  event_type: 'connected_account.connected';
24677
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
24706
+ /** ID of the Connect Webview associated with the event. */
24678
24707
  connect_webview_id: string;
24679
24708
  } | {
24680
24709
  /** ID of the event. */
24681
24710
  event_id: string;
24682
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24711
+ /** ID of the workspace associated with the event. */
24683
24712
  workspace_id: string;
24684
24713
  /** Date and time at which the event was created. */
24685
24714
  created_at: string;
24686
24715
  /** Date and time at which the event occurred. */
24687
24716
  occurred_at: string;
24688
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24717
+ /** ID of the affected connected account. */
24689
24718
  connected_account_id: string;
24690
24719
  event_type: 'connected_account.created';
24691
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
24720
+ /** ID of the Connect Webview associated with the event. */
24692
24721
  connect_webview_id: string;
24693
24722
  } | {
24694
24723
  /** ID of the event. */
24695
24724
  event_id: string;
24696
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24725
+ /** ID of the workspace associated with the event. */
24697
24726
  workspace_id: string;
24698
24727
  /** Date and time at which the event was created. */
24699
24728
  created_at: string;
24700
24729
  /** Date and time at which the event occurred. */
24701
24730
  occurred_at: string;
24702
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24731
+ /** ID of the affected connected account. */
24703
24732
  connected_account_id: string;
24704
24733
  event_type: 'connected_account.successful_login';
24705
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
24734
+ /** ID of the Connect Webview associated with the event. */
24706
24735
  connect_webview_id: string;
24707
24736
  } | {
24708
24737
  /** ID of the event. */
24709
24738
  event_id: string;
24710
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24739
+ /** ID of the workspace associated with the event. */
24711
24740
  workspace_id: string;
24712
24741
  /** Date and time at which the event was created. */
24713
24742
  created_at: string;
24714
24743
  /** Date and time at which the event occurred. */
24715
24744
  occurred_at: string;
24716
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24745
+ /** ID of the affected connected account. */
24717
24746
  connected_account_id: string;
24718
24747
  event_type: 'connected_account.disconnected';
24719
24748
  } | {
24720
24749
  /** ID of the event. */
24721
24750
  event_id: string;
24722
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24751
+ /** ID of the workspace associated with the event. */
24723
24752
  workspace_id: string;
24724
24753
  /** Date and time at which the event was created. */
24725
24754
  created_at: string;
24726
24755
  /** Date and time at which the event occurred. */
24727
24756
  occurred_at: string;
24728
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24757
+ /** ID of the affected connected account. */
24729
24758
  connected_account_id: string;
24730
24759
  event_type: 'connected_account.completed_first_sync';
24731
24760
  } | {
24732
24761
  /** ID of the event. */
24733
24762
  event_id: string;
24734
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24763
+ /** ID of the workspace associated with the event. */
24735
24764
  workspace_id: string;
24736
24765
  /** Date and time at which the event was created. */
24737
24766
  created_at: string;
24738
24767
  /** Date and time at which the event occurred. */
24739
24768
  occurred_at: string;
24740
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24769
+ /** ID of the affected connected account. */
24741
24770
  connected_account_id: string;
24742
24771
  event_type: 'connected_account.deleted';
24743
24772
  } | {
24744
24773
  /** ID of the event. */
24745
24774
  event_id: string;
24746
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24775
+ /** ID of the workspace associated with the event. */
24747
24776
  workspace_id: string;
24748
24777
  /** Date and time at which the event was created. */
24749
24778
  created_at: string;
24750
24779
  /** Date and time at which the event occurred. */
24751
24780
  occurred_at: string;
24752
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24781
+ /** ID of the affected connected account. */
24753
24782
  connected_account_id: string;
24754
24783
  event_type: 'connected_account.completed_first_sync_after_reconnection';
24755
24784
  } | {
24756
24785
  /** ID of the event. */
24757
24786
  event_id: string;
24758
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24787
+ /** ID of the workspace associated with the event. */
24759
24788
  workspace_id: string;
24760
24789
  /** Date and time at which the event was created. */
24761
24790
  created_at: string;
24762
24791
  /** Date and time at which the event occurred. */
24763
24792
  occurred_at: string;
24764
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
24793
+ /** ID of the affected action attempt. */
24765
24794
  action_attempt_id: string;
24766
- /** Type of action. */
24795
+ /** Type of the action. */
24767
24796
  action_type: string;
24768
24797
  /** Status of the action. */
24769
24798
  status: string;
@@ -24771,15 +24800,15 @@ export interface Routes {
24771
24800
  } | {
24772
24801
  /** ID of the event. */
24773
24802
  event_id: string;
24774
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24803
+ /** ID of the workspace associated with the event. */
24775
24804
  workspace_id: string;
24776
24805
  /** Date and time at which the event was created. */
24777
24806
  created_at: string;
24778
24807
  /** Date and time at which the event occurred. */
24779
24808
  occurred_at: string;
24780
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
24809
+ /** ID of the affected action attempt. */
24781
24810
  action_attempt_id: string;
24782
- /** Type of action. */
24811
+ /** Type of the action. */
24783
24812
  action_type: string;
24784
24813
  /** Status of the action. */
24785
24814
  status: string;
@@ -24787,15 +24816,15 @@ export interface Routes {
24787
24816
  } | {
24788
24817
  /** ID of the event. */
24789
24818
  event_id: string;
24790
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24819
+ /** ID of the workspace associated with the event. */
24791
24820
  workspace_id: string;
24792
24821
  /** Date and time at which the event was created. */
24793
24822
  created_at: string;
24794
24823
  /** Date and time at which the event occurred. */
24795
24824
  occurred_at: string;
24796
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
24825
+ /** ID of the affected action attempt. */
24797
24826
  action_attempt_id: string;
24798
- /** Type of action. */
24827
+ /** Type of the action. */
24799
24828
  action_type: string;
24800
24829
  /** Status of the action. */
24801
24830
  status: string;
@@ -24803,15 +24832,15 @@ export interface Routes {
24803
24832
  } | {
24804
24833
  /** ID of the event. */
24805
24834
  event_id: string;
24806
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24835
+ /** ID of the workspace associated with the event. */
24807
24836
  workspace_id: string;
24808
24837
  /** Date and time at which the event was created. */
24809
24838
  created_at: string;
24810
24839
  /** Date and time at which the event occurred. */
24811
24840
  occurred_at: string;
24812
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
24841
+ /** ID of the affected action attempt. */
24813
24842
  action_attempt_id: string;
24814
- /** Type of action. */
24843
+ /** Type of the action. */
24815
24844
  action_type: string;
24816
24845
  /** Status of the action. */
24817
24846
  status: string;
@@ -24819,111 +24848,111 @@ export interface Routes {
24819
24848
  } | {
24820
24849
  /** ID of the event. */
24821
24850
  event_id: string;
24822
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24851
+ /** ID of the workspace associated with the event. */
24823
24852
  workspace_id: string;
24824
24853
  /** Date and time at which the event was created. */
24825
24854
  created_at: string;
24826
24855
  /** Date and time at which the event occurred. */
24827
24856
  occurred_at: string;
24828
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
24857
+ /** ID of the affected Connect Webview. */
24829
24858
  connect_webview_id: string;
24830
24859
  event_type: 'connect_webview.login_succeeded';
24831
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24860
+ /** ID of the connected account associated with the event. */
24832
24861
  connected_account_id: string;
24833
24862
  } | {
24834
24863
  /** ID of the event. */
24835
24864
  event_id: string;
24836
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24865
+ /** ID of the workspace associated with the event. */
24837
24866
  workspace_id: string;
24838
24867
  /** Date and time at which the event was created. */
24839
24868
  created_at: string;
24840
24869
  /** Date and time at which the event occurred. */
24841
24870
  occurred_at: string;
24842
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
24871
+ /** ID of the affected Connect Webview. */
24843
24872
  connect_webview_id: string;
24844
24873
  event_type: 'connect_webview.login_failed';
24845
24874
  } | {
24846
24875
  /** ID of the event. */
24847
24876
  event_id: string;
24848
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24877
+ /** ID of the workspace associated with the event. */
24849
24878
  workspace_id: string;
24850
24879
  /** Date and time at which the event was created. */
24851
24880
  created_at: string;
24852
24881
  /** Date and time at which the event occurred. */
24853
24882
  occurred_at: string;
24854
- /** ID of the device. */
24883
+ /** ID of the affected device. */
24855
24884
  device_id: string;
24856
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24885
+ /** ID of the connected account associated with the event. */
24857
24886
  connected_account_id: string;
24858
24887
  event_type: 'device.connected';
24859
24888
  } | {
24860
24889
  /** ID of the event. */
24861
24890
  event_id: string;
24862
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24891
+ /** ID of the workspace associated with the event. */
24863
24892
  workspace_id: string;
24864
24893
  /** Date and time at which the event was created. */
24865
24894
  created_at: string;
24866
24895
  /** Date and time at which the event occurred. */
24867
24896
  occurred_at: string;
24868
- /** ID of the device. */
24897
+ /** ID of the affected device. */
24869
24898
  device_id: string;
24870
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24899
+ /** ID of the connected account associated with the event. */
24871
24900
  connected_account_id: string;
24872
24901
  event_type: 'device.added';
24873
24902
  } | {
24874
24903
  /** ID of the event. */
24875
24904
  event_id: string;
24876
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24905
+ /** ID of the workspace associated with the event. */
24877
24906
  workspace_id: string;
24878
24907
  /** Date and time at which the event was created. */
24879
24908
  created_at: string;
24880
24909
  /** Date and time at which the event occurred. */
24881
24910
  occurred_at: string;
24882
- /** ID of the device. */
24911
+ /** ID of the affected device. */
24883
24912
  device_id: string;
24884
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24913
+ /** ID of the connected account associated with the event. */
24885
24914
  connected_account_id: string;
24886
24915
  event_type: 'device.converted_to_unmanaged';
24887
24916
  } | {
24888
24917
  /** ID of the event. */
24889
24918
  event_id: string;
24890
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24919
+ /** ID of the workspace associated with the event. */
24891
24920
  workspace_id: string;
24892
24921
  /** Date and time at which the event was created. */
24893
24922
  created_at: string;
24894
24923
  /** Date and time at which the event occurred. */
24895
24924
  occurred_at: string;
24896
- /** ID of the device. */
24925
+ /** ID of the affected device. */
24897
24926
  device_id: string;
24898
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24927
+ /** ID of the connected account associated with the event. */
24899
24928
  connected_account_id: string;
24900
24929
  event_type: 'device.unmanaged.converted_to_managed';
24901
24930
  } | {
24902
24931
  /** ID of the event. */
24903
24932
  event_id: string;
24904
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24933
+ /** ID of the workspace associated with the event. */
24905
24934
  workspace_id: string;
24906
24935
  /** Date and time at which the event was created. */
24907
24936
  created_at: string;
24908
24937
  /** Date and time at which the event occurred. */
24909
24938
  occurred_at: string;
24910
- /** ID of the device. */
24939
+ /** ID of the affected device. */
24911
24940
  device_id: string;
24912
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24941
+ /** ID of the connected account associated with the event. */
24913
24942
  connected_account_id: string;
24914
24943
  event_type: 'device.unmanaged.connected';
24915
24944
  } | {
24916
24945
  /** ID of the event. */
24917
24946
  event_id: string;
24918
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24947
+ /** ID of the workspace associated with the event. */
24919
24948
  workspace_id: string;
24920
24949
  /** Date and time at which the event was created. */
24921
24950
  created_at: string;
24922
24951
  /** Date and time at which the event occurred. */
24923
24952
  occurred_at: string;
24924
- /** ID of the device. */
24953
+ /** ID of the affected device. */
24925
24954
  device_id: string;
24926
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24955
+ /** ID of the connected account associated with the event. */
24927
24956
  connected_account_id: string;
24928
24957
  event_type: 'device.disconnected';
24929
24958
  /** Error code associated with the disconnection event, if any. */
@@ -24931,15 +24960,15 @@ export interface Routes {
24931
24960
  } | {
24932
24961
  /** ID of the event. */
24933
24962
  event_id: string;
24934
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24963
+ /** ID of the workspace associated with the event. */
24935
24964
  workspace_id: string;
24936
24965
  /** Date and time at which the event was created. */
24937
24966
  created_at: string;
24938
24967
  /** Date and time at which the event occurred. */
24939
24968
  occurred_at: string;
24940
- /** ID of the device. */
24969
+ /** ID of the affected device. */
24941
24970
  device_id: string;
24942
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24971
+ /** ID of the connected account associated with the event. */
24943
24972
  connected_account_id: string;
24944
24973
  event_type: 'device.unmanaged.disconnected';
24945
24974
  /** Error code associated with the disconnection event, if any. */
@@ -24947,240 +24976,240 @@ export interface Routes {
24947
24976
  } | {
24948
24977
  /** ID of the event. */
24949
24978
  event_id: string;
24950
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24979
+ /** ID of the workspace associated with the event. */
24951
24980
  workspace_id: string;
24952
24981
  /** Date and time at which the event was created. */
24953
24982
  created_at: string;
24954
24983
  /** Date and time at which the event occurred. */
24955
24984
  occurred_at: string;
24956
- /** ID of the device. */
24985
+ /** ID of the affected device. */
24957
24986
  device_id: string;
24958
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
24987
+ /** ID of the connected account associated with the event. */
24959
24988
  connected_account_id: string;
24960
24989
  event_type: 'device.tampered';
24961
24990
  } | {
24962
24991
  /** ID of the event. */
24963
24992
  event_id: string;
24964
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
24993
+ /** ID of the workspace associated with the event. */
24965
24994
  workspace_id: string;
24966
24995
  /** Date and time at which the event was created. */
24967
24996
  created_at: string;
24968
24997
  /** Date and time at which the event occurred. */
24969
24998
  occurred_at: string;
24970
- /** ID of the device. */
24999
+ /** ID of the affected device. */
24971
25000
  device_id: string;
24972
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25001
+ /** ID of the connected account associated with the event. */
24973
25002
  connected_account_id: string;
24974
25003
  event_type: 'device.low_battery';
24975
- /** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
25004
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
24976
25005
  battery_level: number;
24977
25006
  } | {
24978
25007
  /** ID of the event. */
24979
25008
  event_id: string;
24980
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25009
+ /** ID of the workspace associated with the event. */
24981
25010
  workspace_id: string;
24982
25011
  /** Date and time at which the event was created. */
24983
25012
  created_at: string;
24984
25013
  /** Date and time at which the event occurred. */
24985
25014
  occurred_at: string;
24986
- /** ID of the device. */
25015
+ /** ID of the affected device. */
24987
25016
  device_id: string;
24988
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25017
+ /** ID of the connected account associated with the event. */
24989
25018
  connected_account_id: string;
24990
25019
  event_type: 'device.battery_status_changed';
24991
- /** Battery status of the device, calculated from the numeric `battery_level` value. */
25020
+ /** Battery status of the affected device, calculated from the numeric `battery_level` value. */
24992
25021
  battery_status: 'critical' | 'low' | 'good' | 'full';
24993
- /** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
25022
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
24994
25023
  battery_level: number;
24995
25024
  } | {
24996
25025
  /** ID of the event. */
24997
25026
  event_id: string;
24998
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25027
+ /** ID of the workspace associated with the event. */
24999
25028
  workspace_id: string;
25000
25029
  /** Date and time at which the event was created. */
25001
25030
  created_at: string;
25002
25031
  /** Date and time at which the event occurred. */
25003
25032
  occurred_at: string;
25004
- /** ID of the device. */
25033
+ /** ID of the affected device. */
25005
25034
  device_id: string;
25006
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25035
+ /** ID of the connected account associated with the event. */
25007
25036
  connected_account_id: string;
25008
25037
  event_type: 'device.removed';
25009
25038
  } | {
25010
25039
  /** ID of the event. */
25011
25040
  event_id: string;
25012
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25041
+ /** ID of the workspace associated with the event. */
25013
25042
  workspace_id: string;
25014
25043
  /** Date and time at which the event was created. */
25015
25044
  created_at: string;
25016
25045
  /** Date and time at which the event occurred. */
25017
25046
  occurred_at: string;
25018
- /** ID of the device. */
25047
+ /** ID of the affected device. */
25019
25048
  device_id: string;
25020
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25049
+ /** ID of the connected account associated with the event. */
25021
25050
  connected_account_id: string;
25022
25051
  event_type: 'device.deleted';
25023
25052
  } | {
25024
25053
  /** ID of the event. */
25025
25054
  event_id: string;
25026
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25055
+ /** ID of the workspace associated with the event. */
25027
25056
  workspace_id: string;
25028
25057
  /** Date and time at which the event was created. */
25029
25058
  created_at: string;
25030
25059
  /** Date and time at which the event occurred. */
25031
25060
  occurred_at: string;
25032
- /** ID of the device. */
25061
+ /** ID of the affected device. */
25033
25062
  device_id: string;
25034
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25063
+ /** ID of the connected account associated with the event. */
25035
25064
  connected_account_id: string;
25036
25065
  event_type: 'device.third_party_integration_detected';
25037
25066
  } | {
25038
25067
  /** ID of the event. */
25039
25068
  event_id: string;
25040
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25069
+ /** ID of the workspace associated with the event. */
25041
25070
  workspace_id: string;
25042
25071
  /** Date and time at which the event was created. */
25043
25072
  created_at: string;
25044
25073
  /** Date and time at which the event occurred. */
25045
25074
  occurred_at: string;
25046
- /** ID of the device. */
25075
+ /** ID of the affected device. */
25047
25076
  device_id: string;
25048
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25077
+ /** ID of the connected account associated with the event. */
25049
25078
  connected_account_id: string;
25050
25079
  event_type: 'device.third_party_integration_no_longer_detected';
25051
25080
  } | {
25052
25081
  /** ID of the event. */
25053
25082
  event_id: string;
25054
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25083
+ /** ID of the workspace associated with the event. */
25055
25084
  workspace_id: string;
25056
25085
  /** Date and time at which the event was created. */
25057
25086
  created_at: string;
25058
25087
  /** Date and time at which the event occurred. */
25059
25088
  occurred_at: string;
25060
- /** ID of the device. */
25089
+ /** ID of the affected device. */
25061
25090
  device_id: string;
25062
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25091
+ /** ID of the connected account associated with the event. */
25063
25092
  connected_account_id: string;
25064
25093
  event_type: 'device.salto.privacy_mode_activated';
25065
25094
  } | {
25066
25095
  /** ID of the event. */
25067
25096
  event_id: string;
25068
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25097
+ /** ID of the workspace associated with the event. */
25069
25098
  workspace_id: string;
25070
25099
  /** Date and time at which the event was created. */
25071
25100
  created_at: string;
25072
25101
  /** Date and time at which the event occurred. */
25073
25102
  occurred_at: string;
25074
- /** ID of the device. */
25103
+ /** ID of the affected device. */
25075
25104
  device_id: string;
25076
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25105
+ /** ID of the connected account associated with the event. */
25077
25106
  connected_account_id: string;
25078
25107
  event_type: 'device.salto.privacy_mode_deactivated';
25079
25108
  } | {
25080
25109
  /** ID of the event. */
25081
25110
  event_id: string;
25082
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25111
+ /** ID of the workspace associated with the event. */
25083
25112
  workspace_id: string;
25084
25113
  /** Date and time at which the event was created. */
25085
25114
  created_at: string;
25086
25115
  /** Date and time at which the event occurred. */
25087
25116
  occurred_at: string;
25088
- /** ID of the device. */
25117
+ /** ID of the affected device. */
25089
25118
  device_id: string;
25090
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25119
+ /** ID of the connected account associated with the event. */
25091
25120
  connected_account_id: string;
25092
25121
  event_type: 'device.connection_became_flaky';
25093
25122
  } | {
25094
25123
  /** ID of the event. */
25095
25124
  event_id: string;
25096
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25125
+ /** ID of the workspace associated with the event. */
25097
25126
  workspace_id: string;
25098
25127
  /** Date and time at which the event was created. */
25099
25128
  created_at: string;
25100
25129
  /** Date and time at which the event occurred. */
25101
25130
  occurred_at: string;
25102
- /** ID of the device. */
25131
+ /** ID of the affected device. */
25103
25132
  device_id: string;
25104
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25133
+ /** ID of the connected account associated with the event. */
25105
25134
  connected_account_id: string;
25106
25135
  event_type: 'device.connection_stabilized';
25107
25136
  } | {
25108
25137
  /** ID of the event. */
25109
25138
  event_id: string;
25110
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25139
+ /** ID of the workspace associated with the event. */
25111
25140
  workspace_id: string;
25112
25141
  /** Date and time at which the event was created. */
25113
25142
  created_at: string;
25114
25143
  /** Date and time at which the event occurred. */
25115
25144
  occurred_at: string;
25116
- /** ID of the device. */
25145
+ /** ID of the affected device. */
25117
25146
  device_id: string;
25118
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25147
+ /** ID of the connected account associated with the event. */
25119
25148
  connected_account_id: string;
25120
25149
  event_type: 'device.error.subscription_required';
25121
25150
  } | {
25122
25151
  /** ID of the event. */
25123
25152
  event_id: string;
25124
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25153
+ /** ID of the workspace associated with the event. */
25125
25154
  workspace_id: string;
25126
25155
  /** Date and time at which the event was created. */
25127
25156
  created_at: string;
25128
25157
  /** Date and time at which the event occurred. */
25129
25158
  occurred_at: string;
25130
- /** ID of the device. */
25159
+ /** ID of the affected device. */
25131
25160
  device_id: string;
25132
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25161
+ /** ID of the connected account associated with the event. */
25133
25162
  connected_account_id: string;
25134
25163
  event_type: 'device.error.subscription_required.resolved';
25135
25164
  } | {
25136
25165
  /** ID of the event. */
25137
25166
  event_id: string;
25138
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25167
+ /** ID of the workspace associated with the event. */
25139
25168
  workspace_id: string;
25140
25169
  /** Date and time at which the event was created. */
25141
25170
  created_at: string;
25142
25171
  /** Date and time at which the event occurred. */
25143
25172
  occurred_at: string;
25144
- /** ID of the device. */
25173
+ /** ID of the affected device. */
25145
25174
  device_id: string;
25146
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25175
+ /** ID of the connected account associated with the event. */
25147
25176
  connected_account_id: string;
25148
25177
  event_type: 'device.accessory_keypad_connected';
25149
25178
  } | {
25150
25179
  /** ID of the event. */
25151
25180
  event_id: string;
25152
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25181
+ /** ID of the workspace associated with the event. */
25153
25182
  workspace_id: string;
25154
25183
  /** Date and time at which the event was created. */
25155
25184
  created_at: string;
25156
25185
  /** Date and time at which the event occurred. */
25157
25186
  occurred_at: string;
25158
- /** ID of the device. */
25187
+ /** ID of the affected device. */
25159
25188
  device_id: string;
25160
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25189
+ /** ID of the connected account associated with the event. */
25161
25190
  connected_account_id: string;
25162
25191
  event_type: 'device.accessory_keypad_disconnected';
25163
25192
  } | {
25164
25193
  /** ID of the event. */
25165
25194
  event_id: string;
25166
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25195
+ /** ID of the workspace associated with the event. */
25167
25196
  workspace_id: string;
25168
25197
  /** Date and time at which the event was created. */
25169
25198
  created_at: string;
25170
25199
  /** Date and time at which the event occurred. */
25171
25200
  occurred_at: string;
25172
- /** ID of the device. */
25201
+ /** ID of the affected device. */
25173
25202
  device_id: string;
25174
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25203
+ /** ID of the connected account associated with the event. */
25175
25204
  connected_account_id: string;
25176
25205
  event_type: 'noise_sensor.noise_threshold_triggered';
25177
25206
  /** Detected noise level in decibels. */
25178
25207
  noise_level_decibels?: number | undefined;
25179
25208
  /** Detected noise level in Noiseaware Noise Risk Score (NRS). */
25180
25209
  noise_level_nrs?: number | undefined;
25181
- /** ID of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
25210
+ /** ID of the noise threshold that was triggered. */
25182
25211
  noise_threshold_id?: string | undefined;
25183
- /** Name of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
25212
+ /** Name of the noise threshold that was triggered. */
25184
25213
  noise_threshold_name?: string | undefined;
25185
25214
  /** Metadata from Noiseaware. */
25186
25215
  noiseaware_metadata?: Record<string, unknown> | undefined;
@@ -25189,94 +25218,94 @@ export interface Routes {
25189
25218
  } | {
25190
25219
  /** ID of the event. */
25191
25220
  event_id: string;
25192
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25221
+ /** ID of the workspace associated with the event. */
25193
25222
  workspace_id: string;
25194
25223
  /** Date and time at which the event was created. */
25195
25224
  created_at: string;
25196
25225
  /** Date and time at which the event occurred. */
25197
25226
  occurred_at: string;
25198
- /** ID of the device. */
25227
+ /** ID of the affected device. */
25199
25228
  device_id: string;
25200
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25229
+ /** ID of the connected account associated with the event. */
25201
25230
  connected_account_id: string;
25202
25231
  event_type: 'lock.locked';
25203
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to lock the device. */
25232
+ /** ID of the access code that was used to lock the device. */
25204
25233
  access_code_id?: string | undefined;
25205
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the lock action. */
25234
+ /** ID of the action attempt associated with the lock action. */
25206
25235
  action_attempt_id?: string | undefined;
25207
- /** 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. */
25236
+ /** 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. */
25208
25237
  method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
25209
25238
  } | {
25210
25239
  /** ID of the event. */
25211
25240
  event_id: string;
25212
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25241
+ /** ID of the workspace associated with the event. */
25213
25242
  workspace_id: string;
25214
25243
  /** Date and time at which the event was created. */
25215
25244
  created_at: string;
25216
25245
  /** Date and time at which the event occurred. */
25217
25246
  occurred_at: string;
25218
- /** ID of the device. */
25247
+ /** ID of the affected device. */
25219
25248
  device_id: string;
25220
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25249
+ /** ID of the connected account associated with the event. */
25221
25250
  connected_account_id: string;
25222
25251
  event_type: 'lock.unlocked';
25223
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to unlock the device. */
25252
+ /** ID of the access code that was used to unlock the affected device. */
25224
25253
  access_code_id?: string | undefined;
25225
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the unlock action. */
25254
+ /** ID of the action attempt associated with the unlock action. */
25226
25255
  action_attempt_id?: string | undefined;
25227
- /** 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. */
25256
+ /** 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. */
25228
25257
  method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
25229
25258
  } | {
25230
25259
  /** ID of the event. */
25231
25260
  event_id: string;
25232
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25261
+ /** ID of the workspace associated with the event. */
25233
25262
  workspace_id: string;
25234
25263
  /** Date and time at which the event was created. */
25235
25264
  created_at: string;
25236
25265
  /** Date and time at which the event occurred. */
25237
25266
  occurred_at: string;
25238
- /** ID of the device. */
25267
+ /** ID of the affected device. */
25239
25268
  device_id: string;
25240
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25269
+ /** ID of the connected account associated with the event. */
25241
25270
  connected_account_id: string;
25242
25271
  event_type: 'lock.access_denied';
25243
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used in the unlock attempts. */
25272
+ /** ID of the access code that was used in the unlock attempts. */
25244
25273
  access_code_id?: string | undefined;
25245
25274
  } | {
25246
25275
  /** ID of the event. */
25247
25276
  event_id: string;
25248
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25277
+ /** ID of the workspace associated with the event. */
25249
25278
  workspace_id: string;
25250
25279
  /** Date and time at which the event was created. */
25251
25280
  created_at: string;
25252
25281
  /** Date and time at which the event occurred. */
25253
25282
  occurred_at: string;
25254
- /** ID of the device. */
25283
+ /** ID of the affected device. */
25255
25284
  device_id: string;
25256
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25285
+ /** ID of the connected account associated with the event. */
25257
25286
  connected_account_id: string;
25258
25287
  event_type: 'thermostat.climate_preset_activated';
25259
- /** 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. */
25288
+ /** ID of the thermostat schedule that prompted the affected climate preset to be activated. */
25260
25289
  thermostat_schedule_id: string | null;
25261
- /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated. */
25290
+ /** Key of the climate preset that was activated. */
25262
25291
  climate_preset_key: string;
25263
- /** 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). */
25292
+ /** Indicates whether the climate preset that was activated is the fallback climate preset for the thermostat. */
25264
25293
  is_fallback_climate_preset: boolean;
25265
25294
  } | {
25266
25295
  /** ID of the event. */
25267
25296
  event_id: string;
25268
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25297
+ /** ID of the workspace associated with the event. */
25269
25298
  workspace_id: string;
25270
25299
  /** Date and time at which the event was created. */
25271
25300
  created_at: string;
25272
25301
  /** Date and time at which the event occurred. */
25273
25302
  occurred_at: string;
25274
- /** ID of the device. */
25303
+ /** ID of the affected device. */
25275
25304
  device_id: string;
25276
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25305
+ /** ID of the connected account associated with the event. */
25277
25306
  connected_account_id: string;
25278
25307
  event_type: 'thermostat.manually_adjusted';
25279
- /** 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). */
25308
+ /** 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. */
25280
25309
  method: 'seam' | 'external';
25281
25310
  /** 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`. */
25282
25311
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
@@ -25293,133 +25322,133 @@ export interface Routes {
25293
25322
  } | {
25294
25323
  /** ID of the event. */
25295
25324
  event_id: string;
25296
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25325
+ /** ID of the workspace associated with the event. */
25297
25326
  workspace_id: string;
25298
25327
  /** Date and time at which the event was created. */
25299
25328
  created_at: string;
25300
25329
  /** Date and time at which the event occurred. */
25301
25330
  occurred_at: string;
25302
- /** ID of the device. */
25331
+ /** ID of the affected device. */
25303
25332
  device_id: string;
25304
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25333
+ /** ID of the connected account associated with the event. */
25305
25334
  connected_account_id: string;
25306
25335
  event_type: 'thermostat.temperature_threshold_exceeded';
25307
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
25336
+ /** Temperature, in °C, reported by the affected thermostat. */
25308
25337
  temperature_celsius: number;
25309
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
25338
+ /** Temperature, in °F, reported by the affected thermostat. */
25310
25339
  temperature_fahrenheit: number;
25311
- /** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
25340
+ /** Upper temperature limit, in °C, defined by the set threshold. */
25312
25341
  upper_limit_celsius: number | null;
25313
- /** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
25342
+ /** Upper temperature limit, in °F, defined by the set threshold. */
25314
25343
  upper_limit_fahrenheit: number | null;
25315
- /** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
25344
+ /** Lower temperature limit, in °C, defined by the set threshold. */
25316
25345
  lower_limit_celsius: number | null;
25317
- /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
25346
+ /** Lower temperature limit, in °F, defined by the set threshold. */
25318
25347
  lower_limit_fahrenheit: number | null;
25319
25348
  } | {
25320
25349
  /** ID of the event. */
25321
25350
  event_id: string;
25322
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25351
+ /** ID of the workspace associated with the event. */
25323
25352
  workspace_id: string;
25324
25353
  /** Date and time at which the event was created. */
25325
25354
  created_at: string;
25326
25355
  /** Date and time at which the event occurred. */
25327
25356
  occurred_at: string;
25328
- /** ID of the device. */
25357
+ /** ID of the affected device. */
25329
25358
  device_id: string;
25330
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25359
+ /** ID of the connected account associated with the event. */
25331
25360
  connected_account_id: string;
25332
25361
  event_type: 'thermostat.temperature_threshold_no_longer_exceeded';
25333
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
25362
+ /** Temperature, in °C, reported by the affected thermostat. */
25334
25363
  temperature_celsius: number;
25335
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
25364
+ /** Temperature, in °F, reported by the affected thermostat. */
25336
25365
  temperature_fahrenheit: number;
25337
- /** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
25366
+ /** Upper temperature limit, in °C, defined by the set threshold. */
25338
25367
  upper_limit_celsius: number | null;
25339
- /** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
25368
+ /** Upper temperature limit, in °F, defined by the set threshold. */
25340
25369
  upper_limit_fahrenheit: number | null;
25341
- /** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
25370
+ /** Lower temperature limit, in °C, defined by the set threshold. */
25342
25371
  lower_limit_celsius: number | null;
25343
- /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
25372
+ /** Lower temperature limit, in °F, defined by the set threshold. */
25344
25373
  lower_limit_fahrenheit: number | null;
25345
25374
  } | {
25346
25375
  /** ID of the event. */
25347
25376
  event_id: string;
25348
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25377
+ /** ID of the workspace associated with the event. */
25349
25378
  workspace_id: string;
25350
25379
  /** Date and time at which the event was created. */
25351
25380
  created_at: string;
25352
25381
  /** Date and time at which the event occurred. */
25353
25382
  occurred_at: string;
25354
- /** ID of the device. */
25383
+ /** ID of the affected device. */
25355
25384
  device_id: string;
25356
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25385
+ /** ID of the connected account associated with the event. */
25357
25386
  connected_account_id: string;
25358
25387
  event_type: 'thermostat.temperature_reached_set_point';
25359
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
25388
+ /** Temperature, in °C, reported by the affected thermostat. */
25360
25389
  temperature_celsius: number;
25361
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
25390
+ /** Temperature, in °F, reported by the affected thermostat. */
25362
25391
  temperature_fahrenheit: number;
25363
- /** 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). */
25392
+ /** Desired temperature, in °C, defined by the affected thermostat's cooling or heating set point. */
25364
25393
  desired_temperature_celsius?: number | undefined;
25365
- /** 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). */
25394
+ /** Desired temperature, in °F, defined by the affected thermostat's cooling or heating set point. */
25366
25395
  desired_temperature_fahrenheit?: number | undefined;
25367
25396
  } | {
25368
25397
  /** ID of the event. */
25369
25398
  event_id: string;
25370
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25399
+ /** ID of the workspace associated with the event. */
25371
25400
  workspace_id: string;
25372
25401
  /** Date and time at which the event was created. */
25373
25402
  created_at: string;
25374
25403
  /** Date and time at which the event occurred. */
25375
25404
  occurred_at: string;
25376
- /** ID of the device. */
25405
+ /** ID of the affected device. */
25377
25406
  device_id: string;
25378
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25407
+ /** ID of the connected account associated with the event. */
25379
25408
  connected_account_id: string;
25380
25409
  event_type: 'thermostat.temperature_changed';
25381
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
25410
+ /** Temperature, in °C, reported by the affected thermostat. */
25382
25411
  temperature_celsius: number;
25383
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
25412
+ /** Temperature, in °F, reported by the affected thermostat. */
25384
25413
  temperature_fahrenheit: number;
25385
25414
  } | {
25386
25415
  /** ID of the event. */
25387
25416
  event_id: string;
25388
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25417
+ /** ID of the workspace associated with the event. */
25389
25418
  workspace_id: string;
25390
25419
  /** Date and time at which the event was created. */
25391
25420
  created_at: string;
25392
25421
  /** Date and time at which the event occurred. */
25393
25422
  occurred_at: string;
25394
- /** ID of the device. */
25423
+ /** ID of the affected device. */
25395
25424
  device_id: string;
25396
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
25425
+ /** ID of the connected account associated with the event. */
25397
25426
  connected_account_id: string;
25398
25427
  event_type: 'device.name_changed';
25399
- /** The new name of the device. */
25428
+ /** The new name of the affected device. */
25400
25429
  device_name: string;
25401
25430
  } | {
25402
25431
  /** ID of the event. */
25403
25432
  event_id: string;
25404
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25433
+ /** ID of the workspace associated with the event. */
25405
25434
  workspace_id: string;
25406
25435
  /** Date and time at which the event was created. */
25407
25436
  created_at: string;
25408
25437
  /** Date and time at which the event occurred. */
25409
25438
  occurred_at: string;
25410
- /** 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). */
25439
+ /** ID of the affected enrollment automation. */
25411
25440
  enrollment_automation_id: string;
25412
25441
  event_type: 'enrollment_automation.deleted';
25413
25442
  } | {
25414
25443
  /** ID of the event. */
25415
25444
  event_id: string;
25416
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
25445
+ /** ID of the workspace associated with the event. */
25417
25446
  workspace_id: string;
25418
25447
  /** Date and time at which the event was created. */
25419
25448
  created_at: string;
25420
25449
  /** Date and time at which the event occurred. */
25421
25450
  occurred_at: string;
25422
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
25451
+ /** ID of the affected phone device. */
25423
25452
  device_id: string;
25424
25453
  event_type: 'phone.deactivated';
25425
25454
  }>;