@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.
@@ -12312,6 +12312,8 @@ declare const batch: z.ZodObject<{
12312
12312
  upper_limit_celsius: number | null;
12313
12313
  upper_limit_fahrenheit: number | null;
12314
12314
  }>>>;
12315
+ thermostat_daily_program_period_precision_minutes: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
12316
+ max_thermostat_daily_program_periods_per_day: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
12315
12317
  }, "strip", z.ZodTypeAny, {
12316
12318
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
12317
12319
  temperature_fahrenheit?: number | undefined;
@@ -12442,6 +12444,8 @@ declare const batch: z.ZodObject<{
12442
12444
  upper_limit_celsius: number | null;
12443
12445
  upper_limit_fahrenheit: number | null;
12444
12446
  } | undefined;
12447
+ thermostat_daily_program_period_precision_minutes?: number | undefined;
12448
+ max_thermostat_daily_program_periods_per_day?: number | undefined;
12445
12449
  }, {
12446
12450
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
12447
12451
  temperature_fahrenheit?: number | undefined;
@@ -12572,6 +12576,8 @@ declare const batch: z.ZodObject<{
12572
12576
  upper_limit_celsius: number | null;
12573
12577
  upper_limit_fahrenheit: number | null;
12574
12578
  } | undefined;
12579
+ thermostat_daily_program_period_precision_minutes?: number | undefined;
12580
+ max_thermostat_daily_program_periods_per_day?: number | undefined;
12575
12581
  }>>>;
12576
12582
  location: z.ZodNullable<z.ZodObject<{
12577
12583
  location_name: z.ZodOptional<z.ZodString>;
@@ -13178,6 +13184,7 @@ declare const batch: z.ZodObject<{
13178
13184
  can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
13179
13185
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
13180
13186
  can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
13187
+ can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
13181
13188
  }, "strip", z.ZodTypeAny, {
13182
13189
  display_name: string;
13183
13190
  device_id: string;
@@ -13812,6 +13819,8 @@ declare const batch: z.ZodObject<{
13812
13819
  upper_limit_celsius: number | null;
13813
13820
  upper_limit_fahrenheit: number | null;
13814
13821
  } | undefined;
13822
+ thermostat_daily_program_period_precision_minutes?: number | undefined;
13823
+ max_thermostat_daily_program_periods_per_day?: number | undefined;
13815
13824
  };
13816
13825
  location: {
13817
13826
  location_name?: string | undefined;
@@ -13830,6 +13839,7 @@ declare const batch: z.ZodObject<{
13830
13839
  can_simulate_connection?: boolean | undefined;
13831
13840
  can_simulate_disconnection?: boolean | undefined;
13832
13841
  can_unlock_with_code?: boolean | undefined;
13842
+ can_run_thermostat_programs?: boolean | undefined;
13833
13843
  nickname?: string | undefined;
13834
13844
  }, {
13835
13845
  display_name: string;
@@ -14465,6 +14475,8 @@ declare const batch: z.ZodObject<{
14465
14475
  upper_limit_celsius: number | null;
14466
14476
  upper_limit_fahrenheit: number | null;
14467
14477
  } | undefined;
14478
+ thermostat_daily_program_period_precision_minutes?: number | undefined;
14479
+ max_thermostat_daily_program_periods_per_day?: number | undefined;
14468
14480
  };
14469
14481
  location: {
14470
14482
  location_name?: string | undefined;
@@ -14483,6 +14495,7 @@ declare const batch: z.ZodObject<{
14483
14495
  can_simulate_connection?: boolean | undefined;
14484
14496
  can_simulate_disconnection?: boolean | undefined;
14485
14497
  can_unlock_with_code?: boolean | undefined;
14498
+ can_run_thermostat_programs?: boolean | undefined;
14486
14499
  nickname?: string | undefined;
14487
14500
  }>, "many">>;
14488
14501
  acs_entrances: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -22247,6 +22260,8 @@ declare const batch: z.ZodObject<{
22247
22260
  upper_limit_celsius: number | null;
22248
22261
  upper_limit_fahrenheit: number | null;
22249
22262
  }>>>;
22263
+ thermostat_daily_program_period_precision_minutes: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
22264
+ max_thermostat_daily_program_periods_per_day: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
22250
22265
  }, "strip", z.ZodTypeAny, {
22251
22266
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
22252
22267
  temperature_fahrenheit?: number | undefined;
@@ -22377,6 +22392,8 @@ declare const batch: z.ZodObject<{
22377
22392
  upper_limit_celsius: number | null;
22378
22393
  upper_limit_fahrenheit: number | null;
22379
22394
  } | undefined;
22395
+ thermostat_daily_program_period_precision_minutes?: number | undefined;
22396
+ max_thermostat_daily_program_periods_per_day?: number | undefined;
22380
22397
  }, {
22381
22398
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
22382
22399
  temperature_fahrenheit?: number | undefined;
@@ -22507,6 +22524,8 @@ declare const batch: z.ZodObject<{
22507
22524
  upper_limit_celsius: number | null;
22508
22525
  upper_limit_fahrenheit: number | null;
22509
22526
  } | undefined;
22527
+ thermostat_daily_program_period_precision_minutes?: number | undefined;
22528
+ max_thermostat_daily_program_periods_per_day?: number | undefined;
22510
22529
  }>>>;
22511
22530
  location: z.ZodNullable<z.ZodObject<{
22512
22531
  location_name: z.ZodOptional<z.ZodString>;
@@ -23113,6 +23132,7 @@ declare const batch: z.ZodObject<{
23113
23132
  can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
23114
23133
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
23115
23134
  can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
23135
+ can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
23116
23136
  }, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location"> & {
23117
23137
  is_managed: z.ZodLiteral<false>;
23118
23138
  properties: z.ZodObject<Pick<{
@@ -23262,6 +23282,7 @@ declare const batch: z.ZodObject<{
23262
23282
  can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
23263
23283
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
23264
23284
  can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
23285
+ can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
23265
23286
  }, "strip", z.ZodTypeAny, {
23266
23287
  device_id: string;
23267
23288
  workspace_id: string;
@@ -23489,6 +23510,7 @@ declare const batch: z.ZodObject<{
23489
23510
  can_simulate_connection?: boolean | undefined;
23490
23511
  can_simulate_disconnection?: boolean | undefined;
23491
23512
  can_unlock_with_code?: boolean | undefined;
23513
+ can_run_thermostat_programs?: boolean | undefined;
23492
23514
  }, {
23493
23515
  device_id: string;
23494
23516
  workspace_id: string;
@@ -23716,6 +23738,7 @@ declare const batch: z.ZodObject<{
23716
23738
  can_simulate_connection?: boolean | undefined;
23717
23739
  can_simulate_disconnection?: boolean | undefined;
23718
23740
  can_unlock_with_code?: boolean | undefined;
23741
+ can_run_thermostat_programs?: boolean | undefined;
23719
23742
  }>, "many">>;
23720
23743
  connect_webviews: z.ZodOptional<z.ZodArray<z.ZodObject<{
23721
23744
  connect_webview_id: z.ZodString;
@@ -24430,6 +24453,8 @@ declare const batch: z.ZodObject<{
24430
24453
  upper_limit_celsius: number | null;
24431
24454
  upper_limit_fahrenheit: number | null;
24432
24455
  } | undefined;
24456
+ thermostat_daily_program_period_precision_minutes?: number | undefined;
24457
+ max_thermostat_daily_program_periods_per_day?: number | undefined;
24433
24458
  };
24434
24459
  location: {
24435
24460
  location_name?: string | undefined;
@@ -24448,6 +24473,7 @@ declare const batch: z.ZodObject<{
24448
24473
  can_simulate_connection?: boolean | undefined;
24449
24474
  can_simulate_disconnection?: boolean | undefined;
24450
24475
  can_unlock_with_code?: boolean | undefined;
24476
+ can_run_thermostat_programs?: boolean | undefined;
24451
24477
  nickname?: string | undefined;
24452
24478
  }[] | undefined;
24453
24479
  acs_entrances?: {
@@ -25872,6 +25898,7 @@ declare const batch: z.ZodObject<{
25872
25898
  can_simulate_connection?: boolean | undefined;
25873
25899
  can_simulate_disconnection?: boolean | undefined;
25874
25900
  can_unlock_with_code?: boolean | undefined;
25901
+ can_run_thermostat_programs?: boolean | undefined;
25875
25902
  }[] | undefined;
25876
25903
  connect_webviews?: {
25877
25904
  status: "pending" | "failed" | "authorized";
@@ -26542,6 +26569,8 @@ declare const batch: z.ZodObject<{
26542
26569
  upper_limit_celsius: number | null;
26543
26570
  upper_limit_fahrenheit: number | null;
26544
26571
  } | undefined;
26572
+ thermostat_daily_program_period_precision_minutes?: number | undefined;
26573
+ max_thermostat_daily_program_periods_per_day?: number | undefined;
26545
26574
  };
26546
26575
  location: {
26547
26576
  location_name?: string | undefined;
@@ -26560,6 +26589,7 @@ declare const batch: z.ZodObject<{
26560
26589
  can_simulate_connection?: boolean | undefined;
26561
26590
  can_simulate_disconnection?: boolean | undefined;
26562
26591
  can_unlock_with_code?: boolean | undefined;
26592
+ can_run_thermostat_programs?: boolean | undefined;
26563
26593
  nickname?: string | undefined;
26564
26594
  }[] | undefined;
26565
26595
  acs_entrances?: {
@@ -27984,6 +28014,7 @@ declare const batch: z.ZodObject<{
27984
28014
  can_simulate_connection?: boolean | undefined;
27985
28015
  can_simulate_disconnection?: boolean | undefined;
27986
28016
  can_unlock_with_code?: boolean | undefined;
28017
+ can_run_thermostat_programs?: boolean | undefined;
27987
28018
  }[] | undefined;
27988
28019
  connect_webviews?: {
27989
28020
  status: "pending" | "failed" | "authorized";
@@ -31276,6 +31307,8 @@ declare const device: z.ZodObject<{
31276
31307
  upper_limit_celsius: number | null;
31277
31308
  upper_limit_fahrenheit: number | null;
31278
31309
  }>>>;
31310
+ thermostat_daily_program_period_precision_minutes: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
31311
+ max_thermostat_daily_program_periods_per_day: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
31279
31312
  }, "strip", z.ZodTypeAny, {
31280
31313
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
31281
31314
  temperature_fahrenheit?: number | undefined;
@@ -31406,6 +31439,8 @@ declare const device: z.ZodObject<{
31406
31439
  upper_limit_celsius: number | null;
31407
31440
  upper_limit_fahrenheit: number | null;
31408
31441
  } | undefined;
31442
+ thermostat_daily_program_period_precision_minutes?: number | undefined;
31443
+ max_thermostat_daily_program_periods_per_day?: number | undefined;
31409
31444
  }, {
31410
31445
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
31411
31446
  temperature_fahrenheit?: number | undefined;
@@ -31536,6 +31571,8 @@ declare const device: z.ZodObject<{
31536
31571
  upper_limit_celsius: number | null;
31537
31572
  upper_limit_fahrenheit: number | null;
31538
31573
  } | undefined;
31574
+ thermostat_daily_program_period_precision_minutes?: number | undefined;
31575
+ max_thermostat_daily_program_periods_per_day?: number | undefined;
31539
31576
  }>>>;
31540
31577
  location: z.ZodNullable<z.ZodObject<{
31541
31578
  location_name: z.ZodOptional<z.ZodString>;
@@ -32142,6 +32179,7 @@ declare const device: z.ZodObject<{
32142
32179
  can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
32143
32180
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
32144
32181
  can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
32182
+ can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
32145
32183
  }, "strip", z.ZodTypeAny, {
32146
32184
  display_name: string;
32147
32185
  device_id: string;
@@ -32776,6 +32814,8 @@ declare const device: z.ZodObject<{
32776
32814
  upper_limit_celsius: number | null;
32777
32815
  upper_limit_fahrenheit: number | null;
32778
32816
  } | undefined;
32817
+ thermostat_daily_program_period_precision_minutes?: number | undefined;
32818
+ max_thermostat_daily_program_periods_per_day?: number | undefined;
32779
32819
  };
32780
32820
  location: {
32781
32821
  location_name?: string | undefined;
@@ -32794,6 +32834,7 @@ declare const device: z.ZodObject<{
32794
32834
  can_simulate_connection?: boolean | undefined;
32795
32835
  can_simulate_disconnection?: boolean | undefined;
32796
32836
  can_unlock_with_code?: boolean | undefined;
32837
+ can_run_thermostat_programs?: boolean | undefined;
32797
32838
  nickname?: string | undefined;
32798
32839
  }, {
32799
32840
  display_name: string;
@@ -33429,6 +33470,8 @@ declare const device: z.ZodObject<{
33429
33470
  upper_limit_celsius: number | null;
33430
33471
  upper_limit_fahrenheit: number | null;
33431
33472
  } | undefined;
33473
+ thermostat_daily_program_period_precision_minutes?: number | undefined;
33474
+ max_thermostat_daily_program_periods_per_day?: number | undefined;
33432
33475
  };
33433
33476
  location: {
33434
33477
  location_name?: string | undefined;
@@ -33447,6 +33490,7 @@ declare const device: z.ZodObject<{
33447
33490
  can_simulate_connection?: boolean | undefined;
33448
33491
  can_simulate_disconnection?: boolean | undefined;
33449
33492
  can_unlock_with_code?: boolean | undefined;
33493
+ can_run_thermostat_programs?: boolean | undefined;
33450
33494
  nickname?: string | undefined;
33451
33495
  }>;
33452
33496
  type Device = z.infer<typeof device>;
@@ -33520,6 +33564,7 @@ declare const device_provider: z.ZodObject<{
33520
33564
  can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
33521
33565
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
33522
33566
  can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
33567
+ can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
33523
33568
  }, "strip", z.ZodTypeAny, {
33524
33569
  display_name: string;
33525
33570
  image_url: string;
@@ -33537,6 +33582,7 @@ declare const device_provider: z.ZodObject<{
33537
33582
  can_simulate_connection?: boolean | undefined;
33538
33583
  can_simulate_disconnection?: boolean | undefined;
33539
33584
  can_unlock_with_code?: boolean | undefined;
33585
+ can_run_thermostat_programs?: boolean | undefined;
33540
33586
  }, {
33541
33587
  display_name: string;
33542
33588
  image_url: string;
@@ -33554,6 +33600,7 @@ declare const device_provider: z.ZodObject<{
33554
33600
  can_simulate_connection?: boolean | undefined;
33555
33601
  can_simulate_disconnection?: boolean | undefined;
33556
33602
  can_unlock_with_code?: boolean | undefined;
33603
+ can_run_thermostat_programs?: boolean | undefined;
33557
33604
  }>;
33558
33605
  type DeviceProvider = z.infer<typeof device_provider>;
33559
33606
 
@@ -35525,6 +35572,8 @@ declare const unmanaged_device: z.ZodObject<Pick<{
35525
35572
  upper_limit_celsius: number | null;
35526
35573
  upper_limit_fahrenheit: number | null;
35527
35574
  }>>>;
35575
+ thermostat_daily_program_period_precision_minutes: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
35576
+ max_thermostat_daily_program_periods_per_day: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
35528
35577
  }, "strip", z.ZodTypeAny, {
35529
35578
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
35530
35579
  temperature_fahrenheit?: number | undefined;
@@ -35655,6 +35704,8 @@ declare const unmanaged_device: z.ZodObject<Pick<{
35655
35704
  upper_limit_celsius: number | null;
35656
35705
  upper_limit_fahrenheit: number | null;
35657
35706
  } | undefined;
35707
+ thermostat_daily_program_period_precision_minutes?: number | undefined;
35708
+ max_thermostat_daily_program_periods_per_day?: number | undefined;
35658
35709
  }, {
35659
35710
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
35660
35711
  temperature_fahrenheit?: number | undefined;
@@ -35785,6 +35836,8 @@ declare const unmanaged_device: z.ZodObject<Pick<{
35785
35836
  upper_limit_celsius: number | null;
35786
35837
  upper_limit_fahrenheit: number | null;
35787
35838
  } | undefined;
35839
+ thermostat_daily_program_period_precision_minutes?: number | undefined;
35840
+ max_thermostat_daily_program_periods_per_day?: number | undefined;
35788
35841
  }>>>;
35789
35842
  location: z.ZodNullable<z.ZodObject<{
35790
35843
  location_name: z.ZodOptional<z.ZodString>;
@@ -36391,6 +36444,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
36391
36444
  can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
36392
36445
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
36393
36446
  can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
36447
+ can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
36394
36448
  }, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location"> & {
36395
36449
  is_managed: z.ZodLiteral<false>;
36396
36450
  properties: z.ZodObject<Pick<{
@@ -36540,6 +36594,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
36540
36594
  can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
36541
36595
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
36542
36596
  can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
36597
+ can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
36543
36598
  }, "strip", z.ZodTypeAny, {
36544
36599
  device_id: string;
36545
36600
  workspace_id: string;
@@ -36767,6 +36822,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
36767
36822
  can_simulate_connection?: boolean | undefined;
36768
36823
  can_simulate_disconnection?: boolean | undefined;
36769
36824
  can_unlock_with_code?: boolean | undefined;
36825
+ can_run_thermostat_programs?: boolean | undefined;
36770
36826
  }, {
36771
36827
  device_id: string;
36772
36828
  workspace_id: string;
@@ -36994,6 +37050,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
36994
37050
  can_simulate_connection?: boolean | undefined;
36995
37051
  can_simulate_disconnection?: boolean | undefined;
36996
37052
  can_unlock_with_code?: boolean | undefined;
37053
+ can_run_thermostat_programs?: boolean | undefined;
36997
37054
  }>;
36998
37055
  type UnmanagedDevice = z.infer<typeof unmanaged_device>;
36999
37056
 
@@ -44720,6 +44777,9 @@ declare const _default: {
44720
44777
  can_remotely_unlock: {
44721
44778
  type: string;
44722
44779
  };
44780
+ can_run_thermostat_programs: {
44781
+ type: string;
44782
+ };
44723
44783
  can_simulate_connection: {
44724
44784
  type: string;
44725
44785
  };
@@ -46406,6 +46466,7 @@ declare const _default: {
46406
46466
  max_cooling_set_point_fahrenheit?: never;
46407
46467
  max_heating_set_point_celsius?: never;
46408
46468
  max_heating_set_point_fahrenheit?: never;
46469
+ max_thermostat_daily_program_periods_per_day?: never;
46409
46470
  min_cooling_set_point_celsius?: never;
46410
46471
  min_cooling_set_point_fahrenheit?: never;
46411
46472
  min_heating_cooling_delta_celsius?: never;
@@ -46416,6 +46477,7 @@ declare const _default: {
46416
46477
  temperature_celsius?: never;
46417
46478
  temperature_fahrenheit?: never;
46418
46479
  temperature_threshold?: never;
46480
+ thermostat_daily_program_period_precision_minutes?: never;
46419
46481
  thermostat_daily_programs?: never;
46420
46482
  thermostat_weekly_program?: never;
46421
46483
  };
@@ -46882,6 +46944,12 @@ declare const _default: {
46882
46944
  type: string;
46883
46945
  'x-property-group-key': string;
46884
46946
  };
46947
+ max_thermostat_daily_program_periods_per_day: {
46948
+ description: string;
46949
+ format: string;
46950
+ type: string;
46951
+ 'x-property-group-key': string;
46952
+ };
46885
46953
  min_cooling_set_point_celsius: {
46886
46954
  description: string;
46887
46955
  format: string;
@@ -46970,6 +47038,12 @@ declare const _default: {
46970
47038
  type: string;
46971
47039
  'x-property-group-key': string;
46972
47040
  };
47041
+ thermostat_daily_program_period_precision_minutes: {
47042
+ description: string;
47043
+ format: string;
47044
+ type: string;
47045
+ 'x-property-group-key': string;
47046
+ };
46973
47047
  thermostat_daily_programs: {
46974
47048
  description: string;
46975
47049
  items: {
@@ -47256,6 +47330,9 @@ declare const _default: {
47256
47330
  can_remotely_unlock: {
47257
47331
  type: string;
47258
47332
  };
47333
+ can_run_thermostat_programs: {
47334
+ type: string;
47335
+ };
47259
47336
  can_simulate_connection: {
47260
47337
  type: string;
47261
47338
  };
@@ -53124,6 +53201,9 @@ declare const _default: {
53124
53201
  can_remotely_unlock: {
53125
53202
  type: string;
53126
53203
  };
53204
+ can_run_thermostat_programs: {
53205
+ type: string;
53206
+ };
53127
53207
  can_simulate_connection: {
53128
53208
  type: string;
53129
53209
  };
@@ -78150,6 +78230,252 @@ declare const _default: {
78150
78230
  'x-undocumented': string;
78151
78231
  };
78152
78232
  };
78233
+ '/seam/customer/v1/events/list': {
78234
+ get: {
78235
+ description: string;
78236
+ operationId: string;
78237
+ parameters: ({
78238
+ in: string;
78239
+ name: string;
78240
+ required: boolean;
78241
+ schema: {
78242
+ description: string;
78243
+ format: string;
78244
+ type: string;
78245
+ items?: never;
78246
+ maxItems?: never;
78247
+ minItems?: never;
78248
+ enum?: never;
78249
+ default?: never;
78250
+ };
78251
+ } | {
78252
+ in: string;
78253
+ name: string;
78254
+ required: boolean;
78255
+ schema: {
78256
+ description: string;
78257
+ type: string;
78258
+ format?: never;
78259
+ items?: never;
78260
+ maxItems?: never;
78261
+ minItems?: never;
78262
+ enum?: never;
78263
+ default?: never;
78264
+ };
78265
+ } | {
78266
+ in: string;
78267
+ name: string;
78268
+ required: boolean;
78269
+ schema: {
78270
+ description: string;
78271
+ items: {
78272
+ oneOf: ({
78273
+ type: string;
78274
+ format?: never;
78275
+ } | {
78276
+ format: string;
78277
+ type: string;
78278
+ })[];
78279
+ enum?: never;
78280
+ type?: never;
78281
+ };
78282
+ maxItems: number;
78283
+ minItems: number;
78284
+ type: string;
78285
+ format?: never;
78286
+ enum?: never;
78287
+ default?: never;
78288
+ };
78289
+ } | {
78290
+ in: string;
78291
+ name: string;
78292
+ required: boolean;
78293
+ schema: {
78294
+ description: string;
78295
+ enum: string[];
78296
+ type: string;
78297
+ format?: never;
78298
+ items?: never;
78299
+ maxItems?: never;
78300
+ minItems?: never;
78301
+ default?: never;
78302
+ };
78303
+ } | {
78304
+ in: string;
78305
+ name: string;
78306
+ required: boolean;
78307
+ schema: {
78308
+ description: string;
78309
+ items: {
78310
+ enum: string[];
78311
+ type: string;
78312
+ oneOf?: never;
78313
+ };
78314
+ type: string;
78315
+ format?: never;
78316
+ maxItems?: never;
78317
+ minItems?: never;
78318
+ enum?: never;
78319
+ default?: never;
78320
+ };
78321
+ } | {
78322
+ in: string;
78323
+ name: string;
78324
+ required: boolean;
78325
+ schema: {
78326
+ default: number;
78327
+ description: string;
78328
+ format: string;
78329
+ type: string;
78330
+ items?: never;
78331
+ maxItems?: never;
78332
+ minItems?: never;
78333
+ enum?: never;
78334
+ };
78335
+ })[];
78336
+ responses: {
78337
+ 200: {
78338
+ content: {
78339
+ 'application/json': {
78340
+ schema: {
78341
+ properties: {
78342
+ events: {
78343
+ items: {
78344
+ $ref: string;
78345
+ };
78346
+ type: string;
78347
+ };
78348
+ ok: {
78349
+ type: string;
78350
+ };
78351
+ };
78352
+ required: string[];
78353
+ type: string;
78354
+ };
78355
+ };
78356
+ };
78357
+ description: string;
78358
+ };
78359
+ 400: {
78360
+ description: string;
78361
+ };
78362
+ 401: {
78363
+ description: string;
78364
+ };
78365
+ };
78366
+ security: {
78367
+ client_session_with_customer: never[];
78368
+ }[];
78369
+ summary: string;
78370
+ tags: string[];
78371
+ 'x-fern-sdk-group-name': string[];
78372
+ 'x-fern-sdk-method-name': string;
78373
+ 'x-fern-sdk-return-value': string;
78374
+ 'x-response-key': string;
78375
+ 'x-title': string;
78376
+ 'x-undocumented': string;
78377
+ };
78378
+ post: {
78379
+ description: string;
78380
+ operationId: string;
78381
+ requestBody: {
78382
+ content: {
78383
+ 'application/json': {
78384
+ schema: {
78385
+ properties: {
78386
+ between: {
78387
+ description: string;
78388
+ items: {
78389
+ oneOf: ({
78390
+ type: string;
78391
+ format?: never;
78392
+ } | {
78393
+ format: string;
78394
+ type: string;
78395
+ })[];
78396
+ };
78397
+ maxItems: number;
78398
+ minItems: number;
78399
+ type: string;
78400
+ };
78401
+ event_type: {
78402
+ description: string;
78403
+ enum: string[];
78404
+ type: string;
78405
+ };
78406
+ event_types: {
78407
+ description: string;
78408
+ items: {
78409
+ enum: string[];
78410
+ type: string;
78411
+ };
78412
+ type: string;
78413
+ };
78414
+ limit: {
78415
+ default: number;
78416
+ description: string;
78417
+ format: string;
78418
+ type: string;
78419
+ };
78420
+ since: {
78421
+ description: string;
78422
+ type: string;
78423
+ };
78424
+ space_id: {
78425
+ description: string;
78426
+ format: string;
78427
+ type: string;
78428
+ };
78429
+ };
78430
+ required: string[];
78431
+ type: string;
78432
+ };
78433
+ };
78434
+ };
78435
+ };
78436
+ responses: {
78437
+ 200: {
78438
+ content: {
78439
+ 'application/json': {
78440
+ schema: {
78441
+ properties: {
78442
+ events: {
78443
+ items: {
78444
+ $ref: string;
78445
+ };
78446
+ type: string;
78447
+ };
78448
+ ok: {
78449
+ type: string;
78450
+ };
78451
+ };
78452
+ required: string[];
78453
+ type: string;
78454
+ };
78455
+ };
78456
+ };
78457
+ description: string;
78458
+ };
78459
+ 400: {
78460
+ description: string;
78461
+ };
78462
+ 401: {
78463
+ description: string;
78464
+ };
78465
+ };
78466
+ security: {
78467
+ client_session_with_customer: never[];
78468
+ }[];
78469
+ summary: string;
78470
+ tags: string[];
78471
+ 'x-fern-sdk-group-name': string[];
78472
+ 'x-fern-sdk-method-name': string;
78473
+ 'x-fern-sdk-return-value': string;
78474
+ 'x-response-key': string;
78475
+ 'x-title': string;
78476
+ 'x-undocumented': string;
78477
+ };
78478
+ };
78153
78479
  '/seam/customer/v1/portals/get': {
78154
78480
  get: {
78155
78481
  description: string;
@@ -78367,6 +78693,104 @@ declare const _default: {
78367
78693
  'x-undocumented': string;
78368
78694
  };
78369
78695
  };
78696
+ '/seam/customer/v1/settings/get': {
78697
+ get: {
78698
+ description: string;
78699
+ operationId: string;
78700
+ responses: {
78701
+ 200: {
78702
+ content: {
78703
+ 'application/json': {
78704
+ schema: {
78705
+ properties: {
78706
+ business_vertical: {
78707
+ description: string;
78708
+ enum: string[];
78709
+ type: string;
78710
+ };
78711
+ ok: {
78712
+ type: string;
78713
+ };
78714
+ };
78715
+ required: string[];
78716
+ type: string;
78717
+ };
78718
+ };
78719
+ };
78720
+ description: string;
78721
+ };
78722
+ 400: {
78723
+ description: string;
78724
+ };
78725
+ 401: {
78726
+ description: string;
78727
+ };
78728
+ };
78729
+ security: ({
78730
+ console_session_with_workspace: never[];
78731
+ api_key?: never;
78732
+ } | {
78733
+ api_key: never[];
78734
+ console_session_with_workspace?: never;
78735
+ })[];
78736
+ summary: string;
78737
+ tags: never[];
78738
+ 'x-fern-sdk-group-name': string[];
78739
+ 'x-fern-sdk-method-name': string;
78740
+ 'x-fern-sdk-return-value': string;
78741
+ 'x-response-key': string;
78742
+ 'x-title': string;
78743
+ 'x-undocumented': string;
78744
+ };
78745
+ post: {
78746
+ description: string;
78747
+ operationId: string;
78748
+ responses: {
78749
+ 200: {
78750
+ content: {
78751
+ 'application/json': {
78752
+ schema: {
78753
+ properties: {
78754
+ business_vertical: {
78755
+ description: string;
78756
+ enum: string[];
78757
+ type: string;
78758
+ };
78759
+ ok: {
78760
+ type: string;
78761
+ };
78762
+ };
78763
+ required: string[];
78764
+ type: string;
78765
+ };
78766
+ };
78767
+ };
78768
+ description: string;
78769
+ };
78770
+ 400: {
78771
+ description: string;
78772
+ };
78773
+ 401: {
78774
+ description: string;
78775
+ };
78776
+ };
78777
+ security: ({
78778
+ console_session_with_workspace: never[];
78779
+ api_key?: never;
78780
+ } | {
78781
+ api_key: never[];
78782
+ console_session_with_workspace?: never;
78783
+ })[];
78784
+ summary: string;
78785
+ tags: never[];
78786
+ 'x-fern-sdk-group-name': string[];
78787
+ 'x-fern-sdk-method-name': string;
78788
+ 'x-fern-sdk-return-value': string;
78789
+ 'x-response-key': string;
78790
+ 'x-title': string;
78791
+ 'x-undocumented': string;
78792
+ };
78793
+ };
78370
78794
  '/seam/customer/v1/settings/update': {
78371
78795
  patch: {
78372
78796
  description: string;
@@ -102045,6 +102469,10 @@ type Routes = {
102045
102469
  */
102046
102470
  upper_limit_fahrenheit: number | null;
102047
102471
  } | undefined) | undefined;
102472
+ /** 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. */
102473
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
102474
+ /** 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. */
102475
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
102048
102476
  });
102049
102477
  /** Location information for the device. */
102050
102478
  location: {
@@ -102354,6 +102782,7 @@ type Routes = {
102354
102782
  can_simulate_connection?: boolean | undefined;
102355
102783
  can_simulate_disconnection?: boolean | undefined;
102356
102784
  can_unlock_with_code?: boolean | undefined;
102785
+ can_run_thermostat_programs?: boolean | undefined;
102357
102786
  }[] | undefined;
102358
102787
  acs_entrances?: {
102359
102788
  /** 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). */
@@ -105146,6 +105575,10 @@ type Routes = {
105146
105575
  */
105147
105576
  upper_limit_fahrenheit: number | null;
105148
105577
  } | undefined) | undefined;
105578
+ /** 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. */
105579
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
105580
+ /** 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. */
105581
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
105149
105582
  });
105150
105583
  /** Location information for the device. */
105151
105584
  location: {
@@ -105455,6 +105888,7 @@ type Routes = {
105455
105888
  can_simulate_connection?: boolean | undefined;
105456
105889
  can_simulate_disconnection?: boolean | undefined;
105457
105890
  can_unlock_with_code?: boolean | undefined;
105891
+ can_run_thermostat_programs?: boolean | undefined;
105458
105892
  }[] | undefined;
105459
105893
  acs_entrances?: {
105460
105894
  /** 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). */
@@ -107833,6 +108267,7 @@ type Routes = {
107833
108267
  can_simulate_connection?: boolean | undefined;
107834
108268
  can_simulate_disconnection?: boolean | undefined;
107835
108269
  can_unlock_with_code?: boolean | undefined;
108270
+ can_run_thermostat_programs?: boolean | undefined;
107836
108271
  }[] | undefined;
107837
108272
  connect_webviews?: {
107838
108273
  /** ID of the Connect Webview. */
@@ -120072,6 +120507,10 @@ type Routes = {
120072
120507
  */
120073
120508
  upper_limit_fahrenheit: number | null;
120074
120509
  } | undefined) | undefined;
120510
+ /** 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. */
120511
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
120512
+ /** 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. */
120513
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
120075
120514
  });
120076
120515
  /** Location information for the device. */
120077
120516
  location: {
@@ -120381,6 +120820,7 @@ type Routes = {
120381
120820
  can_simulate_connection?: boolean | undefined;
120382
120821
  can_simulate_disconnection?: boolean | undefined;
120383
120822
  can_unlock_with_code?: boolean | undefined;
120823
+ can_run_thermostat_programs?: boolean | undefined;
120384
120824
  };
120385
120825
  };
120386
120826
  };
@@ -120418,9 +120858,9 @@ type Routes = {
120418
120858
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
120419
120859
  page_cursor?: (string | undefined) | null;
120420
120860
  /** */
120421
- 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;
120861
+ 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;
120422
120862
  /** */
120423
- 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;
120863
+ 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;
120424
120864
  /**
120425
120865
  * @deprecated Use `space_id`.*/
120426
120866
  unstable_location_id?: (string | null) | undefined;
@@ -121321,6 +121761,10 @@ type Routes = {
121321
121761
  */
121322
121762
  upper_limit_fahrenheit: number | null;
121323
121763
  } | undefined) | undefined;
121764
+ /** 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. */
121765
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
121766
+ /** 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. */
121767
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
121324
121768
  });
121325
121769
  /** Location information for the device. */
121326
121770
  location: {
@@ -121630,6 +122074,7 @@ type Routes = {
121630
122074
  can_simulate_connection?: boolean | undefined;
121631
122075
  can_simulate_disconnection?: boolean | undefined;
121632
122076
  can_unlock_with_code?: boolean | undefined;
122077
+ can_run_thermostat_programs?: boolean | undefined;
121633
122078
  }[];
121634
122079
  /** Information about the current page of results. */
121635
122080
  pagination: {
@@ -121670,6 +122115,7 @@ type Routes = {
121670
122115
  can_simulate_connection?: boolean | undefined;
121671
122116
  can_simulate_disconnection?: boolean | undefined;
121672
122117
  can_unlock_with_code?: boolean | undefined;
122118
+ can_run_thermostat_programs?: boolean | undefined;
121673
122119
  }[];
121674
122120
  };
121675
122121
  };
@@ -122127,6 +122573,7 @@ type Routes = {
122127
122573
  can_simulate_connection?: boolean | undefined;
122128
122574
  can_simulate_disconnection?: boolean | undefined;
122129
122575
  can_unlock_with_code?: boolean | undefined;
122576
+ can_run_thermostat_programs?: boolean | undefined;
122130
122577
  };
122131
122578
  };
122132
122579
  };
@@ -122164,9 +122611,9 @@ type Routes = {
122164
122611
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
122165
122612
  page_cursor?: (string | undefined) | null;
122166
122613
  /** */
122167
- 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;
122614
+ 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;
122168
122615
  /** */
122169
- 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;
122616
+ 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;
122170
122617
  /**
122171
122618
  * @deprecated Use `space_id`.*/
122172
122619
  unstable_location_id?: (string | null) | undefined;
@@ -122559,6 +123006,7 @@ type Routes = {
122559
123006
  can_simulate_connection?: boolean | undefined;
122560
123007
  can_simulate_disconnection?: boolean | undefined;
122561
123008
  can_unlock_with_code?: boolean | undefined;
123009
+ can_run_thermostat_programs?: boolean | undefined;
122562
123010
  }[];
122563
123011
  };
122564
123012
  };
@@ -127299,6 +127747,10 @@ type Routes = {
127299
127747
  */
127300
127748
  upper_limit_fahrenheit: number | null;
127301
127749
  } | undefined) | undefined;
127750
+ /** 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. */
127751
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
127752
+ /** 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. */
127753
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
127302
127754
  });
127303
127755
  /** Location information for the device. */
127304
127756
  location: {
@@ -127608,6 +128060,7 @@ type Routes = {
127608
128060
  can_simulate_connection?: boolean | undefined;
127609
128061
  can_simulate_disconnection?: boolean | undefined;
127610
128062
  can_unlock_with_code?: boolean | undefined;
128063
+ can_run_thermostat_programs?: boolean | undefined;
127611
128064
  };
127612
128065
  /** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
127613
128066
  device: {
@@ -128498,6 +128951,10 @@ type Routes = {
128498
128951
  */
128499
128952
  upper_limit_fahrenheit: number | null;
128500
128953
  } | undefined) | undefined;
128954
+ /** 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. */
128955
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
128956
+ /** 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. */
128957
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
128501
128958
  });
128502
128959
  /** Location information for the device. */
128503
128960
  location: {
@@ -128807,6 +129264,7 @@ type Routes = {
128807
129264
  can_simulate_connection?: boolean | undefined;
128808
129265
  can_simulate_disconnection?: boolean | undefined;
128809
129266
  can_unlock_with_code?: boolean | undefined;
129267
+ can_run_thermostat_programs?: boolean | undefined;
128810
129268
  };
128811
129269
  };
128812
129270
  };
@@ -128844,9 +129302,9 @@ type Routes = {
128844
129302
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
128845
129303
  page_cursor?: (string | undefined) | null;
128846
129304
  /** */
128847
- 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;
129305
+ 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;
128848
129306
  /** */
128849
- 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;
129307
+ 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;
128850
129308
  /**
128851
129309
  * @deprecated Use `space_id`.*/
128852
129310
  unstable_location_id?: (string | null) | undefined;
@@ -129747,6 +130205,10 @@ type Routes = {
129747
130205
  */
129748
130206
  upper_limit_fahrenheit: number | null;
129749
130207
  } | undefined) | undefined;
130208
+ /** 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. */
130209
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
130210
+ /** 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. */
130211
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
129750
130212
  });
129751
130213
  /** Location information for the device. */
129752
130214
  location: {
@@ -130056,6 +130518,7 @@ type Routes = {
130056
130518
  can_simulate_connection?: boolean | undefined;
130057
130519
  can_simulate_disconnection?: boolean | undefined;
130058
130520
  can_unlock_with_code?: boolean | undefined;
130521
+ can_run_thermostat_programs?: boolean | undefined;
130059
130522
  }[];
130060
130523
  devices: {
130061
130524
  /** ID of the device. */
@@ -130945,6 +131408,10 @@ type Routes = {
130945
131408
  */
130946
131409
  upper_limit_fahrenheit: number | null;
130947
131410
  } | undefined) | undefined;
131411
+ /** 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. */
131412
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
131413
+ /** 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. */
131414
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
130948
131415
  });
130949
131416
  /** Location information for the device. */
130950
131417
  location: {
@@ -131254,6 +131721,7 @@ type Routes = {
131254
131721
  can_simulate_connection?: boolean | undefined;
131255
131722
  can_simulate_disconnection?: boolean | undefined;
131256
131723
  can_unlock_with_code?: boolean | undefined;
131724
+ can_run_thermostat_programs?: boolean | undefined;
131257
131725
  }[];
131258
131726
  };
131259
131727
  };
@@ -136329,9 +136797,9 @@ type Routes = {
136329
136797
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
136330
136798
  page_cursor?: (string | undefined) | null;
136331
136799
  /** */
136332
- 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;
136800
+ 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;
136333
136801
  /** */
136334
- 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;
136802
+ 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;
136335
136803
  /**
136336
136804
  * @deprecated Use `space_id`.*/
136337
136805
  unstable_location_id?: (string | null) | undefined;
@@ -137232,6 +137700,10 @@ type Routes = {
137232
137700
  */
137233
137701
  upper_limit_fahrenheit: number | null;
137234
137702
  } | undefined) | undefined;
137703
+ /** 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. */
137704
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
137705
+ /** 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. */
137706
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
137235
137707
  });
137236
137708
  /** Location information for the device. */
137237
137709
  location: {
@@ -137541,6 +138013,7 @@ type Routes = {
137541
138013
  can_simulate_connection?: boolean | undefined;
137542
138014
  can_simulate_disconnection?: boolean | undefined;
137543
138015
  can_unlock_with_code?: boolean | undefined;
138016
+ can_run_thermostat_programs?: boolean | undefined;
137544
138017
  }[];
137545
138018
  devices: {
137546
138019
  /** ID of the device. */
@@ -138430,6 +138903,10 @@ type Routes = {
138430
138903
  */
138431
138904
  upper_limit_fahrenheit: number | null;
138432
138905
  } | undefined) | undefined;
138906
+ /** 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. */
138907
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
138908
+ /** 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. */
138909
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
138433
138910
  });
138434
138911
  /** Location information for the device. */
138435
138912
  location: {
@@ -138739,6 +139216,7 @@ type Routes = {
138739
139216
  can_simulate_connection?: boolean | undefined;
138740
139217
  can_simulate_disconnection?: boolean | undefined;
138741
139218
  can_unlock_with_code?: boolean | undefined;
139219
+ can_run_thermostat_programs?: boolean | undefined;
138742
139220
  }[];
138743
139221
  };
138744
139222
  };
@@ -143331,6 +143809,1859 @@ type Routes = {
143331
143809
  formData: {};
143332
143810
  jsonResponse: {};
143333
143811
  };
143812
+ '/seam/customer/v1/events/list': {
143813
+ route: '/seam/customer/v1/events/list';
143814
+ method: 'GET' | 'POST';
143815
+ queryParams: {};
143816
+ jsonBody: {};
143817
+ commonParams: {
143818
+ /** ID of the space for which you want to list events. */
143819
+ space_id: string;
143820
+ /** Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. */
143821
+ since?: string | undefined;
143822
+ /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
143823
+ between?: (string | Date)[] | undefined;
143824
+ /** Type of the events that you want to list. */
143825
+ 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;
143826
+ /** Types of the events that you want to list. */
143827
+ 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;
143828
+ /** Numerical limit on the number of events to return. */
143829
+ limit?: number;
143830
+ };
143831
+ formData: {};
143832
+ jsonResponse: {
143833
+ events: ({
143834
+ /** ID of the event. */
143835
+ event_id: string;
143836
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
143837
+ workspace_id: string;
143838
+ /** Date and time at which the event was created. */
143839
+ created_at: string;
143840
+ /** Date and time at which the event occurred. */
143841
+ occurred_at: string;
143842
+ /** ID of the affected access code. */
143843
+ access_code_id: string;
143844
+ /** ID of the device associated with the affected access code. */
143845
+ device_id: string;
143846
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
143847
+ connected_account_id: string;
143848
+ /** Custom metadata of the device, present when device_id is provided. */
143849
+ device_custom_metadata?: {
143850
+ [x: string]: string | boolean;
143851
+ } | undefined;
143852
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
143853
+ connected_account_custom_metadata?: {
143854
+ [x: string]: string | boolean;
143855
+ } | undefined;
143856
+ event_type: 'access_code.created';
143857
+ } | {
143858
+ /** ID of the event. */
143859
+ event_id: string;
143860
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
143861
+ workspace_id: string;
143862
+ /** Date and time at which the event was created. */
143863
+ created_at: string;
143864
+ /** Date and time at which the event occurred. */
143865
+ occurred_at: string;
143866
+ /** ID of the affected access code. */
143867
+ access_code_id: string;
143868
+ /** ID of the device associated with the affected access code. */
143869
+ device_id: string;
143870
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
143871
+ connected_account_id: string;
143872
+ /** Custom metadata of the device, present when device_id is provided. */
143873
+ device_custom_metadata?: {
143874
+ [x: string]: string | boolean;
143875
+ } | undefined;
143876
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
143877
+ connected_account_custom_metadata?: {
143878
+ [x: string]: string | boolean;
143879
+ } | undefined;
143880
+ event_type: 'access_code.changed';
143881
+ } | {
143882
+ /** ID of the event. */
143883
+ event_id: string;
143884
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
143885
+ workspace_id: string;
143886
+ /** Date and time at which the event was created. */
143887
+ created_at: string;
143888
+ /** Date and time at which the event occurred. */
143889
+ occurred_at: string;
143890
+ /** ID of the affected access code. */
143891
+ access_code_id: string;
143892
+ /** ID of the device associated with the affected access code. */
143893
+ device_id: string;
143894
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
143895
+ connected_account_id: string;
143896
+ /** Custom metadata of the device, present when device_id is provided. */
143897
+ device_custom_metadata?: {
143898
+ [x: string]: string | boolean;
143899
+ } | undefined;
143900
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
143901
+ connected_account_custom_metadata?: {
143902
+ [x: string]: string | boolean;
143903
+ } | undefined;
143904
+ event_type: 'access_code.scheduled_on_device';
143905
+ /** Code for the affected access code. */
143906
+ code: string;
143907
+ } | {
143908
+ /** ID of the event. */
143909
+ event_id: string;
143910
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
143911
+ workspace_id: string;
143912
+ /** Date and time at which the event was created. */
143913
+ created_at: string;
143914
+ /** Date and time at which the event occurred. */
143915
+ occurred_at: string;
143916
+ /** ID of the affected access code. */
143917
+ access_code_id: string;
143918
+ /** ID of the device associated with the affected access code. */
143919
+ device_id: string;
143920
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
143921
+ connected_account_id: string;
143922
+ /** Custom metadata of the device, present when device_id is provided. */
143923
+ device_custom_metadata?: {
143924
+ [x: string]: string | boolean;
143925
+ } | undefined;
143926
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
143927
+ connected_account_custom_metadata?: {
143928
+ [x: string]: string | boolean;
143929
+ } | undefined;
143930
+ event_type: 'access_code.set_on_device';
143931
+ /** Code for the affected access code. */
143932
+ code: string;
143933
+ } | {
143934
+ /** ID of the event. */
143935
+ event_id: string;
143936
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
143937
+ workspace_id: string;
143938
+ /** Date and time at which the event was created. */
143939
+ created_at: string;
143940
+ /** Date and time at which the event occurred. */
143941
+ occurred_at: string;
143942
+ /** ID of the affected access code. */
143943
+ access_code_id: string;
143944
+ /** ID of the device associated with the affected access code. */
143945
+ device_id: string;
143946
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
143947
+ connected_account_id: string;
143948
+ /** Custom metadata of the device, present when device_id is provided. */
143949
+ device_custom_metadata?: {
143950
+ [x: string]: string | boolean;
143951
+ } | undefined;
143952
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
143953
+ connected_account_custom_metadata?: {
143954
+ [x: string]: string | boolean;
143955
+ } | undefined;
143956
+ event_type: 'access_code.removed_from_device';
143957
+ } | {
143958
+ /** ID of the event. */
143959
+ event_id: string;
143960
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
143961
+ workspace_id: string;
143962
+ /** Date and time at which the event was created. */
143963
+ created_at: string;
143964
+ /** Date and time at which the event occurred. */
143965
+ occurred_at: string;
143966
+ /** ID of the affected access code. */
143967
+ access_code_id: string;
143968
+ /** ID of the device associated with the affected access code. */
143969
+ device_id: string;
143970
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
143971
+ connected_account_id: string;
143972
+ /** Custom metadata of the device, present when device_id is provided. */
143973
+ device_custom_metadata?: {
143974
+ [x: string]: string | boolean;
143975
+ } | undefined;
143976
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
143977
+ connected_account_custom_metadata?: {
143978
+ [x: string]: string | boolean;
143979
+ } | undefined;
143980
+ event_type: 'access_code.delay_in_setting_on_device';
143981
+ } | {
143982
+ /** ID of the event. */
143983
+ event_id: string;
143984
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
143985
+ workspace_id: string;
143986
+ /** Date and time at which the event was created. */
143987
+ created_at: string;
143988
+ /** Date and time at which the event occurred. */
143989
+ occurred_at: string;
143990
+ /** ID of the affected access code. */
143991
+ access_code_id: string;
143992
+ /** ID of the device associated with the affected access code. */
143993
+ device_id: string;
143994
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
143995
+ connected_account_id: string;
143996
+ /** Custom metadata of the device, present when device_id is provided. */
143997
+ device_custom_metadata?: {
143998
+ [x: string]: string | boolean;
143999
+ } | undefined;
144000
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144001
+ connected_account_custom_metadata?: {
144002
+ [x: string]: string | boolean;
144003
+ } | undefined;
144004
+ event_type: 'access_code.failed_to_set_on_device';
144005
+ } | {
144006
+ /** ID of the event. */
144007
+ event_id: string;
144008
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144009
+ workspace_id: string;
144010
+ /** Date and time at which the event was created. */
144011
+ created_at: string;
144012
+ /** Date and time at which the event occurred. */
144013
+ occurred_at: string;
144014
+ /** ID of the affected access code. */
144015
+ access_code_id: string;
144016
+ /** ID of the device associated with the affected access code. */
144017
+ device_id: string;
144018
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
144019
+ connected_account_id: string;
144020
+ /** Custom metadata of the device, present when device_id is provided. */
144021
+ device_custom_metadata?: {
144022
+ [x: string]: string | boolean;
144023
+ } | undefined;
144024
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144025
+ connected_account_custom_metadata?: {
144026
+ [x: string]: string | boolean;
144027
+ } | undefined;
144028
+ event_type: 'access_code.deleted';
144029
+ /** Code for the affected access code. */
144030
+ code: string | null;
144031
+ } | {
144032
+ /** ID of the event. */
144033
+ event_id: string;
144034
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144035
+ workspace_id: string;
144036
+ /** Date and time at which the event was created. */
144037
+ created_at: string;
144038
+ /** Date and time at which the event occurred. */
144039
+ occurred_at: string;
144040
+ /** ID of the affected access code. */
144041
+ access_code_id: string;
144042
+ /** ID of the device associated with the affected access code. */
144043
+ device_id: string;
144044
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
144045
+ connected_account_id: string;
144046
+ /** Custom metadata of the device, present when device_id is provided. */
144047
+ device_custom_metadata?: {
144048
+ [x: string]: string | boolean;
144049
+ } | undefined;
144050
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144051
+ connected_account_custom_metadata?: {
144052
+ [x: string]: string | boolean;
144053
+ } | undefined;
144054
+ event_type: 'access_code.delay_in_removing_from_device';
144055
+ } | {
144056
+ /** ID of the event. */
144057
+ event_id: string;
144058
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144059
+ workspace_id: string;
144060
+ /** Date and time at which the event was created. */
144061
+ created_at: string;
144062
+ /** Date and time at which the event occurred. */
144063
+ occurred_at: string;
144064
+ /** ID of the affected access code. */
144065
+ access_code_id: string;
144066
+ /** ID of the device associated with the affected access code. */
144067
+ device_id: string;
144068
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
144069
+ connected_account_id: string;
144070
+ /** Custom metadata of the device, present when device_id is provided. */
144071
+ device_custom_metadata?: {
144072
+ [x: string]: string | boolean;
144073
+ } | undefined;
144074
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144075
+ connected_account_custom_metadata?: {
144076
+ [x: string]: string | boolean;
144077
+ } | undefined;
144078
+ event_type: 'access_code.failed_to_remove_from_device';
144079
+ } | {
144080
+ /** ID of the event. */
144081
+ event_id: string;
144082
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144083
+ workspace_id: string;
144084
+ /** Date and time at which the event was created. */
144085
+ created_at: string;
144086
+ /** Date and time at which the event occurred. */
144087
+ occurred_at: string;
144088
+ /** ID of the affected access code. */
144089
+ access_code_id: string;
144090
+ /** ID of the device associated with the affected access code. */
144091
+ device_id: string;
144092
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
144093
+ connected_account_id: string;
144094
+ /** Custom metadata of the device, present when device_id is provided. */
144095
+ device_custom_metadata?: {
144096
+ [x: string]: string | boolean;
144097
+ } | undefined;
144098
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144099
+ connected_account_custom_metadata?: {
144100
+ [x: string]: string | boolean;
144101
+ } | undefined;
144102
+ event_type: 'access_code.modified_external_to_seam';
144103
+ } | {
144104
+ /** ID of the event. */
144105
+ event_id: string;
144106
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144107
+ workspace_id: string;
144108
+ /** Date and time at which the event was created. */
144109
+ created_at: string;
144110
+ /** Date and time at which the event occurred. */
144111
+ occurred_at: string;
144112
+ /** ID of the affected access code. */
144113
+ access_code_id: string;
144114
+ /** ID of the device associated with the affected access code. */
144115
+ device_id: string;
144116
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
144117
+ connected_account_id: string;
144118
+ /** Custom metadata of the device, present when device_id is provided. */
144119
+ device_custom_metadata?: {
144120
+ [x: string]: string | boolean;
144121
+ } | undefined;
144122
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144123
+ connected_account_custom_metadata?: {
144124
+ [x: string]: string | boolean;
144125
+ } | undefined;
144126
+ event_type: 'access_code.deleted_external_to_seam';
144127
+ } | {
144128
+ /** ID of the event. */
144129
+ event_id: string;
144130
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144131
+ workspace_id: string;
144132
+ /** Date and time at which the event was created. */
144133
+ created_at: string;
144134
+ /** Date and time at which the event occurred. */
144135
+ occurred_at: string;
144136
+ /** ID of the affected access code. */
144137
+ access_code_id: string;
144138
+ /** ID of the device associated with the affected access code. */
144139
+ device_id: string;
144140
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
144141
+ connected_account_id: string;
144142
+ /** Custom metadata of the device, present when device_id is provided. */
144143
+ device_custom_metadata?: {
144144
+ [x: string]: string | boolean;
144145
+ } | undefined;
144146
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144147
+ connected_account_custom_metadata?: {
144148
+ [x: string]: string | boolean;
144149
+ } | undefined;
144150
+ event_type: 'access_code.backup_access_code_pulled';
144151
+ backup_access_code_id: string;
144152
+ } | {
144153
+ /** ID of the event. */
144154
+ event_id: string;
144155
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144156
+ workspace_id: string;
144157
+ /** Date and time at which the event was created. */
144158
+ created_at: string;
144159
+ /** Date and time at which the event occurred. */
144160
+ occurred_at: string;
144161
+ /** ID of the affected access code. */
144162
+ access_code_id: string;
144163
+ /** ID of the device associated with the affected access code. */
144164
+ device_id: string;
144165
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
144166
+ connected_account_id: string;
144167
+ /** Custom metadata of the device, present when device_id is provided. */
144168
+ device_custom_metadata?: {
144169
+ [x: string]: string | boolean;
144170
+ } | undefined;
144171
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144172
+ connected_account_custom_metadata?: {
144173
+ [x: string]: string | boolean;
144174
+ } | undefined;
144175
+ event_type: 'access_code.unmanaged.converted_to_managed';
144176
+ } | {
144177
+ /** ID of the event. */
144178
+ event_id: string;
144179
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144180
+ workspace_id: string;
144181
+ /** Date and time at which the event was created. */
144182
+ created_at: string;
144183
+ /** Date and time at which the event occurred. */
144184
+ occurred_at: string;
144185
+ /** ID of the affected access code. */
144186
+ access_code_id: string;
144187
+ /** ID of the device associated with the affected access code. */
144188
+ device_id: string;
144189
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
144190
+ connected_account_id: string;
144191
+ /** Custom metadata of the device, present when device_id is provided. */
144192
+ device_custom_metadata?: {
144193
+ [x: string]: string | boolean;
144194
+ } | undefined;
144195
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144196
+ connected_account_custom_metadata?: {
144197
+ [x: string]: string | boolean;
144198
+ } | undefined;
144199
+ event_type: 'access_code.unmanaged.failed_to_convert_to_managed';
144200
+ } | {
144201
+ /** ID of the event. */
144202
+ event_id: string;
144203
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144204
+ workspace_id: string;
144205
+ /** Date and time at which the event was created. */
144206
+ created_at: string;
144207
+ /** Date and time at which the event occurred. */
144208
+ occurred_at: string;
144209
+ /** ID of the affected access code. */
144210
+ access_code_id: string;
144211
+ /** ID of the device associated with the affected access code. */
144212
+ device_id: string;
144213
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
144214
+ connected_account_id: string;
144215
+ /** Custom metadata of the device, present when device_id is provided. */
144216
+ device_custom_metadata?: {
144217
+ [x: string]: string | boolean;
144218
+ } | undefined;
144219
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144220
+ connected_account_custom_metadata?: {
144221
+ [x: string]: string | boolean;
144222
+ } | undefined;
144223
+ event_type: 'access_code.unmanaged.created';
144224
+ } | {
144225
+ /** ID of the event. */
144226
+ event_id: string;
144227
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144228
+ workspace_id: string;
144229
+ /** Date and time at which the event was created. */
144230
+ created_at: string;
144231
+ /** Date and time at which the event occurred. */
144232
+ occurred_at: string;
144233
+ /** ID of the affected access code. */
144234
+ access_code_id: string;
144235
+ /** ID of the device associated with the affected access code. */
144236
+ device_id: string;
144237
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
144238
+ connected_account_id: string;
144239
+ /** Custom metadata of the device, present when device_id is provided. */
144240
+ device_custom_metadata?: {
144241
+ [x: string]: string | boolean;
144242
+ } | undefined;
144243
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144244
+ connected_account_custom_metadata?: {
144245
+ [x: string]: string | boolean;
144246
+ } | undefined;
144247
+ event_type: 'access_code.unmanaged.removed';
144248
+ } | {
144249
+ /** ID of the event. */
144250
+ event_id: string;
144251
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144252
+ workspace_id: string;
144253
+ /** Date and time at which the event was created. */
144254
+ created_at: string;
144255
+ /** Date and time at which the event occurred. */
144256
+ occurred_at: string;
144257
+ /** ID of the affected Access Grant. */
144258
+ access_grant_id: string;
144259
+ event_type: 'access_grant.created';
144260
+ } | {
144261
+ /** ID of the event. */
144262
+ event_id: string;
144263
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144264
+ workspace_id: string;
144265
+ /** Date and time at which the event was created. */
144266
+ created_at: string;
144267
+ /** Date and time at which the event occurred. */
144268
+ occurred_at: string;
144269
+ /** ID of the affected Access Grant. */
144270
+ access_grant_id: string;
144271
+ event_type: 'access_grant.deleted';
144272
+ } | {
144273
+ /** ID of the event. */
144274
+ event_id: string;
144275
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144276
+ workspace_id: string;
144277
+ /** Date and time at which the event was created. */
144278
+ created_at: string;
144279
+ /** Date and time at which the event occurred. */
144280
+ occurred_at: string;
144281
+ /** ID of the affected Access Grant. */
144282
+ access_grant_id: string;
144283
+ event_type: 'access_grant.access_granted_to_all_doors';
144284
+ } | {
144285
+ /** ID of the event. */
144286
+ event_id: string;
144287
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144288
+ workspace_id: string;
144289
+ /** Date and time at which the event was created. */
144290
+ created_at: string;
144291
+ /** Date and time at which the event occurred. */
144292
+ occurred_at: string;
144293
+ /** ID of the affected Access Grant. */
144294
+ access_grant_id: string;
144295
+ event_type: 'access_grant.access_granted_to_door';
144296
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
144297
+ acs_entrance_id: string;
144298
+ } | {
144299
+ /** ID of the event. */
144300
+ event_id: string;
144301
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144302
+ workspace_id: string;
144303
+ /** Date and time at which the event was created. */
144304
+ created_at: string;
144305
+ /** Date and time at which the event occurred. */
144306
+ occurred_at: string;
144307
+ /** ID of the affected Access Grant. */
144308
+ access_grant_id: string;
144309
+ event_type: 'access_grant.access_to_door_lost';
144310
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
144311
+ acs_entrance_id: string;
144312
+ } | {
144313
+ /** ID of the event. */
144314
+ event_id: string;
144315
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144316
+ workspace_id: string;
144317
+ /** Date and time at which the event was created. */
144318
+ created_at: string;
144319
+ /** Date and time at which the event occurred. */
144320
+ occurred_at: string;
144321
+ /** ID of the affected access method. */
144322
+ access_method_id: string;
144323
+ event_type: 'access_method.issued';
144324
+ } | {
144325
+ /** ID of the event. */
144326
+ event_id: string;
144327
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144328
+ workspace_id: string;
144329
+ /** Date and time at which the event was created. */
144330
+ created_at: string;
144331
+ /** Date and time at which the event occurred. */
144332
+ occurred_at: string;
144333
+ /** ID of the affected access method. */
144334
+ access_method_id: string;
144335
+ event_type: 'access_method.revoked';
144336
+ } | {
144337
+ /** ID of the event. */
144338
+ event_id: string;
144339
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144340
+ workspace_id: string;
144341
+ /** Date and time at which the event was created. */
144342
+ created_at: string;
144343
+ /** Date and time at which the event occurred. */
144344
+ occurred_at: string;
144345
+ /** ID of the affected access method. */
144346
+ access_method_id: string;
144347
+ event_type: 'access_method.card_encoding_required';
144348
+ } | {
144349
+ /** ID of the event. */
144350
+ event_id: string;
144351
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144352
+ workspace_id: string;
144353
+ /** Date and time at which the event was created. */
144354
+ created_at: string;
144355
+ /** Date and time at which the event occurred. */
144356
+ occurred_at: string;
144357
+ /** ID of the affected access method. */
144358
+ access_method_id: string;
144359
+ event_type: 'access_method.deleted';
144360
+ } | {
144361
+ /** ID of the event. */
144362
+ event_id: string;
144363
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144364
+ workspace_id: string;
144365
+ /** Date and time at which the event was created. */
144366
+ created_at: string;
144367
+ /** Date and time at which the event occurred. */
144368
+ occurred_at: string;
144369
+ /** ID of the affected access method. */
144370
+ access_method_id: string;
144371
+ event_type: 'access_method.reissued';
144372
+ } | {
144373
+ /** ID of the event. */
144374
+ event_id: string;
144375
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144376
+ workspace_id: string;
144377
+ /** Date and time at which the event was created. */
144378
+ created_at: string;
144379
+ /** Date and time at which the event occurred. */
144380
+ occurred_at: string;
144381
+ /** ID of the connected account. */
144382
+ connected_account_id?: string | undefined;
144383
+ /** ID of the access system. */
144384
+ acs_system_id: string;
144385
+ event_type: 'acs_system.connected';
144386
+ } | {
144387
+ /** ID of the event. */
144388
+ event_id: string;
144389
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144390
+ workspace_id: string;
144391
+ /** Date and time at which the event was created. */
144392
+ created_at: string;
144393
+ /** Date and time at which the event occurred. */
144394
+ occurred_at: string;
144395
+ /** ID of the connected account. */
144396
+ connected_account_id?: string | undefined;
144397
+ /** ID of the access system. */
144398
+ acs_system_id: string;
144399
+ event_type: 'acs_system.added';
144400
+ } | {
144401
+ /** ID of the event. */
144402
+ event_id: string;
144403
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144404
+ workspace_id: string;
144405
+ /** Date and time at which the event was created. */
144406
+ created_at: string;
144407
+ /** Date and time at which the event occurred. */
144408
+ occurred_at: string;
144409
+ /** ID of the connected account. */
144410
+ connected_account_id?: string | undefined;
144411
+ /** ID of the access system. */
144412
+ acs_system_id: string;
144413
+ event_type: 'acs_system.disconnected';
144414
+ } | {
144415
+ /** ID of the event. */
144416
+ event_id: string;
144417
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144418
+ workspace_id: string;
144419
+ /** Date and time at which the event was created. */
144420
+ created_at: string;
144421
+ /** Date and time at which the event occurred. */
144422
+ occurred_at: string;
144423
+ /** ID of the connected account. */
144424
+ connected_account_id?: string | undefined;
144425
+ /** ID of the access system. */
144426
+ acs_system_id: string;
144427
+ /** ID of the affected credential. */
144428
+ acs_credential_id: string;
144429
+ event_type: 'acs_credential.deleted';
144430
+ } | {
144431
+ /** ID of the event. */
144432
+ event_id: string;
144433
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144434
+ workspace_id: string;
144435
+ /** Date and time at which the event was created. */
144436
+ created_at: string;
144437
+ /** Date and time at which the event occurred. */
144438
+ occurred_at: string;
144439
+ /** ID of the connected account. */
144440
+ connected_account_id?: string | undefined;
144441
+ /** ID of the access system. */
144442
+ acs_system_id: string;
144443
+ /** ID of the affected credential. */
144444
+ acs_credential_id: string;
144445
+ event_type: 'acs_credential.issued';
144446
+ } | {
144447
+ /** ID of the event. */
144448
+ event_id: string;
144449
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144450
+ workspace_id: string;
144451
+ /** Date and time at which the event was created. */
144452
+ created_at: string;
144453
+ /** Date and time at which the event occurred. */
144454
+ occurred_at: string;
144455
+ /** ID of the connected account. */
144456
+ connected_account_id?: string | undefined;
144457
+ /** ID of the access system. */
144458
+ acs_system_id: string;
144459
+ /** ID of the affected credential. */
144460
+ acs_credential_id: string;
144461
+ event_type: 'acs_credential.reissued';
144462
+ } | {
144463
+ /** ID of the event. */
144464
+ event_id: string;
144465
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144466
+ workspace_id: string;
144467
+ /** Date and time at which the event was created. */
144468
+ created_at: string;
144469
+ /** Date and time at which the event occurred. */
144470
+ occurred_at: string;
144471
+ /** ID of the connected account. */
144472
+ connected_account_id?: string | undefined;
144473
+ /** ID of the access system. */
144474
+ acs_system_id: string;
144475
+ /** ID of the affected credential. */
144476
+ acs_credential_id: string;
144477
+ event_type: 'acs_credential.invalidated';
144478
+ } | {
144479
+ /** ID of the event. */
144480
+ event_id: string;
144481
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144482
+ workspace_id: string;
144483
+ /** Date and time at which the event was created. */
144484
+ created_at: string;
144485
+ /** Date and time at which the event occurred. */
144486
+ occurred_at: string;
144487
+ /** ID of the connected account. */
144488
+ connected_account_id?: string | undefined;
144489
+ /** ID of the access system. */
144490
+ acs_system_id: string;
144491
+ acs_user_id: string;
144492
+ event_type: 'acs_user.created';
144493
+ } | {
144494
+ /** ID of the event. */
144495
+ event_id: string;
144496
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144497
+ workspace_id: string;
144498
+ /** Date and time at which the event was created. */
144499
+ created_at: string;
144500
+ /** Date and time at which the event occurred. */
144501
+ occurred_at: string;
144502
+ /** ID of the connected account. */
144503
+ connected_account_id?: string | undefined;
144504
+ /** ID of the access system. */
144505
+ acs_system_id: string;
144506
+ acs_user_id: string;
144507
+ event_type: 'acs_user.deleted';
144508
+ } | {
144509
+ /** ID of the event. */
144510
+ event_id: string;
144511
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144512
+ workspace_id: string;
144513
+ /** Date and time at which the event was created. */
144514
+ created_at: string;
144515
+ /** Date and time at which the event occurred. */
144516
+ occurred_at: string;
144517
+ /** ID of the connected account. */
144518
+ connected_account_id?: string | undefined;
144519
+ /** ID of the access system. */
144520
+ acs_system_id: string;
144521
+ /** ID of the affected encoder. */
144522
+ acs_encoder_id: string;
144523
+ event_type: 'acs_encoder.added';
144524
+ } | {
144525
+ /** ID of the event. */
144526
+ event_id: string;
144527
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144528
+ workspace_id: string;
144529
+ /** Date and time at which the event was created. */
144530
+ created_at: string;
144531
+ /** Date and time at which the event occurred. */
144532
+ occurred_at: string;
144533
+ /** ID of the connected account. */
144534
+ connected_account_id?: string | undefined;
144535
+ /** ID of the access system. */
144536
+ acs_system_id: string;
144537
+ /** ID of the affected encoder. */
144538
+ acs_encoder_id: string;
144539
+ event_type: 'acs_encoder.removed';
144540
+ } | {
144541
+ /** ID of the event. */
144542
+ event_id: string;
144543
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144544
+ workspace_id: string;
144545
+ /** Date and time at which the event was created. */
144546
+ created_at: string;
144547
+ /** Date and time at which the event occurred. */
144548
+ occurred_at: string;
144549
+ /** ID of the connected account. */
144550
+ connected_account_id?: string | undefined;
144551
+ /** ID of the access system. */
144552
+ acs_system_id: string;
144553
+ /** ID of the affected access group. */
144554
+ acs_access_group_id: string;
144555
+ event_type: 'acs_access_group.deleted';
144556
+ } | {
144557
+ /** ID of the event. */
144558
+ event_id: string;
144559
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144560
+ workspace_id: string;
144561
+ /** Date and time at which the event was created. */
144562
+ created_at: string;
144563
+ /** Date and time at which the event occurred. */
144564
+ occurred_at: string;
144565
+ /** ID of the connected account. */
144566
+ connected_account_id?: string | undefined;
144567
+ /** ID of the access system. */
144568
+ acs_system_id: string;
144569
+ acs_entrance_id: string;
144570
+ event_type: 'acs_entrance.added';
144571
+ } | {
144572
+ /** ID of the event. */
144573
+ event_id: string;
144574
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144575
+ workspace_id: string;
144576
+ /** Date and time at which the event was created. */
144577
+ created_at: string;
144578
+ /** Date and time at which the event occurred. */
144579
+ occurred_at: string;
144580
+ /** ID of the connected account. */
144581
+ connected_account_id?: string | undefined;
144582
+ /** ID of the access system. */
144583
+ acs_system_id: string;
144584
+ acs_entrance_id: string;
144585
+ event_type: 'acs_entrance.removed';
144586
+ } | {
144587
+ /** ID of the event. */
144588
+ event_id: string;
144589
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144590
+ workspace_id: string;
144591
+ /** Date and time at which the event was created. */
144592
+ created_at: string;
144593
+ /** Date and time at which the event occurred. */
144594
+ occurred_at: string;
144595
+ /** ID of the affected client session. */
144596
+ client_session_id: string;
144597
+ event_type: 'client_session.deleted';
144598
+ } | {
144599
+ /** ID of the event. */
144600
+ event_id: string;
144601
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144602
+ workspace_id: string;
144603
+ /** Date and time at which the event was created. */
144604
+ created_at: string;
144605
+ /** Date and time at which the event occurred. */
144606
+ occurred_at: string;
144607
+ /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
144608
+ connected_account_id: string;
144609
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144610
+ connected_account_custom_metadata?: {
144611
+ [x: string]: string | boolean;
144612
+ } | undefined;
144613
+ event_type: 'connected_account.connected';
144614
+ /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
144615
+ connect_webview_id: string;
144616
+ } | {
144617
+ /** ID of the event. */
144618
+ event_id: string;
144619
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144620
+ workspace_id: string;
144621
+ /** Date and time at which the event was created. */
144622
+ created_at: string;
144623
+ /** Date and time at which the event occurred. */
144624
+ occurred_at: string;
144625
+ /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
144626
+ connected_account_id: string;
144627
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144628
+ connected_account_custom_metadata?: {
144629
+ [x: string]: string | boolean;
144630
+ } | undefined;
144631
+ event_type: 'connected_account.created';
144632
+ /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
144633
+ connect_webview_id: string;
144634
+ } | {
144635
+ /** ID of the event. */
144636
+ event_id: string;
144637
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144638
+ workspace_id: string;
144639
+ /** Date and time at which the event was created. */
144640
+ created_at: string;
144641
+ /** Date and time at which the event occurred. */
144642
+ occurred_at: string;
144643
+ /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
144644
+ connected_account_id: string;
144645
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144646
+ connected_account_custom_metadata?: {
144647
+ [x: string]: string | boolean;
144648
+ } | undefined;
144649
+ event_type: 'connected_account.successful_login';
144650
+ /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
144651
+ connect_webview_id: string;
144652
+ } | {
144653
+ /** ID of the event. */
144654
+ event_id: string;
144655
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144656
+ workspace_id: string;
144657
+ /** Date and time at which the event was created. */
144658
+ created_at: string;
144659
+ /** Date and time at which the event occurred. */
144660
+ occurred_at: string;
144661
+ /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
144662
+ connected_account_id: string;
144663
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144664
+ connected_account_custom_metadata?: {
144665
+ [x: string]: string | boolean;
144666
+ } | undefined;
144667
+ event_type: 'connected_account.disconnected';
144668
+ } | {
144669
+ /** ID of the event. */
144670
+ event_id: string;
144671
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144672
+ workspace_id: string;
144673
+ /** Date and time at which the event was created. */
144674
+ created_at: string;
144675
+ /** Date and time at which the event occurred. */
144676
+ occurred_at: string;
144677
+ /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
144678
+ connected_account_id: string;
144679
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144680
+ connected_account_custom_metadata?: {
144681
+ [x: string]: string | boolean;
144682
+ } | undefined;
144683
+ event_type: 'connected_account.completed_first_sync';
144684
+ } | {
144685
+ /** ID of the event. */
144686
+ event_id: string;
144687
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144688
+ workspace_id: string;
144689
+ /** Date and time at which the event was created. */
144690
+ created_at: string;
144691
+ /** Date and time at which the event occurred. */
144692
+ occurred_at: string;
144693
+ /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
144694
+ connected_account_id: string;
144695
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144696
+ connected_account_custom_metadata?: {
144697
+ [x: string]: string | boolean;
144698
+ } | undefined;
144699
+ event_type: 'connected_account.deleted';
144700
+ } | {
144701
+ /** ID of the event. */
144702
+ event_id: string;
144703
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144704
+ workspace_id: string;
144705
+ /** Date and time at which the event was created. */
144706
+ created_at: string;
144707
+ /** Date and time at which the event occurred. */
144708
+ occurred_at: string;
144709
+ /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
144710
+ connected_account_id: string;
144711
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144712
+ connected_account_custom_metadata?: {
144713
+ [x: string]: string | boolean;
144714
+ } | undefined;
144715
+ event_type: 'connected_account.completed_first_sync_after_reconnection';
144716
+ } | {
144717
+ /** ID of the event. */
144718
+ event_id: string;
144719
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144720
+ workspace_id: string;
144721
+ /** Date and time at which the event was created. */
144722
+ created_at: string;
144723
+ /** Date and time at which the event occurred. */
144724
+ occurred_at: string;
144725
+ /** ID of the affected action attempt. */
144726
+ action_attempt_id: string;
144727
+ /** Type of the action. */
144728
+ action_type: string;
144729
+ /** Status of the action. */
144730
+ status: string;
144731
+ event_type: 'action_attempt.lock_door.succeeded';
144732
+ } | {
144733
+ /** ID of the event. */
144734
+ event_id: string;
144735
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144736
+ workspace_id: string;
144737
+ /** Date and time at which the event was created. */
144738
+ created_at: string;
144739
+ /** Date and time at which the event occurred. */
144740
+ occurred_at: string;
144741
+ /** ID of the affected action attempt. */
144742
+ action_attempt_id: string;
144743
+ /** Type of the action. */
144744
+ action_type: string;
144745
+ /** Status of the action. */
144746
+ status: string;
144747
+ event_type: 'action_attempt.lock_door.failed';
144748
+ } | {
144749
+ /** ID of the event. */
144750
+ event_id: string;
144751
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144752
+ workspace_id: string;
144753
+ /** Date and time at which the event was created. */
144754
+ created_at: string;
144755
+ /** Date and time at which the event occurred. */
144756
+ occurred_at: string;
144757
+ /** ID of the affected action attempt. */
144758
+ action_attempt_id: string;
144759
+ /** Type of the action. */
144760
+ action_type: string;
144761
+ /** Status of the action. */
144762
+ status: string;
144763
+ event_type: 'action_attempt.unlock_door.succeeded';
144764
+ } | {
144765
+ /** ID of the event. */
144766
+ event_id: string;
144767
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144768
+ workspace_id: string;
144769
+ /** Date and time at which the event was created. */
144770
+ created_at: string;
144771
+ /** Date and time at which the event occurred. */
144772
+ occurred_at: string;
144773
+ /** ID of the affected action attempt. */
144774
+ action_attempt_id: string;
144775
+ /** Type of the action. */
144776
+ action_type: string;
144777
+ /** Status of the action. */
144778
+ status: string;
144779
+ event_type: 'action_attempt.unlock_door.failed';
144780
+ } | {
144781
+ /** ID of the event. */
144782
+ event_id: string;
144783
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144784
+ workspace_id: string;
144785
+ /** Date and time at which the event was created. */
144786
+ created_at: string;
144787
+ /** Date and time at which the event occurred. */
144788
+ occurred_at: string;
144789
+ /** ID of the affected [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
144790
+ connect_webview_id: string;
144791
+ event_type: 'connect_webview.login_succeeded';
144792
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
144793
+ connected_account_id: string;
144794
+ /** Custom metadata of the connected account; present when connected_account_id is provided. */
144795
+ connected_account_custom_metadata?: {
144796
+ [x: string]: string | boolean;
144797
+ } | undefined;
144798
+ } | {
144799
+ /** ID of the event. */
144800
+ event_id: string;
144801
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144802
+ workspace_id: string;
144803
+ /** Date and time at which the event was created. */
144804
+ created_at: string;
144805
+ /** Date and time at which the event occurred. */
144806
+ occurred_at: string;
144807
+ /** ID of the affected [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
144808
+ connect_webview_id: string;
144809
+ event_type: 'connect_webview.login_failed';
144810
+ } | {
144811
+ /** ID of the event. */
144812
+ event_id: string;
144813
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144814
+ workspace_id: string;
144815
+ /** Date and time at which the event was created. */
144816
+ created_at: string;
144817
+ /** Date and time at which the event occurred. */
144818
+ occurred_at: string;
144819
+ /** ID of the affected device. */
144820
+ device_id: string;
144821
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
144822
+ connected_account_id: string;
144823
+ /** Custom metadata of the device, present when device_id is provided. */
144824
+ device_custom_metadata?: {
144825
+ [x: string]: string | boolean;
144826
+ } | undefined;
144827
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144828
+ connected_account_custom_metadata?: {
144829
+ [x: string]: string | boolean;
144830
+ } | undefined;
144831
+ event_type: 'device.connected';
144832
+ } | {
144833
+ /** ID of the event. */
144834
+ event_id: string;
144835
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144836
+ workspace_id: string;
144837
+ /** Date and time at which the event was created. */
144838
+ created_at: string;
144839
+ /** Date and time at which the event occurred. */
144840
+ occurred_at: string;
144841
+ /** ID of the affected device. */
144842
+ device_id: string;
144843
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
144844
+ connected_account_id: string;
144845
+ /** Custom metadata of the device, present when device_id is provided. */
144846
+ device_custom_metadata?: {
144847
+ [x: string]: string | boolean;
144848
+ } | undefined;
144849
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144850
+ connected_account_custom_metadata?: {
144851
+ [x: string]: string | boolean;
144852
+ } | undefined;
144853
+ event_type: 'device.added';
144854
+ } | {
144855
+ /** ID of the event. */
144856
+ event_id: string;
144857
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144858
+ workspace_id: string;
144859
+ /** Date and time at which the event was created. */
144860
+ created_at: string;
144861
+ /** Date and time at which the event occurred. */
144862
+ occurred_at: string;
144863
+ /** ID of the affected device. */
144864
+ device_id: string;
144865
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
144866
+ connected_account_id: string;
144867
+ /** Custom metadata of the device, present when device_id is provided. */
144868
+ device_custom_metadata?: {
144869
+ [x: string]: string | boolean;
144870
+ } | undefined;
144871
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144872
+ connected_account_custom_metadata?: {
144873
+ [x: string]: string | boolean;
144874
+ } | undefined;
144875
+ event_type: 'device.converted_to_unmanaged';
144876
+ } | {
144877
+ /** ID of the event. */
144878
+ event_id: string;
144879
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144880
+ workspace_id: string;
144881
+ /** Date and time at which the event was created. */
144882
+ created_at: string;
144883
+ /** Date and time at which the event occurred. */
144884
+ occurred_at: string;
144885
+ /** ID of the affected device. */
144886
+ device_id: string;
144887
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
144888
+ connected_account_id: string;
144889
+ /** Custom metadata of the device, present when device_id is provided. */
144890
+ device_custom_metadata?: {
144891
+ [x: string]: string | boolean;
144892
+ } | undefined;
144893
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144894
+ connected_account_custom_metadata?: {
144895
+ [x: string]: string | boolean;
144896
+ } | undefined;
144897
+ event_type: 'device.unmanaged.converted_to_managed';
144898
+ } | {
144899
+ /** ID of the event. */
144900
+ event_id: string;
144901
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144902
+ workspace_id: string;
144903
+ /** Date and time at which the event was created. */
144904
+ created_at: string;
144905
+ /** Date and time at which the event occurred. */
144906
+ occurred_at: string;
144907
+ /** ID of the affected device. */
144908
+ device_id: string;
144909
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
144910
+ connected_account_id: string;
144911
+ /** Custom metadata of the device, present when device_id is provided. */
144912
+ device_custom_metadata?: {
144913
+ [x: string]: string | boolean;
144914
+ } | undefined;
144915
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144916
+ connected_account_custom_metadata?: {
144917
+ [x: string]: string | boolean;
144918
+ } | undefined;
144919
+ event_type: 'device.unmanaged.connected';
144920
+ } | {
144921
+ /** ID of the event. */
144922
+ event_id: string;
144923
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144924
+ workspace_id: string;
144925
+ /** Date and time at which the event was created. */
144926
+ created_at: string;
144927
+ /** Date and time at which the event occurred. */
144928
+ occurred_at: string;
144929
+ /** ID of the affected device. */
144930
+ device_id: string;
144931
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
144932
+ connected_account_id: string;
144933
+ /** Custom metadata of the device, present when device_id is provided. */
144934
+ device_custom_metadata?: {
144935
+ [x: string]: string | boolean;
144936
+ } | undefined;
144937
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144938
+ connected_account_custom_metadata?: {
144939
+ [x: string]: string | boolean;
144940
+ } | undefined;
144941
+ event_type: 'device.disconnected';
144942
+ /** Error code associated with the disconnection event, if any. */
144943
+ error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
144944
+ } | {
144945
+ /** ID of the event. */
144946
+ event_id: string;
144947
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144948
+ workspace_id: string;
144949
+ /** Date and time at which the event was created. */
144950
+ created_at: string;
144951
+ /** Date and time at which the event occurred. */
144952
+ occurred_at: string;
144953
+ /** ID of the affected device. */
144954
+ device_id: string;
144955
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
144956
+ connected_account_id: string;
144957
+ /** Custom metadata of the device, present when device_id is provided. */
144958
+ device_custom_metadata?: {
144959
+ [x: string]: string | boolean;
144960
+ } | undefined;
144961
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144962
+ connected_account_custom_metadata?: {
144963
+ [x: string]: string | boolean;
144964
+ } | undefined;
144965
+ event_type: 'device.unmanaged.disconnected';
144966
+ /** Error code associated with the disconnection event, if any. */
144967
+ error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
144968
+ } | {
144969
+ /** ID of the event. */
144970
+ event_id: string;
144971
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144972
+ workspace_id: string;
144973
+ /** Date and time at which the event was created. */
144974
+ created_at: string;
144975
+ /** Date and time at which the event occurred. */
144976
+ occurred_at: string;
144977
+ /** ID of the affected device. */
144978
+ device_id: string;
144979
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
144980
+ connected_account_id: string;
144981
+ /** Custom metadata of the device, present when device_id is provided. */
144982
+ device_custom_metadata?: {
144983
+ [x: string]: string | boolean;
144984
+ } | undefined;
144985
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
144986
+ connected_account_custom_metadata?: {
144987
+ [x: string]: string | boolean;
144988
+ } | undefined;
144989
+ event_type: 'device.tampered';
144990
+ } | {
144991
+ /** ID of the event. */
144992
+ event_id: string;
144993
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
144994
+ workspace_id: string;
144995
+ /** Date and time at which the event was created. */
144996
+ created_at: string;
144997
+ /** Date and time at which the event occurred. */
144998
+ occurred_at: string;
144999
+ /** ID of the affected device. */
145000
+ device_id: string;
145001
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145002
+ connected_account_id: string;
145003
+ /** Custom metadata of the device, present when device_id is provided. */
145004
+ device_custom_metadata?: {
145005
+ [x: string]: string | boolean;
145006
+ } | undefined;
145007
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145008
+ connected_account_custom_metadata?: {
145009
+ [x: string]: string | boolean;
145010
+ } | undefined;
145011
+ event_type: 'device.low_battery';
145012
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
145013
+ battery_level: number;
145014
+ } | {
145015
+ /** ID of the event. */
145016
+ event_id: string;
145017
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145018
+ workspace_id: string;
145019
+ /** Date and time at which the event was created. */
145020
+ created_at: string;
145021
+ /** Date and time at which the event occurred. */
145022
+ occurred_at: string;
145023
+ /** ID of the affected device. */
145024
+ device_id: string;
145025
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145026
+ connected_account_id: string;
145027
+ /** Custom metadata of the device, present when device_id is provided. */
145028
+ device_custom_metadata?: {
145029
+ [x: string]: string | boolean;
145030
+ } | undefined;
145031
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145032
+ connected_account_custom_metadata?: {
145033
+ [x: string]: string | boolean;
145034
+ } | undefined;
145035
+ event_type: 'device.battery_status_changed';
145036
+ /** Battery status of the affected device, calculated from the numeric `battery_level` value. */
145037
+ battery_status: 'critical' | 'low' | 'good' | 'full';
145038
+ /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
145039
+ battery_level: number;
145040
+ } | {
145041
+ /** ID of the event. */
145042
+ event_id: string;
145043
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145044
+ workspace_id: string;
145045
+ /** Date and time at which the event was created. */
145046
+ created_at: string;
145047
+ /** Date and time at which the event occurred. */
145048
+ occurred_at: string;
145049
+ /** ID of the affected device. */
145050
+ device_id: string;
145051
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145052
+ connected_account_id: string;
145053
+ /** Custom metadata of the device, present when device_id is provided. */
145054
+ device_custom_metadata?: {
145055
+ [x: string]: string | boolean;
145056
+ } | undefined;
145057
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145058
+ connected_account_custom_metadata?: {
145059
+ [x: string]: string | boolean;
145060
+ } | undefined;
145061
+ event_type: 'device.removed';
145062
+ } | {
145063
+ /** ID of the event. */
145064
+ event_id: string;
145065
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145066
+ workspace_id: string;
145067
+ /** Date and time at which the event was created. */
145068
+ created_at: string;
145069
+ /** Date and time at which the event occurred. */
145070
+ occurred_at: string;
145071
+ /** ID of the affected device. */
145072
+ device_id: string;
145073
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145074
+ connected_account_id: string;
145075
+ /** Custom metadata of the device, present when device_id is provided. */
145076
+ device_custom_metadata?: {
145077
+ [x: string]: string | boolean;
145078
+ } | undefined;
145079
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145080
+ connected_account_custom_metadata?: {
145081
+ [x: string]: string | boolean;
145082
+ } | undefined;
145083
+ event_type: 'device.deleted';
145084
+ } | {
145085
+ /** ID of the event. */
145086
+ event_id: string;
145087
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145088
+ workspace_id: string;
145089
+ /** Date and time at which the event was created. */
145090
+ created_at: string;
145091
+ /** Date and time at which the event occurred. */
145092
+ occurred_at: string;
145093
+ /** ID of the affected device. */
145094
+ device_id: string;
145095
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145096
+ connected_account_id: string;
145097
+ /** Custom metadata of the device, present when device_id is provided. */
145098
+ device_custom_metadata?: {
145099
+ [x: string]: string | boolean;
145100
+ } | undefined;
145101
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145102
+ connected_account_custom_metadata?: {
145103
+ [x: string]: string | boolean;
145104
+ } | undefined;
145105
+ event_type: 'device.third_party_integration_detected';
145106
+ } | {
145107
+ /** ID of the event. */
145108
+ event_id: string;
145109
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145110
+ workspace_id: string;
145111
+ /** Date and time at which the event was created. */
145112
+ created_at: string;
145113
+ /** Date and time at which the event occurred. */
145114
+ occurred_at: string;
145115
+ /** ID of the affected device. */
145116
+ device_id: string;
145117
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145118
+ connected_account_id: string;
145119
+ /** Custom metadata of the device, present when device_id is provided. */
145120
+ device_custom_metadata?: {
145121
+ [x: string]: string | boolean;
145122
+ } | undefined;
145123
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145124
+ connected_account_custom_metadata?: {
145125
+ [x: string]: string | boolean;
145126
+ } | undefined;
145127
+ event_type: 'device.third_party_integration_no_longer_detected';
145128
+ } | {
145129
+ /** ID of the event. */
145130
+ event_id: string;
145131
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145132
+ workspace_id: string;
145133
+ /** Date and time at which the event was created. */
145134
+ created_at: string;
145135
+ /** Date and time at which the event occurred. */
145136
+ occurred_at: string;
145137
+ /** ID of the affected device. */
145138
+ device_id: string;
145139
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145140
+ connected_account_id: string;
145141
+ /** Custom metadata of the device, present when device_id is provided. */
145142
+ device_custom_metadata?: {
145143
+ [x: string]: string | boolean;
145144
+ } | undefined;
145145
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145146
+ connected_account_custom_metadata?: {
145147
+ [x: string]: string | boolean;
145148
+ } | undefined;
145149
+ event_type: 'device.salto.privacy_mode_activated';
145150
+ } | {
145151
+ /** ID of the event. */
145152
+ event_id: string;
145153
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145154
+ workspace_id: string;
145155
+ /** Date and time at which the event was created. */
145156
+ created_at: string;
145157
+ /** Date and time at which the event occurred. */
145158
+ occurred_at: string;
145159
+ /** ID of the affected device. */
145160
+ device_id: string;
145161
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145162
+ connected_account_id: string;
145163
+ /** Custom metadata of the device, present when device_id is provided. */
145164
+ device_custom_metadata?: {
145165
+ [x: string]: string | boolean;
145166
+ } | undefined;
145167
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145168
+ connected_account_custom_metadata?: {
145169
+ [x: string]: string | boolean;
145170
+ } | undefined;
145171
+ event_type: 'device.salto.privacy_mode_deactivated';
145172
+ } | {
145173
+ /** ID of the event. */
145174
+ event_id: string;
145175
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145176
+ workspace_id: string;
145177
+ /** Date and time at which the event was created. */
145178
+ created_at: string;
145179
+ /** Date and time at which the event occurred. */
145180
+ occurred_at: string;
145181
+ /** ID of the affected device. */
145182
+ device_id: string;
145183
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145184
+ connected_account_id: string;
145185
+ /** Custom metadata of the device, present when device_id is provided. */
145186
+ device_custom_metadata?: {
145187
+ [x: string]: string | boolean;
145188
+ } | undefined;
145189
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145190
+ connected_account_custom_metadata?: {
145191
+ [x: string]: string | boolean;
145192
+ } | undefined;
145193
+ event_type: 'device.connection_became_flaky';
145194
+ } | {
145195
+ /** ID of the event. */
145196
+ event_id: string;
145197
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145198
+ workspace_id: string;
145199
+ /** Date and time at which the event was created. */
145200
+ created_at: string;
145201
+ /** Date and time at which the event occurred. */
145202
+ occurred_at: string;
145203
+ /** ID of the affected device. */
145204
+ device_id: string;
145205
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145206
+ connected_account_id: string;
145207
+ /** Custom metadata of the device, present when device_id is provided. */
145208
+ device_custom_metadata?: {
145209
+ [x: string]: string | boolean;
145210
+ } | undefined;
145211
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145212
+ connected_account_custom_metadata?: {
145213
+ [x: string]: string | boolean;
145214
+ } | undefined;
145215
+ event_type: 'device.connection_stabilized';
145216
+ } | {
145217
+ /** ID of the event. */
145218
+ event_id: string;
145219
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145220
+ workspace_id: string;
145221
+ /** Date and time at which the event was created. */
145222
+ created_at: string;
145223
+ /** Date and time at which the event occurred. */
145224
+ occurred_at: string;
145225
+ /** ID of the affected device. */
145226
+ device_id: string;
145227
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145228
+ connected_account_id: string;
145229
+ /** Custom metadata of the device, present when device_id is provided. */
145230
+ device_custom_metadata?: {
145231
+ [x: string]: string | boolean;
145232
+ } | undefined;
145233
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145234
+ connected_account_custom_metadata?: {
145235
+ [x: string]: string | boolean;
145236
+ } | undefined;
145237
+ event_type: 'device.error.subscription_required';
145238
+ } | {
145239
+ /** ID of the event. */
145240
+ event_id: string;
145241
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145242
+ workspace_id: string;
145243
+ /** Date and time at which the event was created. */
145244
+ created_at: string;
145245
+ /** Date and time at which the event occurred. */
145246
+ occurred_at: string;
145247
+ /** ID of the affected device. */
145248
+ device_id: string;
145249
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145250
+ connected_account_id: string;
145251
+ /** Custom metadata of the device, present when device_id is provided. */
145252
+ device_custom_metadata?: {
145253
+ [x: string]: string | boolean;
145254
+ } | undefined;
145255
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145256
+ connected_account_custom_metadata?: {
145257
+ [x: string]: string | boolean;
145258
+ } | undefined;
145259
+ event_type: 'device.error.subscription_required.resolved';
145260
+ } | {
145261
+ /** ID of the event. */
145262
+ event_id: string;
145263
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145264
+ workspace_id: string;
145265
+ /** Date and time at which the event was created. */
145266
+ created_at: string;
145267
+ /** Date and time at which the event occurred. */
145268
+ occurred_at: string;
145269
+ /** ID of the affected device. */
145270
+ device_id: string;
145271
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145272
+ connected_account_id: string;
145273
+ /** Custom metadata of the device, present when device_id is provided. */
145274
+ device_custom_metadata?: {
145275
+ [x: string]: string | boolean;
145276
+ } | undefined;
145277
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145278
+ connected_account_custom_metadata?: {
145279
+ [x: string]: string | boolean;
145280
+ } | undefined;
145281
+ event_type: 'device.accessory_keypad_connected';
145282
+ } | {
145283
+ /** ID of the event. */
145284
+ event_id: string;
145285
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145286
+ workspace_id: string;
145287
+ /** Date and time at which the event was created. */
145288
+ created_at: string;
145289
+ /** Date and time at which the event occurred. */
145290
+ occurred_at: string;
145291
+ /** ID of the affected device. */
145292
+ device_id: string;
145293
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145294
+ connected_account_id: string;
145295
+ /** Custom metadata of the device, present when device_id is provided. */
145296
+ device_custom_metadata?: {
145297
+ [x: string]: string | boolean;
145298
+ } | undefined;
145299
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145300
+ connected_account_custom_metadata?: {
145301
+ [x: string]: string | boolean;
145302
+ } | undefined;
145303
+ event_type: 'device.accessory_keypad_disconnected';
145304
+ } | {
145305
+ /** ID of the event. */
145306
+ event_id: string;
145307
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145308
+ workspace_id: string;
145309
+ /** Date and time at which the event was created. */
145310
+ created_at: string;
145311
+ /** Date and time at which the event occurred. */
145312
+ occurred_at: string;
145313
+ /** ID of the affected device. */
145314
+ device_id: string;
145315
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145316
+ connected_account_id: string;
145317
+ /** Custom metadata of the device, present when device_id is provided. */
145318
+ device_custom_metadata?: {
145319
+ [x: string]: string | boolean;
145320
+ } | undefined;
145321
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145322
+ connected_account_custom_metadata?: {
145323
+ [x: string]: string | boolean;
145324
+ } | undefined;
145325
+ event_type: 'noise_sensor.noise_threshold_triggered';
145326
+ /** Detected noise level in decibels. */
145327
+ noise_level_decibels?: number | undefined;
145328
+ /** Detected noise level in Noiseaware Noise Risk Score (NRS). */
145329
+ noise_level_nrs?: number | undefined;
145330
+ /** ID of the noise threshold that was triggered. */
145331
+ noise_threshold_id?: string | undefined;
145332
+ /** Name of the noise threshold that was triggered. */
145333
+ noise_threshold_name?: string | undefined;
145334
+ /** Metadata from Noiseaware. */
145335
+ noiseaware_metadata?: {
145336
+ [x: string]: unknown;
145337
+ } | undefined;
145338
+ /** Metadata from Minut. */
145339
+ minut_metadata?: {
145340
+ [x: string]: unknown;
145341
+ } | undefined;
145342
+ } | {
145343
+ /** ID of the event. */
145344
+ event_id: string;
145345
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145346
+ workspace_id: string;
145347
+ /** Date and time at which the event was created. */
145348
+ created_at: string;
145349
+ /** Date and time at which the event occurred. */
145350
+ occurred_at: string;
145351
+ /** ID of the affected device. */
145352
+ device_id: string;
145353
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145354
+ connected_account_id: string;
145355
+ /** Custom metadata of the device, present when device_id is provided. */
145356
+ device_custom_metadata?: {
145357
+ [x: string]: string | boolean;
145358
+ } | undefined;
145359
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145360
+ connected_account_custom_metadata?: {
145361
+ [x: string]: string | boolean;
145362
+ } | undefined;
145363
+ event_type: 'lock.locked';
145364
+ /** ID of the access code that was used to lock the device. */
145365
+ access_code_id?: string | undefined;
145366
+ /** ID of the action attempt associated with the lock action. */
145367
+ action_attempt_id?: string | undefined;
145368
+ /** 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. */
145369
+ method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
145370
+ } | {
145371
+ /** ID of the event. */
145372
+ event_id: string;
145373
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145374
+ workspace_id: string;
145375
+ /** Date and time at which the event was created. */
145376
+ created_at: string;
145377
+ /** Date and time at which the event occurred. */
145378
+ occurred_at: string;
145379
+ /** ID of the affected device. */
145380
+ device_id: string;
145381
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145382
+ connected_account_id: string;
145383
+ /** Custom metadata of the device, present when device_id is provided. */
145384
+ device_custom_metadata?: {
145385
+ [x: string]: string | boolean;
145386
+ } | undefined;
145387
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145388
+ connected_account_custom_metadata?: {
145389
+ [x: string]: string | boolean;
145390
+ } | undefined;
145391
+ event_type: 'lock.unlocked';
145392
+ /** ID of the access code that was used to unlock the affected device. */
145393
+ access_code_id?: string | undefined;
145394
+ /** ID of the action attempt associated with the unlock action. */
145395
+ action_attempt_id?: string | undefined;
145396
+ /** 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. */
145397
+ method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'seamapi';
145398
+ } | {
145399
+ /** ID of the event. */
145400
+ event_id: string;
145401
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145402
+ workspace_id: string;
145403
+ /** Date and time at which the event was created. */
145404
+ created_at: string;
145405
+ /** Date and time at which the event occurred. */
145406
+ occurred_at: string;
145407
+ /** ID of the affected device. */
145408
+ device_id: string;
145409
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145410
+ connected_account_id: string;
145411
+ /** Custom metadata of the device, present when device_id is provided. */
145412
+ device_custom_metadata?: {
145413
+ [x: string]: string | boolean;
145414
+ } | undefined;
145415
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145416
+ connected_account_custom_metadata?: {
145417
+ [x: string]: string | boolean;
145418
+ } | undefined;
145419
+ event_type: 'lock.access_denied';
145420
+ /** ID of the access code that was used in the unlock attempts. */
145421
+ access_code_id?: string | undefined;
145422
+ } | {
145423
+ /** ID of the event. */
145424
+ event_id: string;
145425
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145426
+ workspace_id: string;
145427
+ /** Date and time at which the event was created. */
145428
+ created_at: string;
145429
+ /** Date and time at which the event occurred. */
145430
+ occurred_at: string;
145431
+ /** ID of the affected device. */
145432
+ device_id: string;
145433
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145434
+ connected_account_id: string;
145435
+ /** Custom metadata of the device, present when device_id is provided. */
145436
+ device_custom_metadata?: {
145437
+ [x: string]: string | boolean;
145438
+ } | undefined;
145439
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145440
+ connected_account_custom_metadata?: {
145441
+ [x: string]: string | boolean;
145442
+ } | undefined;
145443
+ event_type: 'thermostat.climate_preset_activated';
145444
+ /** ID of the thermostat schedule that prompted the affected climate preset to be activated. */
145445
+ thermostat_schedule_id: string | null;
145446
+ /** Key of the climate preset that was activated. */
145447
+ climate_preset_key: string;
145448
+ /** Indicates whether the climate preset that was activated is the fallback climate preset for the thermostat. */
145449
+ is_fallback_climate_preset: boolean;
145450
+ } | {
145451
+ /** ID of the event. */
145452
+ event_id: string;
145453
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145454
+ workspace_id: string;
145455
+ /** Date and time at which the event was created. */
145456
+ created_at: string;
145457
+ /** Date and time at which the event occurred. */
145458
+ occurred_at: string;
145459
+ /** ID of the affected device. */
145460
+ device_id: string;
145461
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145462
+ connected_account_id: string;
145463
+ /** Custom metadata of the device, present when device_id is provided. */
145464
+ device_custom_metadata?: {
145465
+ [x: string]: string | boolean;
145466
+ } | undefined;
145467
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145468
+ connected_account_custom_metadata?: {
145469
+ [x: string]: string | boolean;
145470
+ } | undefined;
145471
+ event_type: 'thermostat.manually_adjusted';
145472
+ /** 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. */
145473
+ method: 'seam' | 'external';
145474
+ /** 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`. */
145475
+ fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
145476
+ /** 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`. */
145477
+ hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool' | 'eco') | undefined) | undefined;
145478
+ /** 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). */
145479
+ cooling_set_point_celsius?: (number | undefined) | undefined;
145480
+ /** 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). */
145481
+ heating_set_point_celsius?: (number | undefined) | undefined;
145482
+ /** 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). */
145483
+ cooling_set_point_fahrenheit?: (number | undefined) | undefined;
145484
+ /** 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). */
145485
+ heating_set_point_fahrenheit?: (number | undefined) | undefined;
145486
+ } | {
145487
+ /** ID of the event. */
145488
+ event_id: string;
145489
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145490
+ workspace_id: string;
145491
+ /** Date and time at which the event was created. */
145492
+ created_at: string;
145493
+ /** Date and time at which the event occurred. */
145494
+ occurred_at: string;
145495
+ /** ID of the affected device. */
145496
+ device_id: string;
145497
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145498
+ connected_account_id: string;
145499
+ /** Custom metadata of the device, present when device_id is provided. */
145500
+ device_custom_metadata?: {
145501
+ [x: string]: string | boolean;
145502
+ } | undefined;
145503
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145504
+ connected_account_custom_metadata?: {
145505
+ [x: string]: string | boolean;
145506
+ } | undefined;
145507
+ event_type: 'thermostat.temperature_threshold_exceeded';
145508
+ /** Temperature, in °C, reported by the affected thermostat. */
145509
+ temperature_celsius: number;
145510
+ /** Temperature, in °F, reported by the affected thermostat. */
145511
+ temperature_fahrenheit: number;
145512
+ /** Upper temperature limit, in °C, defined by the set threshold. */
145513
+ upper_limit_celsius: number | null;
145514
+ /** Upper temperature limit, in °F, defined by the set threshold. */
145515
+ upper_limit_fahrenheit: number | null;
145516
+ /** Lower temperature limit, in °C, defined by the set threshold. */
145517
+ lower_limit_celsius: number | null;
145518
+ /** Lower temperature limit, in °F, defined by the set threshold. */
145519
+ lower_limit_fahrenheit: number | null;
145520
+ } | {
145521
+ /** ID of the event. */
145522
+ event_id: string;
145523
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145524
+ workspace_id: string;
145525
+ /** Date and time at which the event was created. */
145526
+ created_at: string;
145527
+ /** Date and time at which the event occurred. */
145528
+ occurred_at: string;
145529
+ /** ID of the affected device. */
145530
+ device_id: string;
145531
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145532
+ connected_account_id: string;
145533
+ /** Custom metadata of the device, present when device_id is provided. */
145534
+ device_custom_metadata?: {
145535
+ [x: string]: string | boolean;
145536
+ } | undefined;
145537
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145538
+ connected_account_custom_metadata?: {
145539
+ [x: string]: string | boolean;
145540
+ } | undefined;
145541
+ event_type: 'thermostat.temperature_threshold_no_longer_exceeded';
145542
+ /** Temperature, in °C, reported by the affected thermostat. */
145543
+ temperature_celsius: number;
145544
+ /** Temperature, in °F, reported by the affected thermostat. */
145545
+ temperature_fahrenheit: number;
145546
+ /** Upper temperature limit, in °C, defined by the set threshold. */
145547
+ upper_limit_celsius: number | null;
145548
+ /** Upper temperature limit, in °F, defined by the set threshold. */
145549
+ upper_limit_fahrenheit: number | null;
145550
+ /** Lower temperature limit, in °C, defined by the set threshold. */
145551
+ lower_limit_celsius: number | null;
145552
+ /** Lower temperature limit, in °F, defined by the set threshold. */
145553
+ lower_limit_fahrenheit: number | null;
145554
+ } | {
145555
+ /** ID of the event. */
145556
+ event_id: string;
145557
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145558
+ workspace_id: string;
145559
+ /** Date and time at which the event was created. */
145560
+ created_at: string;
145561
+ /** Date and time at which the event occurred. */
145562
+ occurred_at: string;
145563
+ /** ID of the affected device. */
145564
+ device_id: string;
145565
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145566
+ connected_account_id: string;
145567
+ /** Custom metadata of the device, present when device_id is provided. */
145568
+ device_custom_metadata?: {
145569
+ [x: string]: string | boolean;
145570
+ } | undefined;
145571
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145572
+ connected_account_custom_metadata?: {
145573
+ [x: string]: string | boolean;
145574
+ } | undefined;
145575
+ event_type: 'thermostat.temperature_reached_set_point';
145576
+ /** Temperature, in °C, reported by the affected thermostat. */
145577
+ temperature_celsius: number;
145578
+ /** Temperature, in °F, reported by the affected thermostat. */
145579
+ temperature_fahrenheit: number;
145580
+ /** Desired temperature, in °C, defined by the affected thermostat's cooling or heating set point. */
145581
+ desired_temperature_celsius?: number | undefined;
145582
+ /** Desired temperature, in °F, defined by the affected thermostat's cooling or heating set point. */
145583
+ desired_temperature_fahrenheit?: number | undefined;
145584
+ } | {
145585
+ /** ID of the event. */
145586
+ event_id: string;
145587
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145588
+ workspace_id: string;
145589
+ /** Date and time at which the event was created. */
145590
+ created_at: string;
145591
+ /** Date and time at which the event occurred. */
145592
+ occurred_at: string;
145593
+ /** ID of the affected device. */
145594
+ device_id: string;
145595
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145596
+ connected_account_id: string;
145597
+ /** Custom metadata of the device, present when device_id is provided. */
145598
+ device_custom_metadata?: {
145599
+ [x: string]: string | boolean;
145600
+ } | undefined;
145601
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145602
+ connected_account_custom_metadata?: {
145603
+ [x: string]: string | boolean;
145604
+ } | undefined;
145605
+ event_type: 'thermostat.temperature_changed';
145606
+ /** Temperature, in °C, reported by the affected thermostat. */
145607
+ temperature_celsius: number;
145608
+ /** Temperature, in °F, reported by the affected thermostat. */
145609
+ temperature_fahrenheit: number;
145610
+ } | {
145611
+ /** ID of the event. */
145612
+ event_id: string;
145613
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145614
+ workspace_id: string;
145615
+ /** Date and time at which the event was created. */
145616
+ created_at: string;
145617
+ /** Date and time at which the event occurred. */
145618
+ occurred_at: string;
145619
+ /** ID of the affected device. */
145620
+ device_id: string;
145621
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
145622
+ connected_account_id: string;
145623
+ /** Custom metadata of the device, present when device_id is provided. */
145624
+ device_custom_metadata?: {
145625
+ [x: string]: string | boolean;
145626
+ } | undefined;
145627
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
145628
+ connected_account_custom_metadata?: {
145629
+ [x: string]: string | boolean;
145630
+ } | undefined;
145631
+ event_type: 'device.name_changed';
145632
+ /** The new name of the affected device. */
145633
+ device_name: string;
145634
+ } | {
145635
+ /** ID of the event. */
145636
+ event_id: string;
145637
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145638
+ workspace_id: string;
145639
+ /** Date and time at which the event was created. */
145640
+ created_at: string;
145641
+ /** Date and time at which the event occurred. */
145642
+ occurred_at: string;
145643
+ /** ID of the affected enrollment automation. */
145644
+ enrollment_automation_id: string;
145645
+ event_type: 'enrollment_automation.deleted';
145646
+ } | {
145647
+ /** ID of the event. */
145648
+ event_id: string;
145649
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
145650
+ workspace_id: string;
145651
+ /** Date and time at which the event was created. */
145652
+ created_at: string;
145653
+ /** Date and time at which the event occurred. */
145654
+ occurred_at: string;
145655
+ /** ID of the affected phone device. */
145656
+ device_id: string;
145657
+ /** Custom metadata of the device; present when device_id is provided. */
145658
+ device_custom_metadata?: {
145659
+ [x: string]: string | boolean;
145660
+ } | undefined;
145661
+ event_type: 'phone.deactivated';
145662
+ })[];
145663
+ };
145664
+ };
143334
145665
  '/seam/customer/v1/portals/get': {
143335
145666
  route: '/seam/customer/v1/portals/get';
143336
145667
  method: 'GET' | 'POST';
@@ -143365,6 +145696,18 @@ type Routes = {
143365
145696
  };
143366
145697
  };
143367
145698
  };
145699
+ '/seam/customer/v1/settings/get': {
145700
+ route: '/seam/customer/v1/settings/get';
145701
+ method: 'GET' | 'POST';
145702
+ queryParams: {};
145703
+ jsonBody: {};
145704
+ commonParams: {};
145705
+ formData: {};
145706
+ jsonResponse: {
145707
+ /** Business vertical of the customer portal. */
145708
+ business_vertical?: ('short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
145709
+ };
145710
+ };
143368
145711
  '/seam/customer/v1/settings/update': {
143369
145712
  route: '/seam/customer/v1/settings/update';
143370
145713
  method: 'PATCH' | 'POST';
@@ -144952,6 +147295,10 @@ type Routes = {
144952
147295
  */
144953
147296
  upper_limit_fahrenheit: number | null;
144954
147297
  } | undefined) | undefined;
147298
+ /** 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. */
147299
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
147300
+ /** 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. */
147301
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
144955
147302
  });
144956
147303
  /** Location information for the device. */
144957
147304
  location: {
@@ -145261,6 +147608,7 @@ type Routes = {
145261
147608
  can_simulate_connection?: boolean | undefined;
145262
147609
  can_simulate_disconnection?: boolean | undefined;
145263
147610
  can_unlock_with_code?: boolean | undefined;
147611
+ can_run_thermostat_programs?: boolean | undefined;
145264
147612
  }[] | undefined;
145265
147613
  acs_entrances?: {
145266
147614
  /** 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). */
@@ -150526,6 +152874,10 @@ type Routes = {
150526
152874
  */
150527
152875
  upper_limit_fahrenheit: number | null;
150528
152876
  } | undefined) | undefined;
152877
+ /** 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. */
152878
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
152879
+ /** 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. */
152880
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
150529
152881
  });
150530
152882
  /** Location information for the device. */
150531
152883
  location: {
@@ -150835,6 +153187,7 @@ type Routes = {
150835
153187
  can_simulate_connection?: boolean | undefined;
150836
153188
  can_simulate_disconnection?: boolean | undefined;
150837
153189
  can_unlock_with_code?: boolean | undefined;
153190
+ can_run_thermostat_programs?: boolean | undefined;
150838
153191
  };
150839
153192
  };
150840
153193
  };
@@ -153404,9 +155757,9 @@ type Routes = {
153404
155757
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
153405
155758
  page_cursor?: (string | undefined) | null;
153406
155759
  /** */
153407
- 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;
155760
+ 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;
153408
155761
  /** */
153409
- 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;
155762
+ 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;
153410
155763
  /**
153411
155764
  * @deprecated Use `space_id`.*/
153412
155765
  unstable_location_id?: (string | null) | undefined;
@@ -154307,6 +156660,10 @@ type Routes = {
154307
156660
  */
154308
156661
  upper_limit_fahrenheit: number | null;
154309
156662
  } | undefined) | undefined;
156663
+ /** 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. */
156664
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
156665
+ /** 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. */
156666
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
154310
156667
  });
154311
156668
  /** Location information for the device. */
154312
156669
  location: {
@@ -154616,6 +156973,7 @@ type Routes = {
154616
156973
  can_simulate_connection?: boolean | undefined;
154617
156974
  can_simulate_disconnection?: boolean | undefined;
154618
156975
  can_unlock_with_code?: boolean | undefined;
156976
+ can_run_thermostat_programs?: boolean | undefined;
154619
156977
  }[];
154620
156978
  devices: {
154621
156979
  /** ID of the device. */
@@ -155505,6 +157863,10 @@ type Routes = {
155505
157863
  */
155506
157864
  upper_limit_fahrenheit: number | null;
155507
157865
  } | undefined) | undefined;
157866
+ /** 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. */
157867
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
157868
+ /** 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. */
157869
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
155508
157870
  });
155509
157871
  /** Location information for the device. */
155510
157872
  location: {
@@ -155814,6 +158176,7 @@ type Routes = {
155814
158176
  can_simulate_connection?: boolean | undefined;
155815
158177
  can_simulate_disconnection?: boolean | undefined;
155816
158178
  can_unlock_with_code?: boolean | undefined;
158179
+ can_run_thermostat_programs?: boolean | undefined;
155817
158180
  }[];
155818
158181
  };
155819
158182
  };
@@ -163161,6 +165524,10 @@ type Routes = {
163161
165524
  */
163162
165525
  upper_limit_fahrenheit: number | null;
163163
165526
  } | undefined) | undefined;
165527
+ /** 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. */
165528
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
165529
+ /** 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. */
165530
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
163164
165531
  });
163165
165532
  /** Location information for the device. */
163166
165533
  location: {
@@ -163470,6 +165837,7 @@ type Routes = {
163470
165837
  can_simulate_connection?: boolean | undefined;
163471
165838
  can_simulate_disconnection?: boolean | undefined;
163472
165839
  can_unlock_with_code?: boolean | undefined;
165840
+ can_run_thermostat_programs?: boolean | undefined;
163473
165841
  }[];
163474
165842
  /**
163475
165843
  * @deprecated Use devices.*/
@@ -164361,6 +166729,10 @@ type Routes = {
164361
166729
  */
164362
166730
  upper_limit_fahrenheit: number | null;
164363
166731
  } | undefined) | undefined;
166732
+ /** 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. */
166733
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
166734
+ /** 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. */
166735
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
164364
166736
  });
164365
166737
  /** Location information for the device. */
164366
166738
  location: {
@@ -164670,6 +167042,7 @@ type Routes = {
164670
167042
  can_simulate_connection?: boolean | undefined;
164671
167043
  can_simulate_disconnection?: boolean | undefined;
164672
167044
  can_unlock_with_code?: boolean | undefined;
167045
+ can_run_thermostat_programs?: boolean | undefined;
164673
167046
  }[];
164674
167047
  };
164675
167048
  };
@@ -166232,6 +168605,10 @@ type Routes = {
166232
168605
  */
166233
168606
  upper_limit_fahrenheit: number | null;
166234
168607
  } | undefined) | undefined;
168608
+ /** 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. */
168609
+ thermostat_daily_program_period_precision_minutes?: (number | undefined) | undefined;
168610
+ /** 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. */
168611
+ max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
166235
168612
  });
166236
168613
  /** Location information for the device. */
166237
168614
  location: {
@@ -166541,6 +168918,7 @@ type Routes = {
166541
168918
  can_simulate_connection?: boolean | undefined;
166542
168919
  can_simulate_disconnection?: boolean | undefined;
166543
168920
  can_unlock_with_code?: boolean | undefined;
168921
+ can_run_thermostat_programs?: boolean | undefined;
166544
168922
  }[] | undefined;
166545
168923
  acs_entrances?: {
166546
168924
  /** 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). */
@@ -168919,6 +171297,7 @@ type Routes = {
168919
171297
  can_simulate_connection?: boolean | undefined;
168920
171298
  can_simulate_disconnection?: boolean | undefined;
168921
171299
  can_unlock_with_code?: boolean | undefined;
171300
+ can_run_thermostat_programs?: boolean | undefined;
168922
171301
  }[] | undefined;
168923
171302
  connect_webviews?: {
168924
171303
  /** ID of the Connect Webview. */