@seamapi/types 1.466.1 → 1.468.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.
@@ -11022,6 +11022,10 @@ export type Routes = {
11022
11022
  */
11023
11023
  upper_limit_fahrenheit: number | null;
11024
11024
  } | undefined) | undefined;
11025
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
11026
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
11027
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
11028
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
11025
11029
  });
11026
11030
  /** Location information for the device. */
11027
11031
  location: {
@@ -11331,6 +11335,7 @@ export type Routes = {
11331
11335
  can_simulate_connection?: boolean | undefined;
11332
11336
  can_simulate_disconnection?: boolean | undefined;
11333
11337
  can_unlock_with_code?: boolean | undefined;
11338
+ can_run_thermostat_programs?: boolean | undefined;
11334
11339
  }[] | undefined;
11335
11340
  acs_entrances?: {
11336
11341
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -14123,6 +14128,10 @@ export type Routes = {
14123
14128
  */
14124
14129
  upper_limit_fahrenheit: number | null;
14125
14130
  } | undefined) | undefined;
14131
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
14132
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
14133
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
14134
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
14126
14135
  });
14127
14136
  /** Location information for the device. */
14128
14137
  location: {
@@ -14432,6 +14441,7 @@ export type Routes = {
14432
14441
  can_simulate_connection?: boolean | undefined;
14433
14442
  can_simulate_disconnection?: boolean | undefined;
14434
14443
  can_unlock_with_code?: boolean | undefined;
14444
+ can_run_thermostat_programs?: boolean | undefined;
14435
14445
  }[] | undefined;
14436
14446
  acs_entrances?: {
14437
14447
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -16810,6 +16820,7 @@ export type Routes = {
16810
16820
  can_simulate_connection?: boolean | undefined;
16811
16821
  can_simulate_disconnection?: boolean | undefined;
16812
16822
  can_unlock_with_code?: boolean | undefined;
16823
+ can_run_thermostat_programs?: boolean | undefined;
16813
16824
  }[] | undefined;
16814
16825
  connect_webviews?: {
16815
16826
  /** ID of the Connect Webview. */
@@ -29049,6 +29060,10 @@ export type Routes = {
29049
29060
  */
29050
29061
  upper_limit_fahrenheit: number | null;
29051
29062
  } | undefined) | undefined;
29063
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
29064
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
29065
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
29066
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
29052
29067
  });
29053
29068
  /** Location information for the device. */
29054
29069
  location: {
@@ -29358,6 +29373,7 @@ export type Routes = {
29358
29373
  can_simulate_connection?: boolean | undefined;
29359
29374
  can_simulate_disconnection?: boolean | undefined;
29360
29375
  can_unlock_with_code?: boolean | undefined;
29376
+ can_run_thermostat_programs?: boolean | undefined;
29361
29377
  };
29362
29378
  };
29363
29379
  };
@@ -29395,9 +29411,9 @@ export type Routes = {
29395
29411
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
29396
29412
  page_cursor?: (string | undefined) | null;
29397
29413
  /** */
29398
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code')[] | undefined;
29414
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
29399
29415
  /** */
29400
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code')[] | undefined;
29416
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
29401
29417
  /**
29402
29418
  * @deprecated Use `space_id`.*/
29403
29419
  unstable_location_id?: (string | null) | undefined;
@@ -30298,6 +30314,10 @@ export type Routes = {
30298
30314
  */
30299
30315
  upper_limit_fahrenheit: number | null;
30300
30316
  } | undefined) | undefined;
30317
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
30318
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
30319
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
30320
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
30301
30321
  });
30302
30322
  /** Location information for the device. */
30303
30323
  location: {
@@ -30607,6 +30627,7 @@ export type Routes = {
30607
30627
  can_simulate_connection?: boolean | undefined;
30608
30628
  can_simulate_disconnection?: boolean | undefined;
30609
30629
  can_unlock_with_code?: boolean | undefined;
30630
+ can_run_thermostat_programs?: boolean | undefined;
30610
30631
  }[];
30611
30632
  /** Information about the current page of results. */
30612
30633
  pagination: {
@@ -30647,6 +30668,7 @@ export type Routes = {
30647
30668
  can_simulate_connection?: boolean | undefined;
30648
30669
  can_simulate_disconnection?: boolean | undefined;
30649
30670
  can_unlock_with_code?: boolean | undefined;
30671
+ can_run_thermostat_programs?: boolean | undefined;
30650
30672
  }[];
30651
30673
  };
30652
30674
  };
@@ -31104,6 +31126,7 @@ export type Routes = {
31104
31126
  can_simulate_connection?: boolean | undefined;
31105
31127
  can_simulate_disconnection?: boolean | undefined;
31106
31128
  can_unlock_with_code?: boolean | undefined;
31129
+ can_run_thermostat_programs?: boolean | undefined;
31107
31130
  };
31108
31131
  };
31109
31132
  };
@@ -31141,9 +31164,9 @@ export type Routes = {
31141
31164
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
31142
31165
  page_cursor?: (string | undefined) | null;
31143
31166
  /** */
31144
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code')[] | undefined;
31167
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
31145
31168
  /** */
31146
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code')[] | undefined;
31169
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
31147
31170
  /**
31148
31171
  * @deprecated Use `space_id`.*/
31149
31172
  unstable_location_id?: (string | null) | undefined;
@@ -31536,6 +31559,7 @@ export type Routes = {
31536
31559
  can_simulate_connection?: boolean | undefined;
31537
31560
  can_simulate_disconnection?: boolean | undefined;
31538
31561
  can_unlock_with_code?: boolean | undefined;
31562
+ can_run_thermostat_programs?: boolean | undefined;
31539
31563
  }[];
31540
31564
  };
31541
31565
  };
@@ -36276,6 +36300,10 @@ export type Routes = {
36276
36300
  */
36277
36301
  upper_limit_fahrenheit: number | null;
36278
36302
  } | undefined) | undefined;
36303
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
36304
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
36305
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
36306
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
36279
36307
  });
36280
36308
  /** Location information for the device. */
36281
36309
  location: {
@@ -36585,6 +36613,7 @@ export type Routes = {
36585
36613
  can_simulate_connection?: boolean | undefined;
36586
36614
  can_simulate_disconnection?: boolean | undefined;
36587
36615
  can_unlock_with_code?: boolean | undefined;
36616
+ can_run_thermostat_programs?: boolean | undefined;
36588
36617
  };
36589
36618
  /** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
36590
36619
  device: {
@@ -37475,6 +37504,10 @@ export type Routes = {
37475
37504
  */
37476
37505
  upper_limit_fahrenheit: number | null;
37477
37506
  } | undefined) | undefined;
37507
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
37508
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
37509
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
37510
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
37478
37511
  });
37479
37512
  /** Location information for the device. */
37480
37513
  location: {
@@ -37784,6 +37817,7 @@ export type Routes = {
37784
37817
  can_simulate_connection?: boolean | undefined;
37785
37818
  can_simulate_disconnection?: boolean | undefined;
37786
37819
  can_unlock_with_code?: boolean | undefined;
37820
+ can_run_thermostat_programs?: boolean | undefined;
37787
37821
  };
37788
37822
  };
37789
37823
  };
@@ -37821,9 +37855,9 @@ export type Routes = {
37821
37855
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
37822
37856
  page_cursor?: (string | undefined) | null;
37823
37857
  /** */
37824
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code')[] | undefined;
37858
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
37825
37859
  /** */
37826
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code')[] | undefined;
37860
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
37827
37861
  /**
37828
37862
  * @deprecated Use `space_id`.*/
37829
37863
  unstable_location_id?: (string | null) | undefined;
@@ -38724,6 +38758,10 @@ export type Routes = {
38724
38758
  */
38725
38759
  upper_limit_fahrenheit: number | null;
38726
38760
  } | undefined) | undefined;
38761
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
38762
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
38763
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
38764
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
38727
38765
  });
38728
38766
  /** Location information for the device. */
38729
38767
  location: {
@@ -39033,6 +39071,7 @@ export type Routes = {
39033
39071
  can_simulate_connection?: boolean | undefined;
39034
39072
  can_simulate_disconnection?: boolean | undefined;
39035
39073
  can_unlock_with_code?: boolean | undefined;
39074
+ can_run_thermostat_programs?: boolean | undefined;
39036
39075
  }[];
39037
39076
  devices: {
39038
39077
  /** ID of the device. */
@@ -39922,6 +39961,10 @@ export type Routes = {
39922
39961
  */
39923
39962
  upper_limit_fahrenheit: number | null;
39924
39963
  } | undefined) | undefined;
39964
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
39965
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
39966
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
39967
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
39925
39968
  });
39926
39969
  /** Location information for the device. */
39927
39970
  location: {
@@ -40231,6 +40274,7 @@ export type Routes = {
40231
40274
  can_simulate_connection?: boolean | undefined;
40232
40275
  can_simulate_disconnection?: boolean | undefined;
40233
40276
  can_unlock_with_code?: boolean | undefined;
40277
+ can_run_thermostat_programs?: boolean | undefined;
40234
40278
  }[];
40235
40279
  };
40236
40280
  };
@@ -45306,9 +45350,9 @@ export type Routes = {
45306
45350
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
45307
45351
  page_cursor?: (string | undefined) | null;
45308
45352
  /** */
45309
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code')[] | undefined;
45353
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
45310
45354
  /** */
45311
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code')[] | undefined;
45355
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
45312
45356
  /**
45313
45357
  * @deprecated Use `space_id`.*/
45314
45358
  unstable_location_id?: (string | null) | undefined;
@@ -46209,6 +46253,10 @@ export type Routes = {
46209
46253
  */
46210
46254
  upper_limit_fahrenheit: number | null;
46211
46255
  } | undefined) | undefined;
46256
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
46257
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
46258
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
46259
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
46212
46260
  });
46213
46261
  /** Location information for the device. */
46214
46262
  location: {
@@ -46518,6 +46566,7 @@ export type Routes = {
46518
46566
  can_simulate_connection?: boolean | undefined;
46519
46567
  can_simulate_disconnection?: boolean | undefined;
46520
46568
  can_unlock_with_code?: boolean | undefined;
46569
+ can_run_thermostat_programs?: boolean | undefined;
46521
46570
  }[];
46522
46571
  devices: {
46523
46572
  /** ID of the device. */
@@ -47407,6 +47456,10 @@ export type Routes = {
47407
47456
  */
47408
47457
  upper_limit_fahrenheit: number | null;
47409
47458
  } | undefined) | undefined;
47459
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
47460
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
47461
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
47462
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
47410
47463
  });
47411
47464
  /** Location information for the device. */
47412
47465
  location: {
@@ -47716,6 +47769,7 @@ export type Routes = {
47716
47769
  can_simulate_connection?: boolean | undefined;
47717
47770
  can_simulate_disconnection?: boolean | undefined;
47718
47771
  can_unlock_with_code?: boolean | undefined;
47772
+ can_run_thermostat_programs?: boolean | undefined;
47719
47773
  }[];
47720
47774
  };
47721
47775
  };
@@ -52308,6 +52362,1859 @@ export type Routes = {
52308
52362
  formData: {};
52309
52363
  jsonResponse: {};
52310
52364
  };
52365
+ '/seam/customer/v1/events/list': {
52366
+ route: '/seam/customer/v1/events/list';
52367
+ method: 'GET' | 'POST';
52368
+ queryParams: {};
52369
+ jsonBody: {};
52370
+ commonParams: {
52371
+ /** ID of the space for which you want to list events. */
52372
+ space_id: string;
52373
+ /** Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. */
52374
+ since?: string | undefined;
52375
+ /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
52376
+ between?: (string | Date)[] | undefined;
52377
+ /** Type of the events that you want to list. */
52378
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
52379
+ /** Types of the events that you want to list. */
52380
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
52381
+ /** Numerical limit on the number of events to return. */
52382
+ limit?: number;
52383
+ };
52384
+ formData: {};
52385
+ jsonResponse: {
52386
+ events: ({
52387
+ /** ID of the event. */
52388
+ event_id: string;
52389
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52390
+ workspace_id: string;
52391
+ /** Date and time at which the event was created. */
52392
+ created_at: string;
52393
+ /** Date and time at which the event occurred. */
52394
+ occurred_at: string;
52395
+ /** ID of the affected access code. */
52396
+ access_code_id: string;
52397
+ /** ID of the device associated with the affected access code. */
52398
+ device_id: string;
52399
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52400
+ connected_account_id: string;
52401
+ /** Custom metadata of the device, present when device_id is provided. */
52402
+ device_custom_metadata?: {
52403
+ [x: string]: string | boolean;
52404
+ } | undefined;
52405
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52406
+ connected_account_custom_metadata?: {
52407
+ [x: string]: string | boolean;
52408
+ } | undefined;
52409
+ event_type: 'access_code.created';
52410
+ } | {
52411
+ /** ID of the event. */
52412
+ event_id: string;
52413
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52414
+ workspace_id: string;
52415
+ /** Date and time at which the event was created. */
52416
+ created_at: string;
52417
+ /** Date and time at which the event occurred. */
52418
+ occurred_at: string;
52419
+ /** ID of the affected access code. */
52420
+ access_code_id: string;
52421
+ /** ID of the device associated with the affected access code. */
52422
+ device_id: string;
52423
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52424
+ connected_account_id: string;
52425
+ /** Custom metadata of the device, present when device_id is provided. */
52426
+ device_custom_metadata?: {
52427
+ [x: string]: string | boolean;
52428
+ } | undefined;
52429
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52430
+ connected_account_custom_metadata?: {
52431
+ [x: string]: string | boolean;
52432
+ } | undefined;
52433
+ event_type: 'access_code.changed';
52434
+ } | {
52435
+ /** ID of the event. */
52436
+ event_id: string;
52437
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52438
+ workspace_id: string;
52439
+ /** Date and time at which the event was created. */
52440
+ created_at: string;
52441
+ /** Date and time at which the event occurred. */
52442
+ occurred_at: string;
52443
+ /** ID of the affected access code. */
52444
+ access_code_id: string;
52445
+ /** ID of the device associated with the affected access code. */
52446
+ device_id: string;
52447
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52448
+ connected_account_id: string;
52449
+ /** Custom metadata of the device, present when device_id is provided. */
52450
+ device_custom_metadata?: {
52451
+ [x: string]: string | boolean;
52452
+ } | undefined;
52453
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52454
+ connected_account_custom_metadata?: {
52455
+ [x: string]: string | boolean;
52456
+ } | undefined;
52457
+ event_type: 'access_code.scheduled_on_device';
52458
+ /** Code for the affected access code. */
52459
+ code: string;
52460
+ } | {
52461
+ /** ID of the event. */
52462
+ event_id: string;
52463
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52464
+ workspace_id: string;
52465
+ /** Date and time at which the event was created. */
52466
+ created_at: string;
52467
+ /** Date and time at which the event occurred. */
52468
+ occurred_at: string;
52469
+ /** ID of the affected access code. */
52470
+ access_code_id: string;
52471
+ /** ID of the device associated with the affected access code. */
52472
+ device_id: string;
52473
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52474
+ connected_account_id: string;
52475
+ /** Custom metadata of the device, present when device_id is provided. */
52476
+ device_custom_metadata?: {
52477
+ [x: string]: string | boolean;
52478
+ } | undefined;
52479
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52480
+ connected_account_custom_metadata?: {
52481
+ [x: string]: string | boolean;
52482
+ } | undefined;
52483
+ event_type: 'access_code.set_on_device';
52484
+ /** Code for the affected access code. */
52485
+ code: string;
52486
+ } | {
52487
+ /** ID of the event. */
52488
+ event_id: string;
52489
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52490
+ workspace_id: string;
52491
+ /** Date and time at which the event was created. */
52492
+ created_at: string;
52493
+ /** Date and time at which the event occurred. */
52494
+ occurred_at: string;
52495
+ /** ID of the affected access code. */
52496
+ access_code_id: string;
52497
+ /** ID of the device associated with the affected access code. */
52498
+ device_id: string;
52499
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52500
+ connected_account_id: string;
52501
+ /** Custom metadata of the device, present when device_id is provided. */
52502
+ device_custom_metadata?: {
52503
+ [x: string]: string | boolean;
52504
+ } | undefined;
52505
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52506
+ connected_account_custom_metadata?: {
52507
+ [x: string]: string | boolean;
52508
+ } | undefined;
52509
+ event_type: 'access_code.removed_from_device';
52510
+ } | {
52511
+ /** ID of the event. */
52512
+ event_id: string;
52513
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52514
+ workspace_id: string;
52515
+ /** Date and time at which the event was created. */
52516
+ created_at: string;
52517
+ /** Date and time at which the event occurred. */
52518
+ occurred_at: string;
52519
+ /** ID of the affected access code. */
52520
+ access_code_id: string;
52521
+ /** ID of the device associated with the affected access code. */
52522
+ device_id: string;
52523
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52524
+ connected_account_id: string;
52525
+ /** Custom metadata of the device, present when device_id is provided. */
52526
+ device_custom_metadata?: {
52527
+ [x: string]: string | boolean;
52528
+ } | undefined;
52529
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52530
+ connected_account_custom_metadata?: {
52531
+ [x: string]: string | boolean;
52532
+ } | undefined;
52533
+ event_type: 'access_code.delay_in_setting_on_device';
52534
+ } | {
52535
+ /** ID of the event. */
52536
+ event_id: string;
52537
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52538
+ workspace_id: string;
52539
+ /** Date and time at which the event was created. */
52540
+ created_at: string;
52541
+ /** Date and time at which the event occurred. */
52542
+ occurred_at: string;
52543
+ /** ID of the affected access code. */
52544
+ access_code_id: string;
52545
+ /** ID of the device associated with the affected access code. */
52546
+ device_id: string;
52547
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52548
+ connected_account_id: string;
52549
+ /** Custom metadata of the device, present when device_id is provided. */
52550
+ device_custom_metadata?: {
52551
+ [x: string]: string | boolean;
52552
+ } | undefined;
52553
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52554
+ connected_account_custom_metadata?: {
52555
+ [x: string]: string | boolean;
52556
+ } | undefined;
52557
+ event_type: 'access_code.failed_to_set_on_device';
52558
+ } | {
52559
+ /** ID of the event. */
52560
+ event_id: string;
52561
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52562
+ workspace_id: string;
52563
+ /** Date and time at which the event was created. */
52564
+ created_at: string;
52565
+ /** Date and time at which the event occurred. */
52566
+ occurred_at: string;
52567
+ /** ID of the affected access code. */
52568
+ access_code_id: string;
52569
+ /** ID of the device associated with the affected access code. */
52570
+ device_id: string;
52571
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52572
+ connected_account_id: string;
52573
+ /** Custom metadata of the device, present when device_id is provided. */
52574
+ device_custom_metadata?: {
52575
+ [x: string]: string | boolean;
52576
+ } | undefined;
52577
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52578
+ connected_account_custom_metadata?: {
52579
+ [x: string]: string | boolean;
52580
+ } | undefined;
52581
+ event_type: 'access_code.deleted';
52582
+ /** Code for the affected access code. */
52583
+ code: string | null;
52584
+ } | {
52585
+ /** ID of the event. */
52586
+ event_id: string;
52587
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52588
+ workspace_id: string;
52589
+ /** Date and time at which the event was created. */
52590
+ created_at: string;
52591
+ /** Date and time at which the event occurred. */
52592
+ occurred_at: string;
52593
+ /** ID of the affected access code. */
52594
+ access_code_id: string;
52595
+ /** ID of the device associated with the affected access code. */
52596
+ device_id: string;
52597
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52598
+ connected_account_id: string;
52599
+ /** Custom metadata of the device, present when device_id is provided. */
52600
+ device_custom_metadata?: {
52601
+ [x: string]: string | boolean;
52602
+ } | undefined;
52603
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52604
+ connected_account_custom_metadata?: {
52605
+ [x: string]: string | boolean;
52606
+ } | undefined;
52607
+ event_type: 'access_code.delay_in_removing_from_device';
52608
+ } | {
52609
+ /** ID of the event. */
52610
+ event_id: string;
52611
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52612
+ workspace_id: string;
52613
+ /** Date and time at which the event was created. */
52614
+ created_at: string;
52615
+ /** Date and time at which the event occurred. */
52616
+ occurred_at: string;
52617
+ /** ID of the affected access code. */
52618
+ access_code_id: string;
52619
+ /** ID of the device associated with the affected access code. */
52620
+ device_id: string;
52621
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52622
+ connected_account_id: string;
52623
+ /** Custom metadata of the device, present when device_id is provided. */
52624
+ device_custom_metadata?: {
52625
+ [x: string]: string | boolean;
52626
+ } | undefined;
52627
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52628
+ connected_account_custom_metadata?: {
52629
+ [x: string]: string | boolean;
52630
+ } | undefined;
52631
+ event_type: 'access_code.failed_to_remove_from_device';
52632
+ } | {
52633
+ /** ID of the event. */
52634
+ event_id: string;
52635
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52636
+ workspace_id: string;
52637
+ /** Date and time at which the event was created. */
52638
+ created_at: string;
52639
+ /** Date and time at which the event occurred. */
52640
+ occurred_at: string;
52641
+ /** ID of the affected access code. */
52642
+ access_code_id: string;
52643
+ /** ID of the device associated with the affected access code. */
52644
+ device_id: string;
52645
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52646
+ connected_account_id: string;
52647
+ /** Custom metadata of the device, present when device_id is provided. */
52648
+ device_custom_metadata?: {
52649
+ [x: string]: string | boolean;
52650
+ } | undefined;
52651
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52652
+ connected_account_custom_metadata?: {
52653
+ [x: string]: string | boolean;
52654
+ } | undefined;
52655
+ event_type: 'access_code.modified_external_to_seam';
52656
+ } | {
52657
+ /** ID of the event. */
52658
+ event_id: string;
52659
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52660
+ workspace_id: string;
52661
+ /** Date and time at which the event was created. */
52662
+ created_at: string;
52663
+ /** Date and time at which the event occurred. */
52664
+ occurred_at: string;
52665
+ /** ID of the affected access code. */
52666
+ access_code_id: string;
52667
+ /** ID of the device associated with the affected access code. */
52668
+ device_id: string;
52669
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52670
+ connected_account_id: string;
52671
+ /** Custom metadata of the device, present when device_id is provided. */
52672
+ device_custom_metadata?: {
52673
+ [x: string]: string | boolean;
52674
+ } | undefined;
52675
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52676
+ connected_account_custom_metadata?: {
52677
+ [x: string]: string | boolean;
52678
+ } | undefined;
52679
+ event_type: 'access_code.deleted_external_to_seam';
52680
+ } | {
52681
+ /** ID of the event. */
52682
+ event_id: string;
52683
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52684
+ workspace_id: string;
52685
+ /** Date and time at which the event was created. */
52686
+ created_at: string;
52687
+ /** Date and time at which the event occurred. */
52688
+ occurred_at: string;
52689
+ /** ID of the affected access code. */
52690
+ access_code_id: string;
52691
+ /** ID of the device associated with the affected access code. */
52692
+ device_id: string;
52693
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52694
+ connected_account_id: string;
52695
+ /** Custom metadata of the device, present when device_id is provided. */
52696
+ device_custom_metadata?: {
52697
+ [x: string]: string | boolean;
52698
+ } | undefined;
52699
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52700
+ connected_account_custom_metadata?: {
52701
+ [x: string]: string | boolean;
52702
+ } | undefined;
52703
+ event_type: 'access_code.backup_access_code_pulled';
52704
+ backup_access_code_id: string;
52705
+ } | {
52706
+ /** ID of the event. */
52707
+ event_id: string;
52708
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52709
+ workspace_id: string;
52710
+ /** Date and time at which the event was created. */
52711
+ created_at: string;
52712
+ /** Date and time at which the event occurred. */
52713
+ occurred_at: string;
52714
+ /** ID of the affected access code. */
52715
+ access_code_id: string;
52716
+ /** ID of the device associated with the affected access code. */
52717
+ device_id: string;
52718
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52719
+ connected_account_id: string;
52720
+ /** Custom metadata of the device, present when device_id is provided. */
52721
+ device_custom_metadata?: {
52722
+ [x: string]: string | boolean;
52723
+ } | undefined;
52724
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52725
+ connected_account_custom_metadata?: {
52726
+ [x: string]: string | boolean;
52727
+ } | undefined;
52728
+ event_type: 'access_code.unmanaged.converted_to_managed';
52729
+ } | {
52730
+ /** ID of the event. */
52731
+ event_id: string;
52732
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52733
+ workspace_id: string;
52734
+ /** Date and time at which the event was created. */
52735
+ created_at: string;
52736
+ /** Date and time at which the event occurred. */
52737
+ occurred_at: string;
52738
+ /** ID of the affected access code. */
52739
+ access_code_id: string;
52740
+ /** ID of the device associated with the affected access code. */
52741
+ device_id: string;
52742
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52743
+ connected_account_id: string;
52744
+ /** Custom metadata of the device, present when device_id is provided. */
52745
+ device_custom_metadata?: {
52746
+ [x: string]: string | boolean;
52747
+ } | undefined;
52748
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52749
+ connected_account_custom_metadata?: {
52750
+ [x: string]: string | boolean;
52751
+ } | undefined;
52752
+ event_type: 'access_code.unmanaged.failed_to_convert_to_managed';
52753
+ } | {
52754
+ /** ID of the event. */
52755
+ event_id: string;
52756
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52757
+ workspace_id: string;
52758
+ /** Date and time at which the event was created. */
52759
+ created_at: string;
52760
+ /** Date and time at which the event occurred. */
52761
+ occurred_at: string;
52762
+ /** ID of the affected access code. */
52763
+ access_code_id: string;
52764
+ /** ID of the device associated with the affected access code. */
52765
+ device_id: string;
52766
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52767
+ connected_account_id: string;
52768
+ /** Custom metadata of the device, present when device_id is provided. */
52769
+ device_custom_metadata?: {
52770
+ [x: string]: string | boolean;
52771
+ } | undefined;
52772
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52773
+ connected_account_custom_metadata?: {
52774
+ [x: string]: string | boolean;
52775
+ } | undefined;
52776
+ event_type: 'access_code.unmanaged.created';
52777
+ } | {
52778
+ /** ID of the event. */
52779
+ event_id: string;
52780
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52781
+ workspace_id: string;
52782
+ /** Date and time at which the event was created. */
52783
+ created_at: string;
52784
+ /** Date and time at which the event occurred. */
52785
+ occurred_at: string;
52786
+ /** ID of the affected access code. */
52787
+ access_code_id: string;
52788
+ /** ID of the device associated with the affected access code. */
52789
+ device_id: string;
52790
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
52791
+ connected_account_id: string;
52792
+ /** Custom metadata of the device, present when device_id is provided. */
52793
+ device_custom_metadata?: {
52794
+ [x: string]: string | boolean;
52795
+ } | undefined;
52796
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52797
+ connected_account_custom_metadata?: {
52798
+ [x: string]: string | boolean;
52799
+ } | undefined;
52800
+ event_type: 'access_code.unmanaged.removed';
52801
+ } | {
52802
+ /** ID of the event. */
52803
+ event_id: string;
52804
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52805
+ workspace_id: string;
52806
+ /** Date and time at which the event was created. */
52807
+ created_at: string;
52808
+ /** Date and time at which the event occurred. */
52809
+ occurred_at: string;
52810
+ /** ID of the affected Access Grant. */
52811
+ access_grant_id: string;
52812
+ event_type: 'access_grant.created';
52813
+ } | {
52814
+ /** ID of the event. */
52815
+ event_id: string;
52816
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52817
+ workspace_id: string;
52818
+ /** Date and time at which the event was created. */
52819
+ created_at: string;
52820
+ /** Date and time at which the event occurred. */
52821
+ occurred_at: string;
52822
+ /** ID of the affected Access Grant. */
52823
+ access_grant_id: string;
52824
+ event_type: 'access_grant.deleted';
52825
+ } | {
52826
+ /** ID of the event. */
52827
+ event_id: string;
52828
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52829
+ workspace_id: string;
52830
+ /** Date and time at which the event was created. */
52831
+ created_at: string;
52832
+ /** Date and time at which the event occurred. */
52833
+ occurred_at: string;
52834
+ /** ID of the affected Access Grant. */
52835
+ access_grant_id: string;
52836
+ event_type: 'access_grant.access_granted_to_all_doors';
52837
+ } | {
52838
+ /** ID of the event. */
52839
+ event_id: string;
52840
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52841
+ workspace_id: string;
52842
+ /** Date and time at which the event was created. */
52843
+ created_at: string;
52844
+ /** Date and time at which the event occurred. */
52845
+ occurred_at: string;
52846
+ /** ID of the affected Access Grant. */
52847
+ access_grant_id: string;
52848
+ event_type: 'access_grant.access_granted_to_door';
52849
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
52850
+ acs_entrance_id: string;
52851
+ } | {
52852
+ /** ID of the event. */
52853
+ event_id: string;
52854
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52855
+ workspace_id: string;
52856
+ /** Date and time at which the event was created. */
52857
+ created_at: string;
52858
+ /** Date and time at which the event occurred. */
52859
+ occurred_at: string;
52860
+ /** ID of the affected Access Grant. */
52861
+ access_grant_id: string;
52862
+ event_type: 'access_grant.access_to_door_lost';
52863
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
52864
+ acs_entrance_id: string;
52865
+ } | {
52866
+ /** ID of the event. */
52867
+ event_id: string;
52868
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52869
+ workspace_id: string;
52870
+ /** Date and time at which the event was created. */
52871
+ created_at: string;
52872
+ /** Date and time at which the event occurred. */
52873
+ occurred_at: string;
52874
+ /** ID of the affected access method. */
52875
+ access_method_id: string;
52876
+ event_type: 'access_method.issued';
52877
+ } | {
52878
+ /** ID of the event. */
52879
+ event_id: string;
52880
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52881
+ workspace_id: string;
52882
+ /** Date and time at which the event was created. */
52883
+ created_at: string;
52884
+ /** Date and time at which the event occurred. */
52885
+ occurred_at: string;
52886
+ /** ID of the affected access method. */
52887
+ access_method_id: string;
52888
+ event_type: 'access_method.revoked';
52889
+ } | {
52890
+ /** ID of the event. */
52891
+ event_id: string;
52892
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52893
+ workspace_id: string;
52894
+ /** Date and time at which the event was created. */
52895
+ created_at: string;
52896
+ /** Date and time at which the event occurred. */
52897
+ occurred_at: string;
52898
+ /** ID of the affected access method. */
52899
+ access_method_id: string;
52900
+ event_type: 'access_method.card_encoding_required';
52901
+ } | {
52902
+ /** ID of the event. */
52903
+ event_id: string;
52904
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52905
+ workspace_id: string;
52906
+ /** Date and time at which the event was created. */
52907
+ created_at: string;
52908
+ /** Date and time at which the event occurred. */
52909
+ occurred_at: string;
52910
+ /** ID of the affected access method. */
52911
+ access_method_id: string;
52912
+ event_type: 'access_method.deleted';
52913
+ } | {
52914
+ /** ID of the event. */
52915
+ event_id: string;
52916
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52917
+ workspace_id: string;
52918
+ /** Date and time at which the event was created. */
52919
+ created_at: string;
52920
+ /** Date and time at which the event occurred. */
52921
+ occurred_at: string;
52922
+ /** ID of the affected access method. */
52923
+ access_method_id: string;
52924
+ event_type: 'access_method.reissued';
52925
+ } | {
52926
+ /** ID of the event. */
52927
+ event_id: string;
52928
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52929
+ workspace_id: string;
52930
+ /** Date and time at which the event was created. */
52931
+ created_at: string;
52932
+ /** Date and time at which the event occurred. */
52933
+ occurred_at: string;
52934
+ /** ID of the connected account. */
52935
+ connected_account_id?: string | undefined;
52936
+ /** ID of the access system. */
52937
+ acs_system_id: string;
52938
+ event_type: 'acs_system.connected';
52939
+ } | {
52940
+ /** ID of the event. */
52941
+ event_id: string;
52942
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52943
+ workspace_id: string;
52944
+ /** Date and time at which the event was created. */
52945
+ created_at: string;
52946
+ /** Date and time at which the event occurred. */
52947
+ occurred_at: string;
52948
+ /** ID of the connected account. */
52949
+ connected_account_id?: string | undefined;
52950
+ /** ID of the access system. */
52951
+ acs_system_id: string;
52952
+ event_type: 'acs_system.added';
52953
+ } | {
52954
+ /** ID of the event. */
52955
+ event_id: string;
52956
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52957
+ workspace_id: string;
52958
+ /** Date and time at which the event was created. */
52959
+ created_at: string;
52960
+ /** Date and time at which the event occurred. */
52961
+ occurred_at: string;
52962
+ /** ID of the connected account. */
52963
+ connected_account_id?: string | undefined;
52964
+ /** ID of the access system. */
52965
+ acs_system_id: string;
52966
+ event_type: 'acs_system.disconnected';
52967
+ } | {
52968
+ /** ID of the event. */
52969
+ event_id: string;
52970
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52971
+ workspace_id: string;
52972
+ /** Date and time at which the event was created. */
52973
+ created_at: string;
52974
+ /** Date and time at which the event occurred. */
52975
+ occurred_at: string;
52976
+ /** ID of the connected account. */
52977
+ connected_account_id?: string | undefined;
52978
+ /** ID of the access system. */
52979
+ acs_system_id: string;
52980
+ /** ID of the affected credential. */
52981
+ acs_credential_id: string;
52982
+ event_type: 'acs_credential.deleted';
52983
+ } | {
52984
+ /** ID of the event. */
52985
+ event_id: string;
52986
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
52987
+ workspace_id: string;
52988
+ /** Date and time at which the event was created. */
52989
+ created_at: string;
52990
+ /** Date and time at which the event occurred. */
52991
+ occurred_at: string;
52992
+ /** ID of the connected account. */
52993
+ connected_account_id?: string | undefined;
52994
+ /** ID of the access system. */
52995
+ acs_system_id: string;
52996
+ /** ID of the affected credential. */
52997
+ acs_credential_id: string;
52998
+ event_type: 'acs_credential.issued';
52999
+ } | {
53000
+ /** ID of the event. */
53001
+ event_id: string;
53002
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53003
+ workspace_id: string;
53004
+ /** Date and time at which the event was created. */
53005
+ created_at: string;
53006
+ /** Date and time at which the event occurred. */
53007
+ occurred_at: string;
53008
+ /** ID of the connected account. */
53009
+ connected_account_id?: string | undefined;
53010
+ /** ID of the access system. */
53011
+ acs_system_id: string;
53012
+ /** ID of the affected credential. */
53013
+ acs_credential_id: string;
53014
+ event_type: 'acs_credential.reissued';
53015
+ } | {
53016
+ /** ID of the event. */
53017
+ event_id: string;
53018
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53019
+ workspace_id: string;
53020
+ /** Date and time at which the event was created. */
53021
+ created_at: string;
53022
+ /** Date and time at which the event occurred. */
53023
+ occurred_at: string;
53024
+ /** ID of the connected account. */
53025
+ connected_account_id?: string | undefined;
53026
+ /** ID of the access system. */
53027
+ acs_system_id: string;
53028
+ /** ID of the affected credential. */
53029
+ acs_credential_id: string;
53030
+ event_type: 'acs_credential.invalidated';
53031
+ } | {
53032
+ /** ID of the event. */
53033
+ event_id: string;
53034
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53035
+ workspace_id: string;
53036
+ /** Date and time at which the event was created. */
53037
+ created_at: string;
53038
+ /** Date and time at which the event occurred. */
53039
+ occurred_at: string;
53040
+ /** ID of the connected account. */
53041
+ connected_account_id?: string | undefined;
53042
+ /** ID of the access system. */
53043
+ acs_system_id: string;
53044
+ acs_user_id: string;
53045
+ event_type: 'acs_user.created';
53046
+ } | {
53047
+ /** ID of the event. */
53048
+ event_id: string;
53049
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53050
+ workspace_id: string;
53051
+ /** Date and time at which the event was created. */
53052
+ created_at: string;
53053
+ /** Date and time at which the event occurred. */
53054
+ occurred_at: string;
53055
+ /** ID of the connected account. */
53056
+ connected_account_id?: string | undefined;
53057
+ /** ID of the access system. */
53058
+ acs_system_id: string;
53059
+ acs_user_id: string;
53060
+ event_type: 'acs_user.deleted';
53061
+ } | {
53062
+ /** ID of the event. */
53063
+ event_id: string;
53064
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53065
+ workspace_id: string;
53066
+ /** Date and time at which the event was created. */
53067
+ created_at: string;
53068
+ /** Date and time at which the event occurred. */
53069
+ occurred_at: string;
53070
+ /** ID of the connected account. */
53071
+ connected_account_id?: string | undefined;
53072
+ /** ID of the access system. */
53073
+ acs_system_id: string;
53074
+ /** ID of the affected encoder. */
53075
+ acs_encoder_id: string;
53076
+ event_type: 'acs_encoder.added';
53077
+ } | {
53078
+ /** ID of the event. */
53079
+ event_id: string;
53080
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53081
+ workspace_id: string;
53082
+ /** Date and time at which the event was created. */
53083
+ created_at: string;
53084
+ /** Date and time at which the event occurred. */
53085
+ occurred_at: string;
53086
+ /** ID of the connected account. */
53087
+ connected_account_id?: string | undefined;
53088
+ /** ID of the access system. */
53089
+ acs_system_id: string;
53090
+ /** ID of the affected encoder. */
53091
+ acs_encoder_id: string;
53092
+ event_type: 'acs_encoder.removed';
53093
+ } | {
53094
+ /** ID of the event. */
53095
+ event_id: string;
53096
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53097
+ workspace_id: string;
53098
+ /** Date and time at which the event was created. */
53099
+ created_at: string;
53100
+ /** Date and time at which the event occurred. */
53101
+ occurred_at: string;
53102
+ /** ID of the connected account. */
53103
+ connected_account_id?: string | undefined;
53104
+ /** ID of the access system. */
53105
+ acs_system_id: string;
53106
+ /** ID of the affected access group. */
53107
+ acs_access_group_id: string;
53108
+ event_type: 'acs_access_group.deleted';
53109
+ } | {
53110
+ /** ID of the event. */
53111
+ event_id: string;
53112
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53113
+ workspace_id: string;
53114
+ /** Date and time at which the event was created. */
53115
+ created_at: string;
53116
+ /** Date and time at which the event occurred. */
53117
+ occurred_at: string;
53118
+ /** ID of the connected account. */
53119
+ connected_account_id?: string | undefined;
53120
+ /** ID of the access system. */
53121
+ acs_system_id: string;
53122
+ acs_entrance_id: string;
53123
+ event_type: 'acs_entrance.added';
53124
+ } | {
53125
+ /** ID of the event. */
53126
+ event_id: string;
53127
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53128
+ workspace_id: string;
53129
+ /** Date and time at which the event was created. */
53130
+ created_at: string;
53131
+ /** Date and time at which the event occurred. */
53132
+ occurred_at: string;
53133
+ /** ID of the connected account. */
53134
+ connected_account_id?: string | undefined;
53135
+ /** ID of the access system. */
53136
+ acs_system_id: string;
53137
+ acs_entrance_id: string;
53138
+ event_type: 'acs_entrance.removed';
53139
+ } | {
53140
+ /** ID of the event. */
53141
+ event_id: string;
53142
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53143
+ workspace_id: string;
53144
+ /** Date and time at which the event was created. */
53145
+ created_at: string;
53146
+ /** Date and time at which the event occurred. */
53147
+ occurred_at: string;
53148
+ /** ID of the affected client session. */
53149
+ client_session_id: string;
53150
+ event_type: 'client_session.deleted';
53151
+ } | {
53152
+ /** ID of the event. */
53153
+ event_id: string;
53154
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53155
+ workspace_id: string;
53156
+ /** Date and time at which the event was created. */
53157
+ created_at: string;
53158
+ /** Date and time at which the event occurred. */
53159
+ occurred_at: string;
53160
+ /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
53161
+ connected_account_id: string;
53162
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53163
+ connected_account_custom_metadata?: {
53164
+ [x: string]: string | boolean;
53165
+ } | undefined;
53166
+ event_type: 'connected_account.connected';
53167
+ /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
53168
+ connect_webview_id: string;
53169
+ } | {
53170
+ /** ID of the event. */
53171
+ event_id: string;
53172
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53173
+ workspace_id: string;
53174
+ /** Date and time at which the event was created. */
53175
+ created_at: string;
53176
+ /** Date and time at which the event occurred. */
53177
+ occurred_at: string;
53178
+ /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
53179
+ connected_account_id: string;
53180
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53181
+ connected_account_custom_metadata?: {
53182
+ [x: string]: string | boolean;
53183
+ } | undefined;
53184
+ event_type: 'connected_account.created';
53185
+ /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
53186
+ connect_webview_id: string;
53187
+ } | {
53188
+ /** ID of the event. */
53189
+ event_id: string;
53190
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53191
+ workspace_id: string;
53192
+ /** Date and time at which the event was created. */
53193
+ created_at: string;
53194
+ /** Date and time at which the event occurred. */
53195
+ occurred_at: string;
53196
+ /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
53197
+ connected_account_id: string;
53198
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53199
+ connected_account_custom_metadata?: {
53200
+ [x: string]: string | boolean;
53201
+ } | undefined;
53202
+ event_type: 'connected_account.successful_login';
53203
+ /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
53204
+ connect_webview_id: string;
53205
+ } | {
53206
+ /** ID of the event. */
53207
+ event_id: string;
53208
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53209
+ workspace_id: string;
53210
+ /** Date and time at which the event was created. */
53211
+ created_at: string;
53212
+ /** Date and time at which the event occurred. */
53213
+ occurred_at: string;
53214
+ /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
53215
+ connected_account_id: string;
53216
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53217
+ connected_account_custom_metadata?: {
53218
+ [x: string]: string | boolean;
53219
+ } | undefined;
53220
+ event_type: 'connected_account.disconnected';
53221
+ } | {
53222
+ /** ID of the event. */
53223
+ event_id: string;
53224
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53225
+ workspace_id: string;
53226
+ /** Date and time at which the event was created. */
53227
+ created_at: string;
53228
+ /** Date and time at which the event occurred. */
53229
+ occurred_at: string;
53230
+ /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
53231
+ connected_account_id: string;
53232
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53233
+ connected_account_custom_metadata?: {
53234
+ [x: string]: string | boolean;
53235
+ } | undefined;
53236
+ event_type: 'connected_account.completed_first_sync';
53237
+ } | {
53238
+ /** ID of the event. */
53239
+ event_id: string;
53240
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53241
+ workspace_id: string;
53242
+ /** Date and time at which the event was created. */
53243
+ created_at: string;
53244
+ /** Date and time at which the event occurred. */
53245
+ occurred_at: string;
53246
+ /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
53247
+ connected_account_id: string;
53248
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53249
+ connected_account_custom_metadata?: {
53250
+ [x: string]: string | boolean;
53251
+ } | undefined;
53252
+ event_type: 'connected_account.deleted';
53253
+ } | {
53254
+ /** ID of the event. */
53255
+ event_id: string;
53256
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53257
+ workspace_id: string;
53258
+ /** Date and time at which the event was created. */
53259
+ created_at: string;
53260
+ /** Date and time at which the event occurred. */
53261
+ occurred_at: string;
53262
+ /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
53263
+ connected_account_id: string;
53264
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53265
+ connected_account_custom_metadata?: {
53266
+ [x: string]: string | boolean;
53267
+ } | undefined;
53268
+ event_type: 'connected_account.completed_first_sync_after_reconnection';
53269
+ } | {
53270
+ /** ID of the event. */
53271
+ event_id: string;
53272
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53273
+ workspace_id: string;
53274
+ /** Date and time at which the event was created. */
53275
+ created_at: string;
53276
+ /** Date and time at which the event occurred. */
53277
+ occurred_at: string;
53278
+ /** ID of the affected action attempt. */
53279
+ action_attempt_id: string;
53280
+ /** Type of the action. */
53281
+ action_type: string;
53282
+ /** Status of the action. */
53283
+ status: string;
53284
+ event_type: 'action_attempt.lock_door.succeeded';
53285
+ } | {
53286
+ /** ID of the event. */
53287
+ event_id: string;
53288
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53289
+ workspace_id: string;
53290
+ /** Date and time at which the event was created. */
53291
+ created_at: string;
53292
+ /** Date and time at which the event occurred. */
53293
+ occurred_at: string;
53294
+ /** ID of the affected action attempt. */
53295
+ action_attempt_id: string;
53296
+ /** Type of the action. */
53297
+ action_type: string;
53298
+ /** Status of the action. */
53299
+ status: string;
53300
+ event_type: 'action_attempt.lock_door.failed';
53301
+ } | {
53302
+ /** ID of the event. */
53303
+ event_id: string;
53304
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53305
+ workspace_id: string;
53306
+ /** Date and time at which the event was created. */
53307
+ created_at: string;
53308
+ /** Date and time at which the event occurred. */
53309
+ occurred_at: string;
53310
+ /** ID of the affected action attempt. */
53311
+ action_attempt_id: string;
53312
+ /** Type of the action. */
53313
+ action_type: string;
53314
+ /** Status of the action. */
53315
+ status: string;
53316
+ event_type: 'action_attempt.unlock_door.succeeded';
53317
+ } | {
53318
+ /** ID of the event. */
53319
+ event_id: string;
53320
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53321
+ workspace_id: string;
53322
+ /** Date and time at which the event was created. */
53323
+ created_at: string;
53324
+ /** Date and time at which the event occurred. */
53325
+ occurred_at: string;
53326
+ /** ID of the affected action attempt. */
53327
+ action_attempt_id: string;
53328
+ /** Type of the action. */
53329
+ action_type: string;
53330
+ /** Status of the action. */
53331
+ status: string;
53332
+ event_type: 'action_attempt.unlock_door.failed';
53333
+ } | {
53334
+ /** ID of the event. */
53335
+ event_id: string;
53336
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53337
+ workspace_id: string;
53338
+ /** Date and time at which the event was created. */
53339
+ created_at: string;
53340
+ /** Date and time at which the event occurred. */
53341
+ occurred_at: string;
53342
+ /** ID of the affected [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
53343
+ connect_webview_id: string;
53344
+ event_type: 'connect_webview.login_succeeded';
53345
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53346
+ connected_account_id: string;
53347
+ /** Custom metadata of the connected account; present when connected_account_id is provided. */
53348
+ connected_account_custom_metadata?: {
53349
+ [x: string]: string | boolean;
53350
+ } | undefined;
53351
+ } | {
53352
+ /** ID of the event. */
53353
+ event_id: string;
53354
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53355
+ workspace_id: string;
53356
+ /** Date and time at which the event was created. */
53357
+ created_at: string;
53358
+ /** Date and time at which the event occurred. */
53359
+ occurred_at: string;
53360
+ /** ID of the affected [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
53361
+ connect_webview_id: string;
53362
+ event_type: 'connect_webview.login_failed';
53363
+ } | {
53364
+ /** ID of the event. */
53365
+ event_id: string;
53366
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53367
+ workspace_id: string;
53368
+ /** Date and time at which the event was created. */
53369
+ created_at: string;
53370
+ /** Date and time at which the event occurred. */
53371
+ occurred_at: string;
53372
+ /** ID of the affected device. */
53373
+ device_id: string;
53374
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53375
+ connected_account_id: string;
53376
+ /** Custom metadata of the device, present when device_id is provided. */
53377
+ device_custom_metadata?: {
53378
+ [x: string]: string | boolean;
53379
+ } | undefined;
53380
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53381
+ connected_account_custom_metadata?: {
53382
+ [x: string]: string | boolean;
53383
+ } | undefined;
53384
+ event_type: 'device.connected';
53385
+ } | {
53386
+ /** ID of the event. */
53387
+ event_id: string;
53388
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53389
+ workspace_id: string;
53390
+ /** Date and time at which the event was created. */
53391
+ created_at: string;
53392
+ /** Date and time at which the event occurred. */
53393
+ occurred_at: string;
53394
+ /** ID of the affected device. */
53395
+ device_id: string;
53396
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53397
+ connected_account_id: string;
53398
+ /** Custom metadata of the device, present when device_id is provided. */
53399
+ device_custom_metadata?: {
53400
+ [x: string]: string | boolean;
53401
+ } | undefined;
53402
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53403
+ connected_account_custom_metadata?: {
53404
+ [x: string]: string | boolean;
53405
+ } | undefined;
53406
+ event_type: 'device.added';
53407
+ } | {
53408
+ /** ID of the event. */
53409
+ event_id: string;
53410
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53411
+ workspace_id: string;
53412
+ /** Date and time at which the event was created. */
53413
+ created_at: string;
53414
+ /** Date and time at which the event occurred. */
53415
+ occurred_at: string;
53416
+ /** ID of the affected device. */
53417
+ device_id: string;
53418
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53419
+ connected_account_id: string;
53420
+ /** Custom metadata of the device, present when device_id is provided. */
53421
+ device_custom_metadata?: {
53422
+ [x: string]: string | boolean;
53423
+ } | undefined;
53424
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53425
+ connected_account_custom_metadata?: {
53426
+ [x: string]: string | boolean;
53427
+ } | undefined;
53428
+ event_type: 'device.converted_to_unmanaged';
53429
+ } | {
53430
+ /** ID of the event. */
53431
+ event_id: string;
53432
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53433
+ workspace_id: string;
53434
+ /** Date and time at which the event was created. */
53435
+ created_at: string;
53436
+ /** Date and time at which the event occurred. */
53437
+ occurred_at: string;
53438
+ /** ID of the affected device. */
53439
+ device_id: string;
53440
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53441
+ connected_account_id: string;
53442
+ /** Custom metadata of the device, present when device_id is provided. */
53443
+ device_custom_metadata?: {
53444
+ [x: string]: string | boolean;
53445
+ } | undefined;
53446
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53447
+ connected_account_custom_metadata?: {
53448
+ [x: string]: string | boolean;
53449
+ } | undefined;
53450
+ event_type: 'device.unmanaged.converted_to_managed';
53451
+ } | {
53452
+ /** ID of the event. */
53453
+ event_id: string;
53454
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53455
+ workspace_id: string;
53456
+ /** Date and time at which the event was created. */
53457
+ created_at: string;
53458
+ /** Date and time at which the event occurred. */
53459
+ occurred_at: string;
53460
+ /** ID of the affected device. */
53461
+ device_id: string;
53462
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53463
+ connected_account_id: string;
53464
+ /** Custom metadata of the device, present when device_id is provided. */
53465
+ device_custom_metadata?: {
53466
+ [x: string]: string | boolean;
53467
+ } | undefined;
53468
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53469
+ connected_account_custom_metadata?: {
53470
+ [x: string]: string | boolean;
53471
+ } | undefined;
53472
+ event_type: 'device.unmanaged.connected';
53473
+ } | {
53474
+ /** ID of the event. */
53475
+ event_id: string;
53476
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53477
+ workspace_id: string;
53478
+ /** Date and time at which the event was created. */
53479
+ created_at: string;
53480
+ /** Date and time at which the event occurred. */
53481
+ occurred_at: string;
53482
+ /** ID of the affected device. */
53483
+ device_id: string;
53484
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53485
+ connected_account_id: string;
53486
+ /** Custom metadata of the device, present when device_id is provided. */
53487
+ device_custom_metadata?: {
53488
+ [x: string]: string | boolean;
53489
+ } | undefined;
53490
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53491
+ connected_account_custom_metadata?: {
53492
+ [x: string]: string | boolean;
53493
+ } | undefined;
53494
+ event_type: 'device.disconnected';
53495
+ /** Error code associated with the disconnection event, if any. */
53496
+ error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
53497
+ } | {
53498
+ /** ID of the event. */
53499
+ event_id: string;
53500
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53501
+ workspace_id: string;
53502
+ /** Date and time at which the event was created. */
53503
+ created_at: string;
53504
+ /** Date and time at which the event occurred. */
53505
+ occurred_at: string;
53506
+ /** ID of the affected device. */
53507
+ device_id: string;
53508
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53509
+ connected_account_id: string;
53510
+ /** Custom metadata of the device, present when device_id is provided. */
53511
+ device_custom_metadata?: {
53512
+ [x: string]: string | boolean;
53513
+ } | undefined;
53514
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53515
+ connected_account_custom_metadata?: {
53516
+ [x: string]: string | boolean;
53517
+ } | undefined;
53518
+ event_type: 'device.unmanaged.disconnected';
53519
+ /** Error code associated with the disconnection event, if any. */
53520
+ error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
53521
+ } | {
53522
+ /** ID of the event. */
53523
+ event_id: string;
53524
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53525
+ workspace_id: string;
53526
+ /** Date and time at which the event was created. */
53527
+ created_at: string;
53528
+ /** Date and time at which the event occurred. */
53529
+ occurred_at: string;
53530
+ /** ID of the affected device. */
53531
+ device_id: string;
53532
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53533
+ connected_account_id: string;
53534
+ /** Custom metadata of the device, present when device_id is provided. */
53535
+ device_custom_metadata?: {
53536
+ [x: string]: string | boolean;
53537
+ } | undefined;
53538
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53539
+ connected_account_custom_metadata?: {
53540
+ [x: string]: string | boolean;
53541
+ } | undefined;
53542
+ event_type: 'device.tampered';
53543
+ } | {
53544
+ /** ID of the event. */
53545
+ event_id: string;
53546
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53547
+ workspace_id: string;
53548
+ /** Date and time at which the event was created. */
53549
+ created_at: string;
53550
+ /** Date and time at which the event occurred. */
53551
+ occurred_at: string;
53552
+ /** ID of the affected device. */
53553
+ device_id: string;
53554
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53555
+ connected_account_id: string;
53556
+ /** Custom metadata of the device, present when device_id is provided. */
53557
+ device_custom_metadata?: {
53558
+ [x: string]: string | boolean;
53559
+ } | undefined;
53560
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53561
+ connected_account_custom_metadata?: {
53562
+ [x: string]: string | boolean;
53563
+ } | undefined;
53564
+ event_type: 'device.low_battery';
53565
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
53566
+ battery_level: number;
53567
+ } | {
53568
+ /** ID of the event. */
53569
+ event_id: string;
53570
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53571
+ workspace_id: string;
53572
+ /** Date and time at which the event was created. */
53573
+ created_at: string;
53574
+ /** Date and time at which the event occurred. */
53575
+ occurred_at: string;
53576
+ /** ID of the affected device. */
53577
+ device_id: string;
53578
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53579
+ connected_account_id: string;
53580
+ /** Custom metadata of the device, present when device_id is provided. */
53581
+ device_custom_metadata?: {
53582
+ [x: string]: string | boolean;
53583
+ } | undefined;
53584
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53585
+ connected_account_custom_metadata?: {
53586
+ [x: string]: string | boolean;
53587
+ } | undefined;
53588
+ event_type: 'device.battery_status_changed';
53589
+ /** Battery status of the affected device, calculated from the numeric `battery_level` value. */
53590
+ battery_status: 'critical' | 'low' | 'good' | 'full';
53591
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
53592
+ battery_level: number;
53593
+ } | {
53594
+ /** ID of the event. */
53595
+ event_id: string;
53596
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53597
+ workspace_id: string;
53598
+ /** Date and time at which the event was created. */
53599
+ created_at: string;
53600
+ /** Date and time at which the event occurred. */
53601
+ occurred_at: string;
53602
+ /** ID of the affected device. */
53603
+ device_id: string;
53604
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53605
+ connected_account_id: string;
53606
+ /** Custom metadata of the device, present when device_id is provided. */
53607
+ device_custom_metadata?: {
53608
+ [x: string]: string | boolean;
53609
+ } | undefined;
53610
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53611
+ connected_account_custom_metadata?: {
53612
+ [x: string]: string | boolean;
53613
+ } | undefined;
53614
+ event_type: 'device.removed';
53615
+ } | {
53616
+ /** ID of the event. */
53617
+ event_id: string;
53618
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53619
+ workspace_id: string;
53620
+ /** Date and time at which the event was created. */
53621
+ created_at: string;
53622
+ /** Date and time at which the event occurred. */
53623
+ occurred_at: string;
53624
+ /** ID of the affected device. */
53625
+ device_id: string;
53626
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53627
+ connected_account_id: string;
53628
+ /** Custom metadata of the device, present when device_id is provided. */
53629
+ device_custom_metadata?: {
53630
+ [x: string]: string | boolean;
53631
+ } | undefined;
53632
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53633
+ connected_account_custom_metadata?: {
53634
+ [x: string]: string | boolean;
53635
+ } | undefined;
53636
+ event_type: 'device.deleted';
53637
+ } | {
53638
+ /** ID of the event. */
53639
+ event_id: string;
53640
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53641
+ workspace_id: string;
53642
+ /** Date and time at which the event was created. */
53643
+ created_at: string;
53644
+ /** Date and time at which the event occurred. */
53645
+ occurred_at: string;
53646
+ /** ID of the affected device. */
53647
+ device_id: string;
53648
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53649
+ connected_account_id: string;
53650
+ /** Custom metadata of the device, present when device_id is provided. */
53651
+ device_custom_metadata?: {
53652
+ [x: string]: string | boolean;
53653
+ } | undefined;
53654
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53655
+ connected_account_custom_metadata?: {
53656
+ [x: string]: string | boolean;
53657
+ } | undefined;
53658
+ event_type: 'device.third_party_integration_detected';
53659
+ } | {
53660
+ /** ID of the event. */
53661
+ event_id: string;
53662
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53663
+ workspace_id: string;
53664
+ /** Date and time at which the event was created. */
53665
+ created_at: string;
53666
+ /** Date and time at which the event occurred. */
53667
+ occurred_at: string;
53668
+ /** ID of the affected device. */
53669
+ device_id: string;
53670
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53671
+ connected_account_id: string;
53672
+ /** Custom metadata of the device, present when device_id is provided. */
53673
+ device_custom_metadata?: {
53674
+ [x: string]: string | boolean;
53675
+ } | undefined;
53676
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53677
+ connected_account_custom_metadata?: {
53678
+ [x: string]: string | boolean;
53679
+ } | undefined;
53680
+ event_type: 'device.third_party_integration_no_longer_detected';
53681
+ } | {
53682
+ /** ID of the event. */
53683
+ event_id: string;
53684
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53685
+ workspace_id: string;
53686
+ /** Date and time at which the event was created. */
53687
+ created_at: string;
53688
+ /** Date and time at which the event occurred. */
53689
+ occurred_at: string;
53690
+ /** ID of the affected device. */
53691
+ device_id: string;
53692
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53693
+ connected_account_id: string;
53694
+ /** Custom metadata of the device, present when device_id is provided. */
53695
+ device_custom_metadata?: {
53696
+ [x: string]: string | boolean;
53697
+ } | undefined;
53698
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53699
+ connected_account_custom_metadata?: {
53700
+ [x: string]: string | boolean;
53701
+ } | undefined;
53702
+ event_type: 'device.salto.privacy_mode_activated';
53703
+ } | {
53704
+ /** ID of the event. */
53705
+ event_id: string;
53706
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53707
+ workspace_id: string;
53708
+ /** Date and time at which the event was created. */
53709
+ created_at: string;
53710
+ /** Date and time at which the event occurred. */
53711
+ occurred_at: string;
53712
+ /** ID of the affected device. */
53713
+ device_id: string;
53714
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53715
+ connected_account_id: string;
53716
+ /** Custom metadata of the device, present when device_id is provided. */
53717
+ device_custom_metadata?: {
53718
+ [x: string]: string | boolean;
53719
+ } | undefined;
53720
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53721
+ connected_account_custom_metadata?: {
53722
+ [x: string]: string | boolean;
53723
+ } | undefined;
53724
+ event_type: 'device.salto.privacy_mode_deactivated';
53725
+ } | {
53726
+ /** ID of the event. */
53727
+ event_id: string;
53728
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53729
+ workspace_id: string;
53730
+ /** Date and time at which the event was created. */
53731
+ created_at: string;
53732
+ /** Date and time at which the event occurred. */
53733
+ occurred_at: string;
53734
+ /** ID of the affected device. */
53735
+ device_id: string;
53736
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53737
+ connected_account_id: string;
53738
+ /** Custom metadata of the device, present when device_id is provided. */
53739
+ device_custom_metadata?: {
53740
+ [x: string]: string | boolean;
53741
+ } | undefined;
53742
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53743
+ connected_account_custom_metadata?: {
53744
+ [x: string]: string | boolean;
53745
+ } | undefined;
53746
+ event_type: 'device.connection_became_flaky';
53747
+ } | {
53748
+ /** ID of the event. */
53749
+ event_id: string;
53750
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53751
+ workspace_id: string;
53752
+ /** Date and time at which the event was created. */
53753
+ created_at: string;
53754
+ /** Date and time at which the event occurred. */
53755
+ occurred_at: string;
53756
+ /** ID of the affected device. */
53757
+ device_id: string;
53758
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53759
+ connected_account_id: string;
53760
+ /** Custom metadata of the device, present when device_id is provided. */
53761
+ device_custom_metadata?: {
53762
+ [x: string]: string | boolean;
53763
+ } | undefined;
53764
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53765
+ connected_account_custom_metadata?: {
53766
+ [x: string]: string | boolean;
53767
+ } | undefined;
53768
+ event_type: 'device.connection_stabilized';
53769
+ } | {
53770
+ /** ID of the event. */
53771
+ event_id: string;
53772
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53773
+ workspace_id: string;
53774
+ /** Date and time at which the event was created. */
53775
+ created_at: string;
53776
+ /** Date and time at which the event occurred. */
53777
+ occurred_at: string;
53778
+ /** ID of the affected device. */
53779
+ device_id: string;
53780
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53781
+ connected_account_id: string;
53782
+ /** Custom metadata of the device, present when device_id is provided. */
53783
+ device_custom_metadata?: {
53784
+ [x: string]: string | boolean;
53785
+ } | undefined;
53786
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53787
+ connected_account_custom_metadata?: {
53788
+ [x: string]: string | boolean;
53789
+ } | undefined;
53790
+ event_type: 'device.error.subscription_required';
53791
+ } | {
53792
+ /** ID of the event. */
53793
+ event_id: string;
53794
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53795
+ workspace_id: string;
53796
+ /** Date and time at which the event was created. */
53797
+ created_at: string;
53798
+ /** Date and time at which the event occurred. */
53799
+ occurred_at: string;
53800
+ /** ID of the affected device. */
53801
+ device_id: string;
53802
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53803
+ connected_account_id: string;
53804
+ /** Custom metadata of the device, present when device_id is provided. */
53805
+ device_custom_metadata?: {
53806
+ [x: string]: string | boolean;
53807
+ } | undefined;
53808
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53809
+ connected_account_custom_metadata?: {
53810
+ [x: string]: string | boolean;
53811
+ } | undefined;
53812
+ event_type: 'device.error.subscription_required.resolved';
53813
+ } | {
53814
+ /** ID of the event. */
53815
+ event_id: string;
53816
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53817
+ workspace_id: string;
53818
+ /** Date and time at which the event was created. */
53819
+ created_at: string;
53820
+ /** Date and time at which the event occurred. */
53821
+ occurred_at: string;
53822
+ /** ID of the affected device. */
53823
+ device_id: string;
53824
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53825
+ connected_account_id: string;
53826
+ /** Custom metadata of the device, present when device_id is provided. */
53827
+ device_custom_metadata?: {
53828
+ [x: string]: string | boolean;
53829
+ } | undefined;
53830
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53831
+ connected_account_custom_metadata?: {
53832
+ [x: string]: string | boolean;
53833
+ } | undefined;
53834
+ event_type: 'device.accessory_keypad_connected';
53835
+ } | {
53836
+ /** ID of the event. */
53837
+ event_id: string;
53838
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53839
+ workspace_id: string;
53840
+ /** Date and time at which the event was created. */
53841
+ created_at: string;
53842
+ /** Date and time at which the event occurred. */
53843
+ occurred_at: string;
53844
+ /** ID of the affected device. */
53845
+ device_id: string;
53846
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53847
+ connected_account_id: string;
53848
+ /** Custom metadata of the device, present when device_id is provided. */
53849
+ device_custom_metadata?: {
53850
+ [x: string]: string | boolean;
53851
+ } | undefined;
53852
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53853
+ connected_account_custom_metadata?: {
53854
+ [x: string]: string | boolean;
53855
+ } | undefined;
53856
+ event_type: 'device.accessory_keypad_disconnected';
53857
+ } | {
53858
+ /** ID of the event. */
53859
+ event_id: string;
53860
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53861
+ workspace_id: string;
53862
+ /** Date and time at which the event was created. */
53863
+ created_at: string;
53864
+ /** Date and time at which the event occurred. */
53865
+ occurred_at: string;
53866
+ /** ID of the affected device. */
53867
+ device_id: string;
53868
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53869
+ connected_account_id: string;
53870
+ /** Custom metadata of the device, present when device_id is provided. */
53871
+ device_custom_metadata?: {
53872
+ [x: string]: string | boolean;
53873
+ } | undefined;
53874
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53875
+ connected_account_custom_metadata?: {
53876
+ [x: string]: string | boolean;
53877
+ } | undefined;
53878
+ event_type: 'noise_sensor.noise_threshold_triggered';
53879
+ /** Detected noise level in decibels. */
53880
+ noise_level_decibels?: number | undefined;
53881
+ /** Detected noise level in Noiseaware Noise Risk Score (NRS). */
53882
+ noise_level_nrs?: number | undefined;
53883
+ /** ID of the noise threshold that was triggered. */
53884
+ noise_threshold_id?: string | undefined;
53885
+ /** Name of the noise threshold that was triggered. */
53886
+ noise_threshold_name?: string | undefined;
53887
+ /** Metadata from Noiseaware. */
53888
+ noiseaware_metadata?: {
53889
+ [x: string]: unknown;
53890
+ } | undefined;
53891
+ /** Metadata from Minut. */
53892
+ minut_metadata?: {
53893
+ [x: string]: unknown;
53894
+ } | undefined;
53895
+ } | {
53896
+ /** ID of the event. */
53897
+ event_id: string;
53898
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53899
+ workspace_id: string;
53900
+ /** Date and time at which the event was created. */
53901
+ created_at: string;
53902
+ /** Date and time at which the event occurred. */
53903
+ occurred_at: string;
53904
+ /** ID of the affected device. */
53905
+ device_id: string;
53906
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53907
+ connected_account_id: string;
53908
+ /** Custom metadata of the device, present when device_id is provided. */
53909
+ device_custom_metadata?: {
53910
+ [x: string]: string | boolean;
53911
+ } | undefined;
53912
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53913
+ connected_account_custom_metadata?: {
53914
+ [x: string]: string | boolean;
53915
+ } | undefined;
53916
+ event_type: 'lock.locked';
53917
+ /** ID of the access code that was used to lock the device. */
53918
+ access_code_id?: string | undefined;
53919
+ /** ID of the action attempt associated with the lock action. */
53920
+ action_attempt_id?: string | undefined;
53921
+ /** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
53922
+ method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
53923
+ } | {
53924
+ /** ID of the event. */
53925
+ event_id: string;
53926
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53927
+ workspace_id: string;
53928
+ /** Date and time at which the event was created. */
53929
+ created_at: string;
53930
+ /** Date and time at which the event occurred. */
53931
+ occurred_at: string;
53932
+ /** ID of the affected device. */
53933
+ device_id: string;
53934
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53935
+ connected_account_id: string;
53936
+ /** Custom metadata of the device, present when device_id is provided. */
53937
+ device_custom_metadata?: {
53938
+ [x: string]: string | boolean;
53939
+ } | undefined;
53940
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53941
+ connected_account_custom_metadata?: {
53942
+ [x: string]: string | boolean;
53943
+ } | undefined;
53944
+ event_type: 'lock.unlocked';
53945
+ /** ID of the access code that was used to unlock the affected device. */
53946
+ access_code_id?: string | undefined;
53947
+ /** ID of the action attempt associated with the unlock action. */
53948
+ action_attempt_id?: string | undefined;
53949
+ /** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
53950
+ method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
53951
+ } | {
53952
+ /** ID of the event. */
53953
+ event_id: string;
53954
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53955
+ workspace_id: string;
53956
+ /** Date and time at which the event was created. */
53957
+ created_at: string;
53958
+ /** Date and time at which the event occurred. */
53959
+ occurred_at: string;
53960
+ /** ID of the affected device. */
53961
+ device_id: string;
53962
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53963
+ connected_account_id: string;
53964
+ /** Custom metadata of the device, present when device_id is provided. */
53965
+ device_custom_metadata?: {
53966
+ [x: string]: string | boolean;
53967
+ } | undefined;
53968
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53969
+ connected_account_custom_metadata?: {
53970
+ [x: string]: string | boolean;
53971
+ } | undefined;
53972
+ event_type: 'lock.access_denied';
53973
+ /** ID of the access code that was used in the unlock attempts. */
53974
+ access_code_id?: string | undefined;
53975
+ } | {
53976
+ /** ID of the event. */
53977
+ event_id: string;
53978
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
53979
+ workspace_id: string;
53980
+ /** Date and time at which the event was created. */
53981
+ created_at: string;
53982
+ /** Date and time at which the event occurred. */
53983
+ occurred_at: string;
53984
+ /** ID of the affected device. */
53985
+ device_id: string;
53986
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
53987
+ connected_account_id: string;
53988
+ /** Custom metadata of the device, present when device_id is provided. */
53989
+ device_custom_metadata?: {
53990
+ [x: string]: string | boolean;
53991
+ } | undefined;
53992
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
53993
+ connected_account_custom_metadata?: {
53994
+ [x: string]: string | boolean;
53995
+ } | undefined;
53996
+ event_type: 'thermostat.climate_preset_activated';
53997
+ /** ID of the thermostat schedule that prompted the affected climate preset to be activated. */
53998
+ thermostat_schedule_id: string | null;
53999
+ /** Key of the climate preset that was activated. */
54000
+ climate_preset_key: string;
54001
+ /** Indicates whether the climate preset that was activated is the fallback climate preset for the thermostat. */
54002
+ is_fallback_climate_preset: boolean;
54003
+ } | {
54004
+ /** ID of the event. */
54005
+ event_id: string;
54006
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
54007
+ workspace_id: string;
54008
+ /** Date and time at which the event was created. */
54009
+ created_at: string;
54010
+ /** Date and time at which the event occurred. */
54011
+ occurred_at: string;
54012
+ /** ID of the affected device. */
54013
+ device_id: string;
54014
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
54015
+ connected_account_id: string;
54016
+ /** Custom metadata of the device, present when device_id is provided. */
54017
+ device_custom_metadata?: {
54018
+ [x: string]: string | boolean;
54019
+ } | undefined;
54020
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
54021
+ connected_account_custom_metadata?: {
54022
+ [x: string]: string | boolean;
54023
+ } | undefined;
54024
+ event_type: 'thermostat.manually_adjusted';
54025
+ /** Method used to adjust the affected thermostat manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the thermostat. */
54026
+ method: 'seam' | 'external';
54027
+ /** Desired [fan mode setting](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`. */
54028
+ fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
54029
+ /** 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`. */
54030
+ hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool' | 'eco') | undefined) | undefined;
54031
+ /** 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). */
54032
+ cooling_set_point_celsius?: (number | undefined) | undefined;
54033
+ /** Temperature to which the thermostat should heat (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
54034
+ heating_set_point_celsius?: (number | undefined) | undefined;
54035
+ /** Temperature to which the thermostat should cool (in °F). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
54036
+ cooling_set_point_fahrenheit?: (number | undefined) | undefined;
54037
+ /** Temperature to which the thermostat should heat (in °F). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
54038
+ heating_set_point_fahrenheit?: (number | undefined) | undefined;
54039
+ } | {
54040
+ /** ID of the event. */
54041
+ event_id: string;
54042
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
54043
+ workspace_id: string;
54044
+ /** Date and time at which the event was created. */
54045
+ created_at: string;
54046
+ /** Date and time at which the event occurred. */
54047
+ occurred_at: string;
54048
+ /** ID of the affected device. */
54049
+ device_id: string;
54050
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
54051
+ connected_account_id: string;
54052
+ /** Custom metadata of the device, present when device_id is provided. */
54053
+ device_custom_metadata?: {
54054
+ [x: string]: string | boolean;
54055
+ } | undefined;
54056
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
54057
+ connected_account_custom_metadata?: {
54058
+ [x: string]: string | boolean;
54059
+ } | undefined;
54060
+ event_type: 'thermostat.temperature_threshold_exceeded';
54061
+ /** Temperature, in °C, reported by the affected thermostat. */
54062
+ temperature_celsius: number;
54063
+ /** Temperature, in °F, reported by the affected thermostat. */
54064
+ temperature_fahrenheit: number;
54065
+ /** Upper temperature limit, in °C, defined by the set threshold. */
54066
+ upper_limit_celsius: number | null;
54067
+ /** Upper temperature limit, in °F, defined by the set threshold. */
54068
+ upper_limit_fahrenheit: number | null;
54069
+ /** Lower temperature limit, in °C, defined by the set threshold. */
54070
+ lower_limit_celsius: number | null;
54071
+ /** Lower temperature limit, in °F, defined by the set threshold. */
54072
+ lower_limit_fahrenheit: number | null;
54073
+ } | {
54074
+ /** ID of the event. */
54075
+ event_id: string;
54076
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
54077
+ workspace_id: string;
54078
+ /** Date and time at which the event was created. */
54079
+ created_at: string;
54080
+ /** Date and time at which the event occurred. */
54081
+ occurred_at: string;
54082
+ /** ID of the affected device. */
54083
+ device_id: string;
54084
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
54085
+ connected_account_id: string;
54086
+ /** Custom metadata of the device, present when device_id is provided. */
54087
+ device_custom_metadata?: {
54088
+ [x: string]: string | boolean;
54089
+ } | undefined;
54090
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
54091
+ connected_account_custom_metadata?: {
54092
+ [x: string]: string | boolean;
54093
+ } | undefined;
54094
+ event_type: 'thermostat.temperature_threshold_no_longer_exceeded';
54095
+ /** Temperature, in °C, reported by the affected thermostat. */
54096
+ temperature_celsius: number;
54097
+ /** Temperature, in °F, reported by the affected thermostat. */
54098
+ temperature_fahrenheit: number;
54099
+ /** Upper temperature limit, in °C, defined by the set threshold. */
54100
+ upper_limit_celsius: number | null;
54101
+ /** Upper temperature limit, in °F, defined by the set threshold. */
54102
+ upper_limit_fahrenheit: number | null;
54103
+ /** Lower temperature limit, in °C, defined by the set threshold. */
54104
+ lower_limit_celsius: number | null;
54105
+ /** Lower temperature limit, in °F, defined by the set threshold. */
54106
+ lower_limit_fahrenheit: number | null;
54107
+ } | {
54108
+ /** ID of the event. */
54109
+ event_id: string;
54110
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
54111
+ workspace_id: string;
54112
+ /** Date and time at which the event was created. */
54113
+ created_at: string;
54114
+ /** Date and time at which the event occurred. */
54115
+ occurred_at: string;
54116
+ /** ID of the affected device. */
54117
+ device_id: string;
54118
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
54119
+ connected_account_id: string;
54120
+ /** Custom metadata of the device, present when device_id is provided. */
54121
+ device_custom_metadata?: {
54122
+ [x: string]: string | boolean;
54123
+ } | undefined;
54124
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
54125
+ connected_account_custom_metadata?: {
54126
+ [x: string]: string | boolean;
54127
+ } | undefined;
54128
+ event_type: 'thermostat.temperature_reached_set_point';
54129
+ /** Temperature, in °C, reported by the affected thermostat. */
54130
+ temperature_celsius: number;
54131
+ /** Temperature, in °F, reported by the affected thermostat. */
54132
+ temperature_fahrenheit: number;
54133
+ /** Desired temperature, in °C, defined by the affected thermostat's cooling or heating set point. */
54134
+ desired_temperature_celsius?: number | undefined;
54135
+ /** Desired temperature, in °F, defined by the affected thermostat's cooling or heating set point. */
54136
+ desired_temperature_fahrenheit?: number | undefined;
54137
+ } | {
54138
+ /** ID of the event. */
54139
+ event_id: string;
54140
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
54141
+ workspace_id: string;
54142
+ /** Date and time at which the event was created. */
54143
+ created_at: string;
54144
+ /** Date and time at which the event occurred. */
54145
+ occurred_at: string;
54146
+ /** ID of the affected device. */
54147
+ device_id: string;
54148
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
54149
+ connected_account_id: string;
54150
+ /** Custom metadata of the device, present when device_id is provided. */
54151
+ device_custom_metadata?: {
54152
+ [x: string]: string | boolean;
54153
+ } | undefined;
54154
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
54155
+ connected_account_custom_metadata?: {
54156
+ [x: string]: string | boolean;
54157
+ } | undefined;
54158
+ event_type: 'thermostat.temperature_changed';
54159
+ /** Temperature, in °C, reported by the affected thermostat. */
54160
+ temperature_celsius: number;
54161
+ /** Temperature, in °F, reported by the affected thermostat. */
54162
+ temperature_fahrenheit: number;
54163
+ } | {
54164
+ /** ID of the event. */
54165
+ event_id: string;
54166
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
54167
+ workspace_id: string;
54168
+ /** Date and time at which the event was created. */
54169
+ created_at: string;
54170
+ /** Date and time at which the event occurred. */
54171
+ occurred_at: string;
54172
+ /** ID of the affected device. */
54173
+ device_id: string;
54174
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
54175
+ connected_account_id: string;
54176
+ /** Custom metadata of the device, present when device_id is provided. */
54177
+ device_custom_metadata?: {
54178
+ [x: string]: string | boolean;
54179
+ } | undefined;
54180
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
54181
+ connected_account_custom_metadata?: {
54182
+ [x: string]: string | boolean;
54183
+ } | undefined;
54184
+ event_type: 'device.name_changed';
54185
+ /** The new name of the affected device. */
54186
+ device_name: string;
54187
+ } | {
54188
+ /** ID of the event. */
54189
+ event_id: string;
54190
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
54191
+ workspace_id: string;
54192
+ /** Date and time at which the event was created. */
54193
+ created_at: string;
54194
+ /** Date and time at which the event occurred. */
54195
+ occurred_at: string;
54196
+ /** ID of the affected enrollment automation. */
54197
+ enrollment_automation_id: string;
54198
+ event_type: 'enrollment_automation.deleted';
54199
+ } | {
54200
+ /** ID of the event. */
54201
+ event_id: string;
54202
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
54203
+ workspace_id: string;
54204
+ /** Date and time at which the event was created. */
54205
+ created_at: string;
54206
+ /** Date and time at which the event occurred. */
54207
+ occurred_at: string;
54208
+ /** ID of the affected phone device. */
54209
+ device_id: string;
54210
+ /** Custom metadata of the device; present when device_id is provided. */
54211
+ device_custom_metadata?: {
54212
+ [x: string]: string | boolean;
54213
+ } | undefined;
54214
+ event_type: 'phone.deactivated';
54215
+ })[];
54216
+ };
54217
+ };
52311
54218
  '/seam/customer/v1/portals/get': {
52312
54219
  route: '/seam/customer/v1/portals/get';
52313
54220
  method: 'GET' | 'POST';
@@ -52342,6 +54249,18 @@ export type Routes = {
52342
54249
  };
52343
54250
  };
52344
54251
  };
54252
+ '/seam/customer/v1/settings/get': {
54253
+ route: '/seam/customer/v1/settings/get';
54254
+ method: 'GET' | 'POST';
54255
+ queryParams: {};
54256
+ jsonBody: {};
54257
+ commonParams: {};
54258
+ formData: {};
54259
+ jsonResponse: {
54260
+ /** Business vertical of the customer portal. */
54261
+ business_vertical?: ('short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
54262
+ };
54263
+ };
52345
54264
  '/seam/customer/v1/settings/update': {
52346
54265
  route: '/seam/customer/v1/settings/update';
52347
54266
  method: 'PATCH' | 'POST';
@@ -53929,6 +55848,10 @@ export type Routes = {
53929
55848
  */
53930
55849
  upper_limit_fahrenheit: number | null;
53931
55850
  } | undefined) | undefined;
55851
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
55852
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
55853
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
55854
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
53932
55855
  });
53933
55856
  /** Location information for the device. */
53934
55857
  location: {
@@ -54238,6 +56161,7 @@ export type Routes = {
54238
56161
  can_simulate_connection?: boolean | undefined;
54239
56162
  can_simulate_disconnection?: boolean | undefined;
54240
56163
  can_unlock_with_code?: boolean | undefined;
56164
+ can_run_thermostat_programs?: boolean | undefined;
54241
56165
  }[] | undefined;
54242
56166
  acs_entrances?: {
54243
56167
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -59503,6 +61427,10 @@ export type Routes = {
59503
61427
  */
59504
61428
  upper_limit_fahrenheit: number | null;
59505
61429
  } | undefined) | undefined;
61430
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
61431
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
61432
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
61433
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
59506
61434
  });
59507
61435
  /** Location information for the device. */
59508
61436
  location: {
@@ -59812,6 +61740,7 @@ export type Routes = {
59812
61740
  can_simulate_connection?: boolean | undefined;
59813
61741
  can_simulate_disconnection?: boolean | undefined;
59814
61742
  can_unlock_with_code?: boolean | undefined;
61743
+ can_run_thermostat_programs?: boolean | undefined;
59815
61744
  };
59816
61745
  };
59817
61746
  };
@@ -62381,9 +64310,9 @@ export type Routes = {
62381
64310
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
62382
64311
  page_cursor?: (string | undefined) | null;
62383
64312
  /** */
62384
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code')[] | undefined;
64313
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
62385
64314
  /** */
62386
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code')[] | undefined;
64315
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
62387
64316
  /**
62388
64317
  * @deprecated Use `space_id`.*/
62389
64318
  unstable_location_id?: (string | null) | undefined;
@@ -63284,6 +65213,10 @@ export type Routes = {
63284
65213
  */
63285
65214
  upper_limit_fahrenheit: number | null;
63286
65215
  } | undefined) | undefined;
65216
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
65217
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
65218
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
65219
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
63287
65220
  });
63288
65221
  /** Location information for the device. */
63289
65222
  location: {
@@ -63593,6 +65526,7 @@ export type Routes = {
63593
65526
  can_simulate_connection?: boolean | undefined;
63594
65527
  can_simulate_disconnection?: boolean | undefined;
63595
65528
  can_unlock_with_code?: boolean | undefined;
65529
+ can_run_thermostat_programs?: boolean | undefined;
63596
65530
  }[];
63597
65531
  devices: {
63598
65532
  /** ID of the device. */
@@ -64482,6 +66416,10 @@ export type Routes = {
64482
66416
  */
64483
66417
  upper_limit_fahrenheit: number | null;
64484
66418
  } | undefined) | undefined;
66419
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
66420
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
66421
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
66422
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
64485
66423
  });
64486
66424
  /** Location information for the device. */
64487
66425
  location: {
@@ -64791,6 +66729,7 @@ export type Routes = {
64791
66729
  can_simulate_connection?: boolean | undefined;
64792
66730
  can_simulate_disconnection?: boolean | undefined;
64793
66731
  can_unlock_with_code?: boolean | undefined;
66732
+ can_run_thermostat_programs?: boolean | undefined;
64794
66733
  }[];
64795
66734
  };
64796
66735
  };
@@ -72138,6 +74077,10 @@ export type Routes = {
72138
74077
  */
72139
74078
  upper_limit_fahrenheit: number | null;
72140
74079
  } | undefined) | undefined;
74080
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
74081
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
74082
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
74083
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
72141
74084
  });
72142
74085
  /** Location information for the device. */
72143
74086
  location: {
@@ -72447,6 +74390,7 @@ export type Routes = {
72447
74390
  can_simulate_connection?: boolean | undefined;
72448
74391
  can_simulate_disconnection?: boolean | undefined;
72449
74392
  can_unlock_with_code?: boolean | undefined;
74393
+ can_run_thermostat_programs?: boolean | undefined;
72450
74394
  }[];
72451
74395
  /**
72452
74396
  * @deprecated Use devices.*/
@@ -73338,6 +75282,10 @@ export type Routes = {
73338
75282
  */
73339
75283
  upper_limit_fahrenheit: number | null;
73340
75284
  } | undefined) | undefined;
75285
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
75286
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
75287
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
75288
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
73341
75289
  });
73342
75290
  /** Location information for the device. */
73343
75291
  location: {
@@ -73647,6 +75595,7 @@ export type Routes = {
73647
75595
  can_simulate_connection?: boolean | undefined;
73648
75596
  can_simulate_disconnection?: boolean | undefined;
73649
75597
  can_unlock_with_code?: boolean | undefined;
75598
+ can_run_thermostat_programs?: boolean | undefined;
73650
75599
  }[];
73651
75600
  };
73652
75601
  };
@@ -75209,6 +77158,10 @@ export type Routes = {
75209
77158
  */
75210
77159
  upper_limit_fahrenheit: number | null;
75211
77160
  } | undefined) | undefined;
77161
+ /** Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour. */
77162
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
77163
+ /** Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4. */
77164
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
75212
77165
  });
75213
77166
  /** Location information for the device. */
75214
77167
  location: {
@@ -75518,6 +77471,7 @@ export type Routes = {
75518
77471
  can_simulate_connection?: boolean | undefined;
75519
77472
  can_simulate_disconnection?: boolean | undefined;
75520
77473
  can_unlock_with_code?: boolean | undefined;
77474
+ can_run_thermostat_programs?: boolean | undefined;
75521
77475
  }[] | undefined;
75522
77476
  acs_entrances?: {
75523
77477
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -77896,6 +79850,7 @@ export type Routes = {
77896
79850
  can_simulate_connection?: boolean | undefined;
77897
79851
  can_simulate_disconnection?: boolean | undefined;
77898
79852
  can_unlock_with_code?: boolean | undefined;
79853
+ can_run_thermostat_programs?: boolean | undefined;
77899
79854
  }[] | undefined;
77900
79855
  connect_webviews?: {
77901
79856
  /** ID of the Connect Webview. */