@seamapi/types 1.274.0 → 1.275.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.
@@ -5174,6 +5174,12 @@ export interface Routes {
5174
5174
  max_heating_set_point_fahrenheit?: number | undefined;
5175
5175
  min_heating_cooling_delta_celsius?: number | undefined;
5176
5176
  min_heating_cooling_delta_fahrenheit?: number | undefined;
5177
+ temperature_threshold?: ({
5178
+ lower_limit_celsius: number | null;
5179
+ lower_limit_fahrenheit: number | null;
5180
+ upper_limit_celsius: number | null;
5181
+ upper_limit_fahrenheit: number | null;
5182
+ } | undefined) | undefined;
5177
5183
  });
5178
5184
  /** Location information for the device. */
5179
5185
  location: {
@@ -9162,6 +9168,12 @@ export interface Routes {
9162
9168
  max_heating_set_point_fahrenheit?: number | undefined;
9163
9169
  min_heating_cooling_delta_celsius?: number | undefined;
9164
9170
  min_heating_cooling_delta_fahrenheit?: number | undefined;
9171
+ temperature_threshold?: ({
9172
+ lower_limit_celsius: number | null;
9173
+ lower_limit_fahrenheit: number | null;
9174
+ upper_limit_celsius: number | null;
9175
+ upper_limit_fahrenheit: number | null;
9176
+ } | undefined) | undefined;
9165
9177
  });
9166
9178
  /** Location information for the device. */
9167
9179
  location: {
@@ -9640,6 +9652,12 @@ export interface Routes {
9640
9652
  max_heating_set_point_fahrenheit?: number | undefined;
9641
9653
  min_heating_cooling_delta_celsius?: number | undefined;
9642
9654
  min_heating_cooling_delta_fahrenheit?: number | undefined;
9655
+ temperature_threshold?: ({
9656
+ lower_limit_celsius: number | null;
9657
+ lower_limit_fahrenheit: number | null;
9658
+ upper_limit_celsius: number | null;
9659
+ upper_limit_fahrenheit: number | null;
9660
+ } | undefined) | undefined;
9643
9661
  });
9644
9662
  /** Location information for the device. */
9645
9663
  location: {
@@ -10063,8 +10081,8 @@ export interface Routes {
10063
10081
  device_ids?: string[] | undefined;
10064
10082
  access_code_id?: string | undefined;
10065
10083
  access_code_ids?: string[] | undefined;
10066
- event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted') | undefined;
10067
- event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted'> | undefined;
10084
+ event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded') | undefined;
10085
+ event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded'> | undefined;
10068
10086
  connected_account_id?: string | undefined;
10069
10087
  connect_webview_id?: string | undefined;
10070
10088
  limit?: number;
@@ -10518,6 +10536,12 @@ export interface Routes {
10518
10536
  max_heating_set_point_fahrenheit?: number | undefined;
10519
10537
  min_heating_cooling_delta_celsius?: number | undefined;
10520
10538
  min_heating_cooling_delta_fahrenheit?: number | undefined;
10539
+ temperature_threshold?: ({
10540
+ lower_limit_celsius: number | null;
10541
+ lower_limit_fahrenheit: number | null;
10542
+ upper_limit_celsius: number | null;
10543
+ upper_limit_fahrenheit: number | null;
10544
+ } | undefined) | undefined;
10521
10545
  });
10522
10546
  /** Location information for the device. */
10523
10547
  location: {
@@ -10971,6 +10995,12 @@ export interface Routes {
10971
10995
  max_heating_set_point_fahrenheit?: number | undefined;
10972
10996
  min_heating_cooling_delta_celsius?: number | undefined;
10973
10997
  min_heating_cooling_delta_fahrenheit?: number | undefined;
10998
+ temperature_threshold?: ({
10999
+ lower_limit_celsius: number | null;
11000
+ lower_limit_fahrenheit: number | null;
11001
+ upper_limit_celsius: number | null;
11002
+ upper_limit_fahrenheit: number | null;
11003
+ } | undefined) | undefined;
10974
11004
  });
10975
11005
  /** Location information for the device. */
10976
11006
  location: {
@@ -11449,6 +11479,12 @@ export interface Routes {
11449
11479
  max_heating_set_point_fahrenheit?: number | undefined;
11450
11480
  min_heating_cooling_delta_celsius?: number | undefined;
11451
11481
  min_heating_cooling_delta_fahrenheit?: number | undefined;
11482
+ temperature_threshold?: ({
11483
+ lower_limit_celsius: number | null;
11484
+ lower_limit_fahrenheit: number | null;
11485
+ upper_limit_celsius: number | null;
11486
+ upper_limit_fahrenheit: number | null;
11487
+ } | undefined) | undefined;
11452
11488
  });
11453
11489
  /** Location information for the device. */
11454
11490
  location: {
@@ -11902,6 +11938,12 @@ export interface Routes {
11902
11938
  max_heating_set_point_fahrenheit?: number | undefined;
11903
11939
  min_heating_cooling_delta_celsius?: number | undefined;
11904
11940
  min_heating_cooling_delta_fahrenheit?: number | undefined;
11941
+ temperature_threshold?: ({
11942
+ lower_limit_celsius: number | null;
11943
+ lower_limit_fahrenheit: number | null;
11944
+ upper_limit_celsius: number | null;
11945
+ upper_limit_fahrenheit: number | null;
11946
+ } | undefined) | undefined;
11905
11947
  });
11906
11948
  /** Location information for the device. */
11907
11949
  location: {
@@ -13700,6 +13742,12 @@ export interface Routes {
13700
13742
  max_heating_set_point_fahrenheit?: number | undefined;
13701
13743
  min_heating_cooling_delta_celsius?: number | undefined;
13702
13744
  min_heating_cooling_delta_fahrenheit?: number | undefined;
13745
+ temperature_threshold?: ({
13746
+ lower_limit_celsius: number | null;
13747
+ lower_limit_fahrenheit: number | null;
13748
+ upper_limit_celsius: number | null;
13749
+ upper_limit_fahrenheit: number | null;
13750
+ } | undefined) | undefined;
13703
13751
  });
13704
13752
  /** Location information for the device. */
13705
13753
  location: {
@@ -14153,6 +14201,12 @@ export interface Routes {
14153
14201
  max_heating_set_point_fahrenheit?: number | undefined;
14154
14202
  min_heating_cooling_delta_celsius?: number | undefined;
14155
14203
  min_heating_cooling_delta_fahrenheit?: number | undefined;
14204
+ temperature_threshold?: ({
14205
+ lower_limit_celsius: number | null;
14206
+ lower_limit_fahrenheit: number | null;
14207
+ upper_limit_celsius: number | null;
14208
+ upper_limit_fahrenheit: number | null;
14209
+ } | undefined) | undefined;
14156
14210
  });
14157
14211
  /** Location information for the device. */
14158
14212
  location: {
@@ -18114,6 +18168,12 @@ export interface Routes {
18114
18168
  max_heating_set_point_fahrenheit?: number | undefined;
18115
18169
  min_heating_cooling_delta_celsius?: number | undefined;
18116
18170
  min_heating_cooling_delta_fahrenheit?: number | undefined;
18171
+ temperature_threshold?: ({
18172
+ lower_limit_celsius: number | null;
18173
+ lower_limit_fahrenheit: number | null;
18174
+ upper_limit_celsius: number | null;
18175
+ upper_limit_fahrenheit: number | null;
18176
+ } | undefined) | undefined;
18117
18177
  });
18118
18178
  /** Location information for the device. */
18119
18179
  location: {
@@ -19884,6 +19944,12 @@ export interface Routes {
19884
19944
  max_heating_set_point_fahrenheit?: number | undefined;
19885
19945
  min_heating_cooling_delta_celsius?: number | undefined;
19886
19946
  min_heating_cooling_delta_fahrenheit?: number | undefined;
19947
+ temperature_threshold?: ({
19948
+ lower_limit_celsius: number | null;
19949
+ lower_limit_fahrenheit: number | null;
19950
+ upper_limit_celsius: number | null;
19951
+ upper_limit_fahrenheit: number | null;
19952
+ } | undefined) | undefined;
19887
19953
  });
19888
19954
  /** Location information for the device. */
19889
19955
  location: {
@@ -20337,6 +20403,12 @@ export interface Routes {
20337
20403
  max_heating_set_point_fahrenheit?: number | undefined;
20338
20404
  min_heating_cooling_delta_celsius?: number | undefined;
20339
20405
  min_heating_cooling_delta_fahrenheit?: number | undefined;
20406
+ temperature_threshold?: ({
20407
+ lower_limit_celsius: number | null;
20408
+ lower_limit_fahrenheit: number | null;
20409
+ upper_limit_celsius: number | null;
20410
+ upper_limit_fahrenheit: number | null;
20411
+ } | undefined) | undefined;
20340
20412
  });
20341
20413
  /** Location information for the device. */
20342
20414
  location: {
@@ -21790,6 +21862,21 @@ export interface Routes {
21790
21862
  };
21791
21863
  };
21792
21864
  };
21865
+ '/thermostats/set_temperature_threshold': {
21866
+ route: '/thermostats/set_temperature_threshold';
21867
+ method: 'POST' | 'PATCH';
21868
+ queryParams: {};
21869
+ jsonBody: {
21870
+ device_id: string;
21871
+ lower_limit_celsius?: (number | undefined) | null;
21872
+ lower_limit_fahrenheit?: (number | undefined) | null;
21873
+ upper_limit_celsius?: (number | undefined) | null;
21874
+ upper_limit_fahrenheit?: (number | undefined) | null;
21875
+ };
21876
+ commonParams: {};
21877
+ formData: {};
21878
+ jsonResponse: {};
21879
+ };
21793
21880
  '/thermostats/update_climate_preset': {
21794
21881
  route: '/thermostats/update_climate_preset';
21795
21882
  method: 'POST' | 'PATCH';
@@ -22408,6 +22495,12 @@ export interface Routes {
22408
22495
  max_heating_set_point_fahrenheit?: number | undefined;
22409
22496
  min_heating_cooling_delta_celsius?: number | undefined;
22410
22497
  min_heating_cooling_delta_fahrenheit?: number | undefined;
22498
+ temperature_threshold?: ({
22499
+ lower_limit_celsius: number | null;
22500
+ lower_limit_fahrenheit: number | null;
22501
+ upper_limit_celsius: number | null;
22502
+ upper_limit_fahrenheit: number | null;
22503
+ } | undefined) | undefined;
22411
22504
  });
22412
22505
  /** Location information for the device. */
22413
22506
  location: {
@@ -22863,6 +22956,12 @@ export interface Routes {
22863
22956
  max_heating_set_point_fahrenheit?: number | undefined;
22864
22957
  min_heating_cooling_delta_celsius?: number | undefined;
22865
22958
  min_heating_cooling_delta_fahrenheit?: number | undefined;
22959
+ temperature_threshold?: ({
22960
+ lower_limit_celsius: number | null;
22961
+ lower_limit_fahrenheit: number | null;
22962
+ upper_limit_celsius: number | null;
22963
+ upper_limit_fahrenheit: number | null;
22964
+ } | undefined) | undefined;
22866
22965
  });
22867
22966
  /** Location information for the device. */
22868
22967
  location: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.274.0",
3
+ "version": "1.275.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -51,5 +51,13 @@ export const thermostat_capability_properties = z
51
51
  max_heating_set_point_fahrenheit: z.number(),
52
52
  min_heating_cooling_delta_celsius: z.number(),
53
53
  min_heating_cooling_delta_fahrenheit: z.number(),
54
+ temperature_threshold: z
55
+ .object({
56
+ lower_limit_celsius: z.number().nullable(),
57
+ lower_limit_fahrenheit: z.number().nullable(),
58
+ upper_limit_celsius: z.number().nullable(),
59
+ upper_limit_fahrenheit: z.number().nullable(),
60
+ })
61
+ .optional(),
54
62
  })
55
63
  .partial()
@@ -386,6 +386,42 @@ export type ThermostatManuallyAdjustedEvent = z.infer<
386
386
  typeof thermostat_manually_adjusted_event
387
387
  >
388
388
 
389
+ export const temperature_threshold_exceeded_event = device_event
390
+ .extend({
391
+ event_type: z.literal('thermostat.temperature_threshold_exceeded'),
392
+ temperature_celsius: z.number(),
393
+ temperature_fahrenheit: z.number(),
394
+ upper_limit_celsius: z.number().nullable(),
395
+ upper_limit_fahrenheit: z.number().nullable(),
396
+ lower_limit_celsius: z.number().nullable(),
397
+ lower_limit_fahrenheit: z.number().nullable(),
398
+ })
399
+ .describe("A thermostat's temperature reading exceeded the set threshold.")
400
+
401
+ export type TemperatureThresholdExceededEvent = z.infer<
402
+ typeof temperature_threshold_exceeded_event
403
+ >
404
+
405
+ export const temperature_threshold_no_longer_exceeded_event = device_event
406
+ .extend({
407
+ event_type: z.literal(
408
+ 'thermostat.temperature_threshold_no_longer_exceeded',
409
+ ),
410
+ temperature_celsius: z.number(),
411
+ temperature_fahrenheit: z.number(),
412
+ upper_limit_celsius: z.number().nullable(),
413
+ upper_limit_fahrenheit: z.number().nullable(),
414
+ lower_limit_celsius: z.number().nullable(),
415
+ lower_limit_fahrenheit: z.number().nullable(),
416
+ })
417
+ .describe(
418
+ "A thermostat's temperature reading is no longer exceeding the set threshold.",
419
+ )
420
+
421
+ export type TemperatureThresholdNoLongerExceededEvent = z.infer<
422
+ typeof temperature_threshold_no_longer_exceeded_event
423
+ >
424
+
389
425
  export const device_events = [
390
426
  device_connected_event,
391
427
  device_added_event,
@@ -415,4 +451,6 @@ export const device_events = [
415
451
  lock_access_denied_event,
416
452
  thermostat_climate_preset_activated_event,
417
453
  thermostat_manually_adjusted_event,
454
+ temperature_threshold_exceeded_event,
455
+ temperature_threshold_no_longer_exceeded_event,
418
456
  ] as const
@@ -4403,6 +4403,37 @@ export default {
4403
4403
  format: 'float',
4404
4404
  type: 'number',
4405
4405
  },
4406
+ temperature_threshold: {
4407
+ properties: {
4408
+ lower_limit_celsius: {
4409
+ format: 'float',
4410
+ nullable: true,
4411
+ type: 'number',
4412
+ },
4413
+ lower_limit_fahrenheit: {
4414
+ format: 'float',
4415
+ nullable: true,
4416
+ type: 'number',
4417
+ },
4418
+ upper_limit_celsius: {
4419
+ format: 'float',
4420
+ nullable: true,
4421
+ type: 'number',
4422
+ },
4423
+ upper_limit_fahrenheit: {
4424
+ format: 'float',
4425
+ nullable: true,
4426
+ type: 'number',
4427
+ },
4428
+ },
4429
+ required: [
4430
+ 'lower_limit_celsius',
4431
+ 'lower_limit_fahrenheit',
4432
+ 'upper_limit_celsius',
4433
+ 'upper_limit_fahrenheit',
4434
+ ],
4435
+ type: 'object',
4436
+ },
4406
4437
  },
4407
4438
  type: 'object',
4408
4439
  },
@@ -12898,6 +12929,8 @@ export default {
12898
12929
  'action_attempt.unlock_door.failed',
12899
12930
  'thermostat.climate_preset_activated',
12900
12931
  'thermostat.manually_adjusted',
12932
+ 'thermostat.temperature_threshold_exceeded',
12933
+ 'thermostat.temperature_threshold_no_longer_exceeded',
12901
12934
  ],
12902
12935
  type: 'string',
12903
12936
  },
@@ -12970,6 +13003,8 @@ export default {
12970
13003
  'action_attempt.unlock_door.failed',
12971
13004
  'thermostat.climate_preset_activated',
12972
13005
  'thermostat.manually_adjusted',
13006
+ 'thermostat.temperature_threshold_exceeded',
13007
+ 'thermostat.temperature_threshold_no_longer_exceeded',
12973
13008
  ],
12974
13009
  type: 'string',
12975
13010
  },
@@ -15526,6 +15561,139 @@ export default {
15526
15561
  'x-response-key': 'action_attempt',
15527
15562
  },
15528
15563
  },
15564
+ '/thermostats/set_temperature_threshold': {
15565
+ patch: {
15566
+ operationId: 'thermostatsSetTemperatureThresholdPatch',
15567
+ requestBody: {
15568
+ content: {
15569
+ 'application/json': {
15570
+ schema: {
15571
+ properties: {
15572
+ device_id: { format: 'uuid', type: 'string' },
15573
+ lower_limit_celsius: {
15574
+ default: null,
15575
+ format: 'float',
15576
+ nullable: true,
15577
+ type: 'number',
15578
+ },
15579
+ lower_limit_fahrenheit: {
15580
+ default: null,
15581
+ format: 'float',
15582
+ nullable: true,
15583
+ type: 'number',
15584
+ },
15585
+ upper_limit_celsius: {
15586
+ default: null,
15587
+ format: 'float',
15588
+ nullable: true,
15589
+ type: 'number',
15590
+ },
15591
+ upper_limit_fahrenheit: {
15592
+ default: null,
15593
+ format: 'float',
15594
+ nullable: true,
15595
+ type: 'number',
15596
+ },
15597
+ },
15598
+ required: ['device_id'],
15599
+ type: 'object',
15600
+ },
15601
+ },
15602
+ },
15603
+ },
15604
+ responses: {
15605
+ 200: {
15606
+ content: {
15607
+ 'application/json': {
15608
+ schema: {
15609
+ properties: { ok: { type: 'boolean' } },
15610
+ required: ['ok'],
15611
+ type: 'object',
15612
+ },
15613
+ },
15614
+ },
15615
+ description: 'OK',
15616
+ },
15617
+ 400: { description: 'Bad Request' },
15618
+ 401: { description: 'Unauthorized' },
15619
+ },
15620
+ security: [
15621
+ { api_key: [] },
15622
+ { pat_with_workspace: [] },
15623
+ { console_session: [] },
15624
+ ],
15625
+ summary: '/thermostats/set_temperature_threshold',
15626
+ tags: ['/thermostats'],
15627
+ 'x-fern-ignore': true,
15628
+ 'x-response-key': null,
15629
+ },
15630
+ post: {
15631
+ operationId: 'thermostatsSetTemperatureThresholdPost',
15632
+ requestBody: {
15633
+ content: {
15634
+ 'application/json': {
15635
+ schema: {
15636
+ properties: {
15637
+ device_id: { format: 'uuid', type: 'string' },
15638
+ lower_limit_celsius: {
15639
+ default: null,
15640
+ format: 'float',
15641
+ nullable: true,
15642
+ type: 'number',
15643
+ },
15644
+ lower_limit_fahrenheit: {
15645
+ default: null,
15646
+ format: 'float',
15647
+ nullable: true,
15648
+ type: 'number',
15649
+ },
15650
+ upper_limit_celsius: {
15651
+ default: null,
15652
+ format: 'float',
15653
+ nullable: true,
15654
+ type: 'number',
15655
+ },
15656
+ upper_limit_fahrenheit: {
15657
+ default: null,
15658
+ format: 'float',
15659
+ nullable: true,
15660
+ type: 'number',
15661
+ },
15662
+ },
15663
+ required: ['device_id'],
15664
+ type: 'object',
15665
+ },
15666
+ },
15667
+ },
15668
+ },
15669
+ responses: {
15670
+ 200: {
15671
+ content: {
15672
+ 'application/json': {
15673
+ schema: {
15674
+ properties: { ok: { type: 'boolean' } },
15675
+ required: ['ok'],
15676
+ type: 'object',
15677
+ },
15678
+ },
15679
+ },
15680
+ description: 'OK',
15681
+ },
15682
+ 400: { description: 'Bad Request' },
15683
+ 401: { description: 'Unauthorized' },
15684
+ },
15685
+ security: [
15686
+ { api_key: [] },
15687
+ { pat_with_workspace: [] },
15688
+ { console_session: [] },
15689
+ ],
15690
+ summary: '/thermostats/set_temperature_threshold',
15691
+ tags: ['/thermostats'],
15692
+ 'x-fern-sdk-group-name': ['thermostats'],
15693
+ 'x-fern-sdk-method-name': 'set_temperature_threshold',
15694
+ 'x-response-key': null,
15695
+ },
15696
+ },
15529
15697
  '/thermostats/update_climate_preset': {
15530
15698
  patch: {
15531
15699
  operationId: 'thermostatsUpdateClimatePresetPatch',