@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
@@ -26752,8 +26752,11 @@ export interface Routes {
26752
26752
  queryParams: {}
26753
26753
  jsonBody: {}
26754
26754
  commonParams: {
26755
+ /** Unique identifier for the event that you want to get. */
26755
26756
  event_id?: string | undefined
26757
+ /** Type of the event that you want to get. */
26756
26758
  event_type?: string | undefined
26759
+ /** Unique identifier for the device that triggered the event that you want to get. */
26757
26760
  device_id?: string | undefined
26758
26761
  }
26759
26762
  formData: {}
@@ -26766,227 +26769,227 @@ export interface Routes {
26766
26769
  | {
26767
26770
  /** ID of the event. */
26768
26771
  event_id: string
26769
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
26772
+ /** ID of the workspace associated with the event. */
26770
26773
  workspace_id: string
26771
26774
  /** Date and time at which the event was created. */
26772
26775
  created_at: string
26773
26776
  /** Date and time at which the event occurred. */
26774
26777
  occurred_at: string
26775
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
26778
+ /** ID of the affected access code. */
26776
26779
  access_code_id: string
26777
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
26780
+ /** ID of the device associated with the affected access code. */
26778
26781
  device_id: string
26779
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
26782
+ /** ID of the connected account associated with the affected access codes. */
26780
26783
  connected_account_id: string
26781
26784
  event_type: 'access_code.created'
26782
26785
  }
26783
26786
  | {
26784
26787
  /** ID of the event. */
26785
26788
  event_id: string
26786
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
26789
+ /** ID of the workspace associated with the event. */
26787
26790
  workspace_id: string
26788
26791
  /** Date and time at which the event was created. */
26789
26792
  created_at: string
26790
26793
  /** Date and time at which the event occurred. */
26791
26794
  occurred_at: string
26792
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
26795
+ /** ID of the affected access code. */
26793
26796
  access_code_id: string
26794
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
26797
+ /** ID of the device associated with the affected access code. */
26795
26798
  device_id: string
26796
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
26799
+ /** ID of the connected account associated with the affected access codes. */
26797
26800
  connected_account_id: string
26798
26801
  event_type: 'access_code.changed'
26799
26802
  }
26800
26803
  | {
26801
26804
  /** ID of the event. */
26802
26805
  event_id: string
26803
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
26806
+ /** ID of the workspace associated with the event. */
26804
26807
  workspace_id: string
26805
26808
  /** Date and time at which the event was created. */
26806
26809
  created_at: string
26807
26810
  /** Date and time at which the event occurred. */
26808
26811
  occurred_at: string
26809
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
26812
+ /** ID of the affected access code. */
26810
26813
  access_code_id: string
26811
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
26814
+ /** ID of the device associated with the affected access code. */
26812
26815
  device_id: string
26813
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
26816
+ /** ID of the connected account associated with the affected access codes. */
26814
26817
  connected_account_id: string
26815
26818
  event_type: 'access_code.scheduled_on_device'
26816
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
26819
+ /** Code for the affected access code. */
26817
26820
  code: string
26818
26821
  }
26819
26822
  | {
26820
26823
  /** ID of the event. */
26821
26824
  event_id: string
26822
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
26825
+ /** ID of the workspace associated with the event. */
26823
26826
  workspace_id: string
26824
26827
  /** Date and time at which the event was created. */
26825
26828
  created_at: string
26826
26829
  /** Date and time at which the event occurred. */
26827
26830
  occurred_at: string
26828
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
26831
+ /** ID of the affected access code. */
26829
26832
  access_code_id: string
26830
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
26833
+ /** ID of the device associated with the affected access code. */
26831
26834
  device_id: string
26832
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
26835
+ /** ID of the connected account associated with the affected access codes. */
26833
26836
  connected_account_id: string
26834
26837
  event_type: 'access_code.set_on_device'
26835
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
26838
+ /** Code for the affected access code. */
26836
26839
  code: string
26837
26840
  }
26838
26841
  | {
26839
26842
  /** ID of the event. */
26840
26843
  event_id: string
26841
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
26844
+ /** ID of the workspace associated with the event. */
26842
26845
  workspace_id: string
26843
26846
  /** Date and time at which the event was created. */
26844
26847
  created_at: string
26845
26848
  /** Date and time at which the event occurred. */
26846
26849
  occurred_at: string
26847
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
26850
+ /** ID of the affected access code. */
26848
26851
  access_code_id: string
26849
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
26852
+ /** ID of the device associated with the affected access code. */
26850
26853
  device_id: string
26851
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
26854
+ /** ID of the connected account associated with the affected access codes. */
26852
26855
  connected_account_id: string
26853
26856
  event_type: 'access_code.removed_from_device'
26854
26857
  }
26855
26858
  | {
26856
26859
  /** ID of the event. */
26857
26860
  event_id: string
26858
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
26861
+ /** ID of the workspace associated with the event. */
26859
26862
  workspace_id: string
26860
26863
  /** Date and time at which the event was created. */
26861
26864
  created_at: string
26862
26865
  /** Date and time at which the event occurred. */
26863
26866
  occurred_at: string
26864
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
26867
+ /** ID of the affected access code. */
26865
26868
  access_code_id: string
26866
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
26869
+ /** ID of the device associated with the affected access code. */
26867
26870
  device_id: string
26868
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
26871
+ /** ID of the connected account associated with the affected access codes. */
26869
26872
  connected_account_id: string
26870
26873
  event_type: 'access_code.delay_in_setting_on_device'
26871
26874
  }
26872
26875
  | {
26873
26876
  /** ID of the event. */
26874
26877
  event_id: string
26875
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
26878
+ /** ID of the workspace associated with the event. */
26876
26879
  workspace_id: string
26877
26880
  /** Date and time at which the event was created. */
26878
26881
  created_at: string
26879
26882
  /** Date and time at which the event occurred. */
26880
26883
  occurred_at: string
26881
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
26884
+ /** ID of the affected access code. */
26882
26885
  access_code_id: string
26883
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
26886
+ /** ID of the device associated with the affected access code. */
26884
26887
  device_id: string
26885
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
26888
+ /** ID of the connected account associated with the affected access codes. */
26886
26889
  connected_account_id: string
26887
26890
  event_type: 'access_code.failed_to_set_on_device'
26888
26891
  }
26889
26892
  | {
26890
26893
  /** ID of the event. */
26891
26894
  event_id: string
26892
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
26895
+ /** ID of the workspace associated with the event. */
26893
26896
  workspace_id: string
26894
26897
  /** Date and time at which the event was created. */
26895
26898
  created_at: string
26896
26899
  /** Date and time at which the event occurred. */
26897
26900
  occurred_at: string
26898
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
26901
+ /** ID of the affected access code. */
26899
26902
  access_code_id: string
26900
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
26903
+ /** ID of the device associated with the affected access code. */
26901
26904
  device_id: string
26902
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
26905
+ /** ID of the connected account associated with the affected access codes. */
26903
26906
  connected_account_id: string
26904
26907
  event_type: 'access_code.deleted'
26905
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
26908
+ /** Code for the affected access code. */
26906
26909
  code: string | null
26907
26910
  }
26908
26911
  | {
26909
26912
  /** ID of the event. */
26910
26913
  event_id: string
26911
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
26914
+ /** ID of the workspace associated with the event. */
26912
26915
  workspace_id: string
26913
26916
  /** Date and time at which the event was created. */
26914
26917
  created_at: string
26915
26918
  /** Date and time at which the event occurred. */
26916
26919
  occurred_at: string
26917
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
26920
+ /** ID of the affected access code. */
26918
26921
  access_code_id: string
26919
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
26922
+ /** ID of the device associated with the affected access code. */
26920
26923
  device_id: string
26921
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
26924
+ /** ID of the connected account associated with the affected access codes. */
26922
26925
  connected_account_id: string
26923
26926
  event_type: 'access_code.delay_in_removing_from_device'
26924
26927
  }
26925
26928
  | {
26926
26929
  /** ID of the event. */
26927
26930
  event_id: string
26928
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
26931
+ /** ID of the workspace associated with the event. */
26929
26932
  workspace_id: string
26930
26933
  /** Date and time at which the event was created. */
26931
26934
  created_at: string
26932
26935
  /** Date and time at which the event occurred. */
26933
26936
  occurred_at: string
26934
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
26937
+ /** ID of the affected access code. */
26935
26938
  access_code_id: string
26936
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
26939
+ /** ID of the device associated with the affected access code. */
26937
26940
  device_id: string
26938
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
26941
+ /** ID of the connected account associated with the affected access codes. */
26939
26942
  connected_account_id: string
26940
26943
  event_type: 'access_code.failed_to_remove_from_device'
26941
26944
  }
26942
26945
  | {
26943
26946
  /** ID of the event. */
26944
26947
  event_id: string
26945
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
26948
+ /** ID of the workspace associated with the event. */
26946
26949
  workspace_id: string
26947
26950
  /** Date and time at which the event was created. */
26948
26951
  created_at: string
26949
26952
  /** Date and time at which the event occurred. */
26950
26953
  occurred_at: string
26951
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
26954
+ /** ID of the affected access code. */
26952
26955
  access_code_id: string
26953
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
26956
+ /** ID of the device associated with the affected access code. */
26954
26957
  device_id: string
26955
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
26958
+ /** ID of the connected account associated with the affected access codes. */
26956
26959
  connected_account_id: string
26957
26960
  event_type: 'access_code.modified_external_to_seam'
26958
26961
  }
26959
26962
  | {
26960
26963
  /** ID of the event. */
26961
26964
  event_id: string
26962
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
26965
+ /** ID of the workspace associated with the event. */
26963
26966
  workspace_id: string
26964
26967
  /** Date and time at which the event was created. */
26965
26968
  created_at: string
26966
26969
  /** Date and time at which the event occurred. */
26967
26970
  occurred_at: string
26968
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
26971
+ /** ID of the affected access code. */
26969
26972
  access_code_id: string
26970
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
26973
+ /** ID of the device associated with the affected access code. */
26971
26974
  device_id: string
26972
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
26975
+ /** ID of the connected account associated with the affected access codes. */
26973
26976
  connected_account_id: string
26974
26977
  event_type: 'access_code.deleted_external_to_seam'
26975
26978
  }
26976
26979
  | {
26977
26980
  /** ID of the event. */
26978
26981
  event_id: string
26979
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
26982
+ /** ID of the workspace associated with the event. */
26980
26983
  workspace_id: string
26981
26984
  /** Date and time at which the event was created. */
26982
26985
  created_at: string
26983
26986
  /** Date and time at which the event occurred. */
26984
26987
  occurred_at: string
26985
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
26988
+ /** ID of the affected access code. */
26986
26989
  access_code_id: string
26987
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
26990
+ /** ID of the device associated with the affected access code. */
26988
26991
  device_id: string
26989
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
26992
+ /** ID of the connected account associated with the affected access codes. */
26990
26993
  connected_account_id: string
26991
26994
  event_type: 'access_code.backup_access_code_pulled'
26992
26995
  backup_access_code_id: string
@@ -26994,300 +26997,304 @@ export interface Routes {
26994
26997
  | {
26995
26998
  /** ID of the event. */
26996
26999
  event_id: string
26997
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27000
+ /** ID of the workspace associated with the event. */
26998
27001
  workspace_id: string
26999
27002
  /** Date and time at which the event was created. */
27000
27003
  created_at: string
27001
27004
  /** Date and time at which the event occurred. */
27002
27005
  occurred_at: string
27003
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
27006
+ /** ID of the affected access code. */
27004
27007
  access_code_id: string
27005
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
27008
+ /** ID of the device associated with the affected access code. */
27006
27009
  device_id: string
27007
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27010
+ /** ID of the connected account associated with the affected access codes. */
27008
27011
  connected_account_id: string
27009
27012
  event_type: 'access_code.unmanaged.converted_to_managed'
27010
27013
  }
27011
27014
  | {
27012
27015
  /** ID of the event. */
27013
27016
  event_id: string
27014
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27017
+ /** ID of the workspace associated with the event. */
27015
27018
  workspace_id: string
27016
27019
  /** Date and time at which the event was created. */
27017
27020
  created_at: string
27018
27021
  /** Date and time at which the event occurred. */
27019
27022
  occurred_at: string
27020
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
27023
+ /** ID of the affected access code. */
27021
27024
  access_code_id: string
27022
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
27025
+ /** ID of the device associated with the affected access code. */
27023
27026
  device_id: string
27024
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27027
+ /** ID of the connected account associated with the affected access codes. */
27025
27028
  connected_account_id: string
27026
27029
  event_type: 'access_code.unmanaged.failed_to_convert_to_managed'
27027
27030
  }
27028
27031
  | {
27029
27032
  /** ID of the event. */
27030
27033
  event_id: string
27031
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27034
+ /** ID of the workspace associated with the event. */
27032
27035
  workspace_id: string
27033
27036
  /** Date and time at which the event was created. */
27034
27037
  created_at: string
27035
27038
  /** Date and time at which the event occurred. */
27036
27039
  occurred_at: string
27037
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
27040
+ /** ID of the affected access code. */
27038
27041
  access_code_id: string
27039
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
27042
+ /** ID of the device associated with the affected access code. */
27040
27043
  device_id: string
27041
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27044
+ /** ID of the connected account associated with the affected access codes. */
27042
27045
  connected_account_id: string
27043
27046
  event_type: 'access_code.unmanaged.created'
27044
27047
  }
27045
27048
  | {
27046
27049
  /** ID of the event. */
27047
27050
  event_id: string
27048
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27051
+ /** ID of the workspace associated with the event. */
27049
27052
  workspace_id: string
27050
27053
  /** Date and time at which the event was created. */
27051
27054
  created_at: string
27052
27055
  /** Date and time at which the event occurred. */
27053
27056
  occurred_at: string
27054
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
27057
+ /** ID of the affected access code. */
27055
27058
  access_code_id: string
27056
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
27059
+ /** ID of the device associated with the affected access code. */
27057
27060
  device_id: string
27058
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27061
+ /** ID of the connected account associated with the affected access codes. */
27059
27062
  connected_account_id: string
27060
27063
  event_type: 'access_code.unmanaged.removed'
27061
27064
  }
27062
27065
  | {
27063
27066
  /** ID of the event. */
27064
27067
  event_id: string
27065
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27068
+ /** ID of the workspace associated with the event. */
27066
27069
  workspace_id: string
27067
27070
  /** Date and time at which the event was created. */
27068
27071
  created_at: string
27069
27072
  /** Date and time at which the event occurred. */
27070
27073
  occurred_at: string
27071
- /** ID of the access grant. */
27074
+ /** ID of the affected access grant. */
27072
27075
  access_grant_id: string
27073
27076
  event_type: 'access_grant.created'
27074
27077
  }
27075
27078
  | {
27076
27079
  /** ID of the event. */
27077
27080
  event_id: string
27078
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27081
+ /** ID of the workspace associated with the event. */
27079
27082
  workspace_id: string
27080
27083
  /** Date and time at which the event was created. */
27081
27084
  created_at: string
27082
27085
  /** Date and time at which the event occurred. */
27083
27086
  occurred_at: string
27084
- /** ID of the access grant. */
27087
+ /** ID of the affected access grant. */
27085
27088
  access_grant_id: string
27086
27089
  event_type: 'access_grant.deleted'
27087
27090
  }
27088
27091
  | {
27089
27092
  /** ID of the event. */
27090
27093
  event_id: string
27091
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27094
+ /** ID of the workspace associated with the event. */
27092
27095
  workspace_id: string
27093
27096
  /** Date and time at which the event was created. */
27094
27097
  created_at: string
27095
27098
  /** Date and time at which the event occurred. */
27096
27099
  occurred_at: string
27097
- /** ID of the access grant. */
27100
+ /** ID of the affected access grant. */
27098
27101
  access_grant_id: string
27099
27102
  event_type: 'access_grant.access_granted_to_all_doors'
27100
27103
  }
27101
27104
  | {
27102
27105
  /** ID of the event. */
27103
27106
  event_id: string
27104
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27107
+ /** ID of the workspace associated with the event. */
27105
27108
  workspace_id: string
27106
27109
  /** Date and time at which the event was created. */
27107
27110
  created_at: string
27108
27111
  /** Date and time at which the event occurred. */
27109
27112
  occurred_at: string
27110
- /** ID of the access grant. */
27113
+ /** ID of the affected access grant. */
27111
27114
  access_grant_id: string
27112
27115
  event_type: 'access_grant.access_granted_to_door'
27113
- /** ID of the door, an [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
27116
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
27114
27117
  acs_entrance_id: string
27115
27118
  }
27116
27119
  | {
27117
27120
  /** ID of the event. */
27118
27121
  event_id: string
27119
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27122
+ /** ID of the workspace associated with the event. */
27120
27123
  workspace_id: string
27121
27124
  /** Date and time at which the event was created. */
27122
27125
  created_at: string
27123
27126
  /** Date and time at which the event occurred. */
27124
27127
  occurred_at: string
27125
- /** ID of the access grant. */
27128
+ /** ID of the affected access grant. */
27126
27129
  access_grant_id: string
27127
27130
  event_type: 'access_grant.access_to_door_lost'
27128
- /** ID of the door, an [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
27131
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
27129
27132
  acs_entrance_id: string
27130
27133
  }
27131
27134
  | {
27132
27135
  /** ID of the event. */
27133
27136
  event_id: string
27134
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27137
+ /** ID of the workspace associated with the event. */
27135
27138
  workspace_id: string
27136
27139
  /** Date and time at which the event was created. */
27137
27140
  created_at: string
27138
27141
  /** Date and time at which the event occurred. */
27139
27142
  occurred_at: string
27140
- /** ID of the access method. */
27143
+ /** ID of the affected access method. */
27141
27144
  access_method_id: string
27142
27145
  event_type: 'access_method.issued'
27143
27146
  }
27144
27147
  | {
27145
27148
  /** ID of the event. */
27146
27149
  event_id: string
27147
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27150
+ /** ID of the workspace associated with the event. */
27148
27151
  workspace_id: string
27149
27152
  /** Date and time at which the event was created. */
27150
27153
  created_at: string
27151
27154
  /** Date and time at which the event occurred. */
27152
27155
  occurred_at: string
27153
- /** ID of the access method. */
27156
+ /** ID of the affected access method. */
27154
27157
  access_method_id: string
27155
27158
  event_type: 'access_method.revoked'
27156
27159
  }
27157
27160
  | {
27158
27161
  /** ID of the event. */
27159
27162
  event_id: string
27160
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27163
+ /** ID of the workspace associated with the event. */
27161
27164
  workspace_id: string
27162
27165
  /** Date and time at which the event was created. */
27163
27166
  created_at: string
27164
27167
  /** Date and time at which the event occurred. */
27165
27168
  occurred_at: string
27166
- /** ID of the access method. */
27169
+ /** ID of the affected access method. */
27167
27170
  access_method_id: string
27168
27171
  event_type: 'access_method.card_encoding_required'
27169
27172
  }
27170
27173
  | {
27171
27174
  /** ID of the event. */
27172
27175
  event_id: string
27173
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27176
+ /** ID of the workspace associated with the event. */
27174
27177
  workspace_id: string
27175
27178
  /** Date and time at which the event was created. */
27176
27179
  created_at: string
27177
27180
  /** Date and time at which the event occurred. */
27178
27181
  occurred_at: string
27179
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27182
+ /** ID of the connected account. */
27180
27183
  connected_account_id?: string | undefined
27181
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
27184
+ /** ID of the access system. */
27182
27185
  acs_system_id: string
27183
27186
  event_type: 'acs_system.connected'
27184
27187
  }
27185
27188
  | {
27186
27189
  /** ID of the event. */
27187
27190
  event_id: string
27188
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27191
+ /** ID of the workspace associated with the event. */
27189
27192
  workspace_id: string
27190
27193
  /** Date and time at which the event was created. */
27191
27194
  created_at: string
27192
27195
  /** Date and time at which the event occurred. */
27193
27196
  occurred_at: string
27194
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27197
+ /** ID of the connected account. */
27195
27198
  connected_account_id?: string | undefined
27196
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
27199
+ /** ID of the access system. */
27197
27200
  acs_system_id: string
27198
27201
  event_type: 'acs_system.added'
27199
27202
  }
27200
27203
  | {
27201
27204
  /** ID of the event. */
27202
27205
  event_id: string
27203
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27206
+ /** ID of the workspace associated with the event. */
27204
27207
  workspace_id: string
27205
27208
  /** Date and time at which the event was created. */
27206
27209
  created_at: string
27207
27210
  /** Date and time at which the event occurred. */
27208
27211
  occurred_at: string
27209
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27212
+ /** ID of the connected account. */
27210
27213
  connected_account_id?: string | undefined
27211
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
27214
+ /** ID of the access system. */
27212
27215
  acs_system_id: string
27213
27216
  event_type: 'acs_system.disconnected'
27214
27217
  }
27215
27218
  | {
27216
27219
  /** ID of the event. */
27217
27220
  event_id: string
27218
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27221
+ /** ID of the workspace associated with the event. */
27219
27222
  workspace_id: string
27220
27223
  /** Date and time at which the event was created. */
27221
27224
  created_at: string
27222
27225
  /** Date and time at which the event occurred. */
27223
27226
  occurred_at: string
27224
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27227
+ /** ID of the connected account. */
27225
27228
  connected_account_id?: string | undefined
27226
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
27229
+ /** ID of the access system. */
27227
27230
  acs_system_id: string
27231
+ /** ID of the affected credential. */
27228
27232
  acs_credential_id: string
27229
27233
  event_type: 'acs_credential.deleted'
27230
27234
  }
27231
27235
  | {
27232
27236
  /** ID of the event. */
27233
27237
  event_id: string
27234
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27238
+ /** ID of the workspace associated with the event. */
27235
27239
  workspace_id: string
27236
27240
  /** Date and time at which the event was created. */
27237
27241
  created_at: string
27238
27242
  /** Date and time at which the event occurred. */
27239
27243
  occurred_at: string
27240
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27244
+ /** ID of the connected account. */
27241
27245
  connected_account_id?: string | undefined
27242
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
27246
+ /** ID of the access system. */
27243
27247
  acs_system_id: string
27248
+ /** ID of the affected credential. */
27244
27249
  acs_credential_id: string
27245
27250
  event_type: 'acs_credential.issued'
27246
27251
  }
27247
27252
  | {
27248
27253
  /** ID of the event. */
27249
27254
  event_id: string
27250
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27255
+ /** ID of the workspace associated with the event. */
27251
27256
  workspace_id: string
27252
27257
  /** Date and time at which the event was created. */
27253
27258
  created_at: string
27254
27259
  /** Date and time at which the event occurred. */
27255
27260
  occurred_at: string
27256
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27261
+ /** ID of the connected account. */
27257
27262
  connected_account_id?: string | undefined
27258
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
27263
+ /** ID of the access system. */
27259
27264
  acs_system_id: string
27265
+ /** ID of the affected credential. */
27260
27266
  acs_credential_id: string
27261
27267
  event_type: 'acs_credential.reissued'
27262
27268
  }
27263
27269
  | {
27264
27270
  /** ID of the event. */
27265
27271
  event_id: string
27266
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27272
+ /** ID of the workspace associated with the event. */
27267
27273
  workspace_id: string
27268
27274
  /** Date and time at which the event was created. */
27269
27275
  created_at: string
27270
27276
  /** Date and time at which the event occurred. */
27271
27277
  occurred_at: string
27272
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27278
+ /** ID of the connected account. */
27273
27279
  connected_account_id?: string | undefined
27274
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
27280
+ /** ID of the access system. */
27275
27281
  acs_system_id: string
27282
+ /** ID of the affected credential. */
27276
27283
  acs_credential_id: string
27277
27284
  event_type: 'acs_credential.invalidated'
27278
27285
  }
27279
27286
  | {
27280
27287
  /** ID of the event. */
27281
27288
  event_id: string
27282
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27289
+ /** ID of the workspace associated with the event. */
27283
27290
  workspace_id: string
27284
27291
  /** Date and time at which the event was created. */
27285
27292
  created_at: string
27286
27293
  /** Date and time at which the event occurred. */
27287
27294
  occurred_at: string
27288
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27295
+ /** ID of the connected account. */
27289
27296
  connected_account_id?: string | undefined
27290
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
27297
+ /** ID of the access system. */
27291
27298
  acs_system_id: string
27292
27299
  acs_user_id: string
27293
27300
  event_type: 'acs_user.created'
@@ -27295,15 +27302,15 @@ export interface Routes {
27295
27302
  | {
27296
27303
  /** ID of the event. */
27297
27304
  event_id: string
27298
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27305
+ /** ID of the workspace associated with the event. */
27299
27306
  workspace_id: string
27300
27307
  /** Date and time at which the event was created. */
27301
27308
  created_at: string
27302
27309
  /** Date and time at which the event occurred. */
27303
27310
  occurred_at: string
27304
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27311
+ /** ID of the connected account. */
27305
27312
  connected_account_id?: string | undefined
27306
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
27313
+ /** ID of the access system. */
27307
27314
  acs_system_id: string
27308
27315
  acs_user_id: string
27309
27316
  event_type: 'acs_user.deleted'
@@ -27311,65 +27318,66 @@ export interface Routes {
27311
27318
  | {
27312
27319
  /** ID of the event. */
27313
27320
  event_id: string
27314
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27321
+ /** ID of the workspace associated with the event. */
27315
27322
  workspace_id: string
27316
27323
  /** Date and time at which the event was created. */
27317
27324
  created_at: string
27318
27325
  /** Date and time at which the event occurred. */
27319
27326
  occurred_at: string
27320
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27327
+ /** ID of the connected account. */
27321
27328
  connected_account_id?: string | undefined
27322
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
27329
+ /** ID of the access system. */
27323
27330
  acs_system_id: string
27324
- /** ID of the [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
27331
+ /** ID of the affected encoder. */
27325
27332
  acs_encoder_id: string
27326
27333
  event_type: 'acs_encoder.added'
27327
27334
  }
27328
27335
  | {
27329
27336
  /** ID of the event. */
27330
27337
  event_id: string
27331
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27338
+ /** ID of the workspace associated with the event. */
27332
27339
  workspace_id: string
27333
27340
  /** Date and time at which the event was created. */
27334
27341
  created_at: string
27335
27342
  /** Date and time at which the event occurred. */
27336
27343
  occurred_at: string
27337
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27344
+ /** ID of the connected account. */
27338
27345
  connected_account_id?: string | undefined
27339
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
27346
+ /** ID of the access system. */
27340
27347
  acs_system_id: string
27341
- /** ID of the [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
27348
+ /** ID of the affected encoder. */
27342
27349
  acs_encoder_id: string
27343
27350
  event_type: 'acs_encoder.removed'
27344
27351
  }
27345
27352
  | {
27346
27353
  /** ID of the event. */
27347
27354
  event_id: string
27348
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27355
+ /** ID of the workspace associated with the event. */
27349
27356
  workspace_id: string
27350
27357
  /** Date and time at which the event was created. */
27351
27358
  created_at: string
27352
27359
  /** Date and time at which the event occurred. */
27353
27360
  occurred_at: string
27354
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27361
+ /** ID of the connected account. */
27355
27362
  connected_account_id?: string | undefined
27356
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
27363
+ /** ID of the access system. */
27357
27364
  acs_system_id: string
27365
+ /** ID of the affected access group. */
27358
27366
  acs_access_group_id: string
27359
27367
  event_type: 'acs_access_group.deleted'
27360
27368
  }
27361
27369
  | {
27362
27370
  /** ID of the event. */
27363
27371
  event_id: string
27364
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27372
+ /** ID of the workspace associated with the event. */
27365
27373
  workspace_id: string
27366
27374
  /** Date and time at which the event was created. */
27367
27375
  created_at: string
27368
27376
  /** Date and time at which the event occurred. */
27369
27377
  occurred_at: string
27370
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27378
+ /** ID of the connected account. */
27371
27379
  connected_account_id?: string | undefined
27372
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
27380
+ /** ID of the access system. */
27373
27381
  acs_system_id: string
27374
27382
  acs_entrance_id: string
27375
27383
  event_type: 'acs_entrance.added'
@@ -27377,15 +27385,15 @@ export interface Routes {
27377
27385
  | {
27378
27386
  /** ID of the event. */
27379
27387
  event_id: string
27380
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27388
+ /** ID of the workspace associated with the event. */
27381
27389
  workspace_id: string
27382
27390
  /** Date and time at which the event was created. */
27383
27391
  created_at: string
27384
27392
  /** Date and time at which the event occurred. */
27385
27393
  occurred_at: string
27386
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27394
+ /** ID of the connected account. */
27387
27395
  connected_account_id?: string | undefined
27388
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
27396
+ /** ID of the access system. */
27389
27397
  acs_system_id: string
27390
27398
  acs_entrance_id: string
27391
27399
  event_type: 'acs_entrance.removed'
@@ -27393,125 +27401,125 @@ export interface Routes {
27393
27401
  | {
27394
27402
  /** ID of the event. */
27395
27403
  event_id: string
27396
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27404
+ /** ID of the workspace associated with the event. */
27397
27405
  workspace_id: string
27398
27406
  /** Date and time at which the event was created. */
27399
27407
  created_at: string
27400
27408
  /** Date and time at which the event occurred. */
27401
27409
  occurred_at: string
27402
- /** ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
27410
+ /** ID of the affected client session. */
27403
27411
  client_session_id: string
27404
27412
  event_type: 'client_session.deleted'
27405
27413
  }
27406
27414
  | {
27407
27415
  /** ID of the event. */
27408
27416
  event_id: string
27409
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27417
+ /** ID of the workspace associated with the event. */
27410
27418
  workspace_id: string
27411
27419
  /** Date and time at which the event was created. */
27412
27420
  created_at: string
27413
27421
  /** Date and time at which the event occurred. */
27414
27422
  occurred_at: string
27415
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27423
+ /** ID of the affected connected account. */
27416
27424
  connected_account_id: string
27417
27425
  event_type: 'connected_account.connected'
27418
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
27426
+ /** ID of the Connect Webview associated with the event. */
27419
27427
  connect_webview_id: string
27420
27428
  }
27421
27429
  | {
27422
27430
  /** ID of the event. */
27423
27431
  event_id: string
27424
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27432
+ /** ID of the workspace associated with the event. */
27425
27433
  workspace_id: string
27426
27434
  /** Date and time at which the event was created. */
27427
27435
  created_at: string
27428
27436
  /** Date and time at which the event occurred. */
27429
27437
  occurred_at: string
27430
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27438
+ /** ID of the affected connected account. */
27431
27439
  connected_account_id: string
27432
27440
  event_type: 'connected_account.created'
27433
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
27441
+ /** ID of the Connect Webview associated with the event. */
27434
27442
  connect_webview_id: string
27435
27443
  }
27436
27444
  | {
27437
27445
  /** ID of the event. */
27438
27446
  event_id: string
27439
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27447
+ /** ID of the workspace associated with the event. */
27440
27448
  workspace_id: string
27441
27449
  /** Date and time at which the event was created. */
27442
27450
  created_at: string
27443
27451
  /** Date and time at which the event occurred. */
27444
27452
  occurred_at: string
27445
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27453
+ /** ID of the affected connected account. */
27446
27454
  connected_account_id: string
27447
27455
  event_type: 'connected_account.successful_login'
27448
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
27456
+ /** ID of the Connect Webview associated with the event. */
27449
27457
  connect_webview_id: string
27450
27458
  }
27451
27459
  | {
27452
27460
  /** ID of the event. */
27453
27461
  event_id: string
27454
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27462
+ /** ID of the workspace associated with the event. */
27455
27463
  workspace_id: string
27456
27464
  /** Date and time at which the event was created. */
27457
27465
  created_at: string
27458
27466
  /** Date and time at which the event occurred. */
27459
27467
  occurred_at: string
27460
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27468
+ /** ID of the affected connected account. */
27461
27469
  connected_account_id: string
27462
27470
  event_type: 'connected_account.disconnected'
27463
27471
  }
27464
27472
  | {
27465
27473
  /** ID of the event. */
27466
27474
  event_id: string
27467
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27475
+ /** ID of the workspace associated with the event. */
27468
27476
  workspace_id: string
27469
27477
  /** Date and time at which the event was created. */
27470
27478
  created_at: string
27471
27479
  /** Date and time at which the event occurred. */
27472
27480
  occurred_at: string
27473
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27481
+ /** ID of the affected connected account. */
27474
27482
  connected_account_id: string
27475
27483
  event_type: 'connected_account.completed_first_sync'
27476
27484
  }
27477
27485
  | {
27478
27486
  /** ID of the event. */
27479
27487
  event_id: string
27480
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27488
+ /** ID of the workspace associated with the event. */
27481
27489
  workspace_id: string
27482
27490
  /** Date and time at which the event was created. */
27483
27491
  created_at: string
27484
27492
  /** Date and time at which the event occurred. */
27485
27493
  occurred_at: string
27486
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27494
+ /** ID of the affected connected account. */
27487
27495
  connected_account_id: string
27488
27496
  event_type: 'connected_account.deleted'
27489
27497
  }
27490
27498
  | {
27491
27499
  /** ID of the event. */
27492
27500
  event_id: string
27493
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27501
+ /** ID of the workspace associated with the event. */
27494
27502
  workspace_id: string
27495
27503
  /** Date and time at which the event was created. */
27496
27504
  created_at: string
27497
27505
  /** Date and time at which the event occurred. */
27498
27506
  occurred_at: string
27499
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27507
+ /** ID of the affected connected account. */
27500
27508
  connected_account_id: string
27501
27509
  event_type: 'connected_account.completed_first_sync_after_reconnection'
27502
27510
  }
27503
27511
  | {
27504
27512
  /** ID of the event. */
27505
27513
  event_id: string
27506
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27514
+ /** ID of the workspace associated with the event. */
27507
27515
  workspace_id: string
27508
27516
  /** Date and time at which the event was created. */
27509
27517
  created_at: string
27510
27518
  /** Date and time at which the event occurred. */
27511
27519
  occurred_at: string
27512
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
27520
+ /** ID of the affected action attempt. */
27513
27521
  action_attempt_id: string
27514
- /** Type of action. */
27522
+ /** Type of the action. */
27515
27523
  action_type: string
27516
27524
  /** Status of the action. */
27517
27525
  status: string
@@ -27520,15 +27528,15 @@ export interface Routes {
27520
27528
  | {
27521
27529
  /** ID of the event. */
27522
27530
  event_id: string
27523
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27531
+ /** ID of the workspace associated with the event. */
27524
27532
  workspace_id: string
27525
27533
  /** Date and time at which the event was created. */
27526
27534
  created_at: string
27527
27535
  /** Date and time at which the event occurred. */
27528
27536
  occurred_at: string
27529
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
27537
+ /** ID of the affected action attempt. */
27530
27538
  action_attempt_id: string
27531
- /** Type of action. */
27539
+ /** Type of the action. */
27532
27540
  action_type: string
27533
27541
  /** Status of the action. */
27534
27542
  status: string
@@ -27537,15 +27545,15 @@ export interface Routes {
27537
27545
  | {
27538
27546
  /** ID of the event. */
27539
27547
  event_id: string
27540
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27548
+ /** ID of the workspace associated with the event. */
27541
27549
  workspace_id: string
27542
27550
  /** Date and time at which the event was created. */
27543
27551
  created_at: string
27544
27552
  /** Date and time at which the event occurred. */
27545
27553
  occurred_at: string
27546
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
27554
+ /** ID of the affected action attempt. */
27547
27555
  action_attempt_id: string
27548
- /** Type of action. */
27556
+ /** Type of the action. */
27549
27557
  action_type: string
27550
27558
  /** Status of the action. */
27551
27559
  status: string
@@ -27554,15 +27562,15 @@ export interface Routes {
27554
27562
  | {
27555
27563
  /** ID of the event. */
27556
27564
  event_id: string
27557
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27565
+ /** ID of the workspace associated with the event. */
27558
27566
  workspace_id: string
27559
27567
  /** Date and time at which the event was created. */
27560
27568
  created_at: string
27561
27569
  /** Date and time at which the event occurred. */
27562
27570
  occurred_at: string
27563
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
27571
+ /** ID of the affected action attempt. */
27564
27572
  action_attempt_id: string
27565
- /** Type of action. */
27573
+ /** Type of the action. */
27566
27574
  action_type: string
27567
27575
  /** Status of the action. */
27568
27576
  status: string
@@ -27571,118 +27579,118 @@ export interface Routes {
27571
27579
  | {
27572
27580
  /** ID of the event. */
27573
27581
  event_id: string
27574
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27582
+ /** ID of the workspace associated with the event. */
27575
27583
  workspace_id: string
27576
27584
  /** Date and time at which the event was created. */
27577
27585
  created_at: string
27578
27586
  /** Date and time at which the event occurred. */
27579
27587
  occurred_at: string
27580
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
27588
+ /** ID of the affected Connect Webview. */
27581
27589
  connect_webview_id: string
27582
27590
  event_type: 'connect_webview.login_succeeded'
27583
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27591
+ /** ID of the connected account associated with the event. */
27584
27592
  connected_account_id: string
27585
27593
  }
27586
27594
  | {
27587
27595
  /** ID of the event. */
27588
27596
  event_id: string
27589
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27597
+ /** ID of the workspace associated with the event. */
27590
27598
  workspace_id: string
27591
27599
  /** Date and time at which the event was created. */
27592
27600
  created_at: string
27593
27601
  /** Date and time at which the event occurred. */
27594
27602
  occurred_at: string
27595
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
27603
+ /** ID of the affected Connect Webview. */
27596
27604
  connect_webview_id: string
27597
27605
  event_type: 'connect_webview.login_failed'
27598
27606
  }
27599
27607
  | {
27600
27608
  /** ID of the event. */
27601
27609
  event_id: string
27602
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27610
+ /** ID of the workspace associated with the event. */
27603
27611
  workspace_id: string
27604
27612
  /** Date and time at which the event was created. */
27605
27613
  created_at: string
27606
27614
  /** Date and time at which the event occurred. */
27607
27615
  occurred_at: string
27608
- /** ID of the device. */
27616
+ /** ID of the affected device. */
27609
27617
  device_id: string
27610
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27618
+ /** ID of the connected account associated with the event. */
27611
27619
  connected_account_id: string
27612
27620
  event_type: 'device.connected'
27613
27621
  }
27614
27622
  | {
27615
27623
  /** ID of the event. */
27616
27624
  event_id: string
27617
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27625
+ /** ID of the workspace associated with the event. */
27618
27626
  workspace_id: string
27619
27627
  /** Date and time at which the event was created. */
27620
27628
  created_at: string
27621
27629
  /** Date and time at which the event occurred. */
27622
27630
  occurred_at: string
27623
- /** ID of the device. */
27631
+ /** ID of the affected device. */
27624
27632
  device_id: string
27625
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27633
+ /** ID of the connected account associated with the event. */
27626
27634
  connected_account_id: string
27627
27635
  event_type: 'device.added'
27628
27636
  }
27629
27637
  | {
27630
27638
  /** ID of the event. */
27631
27639
  event_id: string
27632
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27640
+ /** ID of the workspace associated with the event. */
27633
27641
  workspace_id: string
27634
27642
  /** Date and time at which the event was created. */
27635
27643
  created_at: string
27636
27644
  /** Date and time at which the event occurred. */
27637
27645
  occurred_at: string
27638
- /** ID of the device. */
27646
+ /** ID of the affected device. */
27639
27647
  device_id: string
27640
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27648
+ /** ID of the connected account associated with the event. */
27641
27649
  connected_account_id: string
27642
27650
  event_type: 'device.converted_to_unmanaged'
27643
27651
  }
27644
27652
  | {
27645
27653
  /** ID of the event. */
27646
27654
  event_id: string
27647
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27655
+ /** ID of the workspace associated with the event. */
27648
27656
  workspace_id: string
27649
27657
  /** Date and time at which the event was created. */
27650
27658
  created_at: string
27651
27659
  /** Date and time at which the event occurred. */
27652
27660
  occurred_at: string
27653
- /** ID of the device. */
27661
+ /** ID of the affected device. */
27654
27662
  device_id: string
27655
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27663
+ /** ID of the connected account associated with the event. */
27656
27664
  connected_account_id: string
27657
27665
  event_type: 'device.unmanaged.converted_to_managed'
27658
27666
  }
27659
27667
  | {
27660
27668
  /** ID of the event. */
27661
27669
  event_id: string
27662
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27670
+ /** ID of the workspace associated with the event. */
27663
27671
  workspace_id: string
27664
27672
  /** Date and time at which the event was created. */
27665
27673
  created_at: string
27666
27674
  /** Date and time at which the event occurred. */
27667
27675
  occurred_at: string
27668
- /** ID of the device. */
27676
+ /** ID of the affected device. */
27669
27677
  device_id: string
27670
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27678
+ /** ID of the connected account associated with the event. */
27671
27679
  connected_account_id: string
27672
27680
  event_type: 'device.unmanaged.connected'
27673
27681
  }
27674
27682
  | {
27675
27683
  /** ID of the event. */
27676
27684
  event_id: string
27677
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27685
+ /** ID of the workspace associated with the event. */
27678
27686
  workspace_id: string
27679
27687
  /** Date and time at which the event was created. */
27680
27688
  created_at: string
27681
27689
  /** Date and time at which the event occurred. */
27682
27690
  occurred_at: string
27683
- /** ID of the device. */
27691
+ /** ID of the affected device. */
27684
27692
  device_id: string
27685
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27693
+ /** ID of the connected account associated with the event. */
27686
27694
  connected_account_id: string
27687
27695
  event_type: 'device.disconnected'
27688
27696
  /** Error code associated with the disconnection event, if any. */
@@ -27694,15 +27702,15 @@ export interface Routes {
27694
27702
  | {
27695
27703
  /** ID of the event. */
27696
27704
  event_id: string
27697
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27705
+ /** ID of the workspace associated with the event. */
27698
27706
  workspace_id: string
27699
27707
  /** Date and time at which the event was created. */
27700
27708
  created_at: string
27701
27709
  /** Date and time at which the event occurred. */
27702
27710
  occurred_at: string
27703
- /** ID of the device. */
27711
+ /** ID of the affected device. */
27704
27712
  device_id: string
27705
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27713
+ /** ID of the connected account associated with the event. */
27706
27714
  connected_account_id: string
27707
27715
  event_type: 'device.unmanaged.disconnected'
27708
27716
  /** Error code associated with the disconnection event, if any. */
@@ -27714,255 +27722,255 @@ export interface Routes {
27714
27722
  | {
27715
27723
  /** ID of the event. */
27716
27724
  event_id: string
27717
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27725
+ /** ID of the workspace associated with the event. */
27718
27726
  workspace_id: string
27719
27727
  /** Date and time at which the event was created. */
27720
27728
  created_at: string
27721
27729
  /** Date and time at which the event occurred. */
27722
27730
  occurred_at: string
27723
- /** ID of the device. */
27731
+ /** ID of the affected device. */
27724
27732
  device_id: string
27725
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27733
+ /** ID of the connected account associated with the event. */
27726
27734
  connected_account_id: string
27727
27735
  event_type: 'device.tampered'
27728
27736
  }
27729
27737
  | {
27730
27738
  /** ID of the event. */
27731
27739
  event_id: string
27732
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27740
+ /** ID of the workspace associated with the event. */
27733
27741
  workspace_id: string
27734
27742
  /** Date and time at which the event was created. */
27735
27743
  created_at: string
27736
27744
  /** Date and time at which the event occurred. */
27737
27745
  occurred_at: string
27738
- /** ID of the device. */
27746
+ /** ID of the affected device. */
27739
27747
  device_id: string
27740
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27748
+ /** ID of the connected account associated with the event. */
27741
27749
  connected_account_id: string
27742
27750
  event_type: 'device.low_battery'
27743
- /** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
27751
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
27744
27752
  battery_level: number
27745
27753
  }
27746
27754
  | {
27747
27755
  /** ID of the event. */
27748
27756
  event_id: string
27749
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27757
+ /** ID of the workspace associated with the event. */
27750
27758
  workspace_id: string
27751
27759
  /** Date and time at which the event was created. */
27752
27760
  created_at: string
27753
27761
  /** Date and time at which the event occurred. */
27754
27762
  occurred_at: string
27755
- /** ID of the device. */
27763
+ /** ID of the affected device. */
27756
27764
  device_id: string
27757
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27765
+ /** ID of the connected account associated with the event. */
27758
27766
  connected_account_id: string
27759
27767
  event_type: 'device.battery_status_changed'
27760
- /** Battery status of the device, calculated from the numeric `battery_level` value. */
27768
+ /** Battery status of the affected device, calculated from the numeric `battery_level` value. */
27761
27769
  battery_status: 'critical' | 'low' | 'good' | 'full'
27762
- /** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
27770
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
27763
27771
  battery_level: number
27764
27772
  }
27765
27773
  | {
27766
27774
  /** ID of the event. */
27767
27775
  event_id: string
27768
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27776
+ /** ID of the workspace associated with the event. */
27769
27777
  workspace_id: string
27770
27778
  /** Date and time at which the event was created. */
27771
27779
  created_at: string
27772
27780
  /** Date and time at which the event occurred. */
27773
27781
  occurred_at: string
27774
- /** ID of the device. */
27782
+ /** ID of the affected device. */
27775
27783
  device_id: string
27776
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27784
+ /** ID of the connected account associated with the event. */
27777
27785
  connected_account_id: string
27778
27786
  event_type: 'device.removed'
27779
27787
  }
27780
27788
  | {
27781
27789
  /** ID of the event. */
27782
27790
  event_id: string
27783
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27791
+ /** ID of the workspace associated with the event. */
27784
27792
  workspace_id: string
27785
27793
  /** Date and time at which the event was created. */
27786
27794
  created_at: string
27787
27795
  /** Date and time at which the event occurred. */
27788
27796
  occurred_at: string
27789
- /** ID of the device. */
27797
+ /** ID of the affected device. */
27790
27798
  device_id: string
27791
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27799
+ /** ID of the connected account associated with the event. */
27792
27800
  connected_account_id: string
27793
27801
  event_type: 'device.deleted'
27794
27802
  }
27795
27803
  | {
27796
27804
  /** ID of the event. */
27797
27805
  event_id: string
27798
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27806
+ /** ID of the workspace associated with the event. */
27799
27807
  workspace_id: string
27800
27808
  /** Date and time at which the event was created. */
27801
27809
  created_at: string
27802
27810
  /** Date and time at which the event occurred. */
27803
27811
  occurred_at: string
27804
- /** ID of the device. */
27812
+ /** ID of the affected device. */
27805
27813
  device_id: string
27806
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27814
+ /** ID of the connected account associated with the event. */
27807
27815
  connected_account_id: string
27808
27816
  event_type: 'device.third_party_integration_detected'
27809
27817
  }
27810
27818
  | {
27811
27819
  /** ID of the event. */
27812
27820
  event_id: string
27813
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27821
+ /** ID of the workspace associated with the event. */
27814
27822
  workspace_id: string
27815
27823
  /** Date and time at which the event was created. */
27816
27824
  created_at: string
27817
27825
  /** Date and time at which the event occurred. */
27818
27826
  occurred_at: string
27819
- /** ID of the device. */
27827
+ /** ID of the affected device. */
27820
27828
  device_id: string
27821
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27829
+ /** ID of the connected account associated with the event. */
27822
27830
  connected_account_id: string
27823
27831
  event_type: 'device.third_party_integration_no_longer_detected'
27824
27832
  }
27825
27833
  | {
27826
27834
  /** ID of the event. */
27827
27835
  event_id: string
27828
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27836
+ /** ID of the workspace associated with the event. */
27829
27837
  workspace_id: string
27830
27838
  /** Date and time at which the event was created. */
27831
27839
  created_at: string
27832
27840
  /** Date and time at which the event occurred. */
27833
27841
  occurred_at: string
27834
- /** ID of the device. */
27842
+ /** ID of the affected device. */
27835
27843
  device_id: string
27836
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27844
+ /** ID of the connected account associated with the event. */
27837
27845
  connected_account_id: string
27838
27846
  event_type: 'device.salto.privacy_mode_activated'
27839
27847
  }
27840
27848
  | {
27841
27849
  /** ID of the event. */
27842
27850
  event_id: string
27843
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27851
+ /** ID of the workspace associated with the event. */
27844
27852
  workspace_id: string
27845
27853
  /** Date and time at which the event was created. */
27846
27854
  created_at: string
27847
27855
  /** Date and time at which the event occurred. */
27848
27856
  occurred_at: string
27849
- /** ID of the device. */
27857
+ /** ID of the affected device. */
27850
27858
  device_id: string
27851
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27859
+ /** ID of the connected account associated with the event. */
27852
27860
  connected_account_id: string
27853
27861
  event_type: 'device.salto.privacy_mode_deactivated'
27854
27862
  }
27855
27863
  | {
27856
27864
  /** ID of the event. */
27857
27865
  event_id: string
27858
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27866
+ /** ID of the workspace associated with the event. */
27859
27867
  workspace_id: string
27860
27868
  /** Date and time at which the event was created. */
27861
27869
  created_at: string
27862
27870
  /** Date and time at which the event occurred. */
27863
27871
  occurred_at: string
27864
- /** ID of the device. */
27872
+ /** ID of the affected device. */
27865
27873
  device_id: string
27866
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27874
+ /** ID of the connected account associated with the event. */
27867
27875
  connected_account_id: string
27868
27876
  event_type: 'device.connection_became_flaky'
27869
27877
  }
27870
27878
  | {
27871
27879
  /** ID of the event. */
27872
27880
  event_id: string
27873
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27881
+ /** ID of the workspace associated with the event. */
27874
27882
  workspace_id: string
27875
27883
  /** Date and time at which the event was created. */
27876
27884
  created_at: string
27877
27885
  /** Date and time at which the event occurred. */
27878
27886
  occurred_at: string
27879
- /** ID of the device. */
27887
+ /** ID of the affected device. */
27880
27888
  device_id: string
27881
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27889
+ /** ID of the connected account associated with the event. */
27882
27890
  connected_account_id: string
27883
27891
  event_type: 'device.connection_stabilized'
27884
27892
  }
27885
27893
  | {
27886
27894
  /** ID of the event. */
27887
27895
  event_id: string
27888
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27896
+ /** ID of the workspace associated with the event. */
27889
27897
  workspace_id: string
27890
27898
  /** Date and time at which the event was created. */
27891
27899
  created_at: string
27892
27900
  /** Date and time at which the event occurred. */
27893
27901
  occurred_at: string
27894
- /** ID of the device. */
27902
+ /** ID of the affected device. */
27895
27903
  device_id: string
27896
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27904
+ /** ID of the connected account associated with the event. */
27897
27905
  connected_account_id: string
27898
27906
  event_type: 'device.error.subscription_required'
27899
27907
  }
27900
27908
  | {
27901
27909
  /** ID of the event. */
27902
27910
  event_id: string
27903
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27911
+ /** ID of the workspace associated with the event. */
27904
27912
  workspace_id: string
27905
27913
  /** Date and time at which the event was created. */
27906
27914
  created_at: string
27907
27915
  /** Date and time at which the event occurred. */
27908
27916
  occurred_at: string
27909
- /** ID of the device. */
27917
+ /** ID of the affected device. */
27910
27918
  device_id: string
27911
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27919
+ /** ID of the connected account associated with the event. */
27912
27920
  connected_account_id: string
27913
27921
  event_type: 'device.error.subscription_required.resolved'
27914
27922
  }
27915
27923
  | {
27916
27924
  /** ID of the event. */
27917
27925
  event_id: string
27918
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27926
+ /** ID of the workspace associated with the event. */
27919
27927
  workspace_id: string
27920
27928
  /** Date and time at which the event was created. */
27921
27929
  created_at: string
27922
27930
  /** Date and time at which the event occurred. */
27923
27931
  occurred_at: string
27924
- /** ID of the device. */
27932
+ /** ID of the affected device. */
27925
27933
  device_id: string
27926
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27934
+ /** ID of the connected account associated with the event. */
27927
27935
  connected_account_id: string
27928
27936
  event_type: 'device.accessory_keypad_connected'
27929
27937
  }
27930
27938
  | {
27931
27939
  /** ID of the event. */
27932
27940
  event_id: string
27933
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27941
+ /** ID of the workspace associated with the event. */
27934
27942
  workspace_id: string
27935
27943
  /** Date and time at which the event was created. */
27936
27944
  created_at: string
27937
27945
  /** Date and time at which the event occurred. */
27938
27946
  occurred_at: string
27939
- /** ID of the device. */
27947
+ /** ID of the affected device. */
27940
27948
  device_id: string
27941
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27949
+ /** ID of the connected account associated with the event. */
27942
27950
  connected_account_id: string
27943
27951
  event_type: 'device.accessory_keypad_disconnected'
27944
27952
  }
27945
27953
  | {
27946
27954
  /** ID of the event. */
27947
27955
  event_id: string
27948
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27956
+ /** ID of the workspace associated with the event. */
27949
27957
  workspace_id: string
27950
27958
  /** Date and time at which the event was created. */
27951
27959
  created_at: string
27952
27960
  /** Date and time at which the event occurred. */
27953
27961
  occurred_at: string
27954
- /** ID of the device. */
27962
+ /** ID of the affected device. */
27955
27963
  device_id: string
27956
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27964
+ /** ID of the connected account associated with the event. */
27957
27965
  connected_account_id: string
27958
27966
  event_type: 'noise_sensor.noise_threshold_triggered'
27959
27967
  /** Detected noise level in decibels. */
27960
27968
  noise_level_decibels?: number | undefined
27961
27969
  /** Detected noise level in Noiseaware Noise Risk Score (NRS). */
27962
27970
  noise_level_nrs?: number | undefined
27963
- /** ID of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
27971
+ /** ID of the noise threshold that was triggered. */
27964
27972
  noise_threshold_id?: string | undefined
27965
- /** Name of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
27973
+ /** Name of the noise threshold that was triggered. */
27966
27974
  noise_threshold_name?: string | undefined
27967
27975
  /** Metadata from Noiseaware. */
27968
27976
  noiseaware_metadata?: Record<string, unknown> | undefined
@@ -27972,22 +27980,22 @@ export interface Routes {
27972
27980
  | {
27973
27981
  /** ID of the event. */
27974
27982
  event_id: string
27975
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
27983
+ /** ID of the workspace associated with the event. */
27976
27984
  workspace_id: string
27977
27985
  /** Date and time at which the event was created. */
27978
27986
  created_at: string
27979
27987
  /** Date and time at which the event occurred. */
27980
27988
  occurred_at: string
27981
- /** ID of the device. */
27989
+ /** ID of the affected device. */
27982
27990
  device_id: string
27983
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
27991
+ /** ID of the connected account associated with the event. */
27984
27992
  connected_account_id: string
27985
27993
  event_type: 'lock.locked'
27986
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to lock the device. */
27994
+ /** ID of the access code that was used to lock the device. */
27987
27995
  access_code_id?: string | undefined
27988
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the lock action. */
27996
+ /** ID of the action attempt associated with the lock action. */
27989
27997
  action_attempt_id?: string | undefined
27990
- /** 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. */
27998
+ /** 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. */
27991
27999
  method:
27992
28000
  | 'keycode'
27993
28001
  | 'manual'
@@ -27998,22 +28006,22 @@ export interface Routes {
27998
28006
  | {
27999
28007
  /** ID of the event. */
28000
28008
  event_id: string
28001
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28009
+ /** ID of the workspace associated with the event. */
28002
28010
  workspace_id: string
28003
28011
  /** Date and time at which the event was created. */
28004
28012
  created_at: string
28005
28013
  /** Date and time at which the event occurred. */
28006
28014
  occurred_at: string
28007
- /** ID of the device. */
28015
+ /** ID of the affected device. */
28008
28016
  device_id: string
28009
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28017
+ /** ID of the connected account associated with the event. */
28010
28018
  connected_account_id: string
28011
28019
  event_type: 'lock.unlocked'
28012
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to unlock the device. */
28020
+ /** ID of the access code that was used to unlock the affected device. */
28013
28021
  access_code_id?: string | undefined
28014
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the unlock action. */
28022
+ /** ID of the action attempt associated with the unlock action. */
28015
28023
  action_attempt_id?: string | undefined
28016
- /** 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. */
28024
+ /** 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. */
28017
28025
  method:
28018
28026
  | 'keycode'
28019
28027
  | 'manual'
@@ -28024,56 +28032,56 @@ export interface Routes {
28024
28032
  | {
28025
28033
  /** ID of the event. */
28026
28034
  event_id: string
28027
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28035
+ /** ID of the workspace associated with the event. */
28028
28036
  workspace_id: string
28029
28037
  /** Date and time at which the event was created. */
28030
28038
  created_at: string
28031
28039
  /** Date and time at which the event occurred. */
28032
28040
  occurred_at: string
28033
- /** ID of the device. */
28041
+ /** ID of the affected device. */
28034
28042
  device_id: string
28035
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28043
+ /** ID of the connected account associated with the event. */
28036
28044
  connected_account_id: string
28037
28045
  event_type: 'lock.access_denied'
28038
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used in the unlock attempts. */
28046
+ /** ID of the access code that was used in the unlock attempts. */
28039
28047
  access_code_id?: string | undefined
28040
28048
  }
28041
28049
  | {
28042
28050
  /** ID of the event. */
28043
28051
  event_id: string
28044
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28052
+ /** ID of the workspace associated with the event. */
28045
28053
  workspace_id: string
28046
28054
  /** Date and time at which the event was created. */
28047
28055
  created_at: string
28048
28056
  /** Date and time at which the event occurred. */
28049
28057
  occurred_at: string
28050
- /** ID of the device. */
28058
+ /** ID of the affected device. */
28051
28059
  device_id: string
28052
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28060
+ /** ID of the connected account associated with the event. */
28053
28061
  connected_account_id: string
28054
28062
  event_type: 'thermostat.climate_preset_activated'
28055
- /** 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. */
28063
+ /** ID of the thermostat schedule that prompted the affected climate preset to be activated. */
28056
28064
  thermostat_schedule_id: string | null
28057
- /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated. */
28065
+ /** Key of the climate preset that was activated. */
28058
28066
  climate_preset_key: string
28059
- /** 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). */
28067
+ /** Indicates whether the climate preset that was activated is the fallback climate preset for the thermostat. */
28060
28068
  is_fallback_climate_preset: boolean
28061
28069
  }
28062
28070
  | {
28063
28071
  /** ID of the event. */
28064
28072
  event_id: string
28065
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28073
+ /** ID of the workspace associated with the event. */
28066
28074
  workspace_id: string
28067
28075
  /** Date and time at which the event was created. */
28068
28076
  created_at: string
28069
28077
  /** Date and time at which the event occurred. */
28070
28078
  occurred_at: string
28071
- /** ID of the device. */
28079
+ /** ID of the affected device. */
28072
28080
  device_id: string
28073
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28081
+ /** ID of the connected account associated with the event. */
28074
28082
  connected_account_id: string
28075
28083
  event_type: 'thermostat.manually_adjusted'
28076
- /** 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). */
28084
+ /** 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. */
28077
28085
  method: 'seam' | 'external'
28078
28086
  /** 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`. */
28079
28087
  fan_mode_setting?:
@@ -28095,139 +28103,139 @@ export interface Routes {
28095
28103
  | {
28096
28104
  /** ID of the event. */
28097
28105
  event_id: string
28098
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28106
+ /** ID of the workspace associated with the event. */
28099
28107
  workspace_id: string
28100
28108
  /** Date and time at which the event was created. */
28101
28109
  created_at: string
28102
28110
  /** Date and time at which the event occurred. */
28103
28111
  occurred_at: string
28104
- /** ID of the device. */
28112
+ /** ID of the affected device. */
28105
28113
  device_id: string
28106
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28114
+ /** ID of the connected account associated with the event. */
28107
28115
  connected_account_id: string
28108
28116
  event_type: 'thermostat.temperature_threshold_exceeded'
28109
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
28117
+ /** Temperature, in °C, reported by the affected thermostat. */
28110
28118
  temperature_celsius: number
28111
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
28119
+ /** Temperature, in °F, reported by the affected thermostat. */
28112
28120
  temperature_fahrenheit: number
28113
- /** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
28121
+ /** Upper temperature limit, in °C, defined by the set threshold. */
28114
28122
  upper_limit_celsius: number | null
28115
- /** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
28123
+ /** Upper temperature limit, in °F, defined by the set threshold. */
28116
28124
  upper_limit_fahrenheit: number | null
28117
- /** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
28125
+ /** Lower temperature limit, in °C, defined by the set threshold. */
28118
28126
  lower_limit_celsius: number | null
28119
- /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
28127
+ /** Lower temperature limit, in °F, defined by the set threshold. */
28120
28128
  lower_limit_fahrenheit: number | null
28121
28129
  }
28122
28130
  | {
28123
28131
  /** ID of the event. */
28124
28132
  event_id: string
28125
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28133
+ /** ID of the workspace associated with the event. */
28126
28134
  workspace_id: string
28127
28135
  /** Date and time at which the event was created. */
28128
28136
  created_at: string
28129
28137
  /** Date and time at which the event occurred. */
28130
28138
  occurred_at: string
28131
- /** ID of the device. */
28139
+ /** ID of the affected device. */
28132
28140
  device_id: string
28133
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28141
+ /** ID of the connected account associated with the event. */
28134
28142
  connected_account_id: string
28135
28143
  event_type: 'thermostat.temperature_threshold_no_longer_exceeded'
28136
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
28144
+ /** Temperature, in °C, reported by the affected thermostat. */
28137
28145
  temperature_celsius: number
28138
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
28146
+ /** Temperature, in °F, reported by the affected thermostat. */
28139
28147
  temperature_fahrenheit: number
28140
- /** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
28148
+ /** Upper temperature limit, in °C, defined by the set threshold. */
28141
28149
  upper_limit_celsius: number | null
28142
- /** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
28150
+ /** Upper temperature limit, in °F, defined by the set threshold. */
28143
28151
  upper_limit_fahrenheit: number | null
28144
- /** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
28152
+ /** Lower temperature limit, in °C, defined by the set threshold. */
28145
28153
  lower_limit_celsius: number | null
28146
- /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
28154
+ /** Lower temperature limit, in °F, defined by the set threshold. */
28147
28155
  lower_limit_fahrenheit: number | null
28148
28156
  }
28149
28157
  | {
28150
28158
  /** ID of the event. */
28151
28159
  event_id: string
28152
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28160
+ /** ID of the workspace associated with the event. */
28153
28161
  workspace_id: string
28154
28162
  /** Date and time at which the event was created. */
28155
28163
  created_at: string
28156
28164
  /** Date and time at which the event occurred. */
28157
28165
  occurred_at: string
28158
- /** ID of the device. */
28166
+ /** ID of the affected device. */
28159
28167
  device_id: string
28160
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28168
+ /** ID of the connected account associated with the event. */
28161
28169
  connected_account_id: string
28162
28170
  event_type: 'thermostat.temperature_reached_set_point'
28163
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
28171
+ /** Temperature, in °C, reported by the affected thermostat. */
28164
28172
  temperature_celsius: number
28165
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
28173
+ /** Temperature, in °F, reported by the affected thermostat. */
28166
28174
  temperature_fahrenheit: number
28167
- /** 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). */
28175
+ /** Desired temperature, in °C, defined by the affected thermostat's cooling or heating set point. */
28168
28176
  desired_temperature_celsius?: number | undefined
28169
- /** 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). */
28177
+ /** Desired temperature, in °F, defined by the affected thermostat's cooling or heating set point. */
28170
28178
  desired_temperature_fahrenheit?: number | undefined
28171
28179
  }
28172
28180
  | {
28173
28181
  /** ID of the event. */
28174
28182
  event_id: string
28175
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28183
+ /** ID of the workspace associated with the event. */
28176
28184
  workspace_id: string
28177
28185
  /** Date and time at which the event was created. */
28178
28186
  created_at: string
28179
28187
  /** Date and time at which the event occurred. */
28180
28188
  occurred_at: string
28181
- /** ID of the device. */
28189
+ /** ID of the affected device. */
28182
28190
  device_id: string
28183
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28191
+ /** ID of the connected account associated with the event. */
28184
28192
  connected_account_id: string
28185
28193
  event_type: 'thermostat.temperature_changed'
28186
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
28194
+ /** Temperature, in °C, reported by the affected thermostat. */
28187
28195
  temperature_celsius: number
28188
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
28196
+ /** Temperature, in °F, reported by the affected thermostat. */
28189
28197
  temperature_fahrenheit: number
28190
28198
  }
28191
28199
  | {
28192
28200
  /** ID of the event. */
28193
28201
  event_id: string
28194
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28202
+ /** ID of the workspace associated with the event. */
28195
28203
  workspace_id: string
28196
28204
  /** Date and time at which the event was created. */
28197
28205
  created_at: string
28198
28206
  /** Date and time at which the event occurred. */
28199
28207
  occurred_at: string
28200
- /** ID of the device. */
28208
+ /** ID of the affected device. */
28201
28209
  device_id: string
28202
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28210
+ /** ID of the connected account associated with the event. */
28203
28211
  connected_account_id: string
28204
28212
  event_type: 'device.name_changed'
28205
- /** The new name of the device. */
28213
+ /** The new name of the affected device. */
28206
28214
  device_name: string
28207
28215
  }
28208
28216
  | {
28209
28217
  /** ID of the event. */
28210
28218
  event_id: string
28211
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28219
+ /** ID of the workspace associated with the event. */
28212
28220
  workspace_id: string
28213
28221
  /** Date and time at which the event was created. */
28214
28222
  created_at: string
28215
28223
  /** Date and time at which the event occurred. */
28216
28224
  occurred_at: string
28217
- /** 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). */
28225
+ /** ID of the affected enrollment automation. */
28218
28226
  enrollment_automation_id: string
28219
28227
  event_type: 'enrollment_automation.deleted'
28220
28228
  }
28221
28229
  | {
28222
28230
  /** ID of the event. */
28223
28231
  event_id: string
28224
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28232
+ /** ID of the workspace associated with the event. */
28225
28233
  workspace_id: string
28226
28234
  /** Date and time at which the event was created. */
28227
28235
  created_at: string
28228
28236
  /** Date and time at which the event occurred. */
28229
28237
  occurred_at: string
28230
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28238
+ /** ID of the affected phone device. */
28231
28239
  device_id: string
28232
28240
  event_type: 'phone.deactivated'
28233
28241
  }
@@ -28242,15 +28250,25 @@ export interface Routes {
28242
28250
  queryParams: {}
28243
28251
  jsonBody: {}
28244
28252
  commonParams: {
28253
+ /** Offset for the events that you want to list. */
28245
28254
  unstable_offset?: number | undefined
28255
+ /** Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. */
28246
28256
  since?: string | undefined
28257
+ /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
28247
28258
  between?: Array<string | Date> | undefined
28259
+ /** ID of the device for which you want to list events. */
28248
28260
  device_id?: string | undefined
28261
+ /** IDs of the devices for which you want to list events. */
28249
28262
  device_ids?: string[] | undefined
28263
+ /** ID of the access system for which you want to list events. */
28250
28264
  acs_system_id?: string | undefined
28265
+ /** IDs of the access systems for which you want to list events. */
28251
28266
  acs_system_ids?: string[] | undefined
28267
+ /** ID of the access code for which you want to list events. */
28252
28268
  access_code_id?: string | undefined
28269
+ /** IDs of the access codes for which you want to list events. */
28253
28270
  access_code_ids?: string[] | undefined
28271
+ /** Type of the events that you want to list. */
28254
28272
  event_type?:
28255
28273
  | (
28256
28274
  | 'access_code.created'
@@ -28343,6 +28361,7 @@ export interface Routes {
28343
28361
  | 'phone.deactivated'
28344
28362
  )
28345
28363
  | undefined
28364
+ /** Types of the events that you want to list. */
28346
28365
  event_types?:
28347
28366
  | Array<
28348
28367
  | 'access_code.created'
@@ -28435,10 +28454,15 @@ export interface Routes {
28435
28454
  | 'phone.deactivated'
28436
28455
  >
28437
28456
  | undefined
28457
+ /** ID of the connected account for which you want to list events. */
28438
28458
  connected_account_id?: string | undefined
28459
+ /** IDs of the connected accounts for which you want to list events. */
28439
28460
  connect_webview_id?: string | undefined
28461
+ /** Numerical limit on the number of events to return. */
28440
28462
  limit?: number
28463
+ /** IDs of the events that you want to list. */
28441
28464
  event_ids?: string[] | undefined
28465
+ /** IDs of the customers for which you want to list events. */
28442
28466
  customer_ids?: string[] | undefined
28443
28467
  }
28444
28468
  formData: {}
@@ -28447,227 +28471,227 @@ export interface Routes {
28447
28471
  | {
28448
28472
  /** ID of the event. */
28449
28473
  event_id: string
28450
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28474
+ /** ID of the workspace associated with the event. */
28451
28475
  workspace_id: string
28452
28476
  /** Date and time at which the event was created. */
28453
28477
  created_at: string
28454
28478
  /** Date and time at which the event occurred. */
28455
28479
  occurred_at: string
28456
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28480
+ /** ID of the affected access code. */
28457
28481
  access_code_id: string
28458
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28482
+ /** ID of the device associated with the affected access code. */
28459
28483
  device_id: string
28460
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28484
+ /** ID of the connected account associated with the affected access codes. */
28461
28485
  connected_account_id: string
28462
28486
  event_type: 'access_code.created'
28463
28487
  }
28464
28488
  | {
28465
28489
  /** ID of the event. */
28466
28490
  event_id: string
28467
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28491
+ /** ID of the workspace associated with the event. */
28468
28492
  workspace_id: string
28469
28493
  /** Date and time at which the event was created. */
28470
28494
  created_at: string
28471
28495
  /** Date and time at which the event occurred. */
28472
28496
  occurred_at: string
28473
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28497
+ /** ID of the affected access code. */
28474
28498
  access_code_id: string
28475
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28499
+ /** ID of the device associated with the affected access code. */
28476
28500
  device_id: string
28477
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28501
+ /** ID of the connected account associated with the affected access codes. */
28478
28502
  connected_account_id: string
28479
28503
  event_type: 'access_code.changed'
28480
28504
  }
28481
28505
  | {
28482
28506
  /** ID of the event. */
28483
28507
  event_id: string
28484
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28508
+ /** ID of the workspace associated with the event. */
28485
28509
  workspace_id: string
28486
28510
  /** Date and time at which the event was created. */
28487
28511
  created_at: string
28488
28512
  /** Date and time at which the event occurred. */
28489
28513
  occurred_at: string
28490
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28514
+ /** ID of the affected access code. */
28491
28515
  access_code_id: string
28492
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28516
+ /** ID of the device associated with the affected access code. */
28493
28517
  device_id: string
28494
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28518
+ /** ID of the connected account associated with the affected access codes. */
28495
28519
  connected_account_id: string
28496
28520
  event_type: 'access_code.scheduled_on_device'
28497
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28521
+ /** Code for the affected access code. */
28498
28522
  code: string
28499
28523
  }
28500
28524
  | {
28501
28525
  /** ID of the event. */
28502
28526
  event_id: string
28503
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28527
+ /** ID of the workspace associated with the event. */
28504
28528
  workspace_id: string
28505
28529
  /** Date and time at which the event was created. */
28506
28530
  created_at: string
28507
28531
  /** Date and time at which the event occurred. */
28508
28532
  occurred_at: string
28509
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28533
+ /** ID of the affected access code. */
28510
28534
  access_code_id: string
28511
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28535
+ /** ID of the device associated with the affected access code. */
28512
28536
  device_id: string
28513
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28537
+ /** ID of the connected account associated with the affected access codes. */
28514
28538
  connected_account_id: string
28515
28539
  event_type: 'access_code.set_on_device'
28516
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28540
+ /** Code for the affected access code. */
28517
28541
  code: string
28518
28542
  }
28519
28543
  | {
28520
28544
  /** ID of the event. */
28521
28545
  event_id: string
28522
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28546
+ /** ID of the workspace associated with the event. */
28523
28547
  workspace_id: string
28524
28548
  /** Date and time at which the event was created. */
28525
28549
  created_at: string
28526
28550
  /** Date and time at which the event occurred. */
28527
28551
  occurred_at: string
28528
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28552
+ /** ID of the affected access code. */
28529
28553
  access_code_id: string
28530
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28554
+ /** ID of the device associated with the affected access code. */
28531
28555
  device_id: string
28532
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28556
+ /** ID of the connected account associated with the affected access codes. */
28533
28557
  connected_account_id: string
28534
28558
  event_type: 'access_code.removed_from_device'
28535
28559
  }
28536
28560
  | {
28537
28561
  /** ID of the event. */
28538
28562
  event_id: string
28539
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28563
+ /** ID of the workspace associated with the event. */
28540
28564
  workspace_id: string
28541
28565
  /** Date and time at which the event was created. */
28542
28566
  created_at: string
28543
28567
  /** Date and time at which the event occurred. */
28544
28568
  occurred_at: string
28545
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28569
+ /** ID of the affected access code. */
28546
28570
  access_code_id: string
28547
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28571
+ /** ID of the device associated with the affected access code. */
28548
28572
  device_id: string
28549
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28573
+ /** ID of the connected account associated with the affected access codes. */
28550
28574
  connected_account_id: string
28551
28575
  event_type: 'access_code.delay_in_setting_on_device'
28552
28576
  }
28553
28577
  | {
28554
28578
  /** ID of the event. */
28555
28579
  event_id: string
28556
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28580
+ /** ID of the workspace associated with the event. */
28557
28581
  workspace_id: string
28558
28582
  /** Date and time at which the event was created. */
28559
28583
  created_at: string
28560
28584
  /** Date and time at which the event occurred. */
28561
28585
  occurred_at: string
28562
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28586
+ /** ID of the affected access code. */
28563
28587
  access_code_id: string
28564
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28588
+ /** ID of the device associated with the affected access code. */
28565
28589
  device_id: string
28566
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28590
+ /** ID of the connected account associated with the affected access codes. */
28567
28591
  connected_account_id: string
28568
28592
  event_type: 'access_code.failed_to_set_on_device'
28569
28593
  }
28570
28594
  | {
28571
28595
  /** ID of the event. */
28572
28596
  event_id: string
28573
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28597
+ /** ID of the workspace associated with the event. */
28574
28598
  workspace_id: string
28575
28599
  /** Date and time at which the event was created. */
28576
28600
  created_at: string
28577
28601
  /** Date and time at which the event occurred. */
28578
28602
  occurred_at: string
28579
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28603
+ /** ID of the affected access code. */
28580
28604
  access_code_id: string
28581
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28605
+ /** ID of the device associated with the affected access code. */
28582
28606
  device_id: string
28583
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28607
+ /** ID of the connected account associated with the affected access codes. */
28584
28608
  connected_account_id: string
28585
28609
  event_type: 'access_code.deleted'
28586
- /** Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28610
+ /** Code for the affected access code. */
28587
28611
  code: string | null
28588
28612
  }
28589
28613
  | {
28590
28614
  /** ID of the event. */
28591
28615
  event_id: string
28592
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28616
+ /** ID of the workspace associated with the event. */
28593
28617
  workspace_id: string
28594
28618
  /** Date and time at which the event was created. */
28595
28619
  created_at: string
28596
28620
  /** Date and time at which the event occurred. */
28597
28621
  occurred_at: string
28598
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28622
+ /** ID of the affected access code. */
28599
28623
  access_code_id: string
28600
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28624
+ /** ID of the device associated with the affected access code. */
28601
28625
  device_id: string
28602
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28626
+ /** ID of the connected account associated with the affected access codes. */
28603
28627
  connected_account_id: string
28604
28628
  event_type: 'access_code.delay_in_removing_from_device'
28605
28629
  }
28606
28630
  | {
28607
28631
  /** ID of the event. */
28608
28632
  event_id: string
28609
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28633
+ /** ID of the workspace associated with the event. */
28610
28634
  workspace_id: string
28611
28635
  /** Date and time at which the event was created. */
28612
28636
  created_at: string
28613
28637
  /** Date and time at which the event occurred. */
28614
28638
  occurred_at: string
28615
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28639
+ /** ID of the affected access code. */
28616
28640
  access_code_id: string
28617
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28641
+ /** ID of the device associated with the affected access code. */
28618
28642
  device_id: string
28619
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28643
+ /** ID of the connected account associated with the affected access codes. */
28620
28644
  connected_account_id: string
28621
28645
  event_type: 'access_code.failed_to_remove_from_device'
28622
28646
  }
28623
28647
  | {
28624
28648
  /** ID of the event. */
28625
28649
  event_id: string
28626
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28650
+ /** ID of the workspace associated with the event. */
28627
28651
  workspace_id: string
28628
28652
  /** Date and time at which the event was created. */
28629
28653
  created_at: string
28630
28654
  /** Date and time at which the event occurred. */
28631
28655
  occurred_at: string
28632
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28656
+ /** ID of the affected access code. */
28633
28657
  access_code_id: string
28634
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28658
+ /** ID of the device associated with the affected access code. */
28635
28659
  device_id: string
28636
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28660
+ /** ID of the connected account associated with the affected access codes. */
28637
28661
  connected_account_id: string
28638
28662
  event_type: 'access_code.modified_external_to_seam'
28639
28663
  }
28640
28664
  | {
28641
28665
  /** ID of the event. */
28642
28666
  event_id: string
28643
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28667
+ /** ID of the workspace associated with the event. */
28644
28668
  workspace_id: string
28645
28669
  /** Date and time at which the event was created. */
28646
28670
  created_at: string
28647
28671
  /** Date and time at which the event occurred. */
28648
28672
  occurred_at: string
28649
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28673
+ /** ID of the affected access code. */
28650
28674
  access_code_id: string
28651
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28675
+ /** ID of the device associated with the affected access code. */
28652
28676
  device_id: string
28653
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28677
+ /** ID of the connected account associated with the affected access codes. */
28654
28678
  connected_account_id: string
28655
28679
  event_type: 'access_code.deleted_external_to_seam'
28656
28680
  }
28657
28681
  | {
28658
28682
  /** ID of the event. */
28659
28683
  event_id: string
28660
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28684
+ /** ID of the workspace associated with the event. */
28661
28685
  workspace_id: string
28662
28686
  /** Date and time at which the event was created. */
28663
28687
  created_at: string
28664
28688
  /** Date and time at which the event occurred. */
28665
28689
  occurred_at: string
28666
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28690
+ /** ID of the affected access code. */
28667
28691
  access_code_id: string
28668
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28692
+ /** ID of the device associated with the affected access code. */
28669
28693
  device_id: string
28670
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28694
+ /** ID of the connected account associated with the affected access codes. */
28671
28695
  connected_account_id: string
28672
28696
  event_type: 'access_code.backup_access_code_pulled'
28673
28697
  backup_access_code_id: string
@@ -28675,300 +28699,304 @@ export interface Routes {
28675
28699
  | {
28676
28700
  /** ID of the event. */
28677
28701
  event_id: string
28678
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28702
+ /** ID of the workspace associated with the event. */
28679
28703
  workspace_id: string
28680
28704
  /** Date and time at which the event was created. */
28681
28705
  created_at: string
28682
28706
  /** Date and time at which the event occurred. */
28683
28707
  occurred_at: string
28684
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28708
+ /** ID of the affected access code. */
28685
28709
  access_code_id: string
28686
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28710
+ /** ID of the device associated with the affected access code. */
28687
28711
  device_id: string
28688
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28712
+ /** ID of the connected account associated with the affected access codes. */
28689
28713
  connected_account_id: string
28690
28714
  event_type: 'access_code.unmanaged.converted_to_managed'
28691
28715
  }
28692
28716
  | {
28693
28717
  /** ID of the event. */
28694
28718
  event_id: string
28695
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28719
+ /** ID of the workspace associated with the event. */
28696
28720
  workspace_id: string
28697
28721
  /** Date and time at which the event was created. */
28698
28722
  created_at: string
28699
28723
  /** Date and time at which the event occurred. */
28700
28724
  occurred_at: string
28701
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28725
+ /** ID of the affected access code. */
28702
28726
  access_code_id: string
28703
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28727
+ /** ID of the device associated with the affected access code. */
28704
28728
  device_id: string
28705
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28729
+ /** ID of the connected account associated with the affected access codes. */
28706
28730
  connected_account_id: string
28707
28731
  event_type: 'access_code.unmanaged.failed_to_convert_to_managed'
28708
28732
  }
28709
28733
  | {
28710
28734
  /** ID of the event. */
28711
28735
  event_id: string
28712
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28736
+ /** ID of the workspace associated with the event. */
28713
28737
  workspace_id: string
28714
28738
  /** Date and time at which the event was created. */
28715
28739
  created_at: string
28716
28740
  /** Date and time at which the event occurred. */
28717
28741
  occurred_at: string
28718
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28742
+ /** ID of the affected access code. */
28719
28743
  access_code_id: string
28720
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28744
+ /** ID of the device associated with the affected access code. */
28721
28745
  device_id: string
28722
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28746
+ /** ID of the connected account associated with the affected access codes. */
28723
28747
  connected_account_id: string
28724
28748
  event_type: 'access_code.unmanaged.created'
28725
28749
  }
28726
28750
  | {
28727
28751
  /** ID of the event. */
28728
28752
  event_id: string
28729
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28753
+ /** ID of the workspace associated with the event. */
28730
28754
  workspace_id: string
28731
28755
  /** Date and time at which the event was created. */
28732
28756
  created_at: string
28733
28757
  /** Date and time at which the event occurred. */
28734
28758
  occurred_at: string
28735
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
28759
+ /** ID of the affected access code. */
28736
28760
  access_code_id: string
28737
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
28761
+ /** ID of the device associated with the affected access code. */
28738
28762
  device_id: string
28739
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28763
+ /** ID of the connected account associated with the affected access codes. */
28740
28764
  connected_account_id: string
28741
28765
  event_type: 'access_code.unmanaged.removed'
28742
28766
  }
28743
28767
  | {
28744
28768
  /** ID of the event. */
28745
28769
  event_id: string
28746
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28770
+ /** ID of the workspace associated with the event. */
28747
28771
  workspace_id: string
28748
28772
  /** Date and time at which the event was created. */
28749
28773
  created_at: string
28750
28774
  /** Date and time at which the event occurred. */
28751
28775
  occurred_at: string
28752
- /** ID of the access grant. */
28776
+ /** ID of the affected access grant. */
28753
28777
  access_grant_id: string
28754
28778
  event_type: 'access_grant.created'
28755
28779
  }
28756
28780
  | {
28757
28781
  /** ID of the event. */
28758
28782
  event_id: string
28759
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28783
+ /** ID of the workspace associated with the event. */
28760
28784
  workspace_id: string
28761
28785
  /** Date and time at which the event was created. */
28762
28786
  created_at: string
28763
28787
  /** Date and time at which the event occurred. */
28764
28788
  occurred_at: string
28765
- /** ID of the access grant. */
28789
+ /** ID of the affected access grant. */
28766
28790
  access_grant_id: string
28767
28791
  event_type: 'access_grant.deleted'
28768
28792
  }
28769
28793
  | {
28770
28794
  /** ID of the event. */
28771
28795
  event_id: string
28772
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28796
+ /** ID of the workspace associated with the event. */
28773
28797
  workspace_id: string
28774
28798
  /** Date and time at which the event was created. */
28775
28799
  created_at: string
28776
28800
  /** Date and time at which the event occurred. */
28777
28801
  occurred_at: string
28778
- /** ID of the access grant. */
28802
+ /** ID of the affected access grant. */
28779
28803
  access_grant_id: string
28780
28804
  event_type: 'access_grant.access_granted_to_all_doors'
28781
28805
  }
28782
28806
  | {
28783
28807
  /** ID of the event. */
28784
28808
  event_id: string
28785
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28809
+ /** ID of the workspace associated with the event. */
28786
28810
  workspace_id: string
28787
28811
  /** Date and time at which the event was created. */
28788
28812
  created_at: string
28789
28813
  /** Date and time at which the event occurred. */
28790
28814
  occurred_at: string
28791
- /** ID of the access grant. */
28815
+ /** ID of the affected access grant. */
28792
28816
  access_grant_id: string
28793
28817
  event_type: 'access_grant.access_granted_to_door'
28794
- /** ID of the door, an [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
28818
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
28795
28819
  acs_entrance_id: string
28796
28820
  }
28797
28821
  | {
28798
28822
  /** ID of the event. */
28799
28823
  event_id: string
28800
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28824
+ /** ID of the workspace associated with the event. */
28801
28825
  workspace_id: string
28802
28826
  /** Date and time at which the event was created. */
28803
28827
  created_at: string
28804
28828
  /** Date and time at which the event occurred. */
28805
28829
  occurred_at: string
28806
- /** ID of the access grant. */
28830
+ /** ID of the affected access grant. */
28807
28831
  access_grant_id: string
28808
28832
  event_type: 'access_grant.access_to_door_lost'
28809
- /** ID of the door, an [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
28833
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
28810
28834
  acs_entrance_id: string
28811
28835
  }
28812
28836
  | {
28813
28837
  /** ID of the event. */
28814
28838
  event_id: string
28815
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28839
+ /** ID of the workspace associated with the event. */
28816
28840
  workspace_id: string
28817
28841
  /** Date and time at which the event was created. */
28818
28842
  created_at: string
28819
28843
  /** Date and time at which the event occurred. */
28820
28844
  occurred_at: string
28821
- /** ID of the access method. */
28845
+ /** ID of the affected access method. */
28822
28846
  access_method_id: string
28823
28847
  event_type: 'access_method.issued'
28824
28848
  }
28825
28849
  | {
28826
28850
  /** ID of the event. */
28827
28851
  event_id: string
28828
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28852
+ /** ID of the workspace associated with the event. */
28829
28853
  workspace_id: string
28830
28854
  /** Date and time at which the event was created. */
28831
28855
  created_at: string
28832
28856
  /** Date and time at which the event occurred. */
28833
28857
  occurred_at: string
28834
- /** ID of the access method. */
28858
+ /** ID of the affected access method. */
28835
28859
  access_method_id: string
28836
28860
  event_type: 'access_method.revoked'
28837
28861
  }
28838
28862
  | {
28839
28863
  /** ID of the event. */
28840
28864
  event_id: string
28841
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28865
+ /** ID of the workspace associated with the event. */
28842
28866
  workspace_id: string
28843
28867
  /** Date and time at which the event was created. */
28844
28868
  created_at: string
28845
28869
  /** Date and time at which the event occurred. */
28846
28870
  occurred_at: string
28847
- /** ID of the access method. */
28871
+ /** ID of the affected access method. */
28848
28872
  access_method_id: string
28849
28873
  event_type: 'access_method.card_encoding_required'
28850
28874
  }
28851
28875
  | {
28852
28876
  /** ID of the event. */
28853
28877
  event_id: string
28854
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28878
+ /** ID of the workspace associated with the event. */
28855
28879
  workspace_id: string
28856
28880
  /** Date and time at which the event was created. */
28857
28881
  created_at: string
28858
28882
  /** Date and time at which the event occurred. */
28859
28883
  occurred_at: string
28860
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28884
+ /** ID of the connected account. */
28861
28885
  connected_account_id?: string | undefined
28862
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
28886
+ /** ID of the access system. */
28863
28887
  acs_system_id: string
28864
28888
  event_type: 'acs_system.connected'
28865
28889
  }
28866
28890
  | {
28867
28891
  /** ID of the event. */
28868
28892
  event_id: string
28869
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28893
+ /** ID of the workspace associated with the event. */
28870
28894
  workspace_id: string
28871
28895
  /** Date and time at which the event was created. */
28872
28896
  created_at: string
28873
28897
  /** Date and time at which the event occurred. */
28874
28898
  occurred_at: string
28875
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28899
+ /** ID of the connected account. */
28876
28900
  connected_account_id?: string | undefined
28877
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
28901
+ /** ID of the access system. */
28878
28902
  acs_system_id: string
28879
28903
  event_type: 'acs_system.added'
28880
28904
  }
28881
28905
  | {
28882
28906
  /** ID of the event. */
28883
28907
  event_id: string
28884
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28908
+ /** ID of the workspace associated with the event. */
28885
28909
  workspace_id: string
28886
28910
  /** Date and time at which the event was created. */
28887
28911
  created_at: string
28888
28912
  /** Date and time at which the event occurred. */
28889
28913
  occurred_at: string
28890
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28914
+ /** ID of the connected account. */
28891
28915
  connected_account_id?: string | undefined
28892
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
28916
+ /** ID of the access system. */
28893
28917
  acs_system_id: string
28894
28918
  event_type: 'acs_system.disconnected'
28895
28919
  }
28896
28920
  | {
28897
28921
  /** ID of the event. */
28898
28922
  event_id: string
28899
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28923
+ /** ID of the workspace associated with the event. */
28900
28924
  workspace_id: string
28901
28925
  /** Date and time at which the event was created. */
28902
28926
  created_at: string
28903
28927
  /** Date and time at which the event occurred. */
28904
28928
  occurred_at: string
28905
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28929
+ /** ID of the connected account. */
28906
28930
  connected_account_id?: string | undefined
28907
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
28931
+ /** ID of the access system. */
28908
28932
  acs_system_id: string
28933
+ /** ID of the affected credential. */
28909
28934
  acs_credential_id: string
28910
28935
  event_type: 'acs_credential.deleted'
28911
28936
  }
28912
28937
  | {
28913
28938
  /** ID of the event. */
28914
28939
  event_id: string
28915
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28940
+ /** ID of the workspace associated with the event. */
28916
28941
  workspace_id: string
28917
28942
  /** Date and time at which the event was created. */
28918
28943
  created_at: string
28919
28944
  /** Date and time at which the event occurred. */
28920
28945
  occurred_at: string
28921
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28946
+ /** ID of the connected account. */
28922
28947
  connected_account_id?: string | undefined
28923
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
28948
+ /** ID of the access system. */
28924
28949
  acs_system_id: string
28950
+ /** ID of the affected credential. */
28925
28951
  acs_credential_id: string
28926
28952
  event_type: 'acs_credential.issued'
28927
28953
  }
28928
28954
  | {
28929
28955
  /** ID of the event. */
28930
28956
  event_id: string
28931
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28957
+ /** ID of the workspace associated with the event. */
28932
28958
  workspace_id: string
28933
28959
  /** Date and time at which the event was created. */
28934
28960
  created_at: string
28935
28961
  /** Date and time at which the event occurred. */
28936
28962
  occurred_at: string
28937
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28963
+ /** ID of the connected account. */
28938
28964
  connected_account_id?: string | undefined
28939
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
28965
+ /** ID of the access system. */
28940
28966
  acs_system_id: string
28967
+ /** ID of the affected credential. */
28941
28968
  acs_credential_id: string
28942
28969
  event_type: 'acs_credential.reissued'
28943
28970
  }
28944
28971
  | {
28945
28972
  /** ID of the event. */
28946
28973
  event_id: string
28947
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28974
+ /** ID of the workspace associated with the event. */
28948
28975
  workspace_id: string
28949
28976
  /** Date and time at which the event was created. */
28950
28977
  created_at: string
28951
28978
  /** Date and time at which the event occurred. */
28952
28979
  occurred_at: string
28953
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28980
+ /** ID of the connected account. */
28954
28981
  connected_account_id?: string | undefined
28955
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
28982
+ /** ID of the access system. */
28956
28983
  acs_system_id: string
28984
+ /** ID of the affected credential. */
28957
28985
  acs_credential_id: string
28958
28986
  event_type: 'acs_credential.invalidated'
28959
28987
  }
28960
28988
  | {
28961
28989
  /** ID of the event. */
28962
28990
  event_id: string
28963
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
28991
+ /** ID of the workspace associated with the event. */
28964
28992
  workspace_id: string
28965
28993
  /** Date and time at which the event was created. */
28966
28994
  created_at: string
28967
28995
  /** Date and time at which the event occurred. */
28968
28996
  occurred_at: string
28969
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
28997
+ /** ID of the connected account. */
28970
28998
  connected_account_id?: string | undefined
28971
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
28999
+ /** ID of the access system. */
28972
29000
  acs_system_id: string
28973
29001
  acs_user_id: string
28974
29002
  event_type: 'acs_user.created'
@@ -28976,15 +29004,15 @@ export interface Routes {
28976
29004
  | {
28977
29005
  /** ID of the event. */
28978
29006
  event_id: string
28979
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29007
+ /** ID of the workspace associated with the event. */
28980
29008
  workspace_id: string
28981
29009
  /** Date and time at which the event was created. */
28982
29010
  created_at: string
28983
29011
  /** Date and time at which the event occurred. */
28984
29012
  occurred_at: string
28985
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29013
+ /** ID of the connected account. */
28986
29014
  connected_account_id?: string | undefined
28987
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
29015
+ /** ID of the access system. */
28988
29016
  acs_system_id: string
28989
29017
  acs_user_id: string
28990
29018
  event_type: 'acs_user.deleted'
@@ -28992,65 +29020,66 @@ export interface Routes {
28992
29020
  | {
28993
29021
  /** ID of the event. */
28994
29022
  event_id: string
28995
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29023
+ /** ID of the workspace associated with the event. */
28996
29024
  workspace_id: string
28997
29025
  /** Date and time at which the event was created. */
28998
29026
  created_at: string
28999
29027
  /** Date and time at which the event occurred. */
29000
29028
  occurred_at: string
29001
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29029
+ /** ID of the connected account. */
29002
29030
  connected_account_id?: string | undefined
29003
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
29031
+ /** ID of the access system. */
29004
29032
  acs_system_id: string
29005
- /** ID of the [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
29033
+ /** ID of the affected encoder. */
29006
29034
  acs_encoder_id: string
29007
29035
  event_type: 'acs_encoder.added'
29008
29036
  }
29009
29037
  | {
29010
29038
  /** ID of the event. */
29011
29039
  event_id: string
29012
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29040
+ /** ID of the workspace associated with the event. */
29013
29041
  workspace_id: string
29014
29042
  /** Date and time at which the event was created. */
29015
29043
  created_at: string
29016
29044
  /** Date and time at which the event occurred. */
29017
29045
  occurred_at: string
29018
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29046
+ /** ID of the connected account. */
29019
29047
  connected_account_id?: string | undefined
29020
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
29048
+ /** ID of the access system. */
29021
29049
  acs_system_id: string
29022
- /** ID of the [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
29050
+ /** ID of the affected encoder. */
29023
29051
  acs_encoder_id: string
29024
29052
  event_type: 'acs_encoder.removed'
29025
29053
  }
29026
29054
  | {
29027
29055
  /** ID of the event. */
29028
29056
  event_id: string
29029
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29057
+ /** ID of the workspace associated with the event. */
29030
29058
  workspace_id: string
29031
29059
  /** Date and time at which the event was created. */
29032
29060
  created_at: string
29033
29061
  /** Date and time at which the event occurred. */
29034
29062
  occurred_at: string
29035
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29063
+ /** ID of the connected account. */
29036
29064
  connected_account_id?: string | undefined
29037
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
29065
+ /** ID of the access system. */
29038
29066
  acs_system_id: string
29067
+ /** ID of the affected access group. */
29039
29068
  acs_access_group_id: string
29040
29069
  event_type: 'acs_access_group.deleted'
29041
29070
  }
29042
29071
  | {
29043
29072
  /** ID of the event. */
29044
29073
  event_id: string
29045
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29074
+ /** ID of the workspace associated with the event. */
29046
29075
  workspace_id: string
29047
29076
  /** Date and time at which the event was created. */
29048
29077
  created_at: string
29049
29078
  /** Date and time at which the event occurred. */
29050
29079
  occurred_at: string
29051
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29080
+ /** ID of the connected account. */
29052
29081
  connected_account_id?: string | undefined
29053
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
29082
+ /** ID of the access system. */
29054
29083
  acs_system_id: string
29055
29084
  acs_entrance_id: string
29056
29085
  event_type: 'acs_entrance.added'
@@ -29058,15 +29087,15 @@ export interface Routes {
29058
29087
  | {
29059
29088
  /** ID of the event. */
29060
29089
  event_id: string
29061
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29090
+ /** ID of the workspace associated with the event. */
29062
29091
  workspace_id: string
29063
29092
  /** Date and time at which the event was created. */
29064
29093
  created_at: string
29065
29094
  /** Date and time at which the event occurred. */
29066
29095
  occurred_at: string
29067
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29096
+ /** ID of the connected account. */
29068
29097
  connected_account_id?: string | undefined
29069
- /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
29098
+ /** ID of the access system. */
29070
29099
  acs_system_id: string
29071
29100
  acs_entrance_id: string
29072
29101
  event_type: 'acs_entrance.removed'
@@ -29074,125 +29103,125 @@ export interface Routes {
29074
29103
  | {
29075
29104
  /** ID of the event. */
29076
29105
  event_id: string
29077
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29106
+ /** ID of the workspace associated with the event. */
29078
29107
  workspace_id: string
29079
29108
  /** Date and time at which the event was created. */
29080
29109
  created_at: string
29081
29110
  /** Date and time at which the event occurred. */
29082
29111
  occurred_at: string
29083
- /** ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
29112
+ /** ID of the affected client session. */
29084
29113
  client_session_id: string
29085
29114
  event_type: 'client_session.deleted'
29086
29115
  }
29087
29116
  | {
29088
29117
  /** ID of the event. */
29089
29118
  event_id: string
29090
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29119
+ /** ID of the workspace associated with the event. */
29091
29120
  workspace_id: string
29092
29121
  /** Date and time at which the event was created. */
29093
29122
  created_at: string
29094
29123
  /** Date and time at which the event occurred. */
29095
29124
  occurred_at: string
29096
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29125
+ /** ID of the affected connected account. */
29097
29126
  connected_account_id: string
29098
29127
  event_type: 'connected_account.connected'
29099
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
29128
+ /** ID of the Connect Webview associated with the event. */
29100
29129
  connect_webview_id: string
29101
29130
  }
29102
29131
  | {
29103
29132
  /** ID of the event. */
29104
29133
  event_id: string
29105
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29134
+ /** ID of the workspace associated with the event. */
29106
29135
  workspace_id: string
29107
29136
  /** Date and time at which the event was created. */
29108
29137
  created_at: string
29109
29138
  /** Date and time at which the event occurred. */
29110
29139
  occurred_at: string
29111
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29140
+ /** ID of the affected connected account. */
29112
29141
  connected_account_id: string
29113
29142
  event_type: 'connected_account.created'
29114
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
29143
+ /** ID of the Connect Webview associated with the event. */
29115
29144
  connect_webview_id: string
29116
29145
  }
29117
29146
  | {
29118
29147
  /** ID of the event. */
29119
29148
  event_id: string
29120
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29149
+ /** ID of the workspace associated with the event. */
29121
29150
  workspace_id: string
29122
29151
  /** Date and time at which the event was created. */
29123
29152
  created_at: string
29124
29153
  /** Date and time at which the event occurred. */
29125
29154
  occurred_at: string
29126
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29155
+ /** ID of the affected connected account. */
29127
29156
  connected_account_id: string
29128
29157
  event_type: 'connected_account.successful_login'
29129
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
29158
+ /** ID of the Connect Webview associated with the event. */
29130
29159
  connect_webview_id: string
29131
29160
  }
29132
29161
  | {
29133
29162
  /** ID of the event. */
29134
29163
  event_id: string
29135
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29164
+ /** ID of the workspace associated with the event. */
29136
29165
  workspace_id: string
29137
29166
  /** Date and time at which the event was created. */
29138
29167
  created_at: string
29139
29168
  /** Date and time at which the event occurred. */
29140
29169
  occurred_at: string
29141
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29170
+ /** ID of the affected connected account. */
29142
29171
  connected_account_id: string
29143
29172
  event_type: 'connected_account.disconnected'
29144
29173
  }
29145
29174
  | {
29146
29175
  /** ID of the event. */
29147
29176
  event_id: string
29148
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29177
+ /** ID of the workspace associated with the event. */
29149
29178
  workspace_id: string
29150
29179
  /** Date and time at which the event was created. */
29151
29180
  created_at: string
29152
29181
  /** Date and time at which the event occurred. */
29153
29182
  occurred_at: string
29154
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29183
+ /** ID of the affected connected account. */
29155
29184
  connected_account_id: string
29156
29185
  event_type: 'connected_account.completed_first_sync'
29157
29186
  }
29158
29187
  | {
29159
29188
  /** ID of the event. */
29160
29189
  event_id: string
29161
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29190
+ /** ID of the workspace associated with the event. */
29162
29191
  workspace_id: string
29163
29192
  /** Date and time at which the event was created. */
29164
29193
  created_at: string
29165
29194
  /** Date and time at which the event occurred. */
29166
29195
  occurred_at: string
29167
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29196
+ /** ID of the affected connected account. */
29168
29197
  connected_account_id: string
29169
29198
  event_type: 'connected_account.deleted'
29170
29199
  }
29171
29200
  | {
29172
29201
  /** ID of the event. */
29173
29202
  event_id: string
29174
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29203
+ /** ID of the workspace associated with the event. */
29175
29204
  workspace_id: string
29176
29205
  /** Date and time at which the event was created. */
29177
29206
  created_at: string
29178
29207
  /** Date and time at which the event occurred. */
29179
29208
  occurred_at: string
29180
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29209
+ /** ID of the affected connected account. */
29181
29210
  connected_account_id: string
29182
29211
  event_type: 'connected_account.completed_first_sync_after_reconnection'
29183
29212
  }
29184
29213
  | {
29185
29214
  /** ID of the event. */
29186
29215
  event_id: string
29187
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29216
+ /** ID of the workspace associated with the event. */
29188
29217
  workspace_id: string
29189
29218
  /** Date and time at which the event was created. */
29190
29219
  created_at: string
29191
29220
  /** Date and time at which the event occurred. */
29192
29221
  occurred_at: string
29193
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
29222
+ /** ID of the affected action attempt. */
29194
29223
  action_attempt_id: string
29195
- /** Type of action. */
29224
+ /** Type of the action. */
29196
29225
  action_type: string
29197
29226
  /** Status of the action. */
29198
29227
  status: string
@@ -29201,15 +29230,15 @@ export interface Routes {
29201
29230
  | {
29202
29231
  /** ID of the event. */
29203
29232
  event_id: string
29204
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29233
+ /** ID of the workspace associated with the event. */
29205
29234
  workspace_id: string
29206
29235
  /** Date and time at which the event was created. */
29207
29236
  created_at: string
29208
29237
  /** Date and time at which the event occurred. */
29209
29238
  occurred_at: string
29210
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
29239
+ /** ID of the affected action attempt. */
29211
29240
  action_attempt_id: string
29212
- /** Type of action. */
29241
+ /** Type of the action. */
29213
29242
  action_type: string
29214
29243
  /** Status of the action. */
29215
29244
  status: string
@@ -29218,15 +29247,15 @@ export interface Routes {
29218
29247
  | {
29219
29248
  /** ID of the event. */
29220
29249
  event_id: string
29221
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29250
+ /** ID of the workspace associated with the event. */
29222
29251
  workspace_id: string
29223
29252
  /** Date and time at which the event was created. */
29224
29253
  created_at: string
29225
29254
  /** Date and time at which the event occurred. */
29226
29255
  occurred_at: string
29227
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
29256
+ /** ID of the affected action attempt. */
29228
29257
  action_attempt_id: string
29229
- /** Type of action. */
29258
+ /** Type of the action. */
29230
29259
  action_type: string
29231
29260
  /** Status of the action. */
29232
29261
  status: string
@@ -29235,15 +29264,15 @@ export interface Routes {
29235
29264
  | {
29236
29265
  /** ID of the event. */
29237
29266
  event_id: string
29238
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29267
+ /** ID of the workspace associated with the event. */
29239
29268
  workspace_id: string
29240
29269
  /** Date and time at which the event was created. */
29241
29270
  created_at: string
29242
29271
  /** Date and time at which the event occurred. */
29243
29272
  occurred_at: string
29244
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts). */
29273
+ /** ID of the affected action attempt. */
29245
29274
  action_attempt_id: string
29246
- /** Type of action. */
29275
+ /** Type of the action. */
29247
29276
  action_type: string
29248
29277
  /** Status of the action. */
29249
29278
  status: string
@@ -29252,118 +29281,118 @@ export interface Routes {
29252
29281
  | {
29253
29282
  /** ID of the event. */
29254
29283
  event_id: string
29255
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29284
+ /** ID of the workspace associated with the event. */
29256
29285
  workspace_id: string
29257
29286
  /** Date and time at which the event was created. */
29258
29287
  created_at: string
29259
29288
  /** Date and time at which the event occurred. */
29260
29289
  occurred_at: string
29261
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
29290
+ /** ID of the affected Connect Webview. */
29262
29291
  connect_webview_id: string
29263
29292
  event_type: 'connect_webview.login_succeeded'
29264
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29293
+ /** ID of the connected account associated with the event. */
29265
29294
  connected_account_id: string
29266
29295
  }
29267
29296
  | {
29268
29297
  /** ID of the event. */
29269
29298
  event_id: string
29270
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29299
+ /** ID of the workspace associated with the event. */
29271
29300
  workspace_id: string
29272
29301
  /** Date and time at which the event was created. */
29273
29302
  created_at: string
29274
29303
  /** Date and time at which the event occurred. */
29275
29304
  occurred_at: string
29276
- /** ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
29305
+ /** ID of the affected Connect Webview. */
29277
29306
  connect_webview_id: string
29278
29307
  event_type: 'connect_webview.login_failed'
29279
29308
  }
29280
29309
  | {
29281
29310
  /** ID of the event. */
29282
29311
  event_id: string
29283
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29312
+ /** ID of the workspace associated with the event. */
29284
29313
  workspace_id: string
29285
29314
  /** Date and time at which the event was created. */
29286
29315
  created_at: string
29287
29316
  /** Date and time at which the event occurred. */
29288
29317
  occurred_at: string
29289
- /** ID of the device. */
29318
+ /** ID of the affected device. */
29290
29319
  device_id: string
29291
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29320
+ /** ID of the connected account associated with the event. */
29292
29321
  connected_account_id: string
29293
29322
  event_type: 'device.connected'
29294
29323
  }
29295
29324
  | {
29296
29325
  /** ID of the event. */
29297
29326
  event_id: string
29298
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29327
+ /** ID of the workspace associated with the event. */
29299
29328
  workspace_id: string
29300
29329
  /** Date and time at which the event was created. */
29301
29330
  created_at: string
29302
29331
  /** Date and time at which the event occurred. */
29303
29332
  occurred_at: string
29304
- /** ID of the device. */
29333
+ /** ID of the affected device. */
29305
29334
  device_id: string
29306
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29335
+ /** ID of the connected account associated with the event. */
29307
29336
  connected_account_id: string
29308
29337
  event_type: 'device.added'
29309
29338
  }
29310
29339
  | {
29311
29340
  /** ID of the event. */
29312
29341
  event_id: string
29313
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29342
+ /** ID of the workspace associated with the event. */
29314
29343
  workspace_id: string
29315
29344
  /** Date and time at which the event was created. */
29316
29345
  created_at: string
29317
29346
  /** Date and time at which the event occurred. */
29318
29347
  occurred_at: string
29319
- /** ID of the device. */
29348
+ /** ID of the affected device. */
29320
29349
  device_id: string
29321
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29350
+ /** ID of the connected account associated with the event. */
29322
29351
  connected_account_id: string
29323
29352
  event_type: 'device.converted_to_unmanaged'
29324
29353
  }
29325
29354
  | {
29326
29355
  /** ID of the event. */
29327
29356
  event_id: string
29328
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29357
+ /** ID of the workspace associated with the event. */
29329
29358
  workspace_id: string
29330
29359
  /** Date and time at which the event was created. */
29331
29360
  created_at: string
29332
29361
  /** Date and time at which the event occurred. */
29333
29362
  occurred_at: string
29334
- /** ID of the device. */
29363
+ /** ID of the affected device. */
29335
29364
  device_id: string
29336
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29365
+ /** ID of the connected account associated with the event. */
29337
29366
  connected_account_id: string
29338
29367
  event_type: 'device.unmanaged.converted_to_managed'
29339
29368
  }
29340
29369
  | {
29341
29370
  /** ID of the event. */
29342
29371
  event_id: string
29343
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29372
+ /** ID of the workspace associated with the event. */
29344
29373
  workspace_id: string
29345
29374
  /** Date and time at which the event was created. */
29346
29375
  created_at: string
29347
29376
  /** Date and time at which the event occurred. */
29348
29377
  occurred_at: string
29349
- /** ID of the device. */
29378
+ /** ID of the affected device. */
29350
29379
  device_id: string
29351
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29380
+ /** ID of the connected account associated with the event. */
29352
29381
  connected_account_id: string
29353
29382
  event_type: 'device.unmanaged.connected'
29354
29383
  }
29355
29384
  | {
29356
29385
  /** ID of the event. */
29357
29386
  event_id: string
29358
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29387
+ /** ID of the workspace associated with the event. */
29359
29388
  workspace_id: string
29360
29389
  /** Date and time at which the event was created. */
29361
29390
  created_at: string
29362
29391
  /** Date and time at which the event occurred. */
29363
29392
  occurred_at: string
29364
- /** ID of the device. */
29393
+ /** ID of the affected device. */
29365
29394
  device_id: string
29366
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29395
+ /** ID of the connected account associated with the event. */
29367
29396
  connected_account_id: string
29368
29397
  event_type: 'device.disconnected'
29369
29398
  /** Error code associated with the disconnection event, if any. */
@@ -29375,15 +29404,15 @@ export interface Routes {
29375
29404
  | {
29376
29405
  /** ID of the event. */
29377
29406
  event_id: string
29378
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29407
+ /** ID of the workspace associated with the event. */
29379
29408
  workspace_id: string
29380
29409
  /** Date and time at which the event was created. */
29381
29410
  created_at: string
29382
29411
  /** Date and time at which the event occurred. */
29383
29412
  occurred_at: string
29384
- /** ID of the device. */
29413
+ /** ID of the affected device. */
29385
29414
  device_id: string
29386
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29415
+ /** ID of the connected account associated with the event. */
29387
29416
  connected_account_id: string
29388
29417
  event_type: 'device.unmanaged.disconnected'
29389
29418
  /** Error code associated with the disconnection event, if any. */
@@ -29395,255 +29424,255 @@ export interface Routes {
29395
29424
  | {
29396
29425
  /** ID of the event. */
29397
29426
  event_id: string
29398
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29427
+ /** ID of the workspace associated with the event. */
29399
29428
  workspace_id: string
29400
29429
  /** Date and time at which the event was created. */
29401
29430
  created_at: string
29402
29431
  /** Date and time at which the event occurred. */
29403
29432
  occurred_at: string
29404
- /** ID of the device. */
29433
+ /** ID of the affected device. */
29405
29434
  device_id: string
29406
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29435
+ /** ID of the connected account associated with the event. */
29407
29436
  connected_account_id: string
29408
29437
  event_type: 'device.tampered'
29409
29438
  }
29410
29439
  | {
29411
29440
  /** ID of the event. */
29412
29441
  event_id: string
29413
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29442
+ /** ID of the workspace associated with the event. */
29414
29443
  workspace_id: string
29415
29444
  /** Date and time at which the event was created. */
29416
29445
  created_at: string
29417
29446
  /** Date and time at which the event occurred. */
29418
29447
  occurred_at: string
29419
- /** ID of the device. */
29448
+ /** ID of the affected device. */
29420
29449
  device_id: string
29421
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29450
+ /** ID of the connected account associated with the event. */
29422
29451
  connected_account_id: string
29423
29452
  event_type: 'device.low_battery'
29424
- /** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
29453
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
29425
29454
  battery_level: number
29426
29455
  }
29427
29456
  | {
29428
29457
  /** ID of the event. */
29429
29458
  event_id: string
29430
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29459
+ /** ID of the workspace associated with the event. */
29431
29460
  workspace_id: string
29432
29461
  /** Date and time at which the event was created. */
29433
29462
  created_at: string
29434
29463
  /** Date and time at which the event occurred. */
29435
29464
  occurred_at: string
29436
- /** ID of the device. */
29465
+ /** ID of the affected device. */
29437
29466
  device_id: string
29438
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29467
+ /** ID of the connected account associated with the event. */
29439
29468
  connected_account_id: string
29440
29469
  event_type: 'device.battery_status_changed'
29441
- /** Battery status of the device, calculated from the numeric `battery_level` value. */
29470
+ /** Battery status of the affected device, calculated from the numeric `battery_level` value. */
29442
29471
  battery_status: 'critical' | 'low' | 'good' | 'full'
29443
- /** Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device. */
29472
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
29444
29473
  battery_level: number
29445
29474
  }
29446
29475
  | {
29447
29476
  /** ID of the event. */
29448
29477
  event_id: string
29449
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29478
+ /** ID of the workspace associated with the event. */
29450
29479
  workspace_id: string
29451
29480
  /** Date and time at which the event was created. */
29452
29481
  created_at: string
29453
29482
  /** Date and time at which the event occurred. */
29454
29483
  occurred_at: string
29455
- /** ID of the device. */
29484
+ /** ID of the affected device. */
29456
29485
  device_id: string
29457
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29486
+ /** ID of the connected account associated with the event. */
29458
29487
  connected_account_id: string
29459
29488
  event_type: 'device.removed'
29460
29489
  }
29461
29490
  | {
29462
29491
  /** ID of the event. */
29463
29492
  event_id: string
29464
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29493
+ /** ID of the workspace associated with the event. */
29465
29494
  workspace_id: string
29466
29495
  /** Date and time at which the event was created. */
29467
29496
  created_at: string
29468
29497
  /** Date and time at which the event occurred. */
29469
29498
  occurred_at: string
29470
- /** ID of the device. */
29499
+ /** ID of the affected device. */
29471
29500
  device_id: string
29472
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29501
+ /** ID of the connected account associated with the event. */
29473
29502
  connected_account_id: string
29474
29503
  event_type: 'device.deleted'
29475
29504
  }
29476
29505
  | {
29477
29506
  /** ID of the event. */
29478
29507
  event_id: string
29479
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29508
+ /** ID of the workspace associated with the event. */
29480
29509
  workspace_id: string
29481
29510
  /** Date and time at which the event was created. */
29482
29511
  created_at: string
29483
29512
  /** Date and time at which the event occurred. */
29484
29513
  occurred_at: string
29485
- /** ID of the device. */
29514
+ /** ID of the affected device. */
29486
29515
  device_id: string
29487
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29516
+ /** ID of the connected account associated with the event. */
29488
29517
  connected_account_id: string
29489
29518
  event_type: 'device.third_party_integration_detected'
29490
29519
  }
29491
29520
  | {
29492
29521
  /** ID of the event. */
29493
29522
  event_id: string
29494
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29523
+ /** ID of the workspace associated with the event. */
29495
29524
  workspace_id: string
29496
29525
  /** Date and time at which the event was created. */
29497
29526
  created_at: string
29498
29527
  /** Date and time at which the event occurred. */
29499
29528
  occurred_at: string
29500
- /** ID of the device. */
29529
+ /** ID of the affected device. */
29501
29530
  device_id: string
29502
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29531
+ /** ID of the connected account associated with the event. */
29503
29532
  connected_account_id: string
29504
29533
  event_type: 'device.third_party_integration_no_longer_detected'
29505
29534
  }
29506
29535
  | {
29507
29536
  /** ID of the event. */
29508
29537
  event_id: string
29509
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29538
+ /** ID of the workspace associated with the event. */
29510
29539
  workspace_id: string
29511
29540
  /** Date and time at which the event was created. */
29512
29541
  created_at: string
29513
29542
  /** Date and time at which the event occurred. */
29514
29543
  occurred_at: string
29515
- /** ID of the device. */
29544
+ /** ID of the affected device. */
29516
29545
  device_id: string
29517
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29546
+ /** ID of the connected account associated with the event. */
29518
29547
  connected_account_id: string
29519
29548
  event_type: 'device.salto.privacy_mode_activated'
29520
29549
  }
29521
29550
  | {
29522
29551
  /** ID of the event. */
29523
29552
  event_id: string
29524
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29553
+ /** ID of the workspace associated with the event. */
29525
29554
  workspace_id: string
29526
29555
  /** Date and time at which the event was created. */
29527
29556
  created_at: string
29528
29557
  /** Date and time at which the event occurred. */
29529
29558
  occurred_at: string
29530
- /** ID of the device. */
29559
+ /** ID of the affected device. */
29531
29560
  device_id: string
29532
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29561
+ /** ID of the connected account associated with the event. */
29533
29562
  connected_account_id: string
29534
29563
  event_type: 'device.salto.privacy_mode_deactivated'
29535
29564
  }
29536
29565
  | {
29537
29566
  /** ID of the event. */
29538
29567
  event_id: string
29539
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29568
+ /** ID of the workspace associated with the event. */
29540
29569
  workspace_id: string
29541
29570
  /** Date and time at which the event was created. */
29542
29571
  created_at: string
29543
29572
  /** Date and time at which the event occurred. */
29544
29573
  occurred_at: string
29545
- /** ID of the device. */
29574
+ /** ID of the affected device. */
29546
29575
  device_id: string
29547
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29576
+ /** ID of the connected account associated with the event. */
29548
29577
  connected_account_id: string
29549
29578
  event_type: 'device.connection_became_flaky'
29550
29579
  }
29551
29580
  | {
29552
29581
  /** ID of the event. */
29553
29582
  event_id: string
29554
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29583
+ /** ID of the workspace associated with the event. */
29555
29584
  workspace_id: string
29556
29585
  /** Date and time at which the event was created. */
29557
29586
  created_at: string
29558
29587
  /** Date and time at which the event occurred. */
29559
29588
  occurred_at: string
29560
- /** ID of the device. */
29589
+ /** ID of the affected device. */
29561
29590
  device_id: string
29562
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29591
+ /** ID of the connected account associated with the event. */
29563
29592
  connected_account_id: string
29564
29593
  event_type: 'device.connection_stabilized'
29565
29594
  }
29566
29595
  | {
29567
29596
  /** ID of the event. */
29568
29597
  event_id: string
29569
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29598
+ /** ID of the workspace associated with the event. */
29570
29599
  workspace_id: string
29571
29600
  /** Date and time at which the event was created. */
29572
29601
  created_at: string
29573
29602
  /** Date and time at which the event occurred. */
29574
29603
  occurred_at: string
29575
- /** ID of the device. */
29604
+ /** ID of the affected device. */
29576
29605
  device_id: string
29577
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29606
+ /** ID of the connected account associated with the event. */
29578
29607
  connected_account_id: string
29579
29608
  event_type: 'device.error.subscription_required'
29580
29609
  }
29581
29610
  | {
29582
29611
  /** ID of the event. */
29583
29612
  event_id: string
29584
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29613
+ /** ID of the workspace associated with the event. */
29585
29614
  workspace_id: string
29586
29615
  /** Date and time at which the event was created. */
29587
29616
  created_at: string
29588
29617
  /** Date and time at which the event occurred. */
29589
29618
  occurred_at: string
29590
- /** ID of the device. */
29619
+ /** ID of the affected device. */
29591
29620
  device_id: string
29592
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29621
+ /** ID of the connected account associated with the event. */
29593
29622
  connected_account_id: string
29594
29623
  event_type: 'device.error.subscription_required.resolved'
29595
29624
  }
29596
29625
  | {
29597
29626
  /** ID of the event. */
29598
29627
  event_id: string
29599
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29628
+ /** ID of the workspace associated with the event. */
29600
29629
  workspace_id: string
29601
29630
  /** Date and time at which the event was created. */
29602
29631
  created_at: string
29603
29632
  /** Date and time at which the event occurred. */
29604
29633
  occurred_at: string
29605
- /** ID of the device. */
29634
+ /** ID of the affected device. */
29606
29635
  device_id: string
29607
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29636
+ /** ID of the connected account associated with the event. */
29608
29637
  connected_account_id: string
29609
29638
  event_type: 'device.accessory_keypad_connected'
29610
29639
  }
29611
29640
  | {
29612
29641
  /** ID of the event. */
29613
29642
  event_id: string
29614
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29643
+ /** ID of the workspace associated with the event. */
29615
29644
  workspace_id: string
29616
29645
  /** Date and time at which the event was created. */
29617
29646
  created_at: string
29618
29647
  /** Date and time at which the event occurred. */
29619
29648
  occurred_at: string
29620
- /** ID of the device. */
29649
+ /** ID of the affected device. */
29621
29650
  device_id: string
29622
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29651
+ /** ID of the connected account associated with the event. */
29623
29652
  connected_account_id: string
29624
29653
  event_type: 'device.accessory_keypad_disconnected'
29625
29654
  }
29626
29655
  | {
29627
29656
  /** ID of the event. */
29628
29657
  event_id: string
29629
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29658
+ /** ID of the workspace associated with the event. */
29630
29659
  workspace_id: string
29631
29660
  /** Date and time at which the event was created. */
29632
29661
  created_at: string
29633
29662
  /** Date and time at which the event occurred. */
29634
29663
  occurred_at: string
29635
- /** ID of the device. */
29664
+ /** ID of the affected device. */
29636
29665
  device_id: string
29637
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29666
+ /** ID of the connected account associated with the event. */
29638
29667
  connected_account_id: string
29639
29668
  event_type: 'noise_sensor.noise_threshold_triggered'
29640
29669
  /** Detected noise level in decibels. */
29641
29670
  noise_level_decibels?: number | undefined
29642
29671
  /** Detected noise level in Noiseaware Noise Risk Score (NRS). */
29643
29672
  noise_level_nrs?: number | undefined
29644
- /** ID of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
29673
+ /** ID of the noise threshold that was triggered. */
29645
29674
  noise_threshold_id?: string | undefined
29646
- /** Name of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered. */
29675
+ /** Name of the noise threshold that was triggered. */
29647
29676
  noise_threshold_name?: string | undefined
29648
29677
  /** Metadata from Noiseaware. */
29649
29678
  noiseaware_metadata?: Record<string, unknown> | undefined
@@ -29653,98 +29682,98 @@ export interface Routes {
29653
29682
  | {
29654
29683
  /** ID of the event. */
29655
29684
  event_id: string
29656
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29685
+ /** ID of the workspace associated with the event. */
29657
29686
  workspace_id: string
29658
29687
  /** Date and time at which the event was created. */
29659
29688
  created_at: string
29660
29689
  /** Date and time at which the event occurred. */
29661
29690
  occurred_at: string
29662
- /** ID of the device. */
29691
+ /** ID of the affected device. */
29663
29692
  device_id: string
29664
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29693
+ /** ID of the connected account associated with the event. */
29665
29694
  connected_account_id: string
29666
29695
  event_type: 'lock.locked'
29667
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to lock the device. */
29696
+ /** ID of the access code that was used to lock the device. */
29668
29697
  access_code_id?: string | undefined
29669
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the lock action. */
29698
+ /** ID of the action attempt associated with the lock action. */
29670
29699
  action_attempt_id?: string | undefined
29671
- /** 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. */
29700
+ /** 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. */
29672
29701
  method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi'
29673
29702
  }
29674
29703
  | {
29675
29704
  /** ID of the event. */
29676
29705
  event_id: string
29677
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29706
+ /** ID of the workspace associated with the event. */
29678
29707
  workspace_id: string
29679
29708
  /** Date and time at which the event was created. */
29680
29709
  created_at: string
29681
29710
  /** Date and time at which the event occurred. */
29682
29711
  occurred_at: string
29683
- /** ID of the device. */
29712
+ /** ID of the affected device. */
29684
29713
  device_id: string
29685
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29714
+ /** ID of the connected account associated with the event. */
29686
29715
  connected_account_id: string
29687
29716
  event_type: 'lock.unlocked'
29688
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used to unlock the device. */
29717
+ /** ID of the access code that was used to unlock the affected device. */
29689
29718
  access_code_id?: string | undefined
29690
- /** ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the unlock action. */
29719
+ /** ID of the action attempt associated with the unlock action. */
29691
29720
  action_attempt_id?: string | undefined
29692
- /** 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. */
29721
+ /** 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. */
29693
29722
  method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi'
29694
29723
  }
29695
29724
  | {
29696
29725
  /** ID of the event. */
29697
29726
  event_id: string
29698
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29727
+ /** ID of the workspace associated with the event. */
29699
29728
  workspace_id: string
29700
29729
  /** Date and time at which the event was created. */
29701
29730
  created_at: string
29702
29731
  /** Date and time at which the event occurred. */
29703
29732
  occurred_at: string
29704
- /** ID of the device. */
29733
+ /** ID of the affected device. */
29705
29734
  device_id: string
29706
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29735
+ /** ID of the connected account associated with the event. */
29707
29736
  connected_account_id: string
29708
29737
  event_type: 'lock.access_denied'
29709
- /** ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used in the unlock attempts. */
29738
+ /** ID of the access code that was used in the unlock attempts. */
29710
29739
  access_code_id?: string | undefined
29711
29740
  }
29712
29741
  | {
29713
29742
  /** ID of the event. */
29714
29743
  event_id: string
29715
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29744
+ /** ID of the workspace associated with the event. */
29716
29745
  workspace_id: string
29717
29746
  /** Date and time at which the event was created. */
29718
29747
  created_at: string
29719
29748
  /** Date and time at which the event occurred. */
29720
29749
  occurred_at: string
29721
- /** ID of the device. */
29750
+ /** ID of the affected device. */
29722
29751
  device_id: string
29723
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29752
+ /** ID of the connected account associated with the event. */
29724
29753
  connected_account_id: string
29725
29754
  event_type: 'thermostat.climate_preset_activated'
29726
- /** 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. */
29755
+ /** ID of the thermostat schedule that prompted the affected climate preset to be activated. */
29727
29756
  thermostat_schedule_id: string | null
29728
- /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated. */
29757
+ /** Key of the climate preset that was activated. */
29729
29758
  climate_preset_key: string
29730
- /** 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). */
29759
+ /** Indicates whether the climate preset that was activated is the fallback climate preset for the thermostat. */
29731
29760
  is_fallback_climate_preset: boolean
29732
29761
  }
29733
29762
  | {
29734
29763
  /** ID of the event. */
29735
29764
  event_id: string
29736
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29765
+ /** ID of the workspace associated with the event. */
29737
29766
  workspace_id: string
29738
29767
  /** Date and time at which the event was created. */
29739
29768
  created_at: string
29740
29769
  /** Date and time at which the event occurred. */
29741
29770
  occurred_at: string
29742
- /** ID of the device. */
29771
+ /** ID of the affected device. */
29743
29772
  device_id: string
29744
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29773
+ /** ID of the connected account associated with the event. */
29745
29774
  connected_account_id: string
29746
29775
  event_type: 'thermostat.manually_adjusted'
29747
- /** 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). */
29776
+ /** 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. */
29748
29777
  method: 'seam' | 'external'
29749
29778
  /** 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`. */
29750
29779
  fan_mode_setting?:
@@ -29766,139 +29795,139 @@ export interface Routes {
29766
29795
  | {
29767
29796
  /** ID of the event. */
29768
29797
  event_id: string
29769
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29798
+ /** ID of the workspace associated with the event. */
29770
29799
  workspace_id: string
29771
29800
  /** Date and time at which the event was created. */
29772
29801
  created_at: string
29773
29802
  /** Date and time at which the event occurred. */
29774
29803
  occurred_at: string
29775
- /** ID of the device. */
29804
+ /** ID of the affected device. */
29776
29805
  device_id: string
29777
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29806
+ /** ID of the connected account associated with the event. */
29778
29807
  connected_account_id: string
29779
29808
  event_type: 'thermostat.temperature_threshold_exceeded'
29780
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
29809
+ /** Temperature, in °C, reported by the affected thermostat. */
29781
29810
  temperature_celsius: number
29782
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
29811
+ /** Temperature, in °F, reported by the affected thermostat. */
29783
29812
  temperature_fahrenheit: number
29784
- /** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
29813
+ /** Upper temperature limit, in °C, defined by the set threshold. */
29785
29814
  upper_limit_celsius: number | null
29786
- /** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
29815
+ /** Upper temperature limit, in °F, defined by the set threshold. */
29787
29816
  upper_limit_fahrenheit: number | null
29788
- /** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
29817
+ /** Lower temperature limit, in °C, defined by the set threshold. */
29789
29818
  lower_limit_celsius: number | null
29790
- /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
29819
+ /** Lower temperature limit, in °F, defined by the set threshold. */
29791
29820
  lower_limit_fahrenheit: number | null
29792
29821
  }
29793
29822
  | {
29794
29823
  /** ID of the event. */
29795
29824
  event_id: string
29796
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29825
+ /** ID of the workspace associated with the event. */
29797
29826
  workspace_id: string
29798
29827
  /** Date and time at which the event was created. */
29799
29828
  created_at: string
29800
29829
  /** Date and time at which the event occurred. */
29801
29830
  occurred_at: string
29802
- /** ID of the device. */
29831
+ /** ID of the affected device. */
29803
29832
  device_id: string
29804
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29833
+ /** ID of the connected account associated with the event. */
29805
29834
  connected_account_id: string
29806
29835
  event_type: 'thermostat.temperature_threshold_no_longer_exceeded'
29807
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
29836
+ /** Temperature, in °C, reported by the affected thermostat. */
29808
29837
  temperature_celsius: number
29809
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
29838
+ /** Temperature, in °F, reported by the affected thermostat. */
29810
29839
  temperature_fahrenheit: number
29811
- /** Upper temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
29840
+ /** Upper temperature limit, in °C, defined by the set threshold. */
29812
29841
  upper_limit_celsius: number | null
29813
- /** Upper temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
29842
+ /** Upper temperature limit, in °F, defined by the set threshold. */
29814
29843
  upper_limit_fahrenheit: number | null
29815
- /** Lower temperature limit, in °C, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
29844
+ /** Lower temperature limit, in °C, defined by the set threshold. */
29816
29845
  lower_limit_celsius: number | null
29817
- /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
29846
+ /** Lower temperature limit, in °F, defined by the set threshold. */
29818
29847
  lower_limit_fahrenheit: number | null
29819
29848
  }
29820
29849
  | {
29821
29850
  /** ID of the event. */
29822
29851
  event_id: string
29823
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29852
+ /** ID of the workspace associated with the event. */
29824
29853
  workspace_id: string
29825
29854
  /** Date and time at which the event was created. */
29826
29855
  created_at: string
29827
29856
  /** Date and time at which the event occurred. */
29828
29857
  occurred_at: string
29829
- /** ID of the device. */
29858
+ /** ID of the affected device. */
29830
29859
  device_id: string
29831
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29860
+ /** ID of the connected account associated with the event. */
29832
29861
  connected_account_id: string
29833
29862
  event_type: 'thermostat.temperature_reached_set_point'
29834
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
29863
+ /** Temperature, in °C, reported by the affected thermostat. */
29835
29864
  temperature_celsius: number
29836
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
29865
+ /** Temperature, in °F, reported by the affected thermostat. */
29837
29866
  temperature_fahrenheit: number
29838
- /** 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). */
29867
+ /** Desired temperature, in °C, defined by the affected thermostat's cooling or heating set point. */
29839
29868
  desired_temperature_celsius?: number | undefined
29840
- /** 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). */
29869
+ /** Desired temperature, in °F, defined by the affected thermostat's cooling or heating set point. */
29841
29870
  desired_temperature_fahrenheit?: number | undefined
29842
29871
  }
29843
29872
  | {
29844
29873
  /** ID of the event. */
29845
29874
  event_id: string
29846
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29875
+ /** ID of the workspace associated with the event. */
29847
29876
  workspace_id: string
29848
29877
  /** Date and time at which the event was created. */
29849
29878
  created_at: string
29850
29879
  /** Date and time at which the event occurred. */
29851
29880
  occurred_at: string
29852
- /** ID of the device. */
29881
+ /** ID of the affected device. */
29853
29882
  device_id: string
29854
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29883
+ /** ID of the connected account associated with the event. */
29855
29884
  connected_account_id: string
29856
29885
  event_type: 'thermostat.temperature_changed'
29857
- /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
29886
+ /** Temperature, in °C, reported by the affected thermostat. */
29858
29887
  temperature_celsius: number
29859
- /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
29888
+ /** Temperature, in °F, reported by the affected thermostat. */
29860
29889
  temperature_fahrenheit: number
29861
29890
  }
29862
29891
  | {
29863
29892
  /** ID of the event. */
29864
29893
  event_id: string
29865
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29894
+ /** ID of the workspace associated with the event. */
29866
29895
  workspace_id: string
29867
29896
  /** Date and time at which the event was created. */
29868
29897
  created_at: string
29869
29898
  /** Date and time at which the event occurred. */
29870
29899
  occurred_at: string
29871
- /** ID of the device. */
29900
+ /** ID of the affected device. */
29872
29901
  device_id: string
29873
- /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
29902
+ /** ID of the connected account associated with the event. */
29874
29903
  connected_account_id: string
29875
29904
  event_type: 'device.name_changed'
29876
- /** The new name of the device. */
29905
+ /** The new name of the affected device. */
29877
29906
  device_name: string
29878
29907
  }
29879
29908
  | {
29880
29909
  /** ID of the event. */
29881
29910
  event_id: string
29882
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29911
+ /** ID of the workspace associated with the event. */
29883
29912
  workspace_id: string
29884
29913
  /** Date and time at which the event was created. */
29885
29914
  created_at: string
29886
29915
  /** Date and time at which the event occurred. */
29887
29916
  occurred_at: string
29888
- /** 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). */
29917
+ /** ID of the affected enrollment automation. */
29889
29918
  enrollment_automation_id: string
29890
29919
  event_type: 'enrollment_automation.deleted'
29891
29920
  }
29892
29921
  | {
29893
29922
  /** ID of the event. */
29894
29923
  event_id: string
29895
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
29924
+ /** ID of the workspace associated with the event. */
29896
29925
  workspace_id: string
29897
29926
  /** Date and time at which the event was created. */
29898
29927
  created_at: string
29899
29928
  /** Date and time at which the event occurred. */
29900
29929
  occurred_at: string
29901
- /** ID of the [device](https://docs.seam.co/latest/core-concepts/devices). */
29930
+ /** ID of the affected phone device. */
29902
29931
  device_id: string
29903
29932
  event_type: 'phone.deactivated'
29904
29933
  }