@seamapi/types 1.311.0 → 1.312.0

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.
@@ -5664,44 +5664,4196 @@ export default {
5664
5664
  type: 'object',
5665
5665
  },
5666
5666
  event: {
5667
- properties: {
5668
- acs_credential_id: { format: 'uuid', type: 'string' },
5669
- acs_system_id: { format: 'uuid', type: 'string' },
5670
- acs_user_id: { format: 'uuid', type: 'string' },
5671
- action_attempt_id: { format: 'uuid', type: 'string' },
5672
- client_session_id: { format: 'uuid', type: 'string' },
5673
- climate_preset_key: { type: 'string' },
5674
- cooling_set_point_celsius: { format: 'float', type: 'number' },
5675
- cooling_set_point_fahrenheit: { format: 'float', type: 'number' },
5676
- created_at: { format: 'date-time', type: 'string' },
5677
- device_id: { format: 'uuid', type: 'string' },
5678
- enrollment_automation_id: { format: 'uuid', type: 'string' },
5679
- event_description: { type: 'string' },
5680
- event_id: { format: 'uuid', type: 'string' },
5681
- event_type: { type: 'string' },
5682
- fan_mode_setting: { type: 'string' },
5683
- heating_set_point_celsius: { format: 'float', type: 'number' },
5684
- heating_set_point_fahrenheit: { format: 'float', type: 'number' },
5685
- hvac_mode_setting: { type: 'string' },
5686
- is_fallback_climate_preset: { type: 'boolean' },
5687
- method: { type: 'string' },
5688
- occurred_at: { format: 'date-time', type: 'string' },
5689
- thermostat_schedule_id: {
5690
- format: 'uuid',
5691
- nullable: true,
5692
- type: 'string',
5667
+ discriminator: { propertyName: 'event_type' },
5668
+ oneOf: [
5669
+ {
5670
+ description: 'An access code was created.',
5671
+ properties: {
5672
+ access_code_id: {
5673
+ description: 'The ID of the access code.',
5674
+ format: 'uuid',
5675
+ type: 'string',
5676
+ 'x-title': 'Access Code ID',
5677
+ },
5678
+ connected_account_id: {
5679
+ description: 'The ID of the connected account.',
5680
+ format: 'uuid',
5681
+ type: 'string',
5682
+ 'x-title': 'Connected Account ID',
5683
+ },
5684
+ created_at: {
5685
+ description: 'The time when the event was created.',
5686
+ format: 'date-time',
5687
+ type: 'string',
5688
+ 'x-title': 'Created At',
5689
+ },
5690
+ device_id: {
5691
+ description: 'The ID of the device.',
5692
+ format: 'uuid',
5693
+ type: 'string',
5694
+ 'x-title': 'Device ID',
5695
+ },
5696
+ event_id: {
5697
+ description: 'The ID of the event.',
5698
+ format: 'uuid',
5699
+ type: 'string',
5700
+ 'x-title': 'Event ID',
5701
+ },
5702
+ event_type: { enum: ['access_code.created'], type: 'string' },
5703
+ occurred_at: {
5704
+ description: 'The time when the event occurred.',
5705
+ format: 'date-time',
5706
+ type: 'string',
5707
+ 'x-title': 'Occurred At',
5708
+ },
5709
+ workspace_id: {
5710
+ description: 'The ID of the workspace.',
5711
+ format: 'uuid',
5712
+ type: 'string',
5713
+ 'x-title': 'Workspace ID',
5714
+ },
5715
+ },
5716
+ required: [
5717
+ 'event_id',
5718
+ 'workspace_id',
5719
+ 'created_at',
5720
+ 'occurred_at',
5721
+ 'access_code_id',
5722
+ 'device_id',
5723
+ 'connected_account_id',
5724
+ 'event_type',
5725
+ ],
5726
+ type: 'object',
5727
+ },
5728
+ {
5729
+ description: 'An access code was changed.',
5730
+ properties: {
5731
+ access_code_id: {
5732
+ description: 'The ID of the access code.',
5733
+ format: 'uuid',
5734
+ type: 'string',
5735
+ 'x-title': 'Access Code ID',
5736
+ },
5737
+ connected_account_id: {
5738
+ description: 'The ID of the connected account.',
5739
+ format: 'uuid',
5740
+ type: 'string',
5741
+ 'x-title': 'Connected Account ID',
5742
+ },
5743
+ created_at: {
5744
+ description: 'The time when the event was created.',
5745
+ format: 'date-time',
5746
+ type: 'string',
5747
+ 'x-title': 'Created At',
5748
+ },
5749
+ device_id: {
5750
+ description: 'The ID of the device.',
5751
+ format: 'uuid',
5752
+ type: 'string',
5753
+ 'x-title': 'Device ID',
5754
+ },
5755
+ event_id: {
5756
+ description: 'The ID of the event.',
5757
+ format: 'uuid',
5758
+ type: 'string',
5759
+ 'x-title': 'Event ID',
5760
+ },
5761
+ event_type: { enum: ['access_code.changed'], type: 'string' },
5762
+ occurred_at: {
5763
+ description: 'The time when the event occurred.',
5764
+ format: 'date-time',
5765
+ type: 'string',
5766
+ 'x-title': 'Occurred At',
5767
+ },
5768
+ workspace_id: {
5769
+ description: 'The ID of the workspace.',
5770
+ format: 'uuid',
5771
+ type: 'string',
5772
+ 'x-title': 'Workspace ID',
5773
+ },
5774
+ },
5775
+ required: [
5776
+ 'event_id',
5777
+ 'workspace_id',
5778
+ 'created_at',
5779
+ 'occurred_at',
5780
+ 'access_code_id',
5781
+ 'device_id',
5782
+ 'connected_account_id',
5783
+ 'event_type',
5784
+ ],
5785
+ type: 'object',
5786
+ },
5787
+ {
5788
+ description: 'An access code was natively scheduled on a device.',
5789
+ properties: {
5790
+ access_code_id: {
5791
+ description: 'The ID of the access code.',
5792
+ format: 'uuid',
5793
+ type: 'string',
5794
+ 'x-title': 'Access Code ID',
5795
+ },
5796
+ code: {
5797
+ description: 'The code of the access code.',
5798
+ type: 'string',
5799
+ 'x-title': 'Access Code',
5800
+ },
5801
+ connected_account_id: {
5802
+ description: 'The ID of the connected account.',
5803
+ format: 'uuid',
5804
+ type: 'string',
5805
+ 'x-title': 'Connected Account ID',
5806
+ },
5807
+ created_at: {
5808
+ description: 'The time when the event was created.',
5809
+ format: 'date-time',
5810
+ type: 'string',
5811
+ 'x-title': 'Created At',
5812
+ },
5813
+ device_id: {
5814
+ description: 'The ID of the device.',
5815
+ format: 'uuid',
5816
+ type: 'string',
5817
+ 'x-title': 'Device ID',
5818
+ },
5819
+ event_id: {
5820
+ description: 'The ID of the event.',
5821
+ format: 'uuid',
5822
+ type: 'string',
5823
+ 'x-title': 'Event ID',
5824
+ },
5825
+ event_type: {
5826
+ enum: ['access_code.scheduled_on_device'],
5827
+ type: 'string',
5828
+ },
5829
+ occurred_at: {
5830
+ description: 'The time when the event occurred.',
5831
+ format: 'date-time',
5832
+ type: 'string',
5833
+ 'x-title': 'Occurred At',
5834
+ },
5835
+ workspace_id: {
5836
+ description: 'The ID of the workspace.',
5837
+ format: 'uuid',
5838
+ type: 'string',
5839
+ 'x-title': 'Workspace ID',
5840
+ },
5841
+ },
5842
+ required: [
5843
+ 'event_id',
5844
+ 'workspace_id',
5845
+ 'created_at',
5846
+ 'occurred_at',
5847
+ 'access_code_id',
5848
+ 'device_id',
5849
+ 'connected_account_id',
5850
+ 'event_type',
5851
+ 'code',
5852
+ ],
5853
+ type: 'object',
5854
+ },
5855
+ {
5856
+ description: 'An access code was set on a device.',
5857
+ properties: {
5858
+ access_code_id: {
5859
+ description: 'The ID of the access code.',
5860
+ format: 'uuid',
5861
+ type: 'string',
5862
+ 'x-title': 'Access Code ID',
5863
+ },
5864
+ code: {
5865
+ description: 'The code of the access code.',
5866
+ type: 'string',
5867
+ 'x-title': 'Access Code',
5868
+ },
5869
+ connected_account_id: {
5870
+ description: 'The ID of the connected account.',
5871
+ format: 'uuid',
5872
+ type: 'string',
5873
+ 'x-title': 'Connected Account ID',
5874
+ },
5875
+ created_at: {
5876
+ description: 'The time when the event was created.',
5877
+ format: 'date-time',
5878
+ type: 'string',
5879
+ 'x-title': 'Created At',
5880
+ },
5881
+ device_id: {
5882
+ description: 'The ID of the device.',
5883
+ format: 'uuid',
5884
+ type: 'string',
5885
+ 'x-title': 'Device ID',
5886
+ },
5887
+ event_id: {
5888
+ description: 'The ID of the event.',
5889
+ format: 'uuid',
5890
+ type: 'string',
5891
+ 'x-title': 'Event ID',
5892
+ },
5893
+ event_type: {
5894
+ enum: ['access_code.set_on_device'],
5895
+ type: 'string',
5896
+ },
5897
+ occurred_at: {
5898
+ description: 'The time when the event occurred.',
5899
+ format: 'date-time',
5900
+ type: 'string',
5901
+ 'x-title': 'Occurred At',
5902
+ },
5903
+ workspace_id: {
5904
+ description: 'The ID of the workspace.',
5905
+ format: 'uuid',
5906
+ type: 'string',
5907
+ 'x-title': 'Workspace ID',
5908
+ },
5909
+ },
5910
+ required: [
5911
+ 'event_id',
5912
+ 'workspace_id',
5913
+ 'created_at',
5914
+ 'occurred_at',
5915
+ 'access_code_id',
5916
+ 'device_id',
5917
+ 'connected_account_id',
5918
+ 'event_type',
5919
+ 'code',
5920
+ ],
5921
+ type: 'object',
5922
+ },
5923
+ {
5924
+ description: 'An access code was removed from a device.',
5925
+ properties: {
5926
+ access_code_id: {
5927
+ description: 'The ID of the access code.',
5928
+ format: 'uuid',
5929
+ type: 'string',
5930
+ 'x-title': 'Access Code ID',
5931
+ },
5932
+ connected_account_id: {
5933
+ description: 'The ID of the connected account.',
5934
+ format: 'uuid',
5935
+ type: 'string',
5936
+ 'x-title': 'Connected Account ID',
5937
+ },
5938
+ created_at: {
5939
+ description: 'The time when the event was created.',
5940
+ format: 'date-time',
5941
+ type: 'string',
5942
+ 'x-title': 'Created At',
5943
+ },
5944
+ device_id: {
5945
+ description: 'The ID of the device.',
5946
+ format: 'uuid',
5947
+ type: 'string',
5948
+ 'x-title': 'Device ID',
5949
+ },
5950
+ event_id: {
5951
+ description: 'The ID of the event.',
5952
+ format: 'uuid',
5953
+ type: 'string',
5954
+ 'x-title': 'Event ID',
5955
+ },
5956
+ event_type: {
5957
+ enum: ['access_code.removed_from_device'],
5958
+ type: 'string',
5959
+ },
5960
+ occurred_at: {
5961
+ description: 'The time when the event occurred.',
5962
+ format: 'date-time',
5963
+ type: 'string',
5964
+ 'x-title': 'Occurred At',
5965
+ },
5966
+ workspace_id: {
5967
+ description: 'The ID of the workspace.',
5968
+ format: 'uuid',
5969
+ type: 'string',
5970
+ 'x-title': 'Workspace ID',
5971
+ },
5972
+ },
5973
+ required: [
5974
+ 'event_id',
5975
+ 'workspace_id',
5976
+ 'created_at',
5977
+ 'occurred_at',
5978
+ 'access_code_id',
5979
+ 'device_id',
5980
+ 'connected_account_id',
5981
+ 'event_type',
5982
+ ],
5983
+ type: 'object',
5984
+ },
5985
+ {
5986
+ description:
5987
+ 'There was an unusually long delay in setting an access code on a device.',
5988
+ properties: {
5989
+ access_code_id: {
5990
+ description: 'The ID of the access code.',
5991
+ format: 'uuid',
5992
+ type: 'string',
5993
+ 'x-title': 'Access Code ID',
5994
+ },
5995
+ connected_account_id: {
5996
+ description: 'The ID of the connected account.',
5997
+ format: 'uuid',
5998
+ type: 'string',
5999
+ 'x-title': 'Connected Account ID',
6000
+ },
6001
+ created_at: {
6002
+ description: 'The time when the event was created.',
6003
+ format: 'date-time',
6004
+ type: 'string',
6005
+ 'x-title': 'Created At',
6006
+ },
6007
+ device_id: {
6008
+ description: 'The ID of the device.',
6009
+ format: 'uuid',
6010
+ type: 'string',
6011
+ 'x-title': 'Device ID',
6012
+ },
6013
+ event_id: {
6014
+ description: 'The ID of the event.',
6015
+ format: 'uuid',
6016
+ type: 'string',
6017
+ 'x-title': 'Event ID',
6018
+ },
6019
+ event_type: {
6020
+ enum: ['access_code.delay_in_setting_on_device'],
6021
+ type: 'string',
6022
+ },
6023
+ occurred_at: {
6024
+ description: 'The time when the event occurred.',
6025
+ format: 'date-time',
6026
+ type: 'string',
6027
+ 'x-title': 'Occurred At',
6028
+ },
6029
+ workspace_id: {
6030
+ description: 'The ID of the workspace.',
6031
+ format: 'uuid',
6032
+ type: 'string',
6033
+ 'x-title': 'Workspace ID',
6034
+ },
6035
+ },
6036
+ required: [
6037
+ 'event_id',
6038
+ 'workspace_id',
6039
+ 'created_at',
6040
+ 'occurred_at',
6041
+ 'access_code_id',
6042
+ 'device_id',
6043
+ 'connected_account_id',
6044
+ 'event_type',
6045
+ ],
6046
+ type: 'object',
6047
+ },
6048
+ {
6049
+ description: 'An access code failed to be set on a device.',
6050
+ properties: {
6051
+ access_code_id: {
6052
+ description: 'The ID of the access code.',
6053
+ format: 'uuid',
6054
+ type: 'string',
6055
+ 'x-title': 'Access Code ID',
6056
+ },
6057
+ connected_account_id: {
6058
+ description: 'The ID of the connected account.',
6059
+ format: 'uuid',
6060
+ type: 'string',
6061
+ 'x-title': 'Connected Account ID',
6062
+ },
6063
+ created_at: {
6064
+ description: 'The time when the event was created.',
6065
+ format: 'date-time',
6066
+ type: 'string',
6067
+ 'x-title': 'Created At',
6068
+ },
6069
+ device_id: {
6070
+ description: 'The ID of the device.',
6071
+ format: 'uuid',
6072
+ type: 'string',
6073
+ 'x-title': 'Device ID',
6074
+ },
6075
+ event_id: {
6076
+ description: 'The ID of the event.',
6077
+ format: 'uuid',
6078
+ type: 'string',
6079
+ 'x-title': 'Event ID',
6080
+ },
6081
+ event_type: {
6082
+ enum: ['access_code.failed_to_set_on_device'],
6083
+ type: 'string',
6084
+ },
6085
+ occurred_at: {
6086
+ description: 'The time when the event occurred.',
6087
+ format: 'date-time',
6088
+ type: 'string',
6089
+ 'x-title': 'Occurred At',
6090
+ },
6091
+ workspace_id: {
6092
+ description: 'The ID of the workspace.',
6093
+ format: 'uuid',
6094
+ type: 'string',
6095
+ 'x-title': 'Workspace ID',
6096
+ },
6097
+ },
6098
+ required: [
6099
+ 'event_id',
6100
+ 'workspace_id',
6101
+ 'created_at',
6102
+ 'occurred_at',
6103
+ 'access_code_id',
6104
+ 'device_id',
6105
+ 'connected_account_id',
6106
+ 'event_type',
6107
+ ],
6108
+ type: 'object',
6109
+ },
6110
+ {
6111
+ description: 'An access code was deleted.',
6112
+ properties: {
6113
+ access_code_id: {
6114
+ description: 'The ID of the access code.',
6115
+ format: 'uuid',
6116
+ type: 'string',
6117
+ 'x-title': 'Access Code ID',
6118
+ },
6119
+ code: {
6120
+ description: 'The code of the access code.',
6121
+ nullable: true,
6122
+ type: 'string',
6123
+ 'x-title': 'Access Code',
6124
+ },
6125
+ connected_account_id: {
6126
+ description: 'The ID of the connected account.',
6127
+ format: 'uuid',
6128
+ type: 'string',
6129
+ 'x-title': 'Connected Account ID',
6130
+ },
6131
+ created_at: {
6132
+ description: 'The time when the event was created.',
6133
+ format: 'date-time',
6134
+ type: 'string',
6135
+ 'x-title': 'Created At',
6136
+ },
6137
+ device_id: {
6138
+ description: 'The ID of the device.',
6139
+ format: 'uuid',
6140
+ type: 'string',
6141
+ 'x-title': 'Device ID',
6142
+ },
6143
+ event_id: {
6144
+ description: 'The ID of the event.',
6145
+ format: 'uuid',
6146
+ type: 'string',
6147
+ 'x-title': 'Event ID',
6148
+ },
6149
+ event_type: { enum: ['access_code.deleted'], type: 'string' },
6150
+ occurred_at: {
6151
+ description: 'The time when the event occurred.',
6152
+ format: 'date-time',
6153
+ type: 'string',
6154
+ 'x-title': 'Occurred At',
6155
+ },
6156
+ workspace_id: {
6157
+ description: 'The ID of the workspace.',
6158
+ format: 'uuid',
6159
+ type: 'string',
6160
+ 'x-title': 'Workspace ID',
6161
+ },
6162
+ },
6163
+ required: [
6164
+ 'event_id',
6165
+ 'workspace_id',
6166
+ 'created_at',
6167
+ 'occurred_at',
6168
+ 'access_code_id',
6169
+ 'device_id',
6170
+ 'connected_account_id',
6171
+ 'event_type',
6172
+ 'code',
6173
+ ],
6174
+ type: 'object',
6175
+ },
6176
+ {
6177
+ description:
6178
+ 'There was an unusually long delay in removing an access code from a device.',
6179
+ properties: {
6180
+ access_code_id: {
6181
+ description: 'The ID of the access code.',
6182
+ format: 'uuid',
6183
+ type: 'string',
6184
+ 'x-title': 'Access Code ID',
6185
+ },
6186
+ connected_account_id: {
6187
+ description: 'The ID of the connected account.',
6188
+ format: 'uuid',
6189
+ type: 'string',
6190
+ 'x-title': 'Connected Account ID',
6191
+ },
6192
+ created_at: {
6193
+ description: 'The time when the event was created.',
6194
+ format: 'date-time',
6195
+ type: 'string',
6196
+ 'x-title': 'Created At',
6197
+ },
6198
+ device_id: {
6199
+ description: 'The ID of the device.',
6200
+ format: 'uuid',
6201
+ type: 'string',
6202
+ 'x-title': 'Device ID',
6203
+ },
6204
+ event_id: {
6205
+ description: 'The ID of the event.',
6206
+ format: 'uuid',
6207
+ type: 'string',
6208
+ 'x-title': 'Event ID',
6209
+ },
6210
+ event_type: {
6211
+ enum: ['access_code.delay_in_removing_from_device'],
6212
+ type: 'string',
6213
+ },
6214
+ occurred_at: {
6215
+ description: 'The time when the event occurred.',
6216
+ format: 'date-time',
6217
+ type: 'string',
6218
+ 'x-title': 'Occurred At',
6219
+ },
6220
+ workspace_id: {
6221
+ description: 'The ID of the workspace.',
6222
+ format: 'uuid',
6223
+ type: 'string',
6224
+ 'x-title': 'Workspace ID',
6225
+ },
6226
+ },
6227
+ required: [
6228
+ 'event_id',
6229
+ 'workspace_id',
6230
+ 'created_at',
6231
+ 'occurred_at',
6232
+ 'access_code_id',
6233
+ 'device_id',
6234
+ 'connected_account_id',
6235
+ 'event_type',
6236
+ ],
6237
+ type: 'object',
6238
+ },
6239
+ {
6240
+ description: 'An access code failed to be removed from a device.',
6241
+ properties: {
6242
+ access_code_id: {
6243
+ description: 'The ID of the access code.',
6244
+ format: 'uuid',
6245
+ type: 'string',
6246
+ 'x-title': 'Access Code ID',
6247
+ },
6248
+ connected_account_id: {
6249
+ description: 'The ID of the connected account.',
6250
+ format: 'uuid',
6251
+ type: 'string',
6252
+ 'x-title': 'Connected Account ID',
6253
+ },
6254
+ created_at: {
6255
+ description: 'The time when the event was created.',
6256
+ format: 'date-time',
6257
+ type: 'string',
6258
+ 'x-title': 'Created At',
6259
+ },
6260
+ device_id: {
6261
+ description: 'The ID of the device.',
6262
+ format: 'uuid',
6263
+ type: 'string',
6264
+ 'x-title': 'Device ID',
6265
+ },
6266
+ event_id: {
6267
+ description: 'The ID of the event.',
6268
+ format: 'uuid',
6269
+ type: 'string',
6270
+ 'x-title': 'Event ID',
6271
+ },
6272
+ event_type: {
6273
+ enum: ['access_code.failed_to_remove_from_device'],
6274
+ type: 'string',
6275
+ },
6276
+ occurred_at: {
6277
+ description: 'The time when the event occurred.',
6278
+ format: 'date-time',
6279
+ type: 'string',
6280
+ 'x-title': 'Occurred At',
6281
+ },
6282
+ workspace_id: {
6283
+ description: 'The ID of the workspace.',
6284
+ format: 'uuid',
6285
+ type: 'string',
6286
+ 'x-title': 'Workspace ID',
6287
+ },
6288
+ },
6289
+ required: [
6290
+ 'event_id',
6291
+ 'workspace_id',
6292
+ 'created_at',
6293
+ 'occurred_at',
6294
+ 'access_code_id',
6295
+ 'device_id',
6296
+ 'connected_account_id',
6297
+ 'event_type',
6298
+ ],
6299
+ type: 'object',
6300
+ },
6301
+ {
6302
+ description: 'An access code was modified external to Seam.',
6303
+ properties: {
6304
+ access_code_id: {
6305
+ description: 'The ID of the access code.',
6306
+ format: 'uuid',
6307
+ type: 'string',
6308
+ 'x-title': 'Access Code ID',
6309
+ },
6310
+ connected_account_id: {
6311
+ description: 'The ID of the connected account.',
6312
+ format: 'uuid',
6313
+ type: 'string',
6314
+ 'x-title': 'Connected Account ID',
6315
+ },
6316
+ created_at: {
6317
+ description: 'The time when the event was created.',
6318
+ format: 'date-time',
6319
+ type: 'string',
6320
+ 'x-title': 'Created At',
6321
+ },
6322
+ device_id: {
6323
+ description: 'The ID of the device.',
6324
+ format: 'uuid',
6325
+ type: 'string',
6326
+ 'x-title': 'Device ID',
6327
+ },
6328
+ event_id: {
6329
+ description: 'The ID of the event.',
6330
+ format: 'uuid',
6331
+ type: 'string',
6332
+ 'x-title': 'Event ID',
6333
+ },
6334
+ event_type: {
6335
+ enum: ['access_code.modified_external_to_seam'],
6336
+ type: 'string',
6337
+ },
6338
+ occurred_at: {
6339
+ description: 'The time when the event occurred.',
6340
+ format: 'date-time',
6341
+ type: 'string',
6342
+ 'x-title': 'Occurred At',
6343
+ },
6344
+ workspace_id: {
6345
+ description: 'The ID of the workspace.',
6346
+ format: 'uuid',
6347
+ type: 'string',
6348
+ 'x-title': 'Workspace ID',
6349
+ },
6350
+ },
6351
+ required: [
6352
+ 'event_id',
6353
+ 'workspace_id',
6354
+ 'created_at',
6355
+ 'occurred_at',
6356
+ 'access_code_id',
6357
+ 'device_id',
6358
+ 'connected_account_id',
6359
+ 'event_type',
6360
+ ],
6361
+ type: 'object',
6362
+ },
6363
+ {
6364
+ description: 'An access code was deleted external to Seam.',
6365
+ properties: {
6366
+ access_code_id: {
6367
+ description: 'The ID of the access code.',
6368
+ format: 'uuid',
6369
+ type: 'string',
6370
+ 'x-title': 'Access Code ID',
6371
+ },
6372
+ connected_account_id: {
6373
+ description: 'The ID of the connected account.',
6374
+ format: 'uuid',
6375
+ type: 'string',
6376
+ 'x-title': 'Connected Account ID',
6377
+ },
6378
+ created_at: {
6379
+ description: 'The time when the event was created.',
6380
+ format: 'date-time',
6381
+ type: 'string',
6382
+ 'x-title': 'Created At',
6383
+ },
6384
+ device_id: {
6385
+ description: 'The ID of the device.',
6386
+ format: 'uuid',
6387
+ type: 'string',
6388
+ 'x-title': 'Device ID',
6389
+ },
6390
+ event_id: {
6391
+ description: 'The ID of the event.',
6392
+ format: 'uuid',
6393
+ type: 'string',
6394
+ 'x-title': 'Event ID',
6395
+ },
6396
+ event_type: {
6397
+ enum: ['access_code.deleted_external_to_seam'],
6398
+ type: 'string',
6399
+ },
6400
+ occurred_at: {
6401
+ description: 'The time when the event occurred.',
6402
+ format: 'date-time',
6403
+ type: 'string',
6404
+ 'x-title': 'Occurred At',
6405
+ },
6406
+ workspace_id: {
6407
+ description: 'The ID of the workspace.',
6408
+ format: 'uuid',
6409
+ type: 'string',
6410
+ 'x-title': 'Workspace ID',
6411
+ },
6412
+ },
6413
+ required: [
6414
+ 'event_id',
6415
+ 'workspace_id',
6416
+ 'created_at',
6417
+ 'occurred_at',
6418
+ 'access_code_id',
6419
+ 'device_id',
6420
+ 'connected_account_id',
6421
+ 'event_type',
6422
+ ],
6423
+ type: 'object',
6424
+ },
6425
+ {
6426
+ description:
6427
+ 'A backup access code was pulled from the backup access code pool and set on a device.',
6428
+ properties: {
6429
+ access_code_id: {
6430
+ description: 'The ID of the access code.',
6431
+ format: 'uuid',
6432
+ type: 'string',
6433
+ 'x-title': 'Access Code ID',
6434
+ },
6435
+ backup_access_code_id: { type: 'string' },
6436
+ connected_account_id: {
6437
+ description: 'The ID of the connected account.',
6438
+ format: 'uuid',
6439
+ type: 'string',
6440
+ 'x-title': 'Connected Account ID',
6441
+ },
6442
+ created_at: {
6443
+ description: 'The time when the event was created.',
6444
+ format: 'date-time',
6445
+ type: 'string',
6446
+ 'x-title': 'Created At',
6447
+ },
6448
+ device_id: {
6449
+ description: 'The ID of the device.',
6450
+ format: 'uuid',
6451
+ type: 'string',
6452
+ 'x-title': 'Device ID',
6453
+ },
6454
+ event_id: {
6455
+ description: 'The ID of the event.',
6456
+ format: 'uuid',
6457
+ type: 'string',
6458
+ 'x-title': 'Event ID',
6459
+ },
6460
+ event_type: {
6461
+ enum: ['access_code.backup_access_code_pulled'],
6462
+ type: 'string',
6463
+ },
6464
+ occurred_at: {
6465
+ description: 'The time when the event occurred.',
6466
+ format: 'date-time',
6467
+ type: 'string',
6468
+ 'x-title': 'Occurred At',
6469
+ },
6470
+ workspace_id: {
6471
+ description: 'The ID of the workspace.',
6472
+ format: 'uuid',
6473
+ type: 'string',
6474
+ 'x-title': 'Workspace ID',
6475
+ },
6476
+ },
6477
+ required: [
6478
+ 'event_id',
6479
+ 'workspace_id',
6480
+ 'created_at',
6481
+ 'occurred_at',
6482
+ 'access_code_id',
6483
+ 'device_id',
6484
+ 'connected_account_id',
6485
+ 'event_type',
6486
+ 'backup_access_code_id',
6487
+ ],
6488
+ type: 'object',
6489
+ },
6490
+ {
6491
+ description:
6492
+ 'An unmanaged access code was successfully converted to a managed access code.',
6493
+ properties: {
6494
+ access_code_id: {
6495
+ description: 'The ID of the access code.',
6496
+ format: 'uuid',
6497
+ type: 'string',
6498
+ 'x-title': 'Access Code ID',
6499
+ },
6500
+ connected_account_id: {
6501
+ description: 'The ID of the connected account.',
6502
+ format: 'uuid',
6503
+ type: 'string',
6504
+ 'x-title': 'Connected Account ID',
6505
+ },
6506
+ created_at: {
6507
+ description: 'The time when the event was created.',
6508
+ format: 'date-time',
6509
+ type: 'string',
6510
+ 'x-title': 'Created At',
6511
+ },
6512
+ device_id: {
6513
+ description: 'The ID of the device.',
6514
+ format: 'uuid',
6515
+ type: 'string',
6516
+ 'x-title': 'Device ID',
6517
+ },
6518
+ event_id: {
6519
+ description: 'The ID of the event.',
6520
+ format: 'uuid',
6521
+ type: 'string',
6522
+ 'x-title': 'Event ID',
6523
+ },
6524
+ event_type: {
6525
+ enum: ['access_code.unmanaged.converted_to_managed'],
6526
+ type: 'string',
6527
+ },
6528
+ occurred_at: {
6529
+ description: 'The time when the event occurred.',
6530
+ format: 'date-time',
6531
+ type: 'string',
6532
+ 'x-title': 'Occurred At',
6533
+ },
6534
+ workspace_id: {
6535
+ description: 'The ID of the workspace.',
6536
+ format: 'uuid',
6537
+ type: 'string',
6538
+ 'x-title': 'Workspace ID',
6539
+ },
6540
+ },
6541
+ required: [
6542
+ 'event_id',
6543
+ 'workspace_id',
6544
+ 'created_at',
6545
+ 'occurred_at',
6546
+ 'access_code_id',
6547
+ 'device_id',
6548
+ 'connected_account_id',
6549
+ 'event_type',
6550
+ ],
6551
+ type: 'object',
6552
+ },
6553
+ {
6554
+ description:
6555
+ 'An unmanaged access code failed to be converted to a managed access code.',
6556
+ properties: {
6557
+ access_code_id: {
6558
+ description: 'The ID of the access code.',
6559
+ format: 'uuid',
6560
+ type: 'string',
6561
+ 'x-title': 'Access Code ID',
6562
+ },
6563
+ connected_account_id: {
6564
+ description: 'The ID of the connected account.',
6565
+ format: 'uuid',
6566
+ type: 'string',
6567
+ 'x-title': 'Connected Account ID',
6568
+ },
6569
+ created_at: {
6570
+ description: 'The time when the event was created.',
6571
+ format: 'date-time',
6572
+ type: 'string',
6573
+ 'x-title': 'Created At',
6574
+ },
6575
+ device_id: {
6576
+ description: 'The ID of the device.',
6577
+ format: 'uuid',
6578
+ type: 'string',
6579
+ 'x-title': 'Device ID',
6580
+ },
6581
+ event_id: {
6582
+ description: 'The ID of the event.',
6583
+ format: 'uuid',
6584
+ type: 'string',
6585
+ 'x-title': 'Event ID',
6586
+ },
6587
+ event_type: {
6588
+ enum: ['access_code.unmanaged.failed_to_convert_to_managed'],
6589
+ type: 'string',
6590
+ },
6591
+ occurred_at: {
6592
+ description: 'The time when the event occurred.',
6593
+ format: 'date-time',
6594
+ type: 'string',
6595
+ 'x-title': 'Occurred At',
6596
+ },
6597
+ workspace_id: {
6598
+ description: 'The ID of the workspace.',
6599
+ format: 'uuid',
6600
+ type: 'string',
6601
+ 'x-title': 'Workspace ID',
6602
+ },
6603
+ },
6604
+ required: [
6605
+ 'event_id',
6606
+ 'workspace_id',
6607
+ 'created_at',
6608
+ 'occurred_at',
6609
+ 'access_code_id',
6610
+ 'device_id',
6611
+ 'connected_account_id',
6612
+ 'event_type',
6613
+ ],
6614
+ type: 'object',
6615
+ },
6616
+ {
6617
+ description: 'An unmanaged access code was created on a device.',
6618
+ properties: {
6619
+ access_code_id: {
6620
+ description: 'The ID of the access code.',
6621
+ format: 'uuid',
6622
+ type: 'string',
6623
+ 'x-title': 'Access Code ID',
6624
+ },
6625
+ connected_account_id: {
6626
+ description: 'The ID of the connected account.',
6627
+ format: 'uuid',
6628
+ type: 'string',
6629
+ 'x-title': 'Connected Account ID',
6630
+ },
6631
+ created_at: {
6632
+ description: 'The time when the event was created.',
6633
+ format: 'date-time',
6634
+ type: 'string',
6635
+ 'x-title': 'Created At',
6636
+ },
6637
+ device_id: {
6638
+ description: 'The ID of the device.',
6639
+ format: 'uuid',
6640
+ type: 'string',
6641
+ 'x-title': 'Device ID',
6642
+ },
6643
+ event_id: {
6644
+ description: 'The ID of the event.',
6645
+ format: 'uuid',
6646
+ type: 'string',
6647
+ 'x-title': 'Event ID',
6648
+ },
6649
+ event_type: {
6650
+ enum: ['access_code.unmanaged.created'],
6651
+ type: 'string',
6652
+ },
6653
+ occurred_at: {
6654
+ description: 'The time when the event occurred.',
6655
+ format: 'date-time',
6656
+ type: 'string',
6657
+ 'x-title': 'Occurred At',
6658
+ },
6659
+ workspace_id: {
6660
+ description: 'The ID of the workspace.',
6661
+ format: 'uuid',
6662
+ type: 'string',
6663
+ 'x-title': 'Workspace ID',
6664
+ },
6665
+ },
6666
+ required: [
6667
+ 'event_id',
6668
+ 'workspace_id',
6669
+ 'created_at',
6670
+ 'occurred_at',
6671
+ 'access_code_id',
6672
+ 'device_id',
6673
+ 'connected_account_id',
6674
+ 'event_type',
6675
+ ],
6676
+ type: 'object',
6677
+ },
6678
+ {
6679
+ description: 'An unmanaged access code was removed from a device.',
6680
+ properties: {
6681
+ access_code_id: {
6682
+ description: 'The ID of the access code.',
6683
+ format: 'uuid',
6684
+ type: 'string',
6685
+ 'x-title': 'Access Code ID',
6686
+ },
6687
+ connected_account_id: {
6688
+ description: 'The ID of the connected account.',
6689
+ format: 'uuid',
6690
+ type: 'string',
6691
+ 'x-title': 'Connected Account ID',
6692
+ },
6693
+ created_at: {
6694
+ description: 'The time when the event was created.',
6695
+ format: 'date-time',
6696
+ type: 'string',
6697
+ 'x-title': 'Created At',
6698
+ },
6699
+ device_id: {
6700
+ description: 'The ID of the device.',
6701
+ format: 'uuid',
6702
+ type: 'string',
6703
+ 'x-title': 'Device ID',
6704
+ },
6705
+ event_id: {
6706
+ description: 'The ID of the event.',
6707
+ format: 'uuid',
6708
+ type: 'string',
6709
+ 'x-title': 'Event ID',
6710
+ },
6711
+ event_type: {
6712
+ enum: ['access_code.unmanaged.removed'],
6713
+ type: 'string',
6714
+ },
6715
+ occurred_at: {
6716
+ description: 'The time when the event occurred.',
6717
+ format: 'date-time',
6718
+ type: 'string',
6719
+ 'x-title': 'Occurred At',
6720
+ },
6721
+ workspace_id: {
6722
+ description: 'The ID of the workspace.',
6723
+ format: 'uuid',
6724
+ type: 'string',
6725
+ 'x-title': 'Workspace ID',
6726
+ },
6727
+ },
6728
+ required: [
6729
+ 'event_id',
6730
+ 'workspace_id',
6731
+ 'created_at',
6732
+ 'occurred_at',
6733
+ 'access_code_id',
6734
+ 'device_id',
6735
+ 'connected_account_id',
6736
+ 'event_type',
6737
+ ],
6738
+ type: 'object',
6739
+ },
6740
+ {
6741
+ description: 'An ACS system was connected.',
6742
+ properties: {
6743
+ acs_system_id: {
6744
+ description: 'ID of the ACS system.',
6745
+ format: 'uuid',
6746
+ type: 'string',
6747
+ 'x-title': 'ACS System ID',
6748
+ },
6749
+ connected_account_id: {
6750
+ deprecated: true,
6751
+ description: 'ID of the connected account.',
6752
+ format: 'uuid',
6753
+ type: 'string',
6754
+ 'x-deprecated': 'Will be removed.',
6755
+ 'x-title': 'Connected Account ID',
6756
+ },
6757
+ created_at: {
6758
+ description: 'The time when the event was created.',
6759
+ format: 'date-time',
6760
+ type: 'string',
6761
+ 'x-title': 'Created At',
6762
+ },
6763
+ event_id: {
6764
+ description: 'The ID of the event.',
6765
+ format: 'uuid',
6766
+ type: 'string',
6767
+ 'x-title': 'Event ID',
6768
+ },
6769
+ event_type: { enum: ['acs_system.connected'], type: 'string' },
6770
+ occurred_at: {
6771
+ description: 'The time when the event occurred.',
6772
+ format: 'date-time',
6773
+ type: 'string',
6774
+ 'x-title': 'Occurred At',
6775
+ },
6776
+ workspace_id: {
6777
+ description: 'The ID of the workspace.',
6778
+ format: 'uuid',
6779
+ type: 'string',
6780
+ 'x-title': 'Workspace ID',
6781
+ },
6782
+ },
6783
+ required: [
6784
+ 'event_id',
6785
+ 'workspace_id',
6786
+ 'created_at',
6787
+ 'occurred_at',
6788
+ 'acs_system_id',
6789
+ 'event_type',
6790
+ ],
6791
+ type: 'object',
6792
+ },
6793
+ {
6794
+ description: 'An ACS system was added.',
6795
+ properties: {
6796
+ acs_system_id: {
6797
+ description: 'ID of the ACS system.',
6798
+ format: 'uuid',
6799
+ type: 'string',
6800
+ 'x-title': 'ACS System ID',
6801
+ },
6802
+ connected_account_id: {
6803
+ deprecated: true,
6804
+ description: 'ID of the connected account.',
6805
+ format: 'uuid',
6806
+ type: 'string',
6807
+ 'x-deprecated': 'Will be removed.',
6808
+ 'x-title': 'Connected Account ID',
6809
+ },
6810
+ created_at: {
6811
+ description: 'The time when the event was created.',
6812
+ format: 'date-time',
6813
+ type: 'string',
6814
+ 'x-title': 'Created At',
6815
+ },
6816
+ event_id: {
6817
+ description: 'The ID of the event.',
6818
+ format: 'uuid',
6819
+ type: 'string',
6820
+ 'x-title': 'Event ID',
6821
+ },
6822
+ event_type: { enum: ['acs_system.added'], type: 'string' },
6823
+ occurred_at: {
6824
+ description: 'The time when the event occurred.',
6825
+ format: 'date-time',
6826
+ type: 'string',
6827
+ 'x-title': 'Occurred At',
6828
+ },
6829
+ workspace_id: {
6830
+ description: 'The ID of the workspace.',
6831
+ format: 'uuid',
6832
+ type: 'string',
6833
+ 'x-title': 'Workspace ID',
6834
+ },
6835
+ },
6836
+ required: [
6837
+ 'event_id',
6838
+ 'workspace_id',
6839
+ 'created_at',
6840
+ 'occurred_at',
6841
+ 'acs_system_id',
6842
+ 'event_type',
6843
+ ],
6844
+ type: 'object',
6845
+ },
6846
+ {
6847
+ description: 'An ACS system was disconnected.',
6848
+ properties: {
6849
+ acs_system_id: {
6850
+ description: 'ID of the ACS system.',
6851
+ format: 'uuid',
6852
+ type: 'string',
6853
+ 'x-title': 'ACS System ID',
6854
+ },
6855
+ connected_account_id: {
6856
+ deprecated: true,
6857
+ description: 'ID of the connected account.',
6858
+ format: 'uuid',
6859
+ type: 'string',
6860
+ 'x-deprecated': 'Will be removed.',
6861
+ 'x-title': 'Connected Account ID',
6862
+ },
6863
+ created_at: {
6864
+ description: 'The time when the event was created.',
6865
+ format: 'date-time',
6866
+ type: 'string',
6867
+ 'x-title': 'Created At',
6868
+ },
6869
+ event_id: {
6870
+ description: 'The ID of the event.',
6871
+ format: 'uuid',
6872
+ type: 'string',
6873
+ 'x-title': 'Event ID',
6874
+ },
6875
+ event_type: { enum: ['acs_system.disconnected'], type: 'string' },
6876
+ occurred_at: {
6877
+ description: 'The time when the event occurred.',
6878
+ format: 'date-time',
6879
+ type: 'string',
6880
+ 'x-title': 'Occurred At',
6881
+ },
6882
+ workspace_id: {
6883
+ description: 'The ID of the workspace.',
6884
+ format: 'uuid',
6885
+ type: 'string',
6886
+ 'x-title': 'Workspace ID',
6887
+ },
6888
+ },
6889
+ required: [
6890
+ 'event_id',
6891
+ 'workspace_id',
6892
+ 'created_at',
6893
+ 'occurred_at',
6894
+ 'acs_system_id',
6895
+ 'event_type',
6896
+ ],
6897
+ type: 'object',
6898
+ },
6899
+ {
6900
+ description: 'An ACS credential was deleted.',
6901
+ properties: {
6902
+ acs_credential_id: { format: 'uuid', type: 'string' },
6903
+ acs_system_id: {
6904
+ description: 'ID of the ACS system.',
6905
+ format: 'uuid',
6906
+ type: 'string',
6907
+ 'x-title': 'ACS System ID',
6908
+ },
6909
+ connected_account_id: {
6910
+ deprecated: true,
6911
+ description: 'ID of the connected account.',
6912
+ format: 'uuid',
6913
+ type: 'string',
6914
+ 'x-deprecated': 'Will be removed.',
6915
+ 'x-title': 'Connected Account ID',
6916
+ },
6917
+ created_at: {
6918
+ description: 'The time when the event was created.',
6919
+ format: 'date-time',
6920
+ type: 'string',
6921
+ 'x-title': 'Created At',
6922
+ },
6923
+ event_id: {
6924
+ description: 'The ID of the event.',
6925
+ format: 'uuid',
6926
+ type: 'string',
6927
+ 'x-title': 'Event ID',
6928
+ },
6929
+ event_type: { enum: ['acs_credential.deleted'], type: 'string' },
6930
+ occurred_at: {
6931
+ description: 'The time when the event occurred.',
6932
+ format: 'date-time',
6933
+ type: 'string',
6934
+ 'x-title': 'Occurred At',
6935
+ },
6936
+ workspace_id: {
6937
+ description: 'The ID of the workspace.',
6938
+ format: 'uuid',
6939
+ type: 'string',
6940
+ 'x-title': 'Workspace ID',
6941
+ },
6942
+ },
6943
+ required: [
6944
+ 'event_id',
6945
+ 'workspace_id',
6946
+ 'created_at',
6947
+ 'occurred_at',
6948
+ 'acs_system_id',
6949
+ 'acs_credential_id',
6950
+ 'event_type',
6951
+ ],
6952
+ type: 'object',
6953
+ },
6954
+ {
6955
+ description: 'An ACS credential was issued.',
6956
+ properties: {
6957
+ acs_credential_id: { format: 'uuid', type: 'string' },
6958
+ acs_system_id: {
6959
+ description: 'ID of the ACS system.',
6960
+ format: 'uuid',
6961
+ type: 'string',
6962
+ 'x-title': 'ACS System ID',
6963
+ },
6964
+ connected_account_id: {
6965
+ deprecated: true,
6966
+ description: 'ID of the connected account.',
6967
+ format: 'uuid',
6968
+ type: 'string',
6969
+ 'x-deprecated': 'Will be removed.',
6970
+ 'x-title': 'Connected Account ID',
6971
+ },
6972
+ created_at: {
6973
+ description: 'The time when the event was created.',
6974
+ format: 'date-time',
6975
+ type: 'string',
6976
+ 'x-title': 'Created At',
6977
+ },
6978
+ event_id: {
6979
+ description: 'The ID of the event.',
6980
+ format: 'uuid',
6981
+ type: 'string',
6982
+ 'x-title': 'Event ID',
6983
+ },
6984
+ event_type: { enum: ['acs_credential.issued'], type: 'string' },
6985
+ occurred_at: {
6986
+ description: 'The time when the event occurred.',
6987
+ format: 'date-time',
6988
+ type: 'string',
6989
+ 'x-title': 'Occurred At',
6990
+ },
6991
+ workspace_id: {
6992
+ description: 'The ID of the workspace.',
6993
+ format: 'uuid',
6994
+ type: 'string',
6995
+ 'x-title': 'Workspace ID',
6996
+ },
6997
+ },
6998
+ required: [
6999
+ 'event_id',
7000
+ 'workspace_id',
7001
+ 'created_at',
7002
+ 'occurred_at',
7003
+ 'acs_system_id',
7004
+ 'acs_credential_id',
7005
+ 'event_type',
7006
+ ],
7007
+ type: 'object',
7008
+ },
7009
+ {
7010
+ description: 'An ACS user was deleted.',
7011
+ properties: {
7012
+ acs_system_id: {
7013
+ description: 'ID of the ACS system.',
7014
+ format: 'uuid',
7015
+ type: 'string',
7016
+ 'x-title': 'ACS System ID',
7017
+ },
7018
+ acs_user_id: { format: 'uuid', type: 'string' },
7019
+ connected_account_id: {
7020
+ deprecated: true,
7021
+ description: 'ID of the connected account.',
7022
+ format: 'uuid',
7023
+ type: 'string',
7024
+ 'x-deprecated': 'Will be removed.',
7025
+ 'x-title': 'Connected Account ID',
7026
+ },
7027
+ created_at: {
7028
+ description: 'The time when the event was created.',
7029
+ format: 'date-time',
7030
+ type: 'string',
7031
+ 'x-title': 'Created At',
7032
+ },
7033
+ event_id: {
7034
+ description: 'The ID of the event.',
7035
+ format: 'uuid',
7036
+ type: 'string',
7037
+ 'x-title': 'Event ID',
7038
+ },
7039
+ event_type: { enum: ['acs_user.deleted'], type: 'string' },
7040
+ occurred_at: {
7041
+ description: 'The time when the event occurred.',
7042
+ format: 'date-time',
7043
+ type: 'string',
7044
+ 'x-title': 'Occurred At',
7045
+ },
7046
+ workspace_id: {
7047
+ description: 'The ID of the workspace.',
7048
+ format: 'uuid',
7049
+ type: 'string',
7050
+ 'x-title': 'Workspace ID',
7051
+ },
7052
+ },
7053
+ required: [
7054
+ 'event_id',
7055
+ 'workspace_id',
7056
+ 'created_at',
7057
+ 'occurred_at',
7058
+ 'acs_system_id',
7059
+ 'acs_user_id',
7060
+ 'event_type',
7061
+ ],
7062
+ type: 'object',
7063
+ },
7064
+ {
7065
+ description: 'An ACS encoder was added.',
7066
+ properties: {
7067
+ acs_encoder_id: {
7068
+ description: 'ID of the ACS encoder.',
7069
+ format: 'uuid',
7070
+ type: 'string',
7071
+ },
7072
+ acs_system_id: {
7073
+ description: 'ID of the ACS system.',
7074
+ format: 'uuid',
7075
+ type: 'string',
7076
+ 'x-title': 'ACS System ID',
7077
+ },
7078
+ connected_account_id: {
7079
+ deprecated: true,
7080
+ description: 'ID of the connected account.',
7081
+ format: 'uuid',
7082
+ type: 'string',
7083
+ 'x-deprecated': 'Will be removed.',
7084
+ 'x-title': 'Connected Account ID',
7085
+ },
7086
+ created_at: {
7087
+ description: 'The time when the event was created.',
7088
+ format: 'date-time',
7089
+ type: 'string',
7090
+ 'x-title': 'Created At',
7091
+ },
7092
+ event_id: {
7093
+ description: 'The ID of the event.',
7094
+ format: 'uuid',
7095
+ type: 'string',
7096
+ 'x-title': 'Event ID',
7097
+ },
7098
+ event_type: { enum: ['acs_encoder.added'], type: 'string' },
7099
+ occurred_at: {
7100
+ description: 'The time when the event occurred.',
7101
+ format: 'date-time',
7102
+ type: 'string',
7103
+ 'x-title': 'Occurred At',
7104
+ },
7105
+ workspace_id: {
7106
+ description: 'The ID of the workspace.',
7107
+ format: 'uuid',
7108
+ type: 'string',
7109
+ 'x-title': 'Workspace ID',
7110
+ },
7111
+ },
7112
+ required: [
7113
+ 'event_id',
7114
+ 'workspace_id',
7115
+ 'created_at',
7116
+ 'occurred_at',
7117
+ 'acs_system_id',
7118
+ 'acs_encoder_id',
7119
+ 'event_type',
7120
+ ],
7121
+ type: 'object',
7122
+ },
7123
+ {
7124
+ description: 'An ACS encoder was removed.',
7125
+ properties: {
7126
+ acs_encoder_id: {
7127
+ description: 'ID of the ACS encoder.',
7128
+ format: 'uuid',
7129
+ type: 'string',
7130
+ },
7131
+ acs_system_id: {
7132
+ description: 'ID of the ACS system.',
7133
+ format: 'uuid',
7134
+ type: 'string',
7135
+ 'x-title': 'ACS System ID',
7136
+ },
7137
+ connected_account_id: {
7138
+ deprecated: true,
7139
+ description: 'ID of the connected account.',
7140
+ format: 'uuid',
7141
+ type: 'string',
7142
+ 'x-deprecated': 'Will be removed.',
7143
+ 'x-title': 'Connected Account ID',
7144
+ },
7145
+ created_at: {
7146
+ description: 'The time when the event was created.',
7147
+ format: 'date-time',
7148
+ type: 'string',
7149
+ 'x-title': 'Created At',
7150
+ },
7151
+ event_id: {
7152
+ description: 'The ID of the event.',
7153
+ format: 'uuid',
7154
+ type: 'string',
7155
+ 'x-title': 'Event ID',
7156
+ },
7157
+ event_type: { enum: ['acs_encoder.removed'], type: 'string' },
7158
+ occurred_at: {
7159
+ description: 'The time when the event occurred.',
7160
+ format: 'date-time',
7161
+ type: 'string',
7162
+ 'x-title': 'Occurred At',
7163
+ },
7164
+ workspace_id: {
7165
+ description: 'The ID of the workspace.',
7166
+ format: 'uuid',
7167
+ type: 'string',
7168
+ 'x-title': 'Workspace ID',
7169
+ },
7170
+ },
7171
+ required: [
7172
+ 'event_id',
7173
+ 'workspace_id',
7174
+ 'created_at',
7175
+ 'occurred_at',
7176
+ 'acs_system_id',
7177
+ 'acs_encoder_id',
7178
+ 'event_type',
7179
+ ],
7180
+ type: 'object',
7181
+ },
7182
+ {
7183
+ description: 'A client session was deleted.',
7184
+ properties: {
7185
+ client_session_id: {
7186
+ description: 'ID of the client session.',
7187
+ format: 'uuid',
7188
+ type: 'string',
7189
+ 'x-title': 'Client Session ID',
7190
+ },
7191
+ created_at: {
7192
+ description: 'The time when the event was created.',
7193
+ format: 'date-time',
7194
+ type: 'string',
7195
+ 'x-title': 'Created At',
7196
+ },
7197
+ event_id: {
7198
+ description: 'The ID of the event.',
7199
+ format: 'uuid',
7200
+ type: 'string',
7201
+ 'x-title': 'Event ID',
7202
+ },
7203
+ event_type: { enum: ['client_session.deleted'], type: 'string' },
7204
+ occurred_at: {
7205
+ description: 'The time when the event occurred.',
7206
+ format: 'date-time',
7207
+ type: 'string',
7208
+ 'x-title': 'Occurred At',
7209
+ },
7210
+ workspace_id: {
7211
+ description: 'The ID of the workspace.',
7212
+ format: 'uuid',
7213
+ type: 'string',
7214
+ 'x-title': 'Workspace ID',
7215
+ },
7216
+ },
7217
+ required: [
7218
+ 'event_id',
7219
+ 'workspace_id',
7220
+ 'created_at',
7221
+ 'occurred_at',
7222
+ 'client_session_id',
7223
+ 'event_type',
7224
+ ],
7225
+ type: 'object',
7226
+ },
7227
+ {
7228
+ description:
7229
+ 'A connected account was connected for the first time, was reconnected after being disconnected.',
7230
+ properties: {
7231
+ connect_webview_id: {
7232
+ description: 'ID of the connect webview.',
7233
+ format: 'uuid',
7234
+ type: 'string',
7235
+ 'x-title': 'Connect Webview ID',
7236
+ },
7237
+ connected_account_id: {
7238
+ description: 'ID of the connected account.',
7239
+ format: 'uuid',
7240
+ type: 'string',
7241
+ 'x-title': 'Connected Account ID',
7242
+ },
7243
+ created_at: {
7244
+ description: 'The time when the event was created.',
7245
+ format: 'date-time',
7246
+ type: 'string',
7247
+ 'x-title': 'Created At',
7248
+ },
7249
+ event_id: {
7250
+ description: 'The ID of the event.',
7251
+ format: 'uuid',
7252
+ type: 'string',
7253
+ 'x-title': 'Event ID',
7254
+ },
7255
+ event_type: {
7256
+ enum: ['connected_account.connected'],
7257
+ type: 'string',
7258
+ },
7259
+ occurred_at: {
7260
+ description: 'The time when the event occurred.',
7261
+ format: 'date-time',
7262
+ type: 'string',
7263
+ 'x-title': 'Occurred At',
7264
+ },
7265
+ workspace_id: {
7266
+ description: 'The ID of the workspace.',
7267
+ format: 'uuid',
7268
+ type: 'string',
7269
+ 'x-title': 'Workspace ID',
7270
+ },
7271
+ },
7272
+ required: [
7273
+ 'event_id',
7274
+ 'workspace_id',
7275
+ 'created_at',
7276
+ 'occurred_at',
7277
+ 'connected_account_id',
7278
+ 'event_type',
7279
+ 'connect_webview_id',
7280
+ ],
7281
+ type: 'object',
7282
+ },
7283
+ {
7284
+ description: 'A connected account was created.',
7285
+ properties: {
7286
+ connect_webview_id: {
7287
+ description: 'ID of the connect webview.',
7288
+ format: 'uuid',
7289
+ type: 'string',
7290
+ 'x-title': 'Connect Webview ID',
7291
+ },
7292
+ connected_account_id: {
7293
+ description: 'ID of the connected account.',
7294
+ format: 'uuid',
7295
+ type: 'string',
7296
+ 'x-title': 'Connected Account ID',
7297
+ },
7298
+ created_at: {
7299
+ description: 'The time when the event was created.',
7300
+ format: 'date-time',
7301
+ type: 'string',
7302
+ 'x-title': 'Created At',
7303
+ },
7304
+ event_id: {
7305
+ description: 'The ID of the event.',
7306
+ format: 'uuid',
7307
+ type: 'string',
7308
+ 'x-title': 'Event ID',
7309
+ },
7310
+ event_type: {
7311
+ enum: ['connected_account.created'],
7312
+ type: 'string',
7313
+ },
7314
+ occurred_at: {
7315
+ description: 'The time when the event occurred.',
7316
+ format: 'date-time',
7317
+ type: 'string',
7318
+ 'x-title': 'Occurred At',
7319
+ },
7320
+ workspace_id: {
7321
+ description: 'The ID of the workspace.',
7322
+ format: 'uuid',
7323
+ type: 'string',
7324
+ 'x-title': 'Workspace ID',
7325
+ },
7326
+ },
7327
+ required: [
7328
+ 'event_id',
7329
+ 'workspace_id',
7330
+ 'created_at',
7331
+ 'occurred_at',
7332
+ 'connected_account_id',
7333
+ 'event_type',
7334
+ 'connect_webview_id',
7335
+ ],
7336
+ type: 'object',
7337
+ },
7338
+ {
7339
+ deprecated: true,
7340
+ description:
7341
+ 'A connected account had a successful connect webview login.',
7342
+ properties: {
7343
+ connect_webview_id: {
7344
+ description: 'ID of the connect webview.',
7345
+ format: 'uuid',
7346
+ type: 'string',
7347
+ 'x-title': 'Connect Webview ID',
7348
+ },
7349
+ connected_account_id: {
7350
+ description: 'ID of the connected account.',
7351
+ format: 'uuid',
7352
+ type: 'string',
7353
+ 'x-title': 'Connected Account ID',
7354
+ },
7355
+ created_at: {
7356
+ description: 'The time when the event was created.',
7357
+ format: 'date-time',
7358
+ type: 'string',
7359
+ 'x-title': 'Created At',
7360
+ },
7361
+ event_id: {
7362
+ description: 'The ID of the event.',
7363
+ format: 'uuid',
7364
+ type: 'string',
7365
+ 'x-title': 'Event ID',
7366
+ },
7367
+ event_type: {
7368
+ enum: ['connected_account.successful_login'],
7369
+ type: 'string',
7370
+ },
7371
+ occurred_at: {
7372
+ description: 'The time when the event occurred.',
7373
+ format: 'date-time',
7374
+ type: 'string',
7375
+ 'x-title': 'Occurred At',
7376
+ },
7377
+ workspace_id: {
7378
+ description: 'The ID of the workspace.',
7379
+ format: 'uuid',
7380
+ type: 'string',
7381
+ 'x-title': 'Workspace ID',
7382
+ },
7383
+ },
7384
+ required: [
7385
+ 'event_id',
7386
+ 'workspace_id',
7387
+ 'created_at',
7388
+ 'occurred_at',
7389
+ 'connected_account_id',
7390
+ 'event_type',
7391
+ 'connect_webview_id',
7392
+ ],
7393
+ type: 'object',
7394
+ 'x-deprecated': 'Use `connect_webview.login_succeeded`.',
7395
+ },
7396
+ {
7397
+ description: 'A connected account was disconnected.',
7398
+ properties: {
7399
+ connected_account_id: {
7400
+ description: 'ID of the connected account.',
7401
+ format: 'uuid',
7402
+ type: 'string',
7403
+ 'x-title': 'Connected Account ID',
7404
+ },
7405
+ created_at: {
7406
+ description: 'The time when the event was created.',
7407
+ format: 'date-time',
7408
+ type: 'string',
7409
+ 'x-title': 'Created At',
7410
+ },
7411
+ event_id: {
7412
+ description: 'The ID of the event.',
7413
+ format: 'uuid',
7414
+ type: 'string',
7415
+ 'x-title': 'Event ID',
7416
+ },
7417
+ event_type: {
7418
+ enum: ['connected_account.disconnected'],
7419
+ type: 'string',
7420
+ },
7421
+ occurred_at: {
7422
+ description: 'The time when the event occurred.',
7423
+ format: 'date-time',
7424
+ type: 'string',
7425
+ 'x-title': 'Occurred At',
7426
+ },
7427
+ workspace_id: {
7428
+ description: 'The ID of the workspace.',
7429
+ format: 'uuid',
7430
+ type: 'string',
7431
+ 'x-title': 'Workspace ID',
7432
+ },
7433
+ },
7434
+ required: [
7435
+ 'event_id',
7436
+ 'workspace_id',
7437
+ 'created_at',
7438
+ 'occurred_at',
7439
+ 'connected_account_id',
7440
+ 'event_type',
7441
+ ],
7442
+ type: 'object',
7443
+ },
7444
+ {
7445
+ description:
7446
+ 'A connected account completed the first sync with Seam and devices are now available.',
7447
+ properties: {
7448
+ connected_account_id: {
7449
+ description: 'ID of the connected account.',
7450
+ format: 'uuid',
7451
+ type: 'string',
7452
+ 'x-title': 'Connected Account ID',
7453
+ },
7454
+ created_at: {
7455
+ description: 'The time when the event was created.',
7456
+ format: 'date-time',
7457
+ type: 'string',
7458
+ 'x-title': 'Created At',
7459
+ },
7460
+ event_id: {
7461
+ description: 'The ID of the event.',
7462
+ format: 'uuid',
7463
+ type: 'string',
7464
+ 'x-title': 'Event ID',
7465
+ },
7466
+ event_type: {
7467
+ enum: ['connected_account.completed_first_sync'],
7468
+ type: 'string',
7469
+ },
7470
+ occurred_at: {
7471
+ description: 'The time when the event occurred.',
7472
+ format: 'date-time',
7473
+ type: 'string',
7474
+ 'x-title': 'Occurred At',
7475
+ },
7476
+ workspace_id: {
7477
+ description: 'The ID of the workspace.',
7478
+ format: 'uuid',
7479
+ type: 'string',
7480
+ 'x-title': 'Workspace ID',
7481
+ },
7482
+ },
7483
+ required: [
7484
+ 'event_id',
7485
+ 'workspace_id',
7486
+ 'created_at',
7487
+ 'occurred_at',
7488
+ 'connected_account_id',
7489
+ 'event_type',
7490
+ ],
7491
+ type: 'object',
7492
+ },
7493
+ {
7494
+ description: 'A connected account was deleted.',
7495
+ properties: {
7496
+ connected_account_id: {
7497
+ description: 'ID of the connected account.',
7498
+ format: 'uuid',
7499
+ type: 'string',
7500
+ 'x-title': 'Connected Account ID',
7501
+ },
7502
+ created_at: {
7503
+ description: 'The time when the event was created.',
7504
+ format: 'date-time',
7505
+ type: 'string',
7506
+ 'x-title': 'Created At',
7507
+ },
7508
+ event_id: {
7509
+ description: 'The ID of the event.',
7510
+ format: 'uuid',
7511
+ type: 'string',
7512
+ 'x-title': 'Event ID',
7513
+ },
7514
+ event_type: {
7515
+ enum: ['connected_account.deleted'],
7516
+ type: 'string',
7517
+ },
7518
+ occurred_at: {
7519
+ description: 'The time when the event occurred.',
7520
+ format: 'date-time',
7521
+ type: 'string',
7522
+ 'x-title': 'Occurred At',
7523
+ },
7524
+ workspace_id: {
7525
+ description: 'The ID of the workspace.',
7526
+ format: 'uuid',
7527
+ type: 'string',
7528
+ 'x-title': 'Workspace ID',
7529
+ },
7530
+ },
7531
+ required: [
7532
+ 'event_id',
7533
+ 'workspace_id',
7534
+ 'created_at',
7535
+ 'occurred_at',
7536
+ 'connected_account_id',
7537
+ 'event_type',
7538
+ ],
7539
+ type: 'object',
7540
+ },
7541
+ {
7542
+ description:
7543
+ 'A connected account completed the first sync after reconnection with Seam and devices are now available.',
7544
+ properties: {
7545
+ connected_account_id: {
7546
+ description: 'ID of the connected account.',
7547
+ format: 'uuid',
7548
+ type: 'string',
7549
+ 'x-title': 'Connected Account ID',
7550
+ },
7551
+ created_at: {
7552
+ description: 'The time when the event was created.',
7553
+ format: 'date-time',
7554
+ type: 'string',
7555
+ 'x-title': 'Created At',
7556
+ },
7557
+ event_id: {
7558
+ description: 'The ID of the event.',
7559
+ format: 'uuid',
7560
+ type: 'string',
7561
+ 'x-title': 'Event ID',
7562
+ },
7563
+ event_type: {
7564
+ enum: [
7565
+ 'connected_account.completed_first_sync_after_reconnection',
7566
+ ],
7567
+ type: 'string',
7568
+ },
7569
+ occurred_at: {
7570
+ description: 'The time when the event occurred.',
7571
+ format: 'date-time',
7572
+ type: 'string',
7573
+ 'x-title': 'Occurred At',
7574
+ },
7575
+ workspace_id: {
7576
+ description: 'The ID of the workspace.',
7577
+ format: 'uuid',
7578
+ type: 'string',
7579
+ 'x-title': 'Workspace ID',
7580
+ },
7581
+ },
7582
+ required: [
7583
+ 'event_id',
7584
+ 'workspace_id',
7585
+ 'created_at',
7586
+ 'occurred_at',
7587
+ 'connected_account_id',
7588
+ 'event_type',
7589
+ ],
7590
+ type: 'object',
7591
+ },
7592
+ {
7593
+ description: 'A lock door action attempt succeeded.',
7594
+ properties: {
7595
+ action_attempt_id: {
7596
+ description: 'The ID of the action attempt.',
7597
+ format: 'uuid',
7598
+ type: 'string',
7599
+ 'x-title': 'Action Attempt ID',
7600
+ },
7601
+ action_type: {
7602
+ description: 'The type of action.',
7603
+ type: 'string',
7604
+ 'x-title': 'Action Type',
7605
+ },
7606
+ created_at: {
7607
+ description: 'The time when the event was created.',
7608
+ format: 'date-time',
7609
+ type: 'string',
7610
+ 'x-title': 'Created At',
7611
+ },
7612
+ event_id: {
7613
+ description: 'The ID of the event.',
7614
+ format: 'uuid',
7615
+ type: 'string',
7616
+ 'x-title': 'Event ID',
7617
+ },
7618
+ event_type: {
7619
+ enum: ['action_attempt.lock_door.succeeded'],
7620
+ type: 'string',
7621
+ },
7622
+ occurred_at: {
7623
+ description: 'The time when the event occurred.',
7624
+ format: 'date-time',
7625
+ type: 'string',
7626
+ 'x-title': 'Occurred At',
7627
+ },
7628
+ status: {
7629
+ description: 'The status of the action.',
7630
+ type: 'string',
7631
+ 'x-title': 'Status',
7632
+ },
7633
+ workspace_id: {
7634
+ description: 'The ID of the workspace.',
7635
+ format: 'uuid',
7636
+ type: 'string',
7637
+ 'x-title': 'Workspace ID',
7638
+ },
7639
+ },
7640
+ required: [
7641
+ 'event_id',
7642
+ 'workspace_id',
7643
+ 'created_at',
7644
+ 'occurred_at',
7645
+ 'action_attempt_id',
7646
+ 'action_type',
7647
+ 'status',
7648
+ 'event_type',
7649
+ ],
7650
+ type: 'object',
7651
+ },
7652
+ {
7653
+ description: 'A lock door action attempt failed.',
7654
+ properties: {
7655
+ action_attempt_id: {
7656
+ description: 'The ID of the action attempt.',
7657
+ format: 'uuid',
7658
+ type: 'string',
7659
+ 'x-title': 'Action Attempt ID',
7660
+ },
7661
+ action_type: {
7662
+ description: 'The type of action.',
7663
+ type: 'string',
7664
+ 'x-title': 'Action Type',
7665
+ },
7666
+ created_at: {
7667
+ description: 'The time when the event was created.',
7668
+ format: 'date-time',
7669
+ type: 'string',
7670
+ 'x-title': 'Created At',
7671
+ },
7672
+ event_id: {
7673
+ description: 'The ID of the event.',
7674
+ format: 'uuid',
7675
+ type: 'string',
7676
+ 'x-title': 'Event ID',
7677
+ },
7678
+ event_type: {
7679
+ enum: ['action_attempt.lock_door.failed'],
7680
+ type: 'string',
7681
+ },
7682
+ occurred_at: {
7683
+ description: 'The time when the event occurred.',
7684
+ format: 'date-time',
7685
+ type: 'string',
7686
+ 'x-title': 'Occurred At',
7687
+ },
7688
+ status: {
7689
+ description: 'The status of the action.',
7690
+ type: 'string',
7691
+ 'x-title': 'Status',
7692
+ },
7693
+ workspace_id: {
7694
+ description: 'The ID of the workspace.',
7695
+ format: 'uuid',
7696
+ type: 'string',
7697
+ 'x-title': 'Workspace ID',
7698
+ },
7699
+ },
7700
+ required: [
7701
+ 'event_id',
7702
+ 'workspace_id',
7703
+ 'created_at',
7704
+ 'occurred_at',
7705
+ 'action_attempt_id',
7706
+ 'action_type',
7707
+ 'status',
7708
+ 'event_type',
7709
+ ],
7710
+ type: 'object',
7711
+ },
7712
+ {
7713
+ description: 'An unlock door action attempt succeeded.',
7714
+ properties: {
7715
+ action_attempt_id: {
7716
+ description: 'The ID of the action attempt.',
7717
+ format: 'uuid',
7718
+ type: 'string',
7719
+ 'x-title': 'Action Attempt ID',
7720
+ },
7721
+ action_type: {
7722
+ description: 'The type of action.',
7723
+ type: 'string',
7724
+ 'x-title': 'Action Type',
7725
+ },
7726
+ created_at: {
7727
+ description: 'The time when the event was created.',
7728
+ format: 'date-time',
7729
+ type: 'string',
7730
+ 'x-title': 'Created At',
7731
+ },
7732
+ event_id: {
7733
+ description: 'The ID of the event.',
7734
+ format: 'uuid',
7735
+ type: 'string',
7736
+ 'x-title': 'Event ID',
7737
+ },
7738
+ event_type: {
7739
+ enum: ['action_attempt.unlock_door.succeeded'],
7740
+ type: 'string',
7741
+ },
7742
+ occurred_at: {
7743
+ description: 'The time when the event occurred.',
7744
+ format: 'date-time',
7745
+ type: 'string',
7746
+ 'x-title': 'Occurred At',
7747
+ },
7748
+ status: {
7749
+ description: 'The status of the action.',
7750
+ type: 'string',
7751
+ 'x-title': 'Status',
7752
+ },
7753
+ workspace_id: {
7754
+ description: 'The ID of the workspace.',
7755
+ format: 'uuid',
7756
+ type: 'string',
7757
+ 'x-title': 'Workspace ID',
7758
+ },
7759
+ },
7760
+ required: [
7761
+ 'event_id',
7762
+ 'workspace_id',
7763
+ 'created_at',
7764
+ 'occurred_at',
7765
+ 'action_attempt_id',
7766
+ 'action_type',
7767
+ 'status',
7768
+ 'event_type',
7769
+ ],
7770
+ type: 'object',
7771
+ },
7772
+ {
7773
+ description: 'An unlock door action attempt failed.',
7774
+ properties: {
7775
+ action_attempt_id: {
7776
+ description: 'The ID of the action attempt.',
7777
+ format: 'uuid',
7778
+ type: 'string',
7779
+ 'x-title': 'Action Attempt ID',
7780
+ },
7781
+ action_type: {
7782
+ description: 'The type of action.',
7783
+ type: 'string',
7784
+ 'x-title': 'Action Type',
7785
+ },
7786
+ created_at: {
7787
+ description: 'The time when the event was created.',
7788
+ format: 'date-time',
7789
+ type: 'string',
7790
+ 'x-title': 'Created At',
7791
+ },
7792
+ event_id: {
7793
+ description: 'The ID of the event.',
7794
+ format: 'uuid',
7795
+ type: 'string',
7796
+ 'x-title': 'Event ID',
7797
+ },
7798
+ event_type: {
7799
+ enum: ['action_attempt.unlock_door.failed'],
7800
+ type: 'string',
7801
+ },
7802
+ occurred_at: {
7803
+ description: 'The time when the event occurred.',
7804
+ format: 'date-time',
7805
+ type: 'string',
7806
+ 'x-title': 'Occurred At',
7807
+ },
7808
+ status: {
7809
+ description: 'The status of the action.',
7810
+ type: 'string',
7811
+ 'x-title': 'Status',
7812
+ },
7813
+ workspace_id: {
7814
+ description: 'The ID of the workspace.',
7815
+ format: 'uuid',
7816
+ type: 'string',
7817
+ 'x-title': 'Workspace ID',
7818
+ },
7819
+ },
7820
+ required: [
7821
+ 'event_id',
7822
+ 'workspace_id',
7823
+ 'created_at',
7824
+ 'occurred_at',
7825
+ 'action_attempt_id',
7826
+ 'action_type',
7827
+ 'status',
7828
+ 'event_type',
7829
+ ],
7830
+ type: 'object',
7831
+ },
7832
+ {
7833
+ description: 'A connect webview had a successful login.',
7834
+ properties: {
7835
+ connect_webview_id: {
7836
+ description: 'ID of the connect webview.',
7837
+ format: 'uuid',
7838
+ type: 'string',
7839
+ 'x-title': 'Connect Webview ID',
7840
+ },
7841
+ connected_account_id: {
7842
+ description: 'ID of the connected account.',
7843
+ format: 'uuid',
7844
+ type: 'string',
7845
+ 'x-title': 'Connected Account ID',
7846
+ },
7847
+ created_at: {
7848
+ description: 'The time when the event was created.',
7849
+ format: 'date-time',
7850
+ type: 'string',
7851
+ 'x-title': 'Created At',
7852
+ },
7853
+ event_id: {
7854
+ description: 'The ID of the event.',
7855
+ format: 'uuid',
7856
+ type: 'string',
7857
+ 'x-title': 'Event ID',
7858
+ },
7859
+ event_type: {
7860
+ enum: ['connect_webview.login_succeeded'],
7861
+ type: 'string',
7862
+ },
7863
+ occurred_at: {
7864
+ description: 'The time when the event occurred.',
7865
+ format: 'date-time',
7866
+ type: 'string',
7867
+ 'x-title': 'Occurred At',
7868
+ },
7869
+ workspace_id: {
7870
+ description: 'The ID of the workspace.',
7871
+ format: 'uuid',
7872
+ type: 'string',
7873
+ 'x-title': 'Workspace ID',
7874
+ },
7875
+ },
7876
+ required: [
7877
+ 'event_id',
7878
+ 'workspace_id',
7879
+ 'created_at',
7880
+ 'occurred_at',
7881
+ 'connect_webview_id',
7882
+ 'event_type',
7883
+ 'connected_account_id',
7884
+ ],
7885
+ type: 'object',
7886
+ },
7887
+ {
7888
+ description: 'A connect webview had a failed login.',
7889
+ properties: {
7890
+ connect_webview_id: {
7891
+ description: 'ID of the connect webview.',
7892
+ format: 'uuid',
7893
+ type: 'string',
7894
+ 'x-title': 'Connect Webview ID',
7895
+ },
7896
+ created_at: {
7897
+ description: 'The time when the event was created.',
7898
+ format: 'date-time',
7899
+ type: 'string',
7900
+ 'x-title': 'Created At',
7901
+ },
7902
+ event_id: {
7903
+ description: 'The ID of the event.',
7904
+ format: 'uuid',
7905
+ type: 'string',
7906
+ 'x-title': 'Event ID',
7907
+ },
7908
+ event_type: {
7909
+ enum: ['connect_webview.login_failed'],
7910
+ type: 'string',
7911
+ },
7912
+ occurred_at: {
7913
+ description: 'The time when the event occurred.',
7914
+ format: 'date-time',
7915
+ type: 'string',
7916
+ 'x-title': 'Occurred At',
7917
+ },
7918
+ workspace_id: {
7919
+ description: 'The ID of the workspace.',
7920
+ format: 'uuid',
7921
+ type: 'string',
7922
+ 'x-title': 'Workspace ID',
7923
+ },
7924
+ },
7925
+ required: [
7926
+ 'event_id',
7927
+ 'workspace_id',
7928
+ 'created_at',
7929
+ 'occurred_at',
7930
+ 'connect_webview_id',
7931
+ 'event_type',
7932
+ ],
7933
+ type: 'object',
7934
+ },
7935
+ {
7936
+ description: 'A new device was connected to Seam.',
7937
+ properties: {
7938
+ connected_account_id: {
7939
+ description: 'ID of the connected account.',
7940
+ format: 'uuid',
7941
+ type: 'string',
7942
+ 'x-title': 'Connected Account ID',
7943
+ },
7944
+ created_at: {
7945
+ description: 'The time when the event was created.',
7946
+ format: 'date-time',
7947
+ type: 'string',
7948
+ 'x-title': 'Created At',
7949
+ },
7950
+ device_id: {
7951
+ description: 'ID of the device.',
7952
+ format: 'uuid',
7953
+ type: 'string',
7954
+ 'x-title': 'Device ID',
7955
+ },
7956
+ event_id: {
7957
+ description: 'The ID of the event.',
7958
+ format: 'uuid',
7959
+ type: 'string',
7960
+ 'x-title': 'Event ID',
7961
+ },
7962
+ event_type: { enum: ['device.connected'], type: 'string' },
7963
+ occurred_at: {
7964
+ description: 'The time when the event occurred.',
7965
+ format: 'date-time',
7966
+ type: 'string',
7967
+ 'x-title': 'Occurred At',
7968
+ },
7969
+ workspace_id: {
7970
+ description: 'The ID of the workspace.',
7971
+ format: 'uuid',
7972
+ type: 'string',
7973
+ 'x-title': 'Workspace ID',
7974
+ },
7975
+ },
7976
+ required: [
7977
+ 'event_id',
7978
+ 'workspace_id',
7979
+ 'created_at',
7980
+ 'occurred_at',
7981
+ 'device_id',
7982
+ 'connected_account_id',
7983
+ 'event_type',
7984
+ ],
7985
+ type: 'object',
7986
+ },
7987
+ {
7988
+ description: 'A device has been added or reconnected to Seam.',
7989
+ properties: {
7990
+ connected_account_id: {
7991
+ description: 'ID of the connected account.',
7992
+ format: 'uuid',
7993
+ type: 'string',
7994
+ 'x-title': 'Connected Account ID',
7995
+ },
7996
+ created_at: {
7997
+ description: 'The time when the event was created.',
7998
+ format: 'date-time',
7999
+ type: 'string',
8000
+ 'x-title': 'Created At',
8001
+ },
8002
+ device_id: {
8003
+ description: 'ID of the device.',
8004
+ format: 'uuid',
8005
+ type: 'string',
8006
+ 'x-title': 'Device ID',
8007
+ },
8008
+ event_id: {
8009
+ description: 'The ID of the event.',
8010
+ format: 'uuid',
8011
+ type: 'string',
8012
+ 'x-title': 'Event ID',
8013
+ },
8014
+ event_type: { enum: ['device.added'], type: 'string' },
8015
+ occurred_at: {
8016
+ description: 'The time when the event occurred.',
8017
+ format: 'date-time',
8018
+ type: 'string',
8019
+ 'x-title': 'Occurred At',
8020
+ },
8021
+ workspace_id: {
8022
+ description: 'The ID of the workspace.',
8023
+ format: 'uuid',
8024
+ type: 'string',
8025
+ 'x-title': 'Workspace ID',
8026
+ },
8027
+ },
8028
+ required: [
8029
+ 'event_id',
8030
+ 'workspace_id',
8031
+ 'created_at',
8032
+ 'occurred_at',
8033
+ 'device_id',
8034
+ 'connected_account_id',
8035
+ 'event_type',
8036
+ ],
8037
+ type: 'object',
8038
+ },
8039
+ {
8040
+ description:
8041
+ 'An unmanaged device was successfully converted to a managed device.',
8042
+ properties: {
8043
+ connected_account_id: {
8044
+ description: 'ID of the connected account.',
8045
+ format: 'uuid',
8046
+ type: 'string',
8047
+ 'x-title': 'Connected Account ID',
8048
+ },
8049
+ created_at: {
8050
+ description: 'The time when the event was created.',
8051
+ format: 'date-time',
8052
+ type: 'string',
8053
+ 'x-title': 'Created At',
8054
+ },
8055
+ device_id: {
8056
+ description: 'ID of the device.',
8057
+ format: 'uuid',
8058
+ type: 'string',
8059
+ 'x-title': 'Device ID',
8060
+ },
8061
+ event_id: {
8062
+ description: 'The ID of the event.',
8063
+ format: 'uuid',
8064
+ type: 'string',
8065
+ 'x-title': 'Event ID',
8066
+ },
8067
+ event_type: {
8068
+ enum: ['device.converted_to_unmanaged'],
8069
+ type: 'string',
8070
+ },
8071
+ occurred_at: {
8072
+ description: 'The time when the event occurred.',
8073
+ format: 'date-time',
8074
+ type: 'string',
8075
+ 'x-title': 'Occurred At',
8076
+ },
8077
+ workspace_id: {
8078
+ description: 'The ID of the workspace.',
8079
+ format: 'uuid',
8080
+ type: 'string',
8081
+ 'x-title': 'Workspace ID',
8082
+ },
8083
+ },
8084
+ required: [
8085
+ 'event_id',
8086
+ 'workspace_id',
8087
+ 'created_at',
8088
+ 'occurred_at',
8089
+ 'device_id',
8090
+ 'connected_account_id',
8091
+ 'event_type',
8092
+ ],
8093
+ type: 'object',
8094
+ },
8095
+ {
8096
+ description:
8097
+ 'A managed device was successfully converted to an unmanaged device.',
8098
+ properties: {
8099
+ connected_account_id: {
8100
+ description: 'ID of the connected account.',
8101
+ format: 'uuid',
8102
+ type: 'string',
8103
+ 'x-title': 'Connected Account ID',
8104
+ },
8105
+ created_at: {
8106
+ description: 'The time when the event was created.',
8107
+ format: 'date-time',
8108
+ type: 'string',
8109
+ 'x-title': 'Created At',
8110
+ },
8111
+ device_id: {
8112
+ description: 'ID of the device.',
8113
+ format: 'uuid',
8114
+ type: 'string',
8115
+ 'x-title': 'Device ID',
8116
+ },
8117
+ event_id: {
8118
+ description: 'The ID of the event.',
8119
+ format: 'uuid',
8120
+ type: 'string',
8121
+ 'x-title': 'Event ID',
8122
+ },
8123
+ event_type: {
8124
+ enum: ['device.unmanaged.converted_to_managed'],
8125
+ type: 'string',
8126
+ },
8127
+ occurred_at: {
8128
+ description: 'The time when the event occurred.',
8129
+ format: 'date-time',
8130
+ type: 'string',
8131
+ 'x-title': 'Occurred At',
8132
+ },
8133
+ workspace_id: {
8134
+ description: 'The ID of the workspace.',
8135
+ format: 'uuid',
8136
+ type: 'string',
8137
+ 'x-title': 'Workspace ID',
8138
+ },
8139
+ },
8140
+ required: [
8141
+ 'event_id',
8142
+ 'workspace_id',
8143
+ 'created_at',
8144
+ 'occurred_at',
8145
+ 'device_id',
8146
+ 'connected_account_id',
8147
+ 'event_type',
8148
+ ],
8149
+ type: 'object',
8150
+ },
8151
+ {
8152
+ description: 'An unmanaged device was connected to Seam',
8153
+ properties: {
8154
+ connected_account_id: {
8155
+ description: 'ID of the connected account.',
8156
+ format: 'uuid',
8157
+ type: 'string',
8158
+ 'x-title': 'Connected Account ID',
8159
+ },
8160
+ created_at: {
8161
+ description: 'The time when the event was created.',
8162
+ format: 'date-time',
8163
+ type: 'string',
8164
+ 'x-title': 'Created At',
8165
+ },
8166
+ device_id: {
8167
+ description: 'ID of the device.',
8168
+ format: 'uuid',
8169
+ type: 'string',
8170
+ 'x-title': 'Device ID',
8171
+ },
8172
+ event_id: {
8173
+ description: 'The ID of the event.',
8174
+ format: 'uuid',
8175
+ type: 'string',
8176
+ 'x-title': 'Event ID',
8177
+ },
8178
+ event_type: {
8179
+ enum: ['device.unmanaged.connected'],
8180
+ type: 'string',
8181
+ },
8182
+ occurred_at: {
8183
+ description: 'The time when the event occurred.',
8184
+ format: 'date-time',
8185
+ type: 'string',
8186
+ 'x-title': 'Occurred At',
8187
+ },
8188
+ workspace_id: {
8189
+ description: 'The ID of the workspace.',
8190
+ format: 'uuid',
8191
+ type: 'string',
8192
+ 'x-title': 'Workspace ID',
8193
+ },
8194
+ },
8195
+ required: [
8196
+ 'event_id',
8197
+ 'workspace_id',
8198
+ 'created_at',
8199
+ 'occurred_at',
8200
+ 'device_id',
8201
+ 'connected_account_id',
8202
+ 'event_type',
8203
+ ],
8204
+ type: 'object',
8205
+ },
8206
+ {
8207
+ description: 'A device was disconnected',
8208
+ properties: {
8209
+ connected_account_id: {
8210
+ description: 'ID of the connected account.',
8211
+ format: 'uuid',
8212
+ type: 'string',
8213
+ 'x-title': 'Connected Account ID',
8214
+ },
8215
+ created_at: {
8216
+ description: 'The time when the event was created.',
8217
+ format: 'date-time',
8218
+ type: 'string',
8219
+ 'x-title': 'Created At',
8220
+ },
8221
+ device_id: {
8222
+ description: 'ID of the device.',
8223
+ format: 'uuid',
8224
+ type: 'string',
8225
+ 'x-title': 'Device ID',
8226
+ },
8227
+ error_code: {
8228
+ description:
8229
+ 'The error code associated with the event, if any.',
8230
+ enum: [
8231
+ 'account_disconnected',
8232
+ 'hub_disconnected',
8233
+ 'device_disconnected',
8234
+ ],
8235
+ type: 'string',
8236
+ 'x-title': 'Event Error Code',
8237
+ },
8238
+ event_id: {
8239
+ description: 'The ID of the event.',
8240
+ format: 'uuid',
8241
+ type: 'string',
8242
+ 'x-title': 'Event ID',
8243
+ },
8244
+ event_type: { enum: ['device.disconnected'], type: 'string' },
8245
+ occurred_at: {
8246
+ description: 'The time when the event occurred.',
8247
+ format: 'date-time',
8248
+ type: 'string',
8249
+ 'x-title': 'Occurred At',
8250
+ },
8251
+ workspace_id: {
8252
+ description: 'The ID of the workspace.',
8253
+ format: 'uuid',
8254
+ type: 'string',
8255
+ 'x-title': 'Workspace ID',
8256
+ },
8257
+ },
8258
+ required: [
8259
+ 'event_id',
8260
+ 'workspace_id',
8261
+ 'created_at',
8262
+ 'occurred_at',
8263
+ 'device_id',
8264
+ 'connected_account_id',
8265
+ 'event_type',
8266
+ 'error_code',
8267
+ ],
8268
+ type: 'object',
8269
+ },
8270
+ {
8271
+ description: 'An unmanaged device was disconnected',
8272
+ properties: {
8273
+ connected_account_id: {
8274
+ description: 'ID of the connected account.',
8275
+ format: 'uuid',
8276
+ type: 'string',
8277
+ 'x-title': 'Connected Account ID',
8278
+ },
8279
+ created_at: {
8280
+ description: 'The time when the event was created.',
8281
+ format: 'date-time',
8282
+ type: 'string',
8283
+ 'x-title': 'Created At',
8284
+ },
8285
+ device_id: {
8286
+ description: 'ID of the device.',
8287
+ format: 'uuid',
8288
+ type: 'string',
8289
+ 'x-title': 'Device ID',
8290
+ },
8291
+ error_code: {
8292
+ description:
8293
+ 'The error code associated with the event, if any.',
8294
+ enum: [
8295
+ 'account_disconnected',
8296
+ 'hub_disconnected',
8297
+ 'device_disconnected',
8298
+ ],
8299
+ type: 'string',
8300
+ 'x-title': 'Event Error Code',
8301
+ },
8302
+ event_id: {
8303
+ description: 'The ID of the event.',
8304
+ format: 'uuid',
8305
+ type: 'string',
8306
+ 'x-title': 'Event ID',
8307
+ },
8308
+ event_type: {
8309
+ enum: ['device.unmanaged.disconnected'],
8310
+ type: 'string',
8311
+ },
8312
+ occurred_at: {
8313
+ description: 'The time when the event occurred.',
8314
+ format: 'date-time',
8315
+ type: 'string',
8316
+ 'x-title': 'Occurred At',
8317
+ },
8318
+ workspace_id: {
8319
+ description: 'The ID of the workspace.',
8320
+ format: 'uuid',
8321
+ type: 'string',
8322
+ 'x-title': 'Workspace ID',
8323
+ },
8324
+ },
8325
+ required: [
8326
+ 'event_id',
8327
+ 'workspace_id',
8328
+ 'created_at',
8329
+ 'occurred_at',
8330
+ 'device_id',
8331
+ 'connected_account_id',
8332
+ 'event_type',
8333
+ 'error_code',
8334
+ ],
8335
+ type: 'object',
8336
+ },
8337
+ {
8338
+ description:
8339
+ 'A device detected that it was tampered with, e.g., opened or moved.',
8340
+ properties: {
8341
+ connected_account_id: {
8342
+ description: 'ID of the connected account.',
8343
+ format: 'uuid',
8344
+ type: 'string',
8345
+ 'x-title': 'Connected Account ID',
8346
+ },
8347
+ created_at: {
8348
+ description: 'The time when the event was created.',
8349
+ format: 'date-time',
8350
+ type: 'string',
8351
+ 'x-title': 'Created At',
8352
+ },
8353
+ device_id: {
8354
+ description: 'ID of the device.',
8355
+ format: 'uuid',
8356
+ type: 'string',
8357
+ 'x-title': 'Device ID',
8358
+ },
8359
+ event_id: {
8360
+ description: 'The ID of the event.',
8361
+ format: 'uuid',
8362
+ type: 'string',
8363
+ 'x-title': 'Event ID',
8364
+ },
8365
+ event_type: { enum: ['device.tampered'], type: 'string' },
8366
+ occurred_at: {
8367
+ description: 'The time when the event occurred.',
8368
+ format: 'date-time',
8369
+ type: 'string',
8370
+ 'x-title': 'Occurred At',
8371
+ },
8372
+ workspace_id: {
8373
+ description: 'The ID of the workspace.',
8374
+ format: 'uuid',
8375
+ type: 'string',
8376
+ 'x-title': 'Workspace ID',
8377
+ },
8378
+ },
8379
+ required: [
8380
+ 'event_id',
8381
+ 'workspace_id',
8382
+ 'created_at',
8383
+ 'occurred_at',
8384
+ 'device_id',
8385
+ 'connected_account_id',
8386
+ 'event_type',
8387
+ ],
8388
+ type: 'object',
8389
+ },
8390
+ {
8391
+ description:
8392
+ 'A device battery level dropped below the low threshold.',
8393
+ properties: {
8394
+ battery_level: {
8395
+ description:
8396
+ 'Fractional number 0 to 1.0 indicating amount of battery in device, as reported by device.',
8397
+ format: 'float',
8398
+ maximum: 1,
8399
+ minimum: 0,
8400
+ type: 'number',
8401
+ 'x-title': 'Battery Level',
8402
+ },
8403
+ connected_account_id: {
8404
+ description: 'ID of the connected account.',
8405
+ format: 'uuid',
8406
+ type: 'string',
8407
+ 'x-title': 'Connected Account ID',
8408
+ },
8409
+ created_at: {
8410
+ description: 'The time when the event was created.',
8411
+ format: 'date-time',
8412
+ type: 'string',
8413
+ 'x-title': 'Created At',
8414
+ },
8415
+ device_id: {
8416
+ description: 'ID of the device.',
8417
+ format: 'uuid',
8418
+ type: 'string',
8419
+ 'x-title': 'Device ID',
8420
+ },
8421
+ event_id: {
8422
+ description: 'The ID of the event.',
8423
+ format: 'uuid',
8424
+ type: 'string',
8425
+ 'x-title': 'Event ID',
8426
+ },
8427
+ event_type: { enum: ['device.low_battery'], type: 'string' },
8428
+ occurred_at: {
8429
+ description: 'The time when the event occurred.',
8430
+ format: 'date-time',
8431
+ type: 'string',
8432
+ 'x-title': 'Occurred At',
8433
+ },
8434
+ workspace_id: {
8435
+ description: 'The ID of the workspace.',
8436
+ format: 'uuid',
8437
+ type: 'string',
8438
+ 'x-title': 'Workspace ID',
8439
+ },
8440
+ },
8441
+ required: [
8442
+ 'event_id',
8443
+ 'workspace_id',
8444
+ 'created_at',
8445
+ 'occurred_at',
8446
+ 'device_id',
8447
+ 'connected_account_id',
8448
+ 'event_type',
8449
+ 'battery_level',
8450
+ ],
8451
+ type: 'object',
8452
+ },
8453
+ {
8454
+ description:
8455
+ 'A device battery status changed since the last battery status changed event.',
8456
+ properties: {
8457
+ battery_level: {
8458
+ description:
8459
+ 'Fractional number 0 to 1.0 indicating amount of battery in device, as reported by device.',
8460
+ format: 'float',
8461
+ maximum: 1,
8462
+ minimum: 0,
8463
+ type: 'number',
8464
+ 'x-title': 'Battery Level',
8465
+ },
8466
+ battery_status: {
8467
+ description:
8468
+ "Enum representing the battery status calculated from numeric battery_level value, one of 'critical' | 'low' | 'good' | 'full'",
8469
+ enum: ['critical', 'low', 'good', 'full'],
8470
+ type: 'string',
8471
+ 'x-title': 'Battery Status',
8472
+ },
8473
+ connected_account_id: {
8474
+ description: 'ID of the connected account.',
8475
+ format: 'uuid',
8476
+ type: 'string',
8477
+ 'x-title': 'Connected Account ID',
8478
+ },
8479
+ created_at: {
8480
+ description: 'The time when the event was created.',
8481
+ format: 'date-time',
8482
+ type: 'string',
8483
+ 'x-title': 'Created At',
8484
+ },
8485
+ device_id: {
8486
+ description: 'ID of the device.',
8487
+ format: 'uuid',
8488
+ type: 'string',
8489
+ 'x-title': 'Device ID',
8490
+ },
8491
+ event_id: {
8492
+ description: 'The ID of the event.',
8493
+ format: 'uuid',
8494
+ type: 'string',
8495
+ 'x-title': 'Event ID',
8496
+ },
8497
+ event_type: {
8498
+ enum: ['device.battery_status_changed'],
8499
+ type: 'string',
8500
+ },
8501
+ occurred_at: {
8502
+ description: 'The time when the event occurred.',
8503
+ format: 'date-time',
8504
+ type: 'string',
8505
+ 'x-title': 'Occurred At',
8506
+ },
8507
+ workspace_id: {
8508
+ description: 'The ID of the workspace.',
8509
+ format: 'uuid',
8510
+ type: 'string',
8511
+ 'x-title': 'Workspace ID',
8512
+ },
8513
+ },
8514
+ required: [
8515
+ 'event_id',
8516
+ 'workspace_id',
8517
+ 'created_at',
8518
+ 'occurred_at',
8519
+ 'device_id',
8520
+ 'connected_account_id',
8521
+ 'event_type',
8522
+ 'battery_status',
8523
+ 'battery_level',
8524
+ ],
8525
+ type: 'object',
8526
+ },
8527
+ {
8528
+ description:
8529
+ 'A device was removed externally from the connected account.',
8530
+ properties: {
8531
+ connected_account_id: {
8532
+ description: 'ID of the connected account.',
8533
+ format: 'uuid',
8534
+ type: 'string',
8535
+ 'x-title': 'Connected Account ID',
8536
+ },
8537
+ created_at: {
8538
+ description: 'The time when the event was created.',
8539
+ format: 'date-time',
8540
+ type: 'string',
8541
+ 'x-title': 'Created At',
8542
+ },
8543
+ device_id: {
8544
+ description: 'ID of the device.',
8545
+ format: 'uuid',
8546
+ type: 'string',
8547
+ 'x-title': 'Device ID',
8548
+ },
8549
+ event_id: {
8550
+ description: 'The ID of the event.',
8551
+ format: 'uuid',
8552
+ type: 'string',
8553
+ 'x-title': 'Event ID',
8554
+ },
8555
+ event_type: { enum: ['device.removed'], type: 'string' },
8556
+ occurred_at: {
8557
+ description: 'The time when the event occurred.',
8558
+ format: 'date-time',
8559
+ type: 'string',
8560
+ 'x-title': 'Occurred At',
8561
+ },
8562
+ workspace_id: {
8563
+ description: 'The ID of the workspace.',
8564
+ format: 'uuid',
8565
+ type: 'string',
8566
+ 'x-title': 'Workspace ID',
8567
+ },
8568
+ },
8569
+ required: [
8570
+ 'event_id',
8571
+ 'workspace_id',
8572
+ 'created_at',
8573
+ 'occurred_at',
8574
+ 'device_id',
8575
+ 'connected_account_id',
8576
+ 'event_type',
8577
+ ],
8578
+ type: 'object',
8579
+ },
8580
+ {
8581
+ description: 'A device was deleted.',
8582
+ properties: {
8583
+ connected_account_id: {
8584
+ description: 'ID of the connected account.',
8585
+ format: 'uuid',
8586
+ type: 'string',
8587
+ 'x-title': 'Connected Account ID',
8588
+ },
8589
+ created_at: {
8590
+ description: 'The time when the event was created.',
8591
+ format: 'date-time',
8592
+ type: 'string',
8593
+ 'x-title': 'Created At',
8594
+ },
8595
+ device_id: {
8596
+ description: 'ID of the device.',
8597
+ format: 'uuid',
8598
+ type: 'string',
8599
+ 'x-title': 'Device ID',
8600
+ },
8601
+ event_id: {
8602
+ description: 'The ID of the event.',
8603
+ format: 'uuid',
8604
+ type: 'string',
8605
+ 'x-title': 'Event ID',
8606
+ },
8607
+ event_type: { enum: ['device.deleted'], type: 'string' },
8608
+ occurred_at: {
8609
+ description: 'The time when the event occurred.',
8610
+ format: 'date-time',
8611
+ type: 'string',
8612
+ 'x-title': 'Occurred At',
8613
+ },
8614
+ workspace_id: {
8615
+ description: 'The ID of the workspace.',
8616
+ format: 'uuid',
8617
+ type: 'string',
8618
+ 'x-title': 'Workspace ID',
8619
+ },
8620
+ },
8621
+ required: [
8622
+ 'event_id',
8623
+ 'workspace_id',
8624
+ 'created_at',
8625
+ 'occurred_at',
8626
+ 'device_id',
8627
+ 'connected_account_id',
8628
+ 'event_type',
8629
+ ],
8630
+ type: 'object',
8631
+ },
8632
+ {
8633
+ description:
8634
+ 'Seam detected a device is using a third party integration that will interfere with Seam device management.',
8635
+ properties: {
8636
+ connected_account_id: {
8637
+ description: 'ID of the connected account.',
8638
+ format: 'uuid',
8639
+ type: 'string',
8640
+ 'x-title': 'Connected Account ID',
8641
+ },
8642
+ created_at: {
8643
+ description: 'The time when the event was created.',
8644
+ format: 'date-time',
8645
+ type: 'string',
8646
+ 'x-title': 'Created At',
8647
+ },
8648
+ device_id: {
8649
+ description: 'ID of the device.',
8650
+ format: 'uuid',
8651
+ type: 'string',
8652
+ 'x-title': 'Device ID',
8653
+ },
8654
+ event_id: {
8655
+ description: 'The ID of the event.',
8656
+ format: 'uuid',
8657
+ type: 'string',
8658
+ 'x-title': 'Event ID',
8659
+ },
8660
+ event_type: {
8661
+ enum: ['device.third_party_integration_detected'],
8662
+ type: 'string',
8663
+ },
8664
+ occurred_at: {
8665
+ description: 'The time when the event occurred.',
8666
+ format: 'date-time',
8667
+ type: 'string',
8668
+ 'x-title': 'Occurred At',
8669
+ },
8670
+ workspace_id: {
8671
+ description: 'The ID of the workspace.',
8672
+ format: 'uuid',
8673
+ type: 'string',
8674
+ 'x-title': 'Workspace ID',
8675
+ },
8676
+ },
8677
+ required: [
8678
+ 'event_id',
8679
+ 'workspace_id',
8680
+ 'created_at',
8681
+ 'occurred_at',
8682
+ 'device_id',
8683
+ 'connected_account_id',
8684
+ 'event_type',
8685
+ ],
8686
+ type: 'object',
8687
+ },
8688
+ {
8689
+ description:
8690
+ 'Seam detected a device is no longer using a third party integration that was interfering with Seam device management.',
8691
+ properties: {
8692
+ connected_account_id: {
8693
+ description: 'ID of the connected account.',
8694
+ format: 'uuid',
8695
+ type: 'string',
8696
+ 'x-title': 'Connected Account ID',
8697
+ },
8698
+ created_at: {
8699
+ description: 'The time when the event was created.',
8700
+ format: 'date-time',
8701
+ type: 'string',
8702
+ 'x-title': 'Created At',
8703
+ },
8704
+ device_id: {
8705
+ description: 'ID of the device.',
8706
+ format: 'uuid',
8707
+ type: 'string',
8708
+ 'x-title': 'Device ID',
8709
+ },
8710
+ event_id: {
8711
+ description: 'The ID of the event.',
8712
+ format: 'uuid',
8713
+ type: 'string',
8714
+ 'x-title': 'Event ID',
8715
+ },
8716
+ event_type: {
8717
+ enum: ['device.third_party_integration_no_longer_detected'],
8718
+ type: 'string',
8719
+ },
8720
+ occurred_at: {
8721
+ description: 'The time when the event occurred.',
8722
+ format: 'date-time',
8723
+ type: 'string',
8724
+ 'x-title': 'Occurred At',
8725
+ },
8726
+ workspace_id: {
8727
+ description: 'The ID of the workspace.',
8728
+ format: 'uuid',
8729
+ type: 'string',
8730
+ 'x-title': 'Workspace ID',
8731
+ },
8732
+ },
8733
+ required: [
8734
+ 'event_id',
8735
+ 'workspace_id',
8736
+ 'created_at',
8737
+ 'occurred_at',
8738
+ 'device_id',
8739
+ 'connected_account_id',
8740
+ 'event_type',
8741
+ ],
8742
+ type: 'object',
8743
+ },
8744
+ {
8745
+ description: 'A Salto device activated privacy mode.',
8746
+ properties: {
8747
+ connected_account_id: {
8748
+ description: 'ID of the connected account.',
8749
+ format: 'uuid',
8750
+ type: 'string',
8751
+ 'x-title': 'Connected Account ID',
8752
+ },
8753
+ created_at: {
8754
+ description: 'The time when the event was created.',
8755
+ format: 'date-time',
8756
+ type: 'string',
8757
+ 'x-title': 'Created At',
8758
+ },
8759
+ device_id: {
8760
+ description: 'ID of the device.',
8761
+ format: 'uuid',
8762
+ type: 'string',
8763
+ 'x-title': 'Device ID',
8764
+ },
8765
+ event_id: {
8766
+ description: 'The ID of the event.',
8767
+ format: 'uuid',
8768
+ type: 'string',
8769
+ 'x-title': 'Event ID',
8770
+ },
8771
+ event_type: {
8772
+ enum: ['device.salto.privacy_mode_activated'],
8773
+ type: 'string',
8774
+ },
8775
+ occurred_at: {
8776
+ description: 'The time when the event occurred.',
8777
+ format: 'date-time',
8778
+ type: 'string',
8779
+ 'x-title': 'Occurred At',
8780
+ },
8781
+ workspace_id: {
8782
+ description: 'The ID of the workspace.',
8783
+ format: 'uuid',
8784
+ type: 'string',
8785
+ 'x-title': 'Workspace ID',
8786
+ },
8787
+ },
8788
+ required: [
8789
+ 'event_id',
8790
+ 'workspace_id',
8791
+ 'created_at',
8792
+ 'occurred_at',
8793
+ 'device_id',
8794
+ 'connected_account_id',
8795
+ 'event_type',
8796
+ ],
8797
+ type: 'object',
8798
+ },
8799
+ {
8800
+ description: 'A Salto device deactivated privacy mode.',
8801
+ properties: {
8802
+ connected_account_id: {
8803
+ description: 'ID of the connected account.',
8804
+ format: 'uuid',
8805
+ type: 'string',
8806
+ 'x-title': 'Connected Account ID',
8807
+ },
8808
+ created_at: {
8809
+ description: 'The time when the event was created.',
8810
+ format: 'date-time',
8811
+ type: 'string',
8812
+ 'x-title': 'Created At',
8813
+ },
8814
+ device_id: {
8815
+ description: 'ID of the device.',
8816
+ format: 'uuid',
8817
+ type: 'string',
8818
+ 'x-title': 'Device ID',
8819
+ },
8820
+ event_id: {
8821
+ description: 'The ID of the event.',
8822
+ format: 'uuid',
8823
+ type: 'string',
8824
+ 'x-title': 'Event ID',
8825
+ },
8826
+ event_type: {
8827
+ enum: ['device.salto.privacy_mode_deactivated'],
8828
+ type: 'string',
8829
+ },
8830
+ occurred_at: {
8831
+ description: 'The time when the event occurred.',
8832
+ format: 'date-time',
8833
+ type: 'string',
8834
+ 'x-title': 'Occurred At',
8835
+ },
8836
+ workspace_id: {
8837
+ description: 'The ID of the workspace.',
8838
+ format: 'uuid',
8839
+ type: 'string',
8840
+ 'x-title': 'Workspace ID',
8841
+ },
8842
+ },
8843
+ required: [
8844
+ 'event_id',
8845
+ 'workspace_id',
8846
+ 'created_at',
8847
+ 'occurred_at',
8848
+ 'device_id',
8849
+ 'connected_account_id',
8850
+ 'event_type',
8851
+ ],
8852
+ type: 'object',
8853
+ },
8854
+ {
8855
+ description: 'Seam detected a flaky device connection.',
8856
+ properties: {
8857
+ connected_account_id: {
8858
+ description: 'ID of the connected account.',
8859
+ format: 'uuid',
8860
+ type: 'string',
8861
+ 'x-title': 'Connected Account ID',
8862
+ },
8863
+ created_at: {
8864
+ description: 'The time when the event was created.',
8865
+ format: 'date-time',
8866
+ type: 'string',
8867
+ 'x-title': 'Created At',
8868
+ },
8869
+ device_id: {
8870
+ description: 'ID of the device.',
8871
+ format: 'uuid',
8872
+ type: 'string',
8873
+ 'x-title': 'Device ID',
8874
+ },
8875
+ event_id: {
8876
+ description: 'The ID of the event.',
8877
+ format: 'uuid',
8878
+ type: 'string',
8879
+ 'x-title': 'Event ID',
8880
+ },
8881
+ event_type: {
8882
+ enum: ['device.connection_became_flaky'],
8883
+ type: 'string',
8884
+ },
8885
+ occurred_at: {
8886
+ description: 'The time when the event occurred.',
8887
+ format: 'date-time',
8888
+ type: 'string',
8889
+ 'x-title': 'Occurred At',
8890
+ },
8891
+ workspace_id: {
8892
+ description: 'The ID of the workspace.',
8893
+ format: 'uuid',
8894
+ type: 'string',
8895
+ 'x-title': 'Workspace ID',
8896
+ },
8897
+ },
8898
+ required: [
8899
+ 'event_id',
8900
+ 'workspace_id',
8901
+ 'created_at',
8902
+ 'occurred_at',
8903
+ 'device_id',
8904
+ 'connected_account_id',
8905
+ 'event_type',
8906
+ ],
8907
+ type: 'object',
8908
+ },
8909
+ {
8910
+ description:
8911
+ 'Seam detected a previously flaky device connection stabilized.',
8912
+ properties: {
8913
+ connected_account_id: {
8914
+ description: 'ID of the connected account.',
8915
+ format: 'uuid',
8916
+ type: 'string',
8917
+ 'x-title': 'Connected Account ID',
8918
+ },
8919
+ created_at: {
8920
+ description: 'The time when the event was created.',
8921
+ format: 'date-time',
8922
+ type: 'string',
8923
+ 'x-title': 'Created At',
8924
+ },
8925
+ device_id: {
8926
+ description: 'ID of the device.',
8927
+ format: 'uuid',
8928
+ type: 'string',
8929
+ 'x-title': 'Device ID',
8930
+ },
8931
+ event_id: {
8932
+ description: 'The ID of the event.',
8933
+ format: 'uuid',
8934
+ type: 'string',
8935
+ 'x-title': 'Event ID',
8936
+ },
8937
+ event_type: {
8938
+ enum: ['device.connection_stabilized'],
8939
+ type: 'string',
8940
+ },
8941
+ occurred_at: {
8942
+ description: 'The time when the event occurred.',
8943
+ format: 'date-time',
8944
+ type: 'string',
8945
+ 'x-title': 'Occurred At',
8946
+ },
8947
+ workspace_id: {
8948
+ description: 'The ID of the workspace.',
8949
+ format: 'uuid',
8950
+ type: 'string',
8951
+ 'x-title': 'Workspace ID',
8952
+ },
8953
+ },
8954
+ required: [
8955
+ 'event_id',
8956
+ 'workspace_id',
8957
+ 'created_at',
8958
+ 'occurred_at',
8959
+ 'device_id',
8960
+ 'connected_account_id',
8961
+ 'event_type',
8962
+ ],
8963
+ type: 'object',
8964
+ },
8965
+ {
8966
+ description:
8967
+ 'A third party subscription is required to use all device features.',
8968
+ properties: {
8969
+ connected_account_id: {
8970
+ description: 'ID of the connected account.',
8971
+ format: 'uuid',
8972
+ type: 'string',
8973
+ 'x-title': 'Connected Account ID',
8974
+ },
8975
+ created_at: {
8976
+ description: 'The time when the event was created.',
8977
+ format: 'date-time',
8978
+ type: 'string',
8979
+ 'x-title': 'Created At',
8980
+ },
8981
+ device_id: {
8982
+ description: 'ID of the device.',
8983
+ format: 'uuid',
8984
+ type: 'string',
8985
+ 'x-title': 'Device ID',
8986
+ },
8987
+ event_id: {
8988
+ description: 'The ID of the event.',
8989
+ format: 'uuid',
8990
+ type: 'string',
8991
+ 'x-title': 'Event ID',
8992
+ },
8993
+ event_type: {
8994
+ enum: ['device.error.subscription_required'],
8995
+ type: 'string',
8996
+ },
8997
+ occurred_at: {
8998
+ description: 'The time when the event occurred.',
8999
+ format: 'date-time',
9000
+ type: 'string',
9001
+ 'x-title': 'Occurred At',
9002
+ },
9003
+ workspace_id: {
9004
+ description: 'The ID of the workspace.',
9005
+ format: 'uuid',
9006
+ type: 'string',
9007
+ 'x-title': 'Workspace ID',
9008
+ },
9009
+ },
9010
+ required: [
9011
+ 'event_id',
9012
+ 'workspace_id',
9013
+ 'created_at',
9014
+ 'occurred_at',
9015
+ 'device_id',
9016
+ 'connected_account_id',
9017
+ 'event_type',
9018
+ ],
9019
+ type: 'object',
9020
+ },
9021
+ {
9022
+ description:
9023
+ 'A third party subscription is active or no longer-required to use all device features.',
9024
+ properties: {
9025
+ connected_account_id: {
9026
+ description: 'ID of the connected account.',
9027
+ format: 'uuid',
9028
+ type: 'string',
9029
+ 'x-title': 'Connected Account ID',
9030
+ },
9031
+ created_at: {
9032
+ description: 'The time when the event was created.',
9033
+ format: 'date-time',
9034
+ type: 'string',
9035
+ 'x-title': 'Created At',
9036
+ },
9037
+ device_id: {
9038
+ description: 'ID of the device.',
9039
+ format: 'uuid',
9040
+ type: 'string',
9041
+ 'x-title': 'Device ID',
9042
+ },
9043
+ event_id: {
9044
+ description: 'The ID of the event.',
9045
+ format: 'uuid',
9046
+ type: 'string',
9047
+ 'x-title': 'Event ID',
9048
+ },
9049
+ event_type: {
9050
+ enum: ['device.error.subscription_required.resolved'],
9051
+ type: 'string',
9052
+ },
9053
+ occurred_at: {
9054
+ description: 'The time when the event occurred.',
9055
+ format: 'date-time',
9056
+ type: 'string',
9057
+ 'x-title': 'Occurred At',
9058
+ },
9059
+ workspace_id: {
9060
+ description: 'The ID of the workspace.',
9061
+ format: 'uuid',
9062
+ type: 'string',
9063
+ 'x-title': 'Workspace ID',
9064
+ },
9065
+ },
9066
+ required: [
9067
+ 'event_id',
9068
+ 'workspace_id',
9069
+ 'created_at',
9070
+ 'occurred_at',
9071
+ 'device_id',
9072
+ 'connected_account_id',
9073
+ 'event_type',
9074
+ ],
9075
+ type: 'object',
9076
+ },
9077
+ {
9078
+ description: 'A accessory keypad was connected to a device.',
9079
+ properties: {
9080
+ connected_account_id: {
9081
+ description: 'ID of the connected account.',
9082
+ format: 'uuid',
9083
+ type: 'string',
9084
+ 'x-title': 'Connected Account ID',
9085
+ },
9086
+ created_at: {
9087
+ description: 'The time when the event was created.',
9088
+ format: 'date-time',
9089
+ type: 'string',
9090
+ 'x-title': 'Created At',
9091
+ },
9092
+ device_id: {
9093
+ description: 'ID of the device.',
9094
+ format: 'uuid',
9095
+ type: 'string',
9096
+ 'x-title': 'Device ID',
9097
+ },
9098
+ event_id: {
9099
+ description: 'The ID of the event.',
9100
+ format: 'uuid',
9101
+ type: 'string',
9102
+ 'x-title': 'Event ID',
9103
+ },
9104
+ event_type: {
9105
+ enum: ['device.accessory_keypad_connected'],
9106
+ type: 'string',
9107
+ },
9108
+ occurred_at: {
9109
+ description: 'The time when the event occurred.',
9110
+ format: 'date-time',
9111
+ type: 'string',
9112
+ 'x-title': 'Occurred At',
9113
+ },
9114
+ workspace_id: {
9115
+ description: 'The ID of the workspace.',
9116
+ format: 'uuid',
9117
+ type: 'string',
9118
+ 'x-title': 'Workspace ID',
9119
+ },
9120
+ },
9121
+ required: [
9122
+ 'event_id',
9123
+ 'workspace_id',
9124
+ 'created_at',
9125
+ 'occurred_at',
9126
+ 'device_id',
9127
+ 'connected_account_id',
9128
+ 'event_type',
9129
+ ],
9130
+ type: 'object',
9131
+ },
9132
+ {
9133
+ description: 'A accessory keypad was disconnected to a device.',
9134
+ properties: {
9135
+ connected_account_id: {
9136
+ description: 'ID of the connected account.',
9137
+ format: 'uuid',
9138
+ type: 'string',
9139
+ 'x-title': 'Connected Account ID',
9140
+ },
9141
+ created_at: {
9142
+ description: 'The time when the event was created.',
9143
+ format: 'date-time',
9144
+ type: 'string',
9145
+ 'x-title': 'Created At',
9146
+ },
9147
+ device_id: {
9148
+ description: 'ID of the device.',
9149
+ format: 'uuid',
9150
+ type: 'string',
9151
+ 'x-title': 'Device ID',
9152
+ },
9153
+ event_id: {
9154
+ description: 'The ID of the event.',
9155
+ format: 'uuid',
9156
+ type: 'string',
9157
+ 'x-title': 'Event ID',
9158
+ },
9159
+ event_type: {
9160
+ enum: ['device.accessory_keypad_disconnected'],
9161
+ type: 'string',
9162
+ },
9163
+ occurred_at: {
9164
+ description: 'The time when the event occurred.',
9165
+ format: 'date-time',
9166
+ type: 'string',
9167
+ 'x-title': 'Occurred At',
9168
+ },
9169
+ workspace_id: {
9170
+ description: 'The ID of the workspace.',
9171
+ format: 'uuid',
9172
+ type: 'string',
9173
+ 'x-title': 'Workspace ID',
9174
+ },
9175
+ },
9176
+ required: [
9177
+ 'event_id',
9178
+ 'workspace_id',
9179
+ 'created_at',
9180
+ 'occurred_at',
9181
+ 'device_id',
9182
+ 'connected_account_id',
9183
+ 'event_type',
9184
+ ],
9185
+ type: 'object',
9186
+ },
9187
+ {
9188
+ description:
9189
+ 'Extended periods of noise or noise exceeding a threshold was detected.',
9190
+ properties: {
9191
+ connected_account_id: {
9192
+ description: 'ID of the connected account.',
9193
+ format: 'uuid',
9194
+ type: 'string',
9195
+ 'x-title': 'Connected Account ID',
9196
+ },
9197
+ created_at: {
9198
+ description: 'The time when the event was created.',
9199
+ format: 'date-time',
9200
+ type: 'string',
9201
+ 'x-title': 'Created At',
9202
+ },
9203
+ device_id: {
9204
+ description: 'ID of the device.',
9205
+ format: 'uuid',
9206
+ type: 'string',
9207
+ 'x-title': 'Device ID',
9208
+ },
9209
+ event_id: {
9210
+ description: 'The ID of the event.',
9211
+ format: 'uuid',
9212
+ type: 'string',
9213
+ 'x-title': 'Event ID',
9214
+ },
9215
+ event_type: {
9216
+ enum: ['noise_sensor.noise_threshold_triggered'],
9217
+ type: 'string',
9218
+ },
9219
+ minut_metadata: {
9220
+ additionalProperties: {},
9221
+ description: 'Metadata from the Minut API.',
9222
+ type: 'object',
9223
+ 'x-title': 'Minut Metadata',
9224
+ },
9225
+ noise_level_decibels: { format: 'float', type: 'number' },
9226
+ noise_level_nrs: { format: 'float', type: 'number' },
9227
+ noise_threshold_id: { format: 'uuid', type: 'string' },
9228
+ noise_threshold_name: { type: 'string' },
9229
+ noiseaware_metadata: {
9230
+ additionalProperties: {},
9231
+ description: 'Metadata from the Noiseaware API.',
9232
+ type: 'object',
9233
+ 'x-title': 'Noiseaware Metadata',
9234
+ },
9235
+ occurred_at: {
9236
+ description: 'The time when the event occurred.',
9237
+ format: 'date-time',
9238
+ type: 'string',
9239
+ 'x-title': 'Occurred At',
9240
+ },
9241
+ workspace_id: {
9242
+ description: 'The ID of the workspace.',
9243
+ format: 'uuid',
9244
+ type: 'string',
9245
+ 'x-title': 'Workspace ID',
9246
+ },
9247
+ },
9248
+ required: [
9249
+ 'event_id',
9250
+ 'workspace_id',
9251
+ 'created_at',
9252
+ 'occurred_at',
9253
+ 'device_id',
9254
+ 'connected_account_id',
9255
+ 'event_type',
9256
+ ],
9257
+ type: 'object',
9258
+ },
9259
+ {
9260
+ description: 'A lock was locked.',
9261
+ properties: {
9262
+ access_code_id: { format: 'uuid', type: 'string' },
9263
+ action_attempt_id: { format: 'uuid', type: 'string' },
9264
+ connected_account_id: {
9265
+ description: 'ID of the connected account.',
9266
+ format: 'uuid',
9267
+ type: 'string',
9268
+ 'x-title': 'Connected Account ID',
9269
+ },
9270
+ created_at: {
9271
+ description: 'The time when the event was created.',
9272
+ format: 'date-time',
9273
+ type: 'string',
9274
+ 'x-title': 'Created At',
9275
+ },
9276
+ device_id: {
9277
+ description: 'ID of the device.',
9278
+ format: 'uuid',
9279
+ type: 'string',
9280
+ 'x-title': 'Device ID',
9281
+ },
9282
+ event_id: {
9283
+ description: 'The ID of the event.',
9284
+ format: 'uuid',
9285
+ type: 'string',
9286
+ 'x-title': 'Event ID',
9287
+ },
9288
+ event_type: { enum: ['lock.locked'], type: 'string' },
9289
+ method: {
9290
+ description:
9291
+ 'Method by which a lock device was locked or unlocked. When the method is `keycode`, the `access_code_id` will reference the Seam access code which was used, if reported by the device.',
9292
+ enum: ['keycode', 'manual', 'automatic', 'unknown', 'seamapi'],
9293
+ type: 'string',
9294
+ 'x-title': 'Lock Lock/Unlock Method',
9295
+ },
9296
+ occurred_at: {
9297
+ description: 'The time when the event occurred.',
9298
+ format: 'date-time',
9299
+ type: 'string',
9300
+ 'x-title': 'Occurred At',
9301
+ },
9302
+ workspace_id: {
9303
+ description: 'The ID of the workspace.',
9304
+ format: 'uuid',
9305
+ type: 'string',
9306
+ 'x-title': 'Workspace ID',
9307
+ },
9308
+ },
9309
+ required: [
9310
+ 'event_id',
9311
+ 'workspace_id',
9312
+ 'created_at',
9313
+ 'occurred_at',
9314
+ 'device_id',
9315
+ 'connected_account_id',
9316
+ 'event_type',
9317
+ 'method',
9318
+ ],
9319
+ type: 'object',
9320
+ },
9321
+ {
9322
+ description: 'A lock was unlocked.',
9323
+ properties: {
9324
+ access_code_id: { format: 'uuid', type: 'string' },
9325
+ action_attempt_id: { format: 'uuid', type: 'string' },
9326
+ connected_account_id: {
9327
+ description: 'ID of the connected account.',
9328
+ format: 'uuid',
9329
+ type: 'string',
9330
+ 'x-title': 'Connected Account ID',
9331
+ },
9332
+ created_at: {
9333
+ description: 'The time when the event was created.',
9334
+ format: 'date-time',
9335
+ type: 'string',
9336
+ 'x-title': 'Created At',
9337
+ },
9338
+ device_id: {
9339
+ description: 'ID of the device.',
9340
+ format: 'uuid',
9341
+ type: 'string',
9342
+ 'x-title': 'Device ID',
9343
+ },
9344
+ event_id: {
9345
+ description: 'The ID of the event.',
9346
+ format: 'uuid',
9347
+ type: 'string',
9348
+ 'x-title': 'Event ID',
9349
+ },
9350
+ event_type: { enum: ['lock.unlocked'], type: 'string' },
9351
+ method: {
9352
+ description:
9353
+ 'Method by which a lock device was locked or unlocked. When the method is `keycode`, the `access_code_id` will reference the Seam access code which was used, if reported by the device.',
9354
+ enum: ['keycode', 'manual', 'automatic', 'unknown', 'seamapi'],
9355
+ type: 'string',
9356
+ 'x-title': 'Lock Lock/Unlock Method',
9357
+ },
9358
+ occurred_at: {
9359
+ description: 'The time when the event occurred.',
9360
+ format: 'date-time',
9361
+ type: 'string',
9362
+ 'x-title': 'Occurred At',
9363
+ },
9364
+ workspace_id: {
9365
+ description: 'The ID of the workspace.',
9366
+ format: 'uuid',
9367
+ type: 'string',
9368
+ 'x-title': 'Workspace ID',
9369
+ },
9370
+ },
9371
+ required: [
9372
+ 'event_id',
9373
+ 'workspace_id',
9374
+ 'created_at',
9375
+ 'occurred_at',
9376
+ 'device_id',
9377
+ 'connected_account_id',
9378
+ 'event_type',
9379
+ 'method',
9380
+ ],
9381
+ type: 'object',
9382
+ },
9383
+ {
9384
+ description:
9385
+ 'The lock denied access to a user after one or more consecutive invalid attempts to unlock the device.',
9386
+ properties: {
9387
+ access_code_id: { format: 'uuid', type: 'string' },
9388
+ connected_account_id: {
9389
+ description: 'ID of the connected account.',
9390
+ format: 'uuid',
9391
+ type: 'string',
9392
+ 'x-title': 'Connected Account ID',
9393
+ },
9394
+ created_at: {
9395
+ description: 'The time when the event was created.',
9396
+ format: 'date-time',
9397
+ type: 'string',
9398
+ 'x-title': 'Created At',
9399
+ },
9400
+ device_id: {
9401
+ description: 'ID of the device.',
9402
+ format: 'uuid',
9403
+ type: 'string',
9404
+ 'x-title': 'Device ID',
9405
+ },
9406
+ event_id: {
9407
+ description: 'The ID of the event.',
9408
+ format: 'uuid',
9409
+ type: 'string',
9410
+ 'x-title': 'Event ID',
9411
+ },
9412
+ event_type: { enum: ['lock.access_denied'], type: 'string' },
9413
+ occurred_at: {
9414
+ description: 'The time when the event occurred.',
9415
+ format: 'date-time',
9416
+ type: 'string',
9417
+ 'x-title': 'Occurred At',
9418
+ },
9419
+ workspace_id: {
9420
+ description: 'The ID of the workspace.',
9421
+ format: 'uuid',
9422
+ type: 'string',
9423
+ 'x-title': 'Workspace ID',
9424
+ },
9425
+ },
9426
+ required: [
9427
+ 'event_id',
9428
+ 'workspace_id',
9429
+ 'created_at',
9430
+ 'occurred_at',
9431
+ 'device_id',
9432
+ 'connected_account_id',
9433
+ 'event_type',
9434
+ ],
9435
+ type: 'object',
9436
+ },
9437
+ {
9438
+ description: 'A thermostat climate preset was activated.',
9439
+ properties: {
9440
+ climate_preset_key: { type: 'string' },
9441
+ connected_account_id: {
9442
+ description: 'ID of the connected account.',
9443
+ format: 'uuid',
9444
+ type: 'string',
9445
+ 'x-title': 'Connected Account ID',
9446
+ },
9447
+ created_at: {
9448
+ description: 'The time when the event was created.',
9449
+ format: 'date-time',
9450
+ type: 'string',
9451
+ 'x-title': 'Created At',
9452
+ },
9453
+ device_id: {
9454
+ description: 'ID of the device.',
9455
+ format: 'uuid',
9456
+ type: 'string',
9457
+ 'x-title': 'Device ID',
9458
+ },
9459
+ event_id: {
9460
+ description: 'The ID of the event.',
9461
+ format: 'uuid',
9462
+ type: 'string',
9463
+ 'x-title': 'Event ID',
9464
+ },
9465
+ event_type: {
9466
+ enum: ['thermostat.climate_preset_activated'],
9467
+ type: 'string',
9468
+ },
9469
+ is_fallback_climate_preset: { type: 'boolean' },
9470
+ occurred_at: {
9471
+ description: 'The time when the event occurred.',
9472
+ format: 'date-time',
9473
+ type: 'string',
9474
+ 'x-title': 'Occurred At',
9475
+ },
9476
+ thermostat_schedule_id: {
9477
+ format: 'uuid',
9478
+ nullable: true,
9479
+ type: 'string',
9480
+ },
9481
+ workspace_id: {
9482
+ description: 'The ID of the workspace.',
9483
+ format: 'uuid',
9484
+ type: 'string',
9485
+ 'x-title': 'Workspace ID',
9486
+ },
9487
+ },
9488
+ required: [
9489
+ 'event_id',
9490
+ 'workspace_id',
9491
+ 'created_at',
9492
+ 'occurred_at',
9493
+ 'device_id',
9494
+ 'connected_account_id',
9495
+ 'event_type',
9496
+ 'thermostat_schedule_id',
9497
+ 'climate_preset_key',
9498
+ 'is_fallback_climate_preset',
9499
+ ],
9500
+ type: 'object',
9501
+ },
9502
+ {
9503
+ description: 'A thermostat was manually adjusted.',
9504
+ properties: {
9505
+ connected_account_id: {
9506
+ description: 'ID of the connected account.',
9507
+ format: 'uuid',
9508
+ type: 'string',
9509
+ 'x-title': 'Connected Account ID',
9510
+ },
9511
+ cooling_set_point_celsius: {
9512
+ description:
9513
+ 'Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points).',
9514
+ format: 'float',
9515
+ type: 'number',
9516
+ },
9517
+ cooling_set_point_fahrenheit: {
9518
+ description:
9519
+ 'Temperature to which the thermostat should cool (in °F).',
9520
+ format: 'float',
9521
+ type: 'number',
9522
+ },
9523
+ created_at: {
9524
+ description: 'The time when the event was created.',
9525
+ format: 'date-time',
9526
+ type: 'string',
9527
+ 'x-title': 'Created At',
9528
+ },
9529
+ device_id: {
9530
+ description: 'ID of the device.',
9531
+ format: 'uuid',
9532
+ type: 'string',
9533
+ 'x-title': 'Device ID',
9534
+ },
9535
+ event_id: {
9536
+ description: 'The ID of the event.',
9537
+ format: 'uuid',
9538
+ type: 'string',
9539
+ 'x-title': 'Event ID',
9540
+ },
9541
+ event_type: {
9542
+ enum: ['thermostat.manually_adjusted'],
9543
+ type: 'string',
9544
+ },
9545
+ fan_mode_setting: {
9546
+ description:
9547
+ 'Desired fan mode setting, such as `on`, `auto`, or `circulate`.',
9548
+ enum: ['auto', 'on', 'circulate'],
9549
+ type: 'string',
9550
+ },
9551
+ heating_set_point_celsius: {
9552
+ description:
9553
+ 'Temperature to which the thermostat should heat (in °C).',
9554
+ format: 'float',
9555
+ type: 'number',
9556
+ },
9557
+ heating_set_point_fahrenheit: {
9558
+ description:
9559
+ 'Temperature to which the thermostat should heat (in °F).',
9560
+ format: 'float',
9561
+ type: 'number',
9562
+ },
9563
+ hvac_mode_setting: {
9564
+ description:
9565
+ 'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.',
9566
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
9567
+ type: 'string',
9568
+ },
9569
+ method: { enum: ['seam', 'external'], type: 'string' },
9570
+ occurred_at: {
9571
+ description: 'The time when the event occurred.',
9572
+ format: 'date-time',
9573
+ type: 'string',
9574
+ 'x-title': 'Occurred At',
9575
+ },
9576
+ workspace_id: {
9577
+ description: 'The ID of the workspace.',
9578
+ format: 'uuid',
9579
+ type: 'string',
9580
+ 'x-title': 'Workspace ID',
9581
+ },
9582
+ },
9583
+ required: [
9584
+ 'event_id',
9585
+ 'workspace_id',
9586
+ 'created_at',
9587
+ 'occurred_at',
9588
+ 'device_id',
9589
+ 'connected_account_id',
9590
+ 'event_type',
9591
+ 'method',
9592
+ ],
9593
+ type: 'object',
9594
+ },
9595
+ {
9596
+ description:
9597
+ "A thermostat's temperature reading exceeded the set threshold.",
9598
+ properties: {
9599
+ connected_account_id: {
9600
+ description: 'ID of the connected account.',
9601
+ format: 'uuid',
9602
+ type: 'string',
9603
+ 'x-title': 'Connected Account ID',
9604
+ },
9605
+ created_at: {
9606
+ description: 'The time when the event was created.',
9607
+ format: 'date-time',
9608
+ type: 'string',
9609
+ 'x-title': 'Created At',
9610
+ },
9611
+ device_id: {
9612
+ description: 'ID of the device.',
9613
+ format: 'uuid',
9614
+ type: 'string',
9615
+ 'x-title': 'Device ID',
9616
+ },
9617
+ event_id: {
9618
+ description: 'The ID of the event.',
9619
+ format: 'uuid',
9620
+ type: 'string',
9621
+ 'x-title': 'Event ID',
9622
+ },
9623
+ event_type: {
9624
+ enum: ['thermostat.temperature_threshold_exceeded'],
9625
+ type: 'string',
9626
+ },
9627
+ lower_limit_celsius: {
9628
+ format: 'float',
9629
+ nullable: true,
9630
+ type: 'number',
9631
+ },
9632
+ lower_limit_fahrenheit: {
9633
+ format: 'float',
9634
+ nullable: true,
9635
+ type: 'number',
9636
+ },
9637
+ occurred_at: {
9638
+ description: 'The time when the event occurred.',
9639
+ format: 'date-time',
9640
+ type: 'string',
9641
+ 'x-title': 'Occurred At',
9642
+ },
9643
+ temperature_celsius: { format: 'float', type: 'number' },
9644
+ temperature_fahrenheit: { format: 'float', type: 'number' },
9645
+ upper_limit_celsius: {
9646
+ format: 'float',
9647
+ nullable: true,
9648
+ type: 'number',
9649
+ },
9650
+ upper_limit_fahrenheit: {
9651
+ format: 'float',
9652
+ nullable: true,
9653
+ type: 'number',
9654
+ },
9655
+ workspace_id: {
9656
+ description: 'The ID of the workspace.',
9657
+ format: 'uuid',
9658
+ type: 'string',
9659
+ 'x-title': 'Workspace ID',
9660
+ },
9661
+ },
9662
+ required: [
9663
+ 'event_id',
9664
+ 'workspace_id',
9665
+ 'created_at',
9666
+ 'occurred_at',
9667
+ 'device_id',
9668
+ 'connected_account_id',
9669
+ 'event_type',
9670
+ 'temperature_celsius',
9671
+ 'temperature_fahrenheit',
9672
+ 'upper_limit_celsius',
9673
+ 'upper_limit_fahrenheit',
9674
+ 'lower_limit_celsius',
9675
+ 'lower_limit_fahrenheit',
9676
+ ],
9677
+ type: 'object',
9678
+ },
9679
+ {
9680
+ description:
9681
+ "A thermostat's temperature reading is no longer exceeding the set threshold.",
9682
+ properties: {
9683
+ connected_account_id: {
9684
+ description: 'ID of the connected account.',
9685
+ format: 'uuid',
9686
+ type: 'string',
9687
+ 'x-title': 'Connected Account ID',
9688
+ },
9689
+ created_at: {
9690
+ description: 'The time when the event was created.',
9691
+ format: 'date-time',
9692
+ type: 'string',
9693
+ 'x-title': 'Created At',
9694
+ },
9695
+ device_id: {
9696
+ description: 'ID of the device.',
9697
+ format: 'uuid',
9698
+ type: 'string',
9699
+ 'x-title': 'Device ID',
9700
+ },
9701
+ event_id: {
9702
+ description: 'The ID of the event.',
9703
+ format: 'uuid',
9704
+ type: 'string',
9705
+ 'x-title': 'Event ID',
9706
+ },
9707
+ event_type: {
9708
+ enum: ['thermostat.temperature_threshold_no_longer_exceeded'],
9709
+ type: 'string',
9710
+ },
9711
+ lower_limit_celsius: {
9712
+ format: 'float',
9713
+ nullable: true,
9714
+ type: 'number',
9715
+ },
9716
+ lower_limit_fahrenheit: {
9717
+ format: 'float',
9718
+ nullable: true,
9719
+ type: 'number',
9720
+ },
9721
+ occurred_at: {
9722
+ description: 'The time when the event occurred.',
9723
+ format: 'date-time',
9724
+ type: 'string',
9725
+ 'x-title': 'Occurred At',
9726
+ },
9727
+ temperature_celsius: { format: 'float', type: 'number' },
9728
+ temperature_fahrenheit: { format: 'float', type: 'number' },
9729
+ upper_limit_celsius: {
9730
+ format: 'float',
9731
+ nullable: true,
9732
+ type: 'number',
9733
+ },
9734
+ upper_limit_fahrenheit: {
9735
+ format: 'float',
9736
+ nullable: true,
9737
+ type: 'number',
9738
+ },
9739
+ workspace_id: {
9740
+ description: 'The ID of the workspace.',
9741
+ format: 'uuid',
9742
+ type: 'string',
9743
+ 'x-title': 'Workspace ID',
9744
+ },
9745
+ },
9746
+ required: [
9747
+ 'event_id',
9748
+ 'workspace_id',
9749
+ 'created_at',
9750
+ 'occurred_at',
9751
+ 'device_id',
9752
+ 'connected_account_id',
9753
+ 'event_type',
9754
+ 'temperature_celsius',
9755
+ 'temperature_fahrenheit',
9756
+ 'upper_limit_celsius',
9757
+ 'upper_limit_fahrenheit',
9758
+ 'lower_limit_celsius',
9759
+ 'lower_limit_fahrenheit',
9760
+ ],
9761
+ type: 'object',
9762
+ },
9763
+ {
9764
+ description: 'An enrollment automation was deleted.',
9765
+ properties: {
9766
+ created_at: {
9767
+ description: 'The time when the event was created.',
9768
+ format: 'date-time',
9769
+ type: 'string',
9770
+ 'x-title': 'Created At',
9771
+ },
9772
+ enrollment_automation_id: {
9773
+ description: 'ID of the enrollment automation.',
9774
+ format: 'uuid',
9775
+ type: 'string',
9776
+ 'x-title': 'Enrollment Automation ID',
9777
+ },
9778
+ event_id: {
9779
+ description: 'The ID of the event.',
9780
+ format: 'uuid',
9781
+ type: 'string',
9782
+ 'x-title': 'Event ID',
9783
+ },
9784
+ event_type: {
9785
+ enum: ['enrollment_automation.deleted'],
9786
+ type: 'string',
9787
+ },
9788
+ occurred_at: {
9789
+ description: 'The time when the event occurred.',
9790
+ format: 'date-time',
9791
+ type: 'string',
9792
+ 'x-title': 'Occurred At',
9793
+ },
9794
+ workspace_id: {
9795
+ description: 'The ID of the workspace.',
9796
+ format: 'uuid',
9797
+ type: 'string',
9798
+ 'x-title': 'Workspace ID',
9799
+ },
9800
+ },
9801
+ required: [
9802
+ 'event_id',
9803
+ 'workspace_id',
9804
+ 'created_at',
9805
+ 'occurred_at',
9806
+ 'enrollment_automation_id',
9807
+ 'event_type',
9808
+ ],
9809
+ type: 'object',
9810
+ },
9811
+ {
9812
+ description: 'A phone device was deactivated.',
9813
+ properties: {
9814
+ created_at: {
9815
+ description: 'The time when the event was created.',
9816
+ format: 'date-time',
9817
+ type: 'string',
9818
+ 'x-title': 'Created At',
9819
+ },
9820
+ device_id: {
9821
+ description: 'ID of the device.',
9822
+ format: 'uuid',
9823
+ type: 'string',
9824
+ 'x-title': 'Device ID',
9825
+ },
9826
+ event_id: {
9827
+ description: 'The ID of the event.',
9828
+ format: 'uuid',
9829
+ type: 'string',
9830
+ 'x-title': 'Event ID',
9831
+ },
9832
+ event_type: { enum: ['phone.deactivated'], type: 'string' },
9833
+ occurred_at: {
9834
+ description: 'The time when the event occurred.',
9835
+ format: 'date-time',
9836
+ type: 'string',
9837
+ 'x-title': 'Occurred At',
9838
+ },
9839
+ workspace_id: {
9840
+ description: 'The ID of the workspace.',
9841
+ format: 'uuid',
9842
+ type: 'string',
9843
+ 'x-title': 'Workspace ID',
9844
+ },
9845
+ },
9846
+ required: [
9847
+ 'event_id',
9848
+ 'workspace_id',
9849
+ 'created_at',
9850
+ 'occurred_at',
9851
+ 'device_id',
9852
+ 'event_type',
9853
+ ],
9854
+ type: 'object',
5693
9855
  },
5694
- workspace_id: { format: 'uuid', type: 'string' },
5695
- },
5696
- required: [
5697
- 'event_id',
5698
- 'event_type',
5699
- 'workspace_id',
5700
- 'created_at',
5701
- 'occurred_at',
5702
- 'event_description',
5703
9856
  ],
5704
- type: 'object',
5705
9857
  },
5706
9858
  network: {
5707
9859
  properties: {
@@ -16729,7 +20881,15 @@ export default {
16729
20881
  enum: ['off', 'heat', 'cool', 'heat_cool'],
16730
20882
  type: 'string',
16731
20883
  },
16732
- manual_override_allowed: { default: true, type: 'boolean' },
20884
+ manual_override_allowed: {
20885
+ default: true,
20886
+ deprecated: true,
20887
+ description:
20888
+ "Indicates whether a person at the thermostat or using the API can change the thermostat's settings.",
20889
+ type: 'boolean',
20890
+ 'x-deprecated':
20891
+ "Use 'thermostat_schedule.is_override_allowed'",
20892
+ },
16733
20893
  name: {
16734
20894
  default: null,
16735
20895
  description:
@@ -17438,11 +21598,16 @@ export default {
17438
21598
  'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
17439
21599
  type: 'string',
17440
21600
  },
17441
- is_override_allowed: { default: false, type: 'boolean' },
21601
+ is_override_allowed: {
21602
+ default: false,
21603
+ description:
21604
+ "Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the schedule is active. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
21605
+ type: 'boolean',
21606
+ },
17442
21607
  max_override_period_minutes: {
17443
21608
  default: 0,
17444
21609
  description:
17445
- "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
21610
+ "Number of minutes for which a person at the thermostat or using the API can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
17446
21611
  minimum: 0,
17447
21612
  type: 'integer',
17448
21613
  },
@@ -17700,10 +21865,14 @@ export default {
17700
21865
  'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
17701
21866
  type: 'string',
17702
21867
  },
17703
- is_override_allowed: { type: 'boolean' },
21868
+ is_override_allowed: {
21869
+ description:
21870
+ "Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the schedule is active. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
21871
+ type: 'boolean',
21872
+ },
17704
21873
  max_override_period_minutes: {
17705
21874
  description:
17706
- "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
21875
+ "Number of minutes for which a person at the thermostat or using the API can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
17707
21876
  minimum: 0,
17708
21877
  type: 'integer',
17709
21878
  },
@@ -17776,10 +21945,14 @@ export default {
17776
21945
  'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
17777
21946
  type: 'string',
17778
21947
  },
17779
- is_override_allowed: { type: 'boolean' },
21948
+ is_override_allowed: {
21949
+ description:
21950
+ "Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the schedule is active. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
21951
+ type: 'boolean',
21952
+ },
17780
21953
  max_override_period_minutes: {
17781
21954
  description:
17782
- "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
21955
+ "Number of minutes for which a person at the thermostat or using the API can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
17783
21956
  minimum: 0,
17784
21957
  type: 'integer',
17785
21958
  },