@seamapi/types 1.342.0 → 1.343.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.
@@ -16185,7 +16185,7 @@ export interface Routes {
16185
16185
  device_id: string;
16186
16186
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
16187
16187
  connected_account_id: string;
16188
- event_type: 'thermostat.temperature_changed_event';
16188
+ event_type: 'thermostat.temperature_changed';
16189
16189
  /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
16190
16190
  temperature_celsius: number;
16191
16191
  /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
@@ -16233,8 +16233,8 @@ export interface Routes {
16233
16233
  acs_system_ids?: string[] | undefined;
16234
16234
  access_code_id?: string | undefined;
16235
16235
  access_code_ids?: string[] | undefined;
16236
- 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' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | '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_event' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
16237
- event_types?: Array<'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' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | '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_event' | 'enrollment_automation.deleted' | 'phone.deactivated'> | undefined;
16236
+ 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' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | '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' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
16237
+ event_types?: Array<'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' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | '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' | 'enrollment_automation.deleted' | 'phone.deactivated'> | undefined;
16238
16238
  connected_account_id?: string | undefined;
16239
16239
  connect_webview_id?: string | undefined;
16240
16240
  limit?: number;
@@ -17396,7 +17396,7 @@ export interface Routes {
17396
17396
  device_id: string;
17397
17397
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
17398
17398
  connected_account_id: string;
17399
- event_type: 'thermostat.temperature_changed_event';
17399
+ event_type: 'thermostat.temperature_changed';
17400
17400
  /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
17401
17401
  temperature_celsius: number;
17402
17402
  /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.342.0",
3
+ "version": "1.343.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -631,7 +631,7 @@ export type TemperatureReachedSetPointEvent = z.infer<
631
631
  >
632
632
 
633
633
  export const temperature_changed_event = device_event.extend({
634
- event_type: z.literal('thermostat.temperature_changed_event'),
634
+ event_type: z.literal('thermostat.temperature_changed'),
635
635
  temperature_celsius: z
636
636
  .number()
637
637
  .describe(
@@ -11705,7 +11705,7 @@ export default {
11705
11705
  type: 'string',
11706
11706
  },
11707
11707
  event_type: {
11708
- enum: ['thermostat.temperature_changed_event'],
11708
+ enum: ['thermostat.temperature_changed'],
11709
11709
  type: 'string',
11710
11710
  },
11711
11711
  occurred_at: {
@@ -22376,7 +22376,7 @@ export default {
22376
22376
  'thermostat.temperature_threshold_exceeded',
22377
22377
  'thermostat.temperature_threshold_no_longer_exceeded',
22378
22378
  'thermostat.temperature_reached_set_point',
22379
- 'thermostat.temperature_changed_event',
22379
+ 'thermostat.temperature_changed',
22380
22380
  'enrollment_automation.deleted',
22381
22381
  'phone.deactivated',
22382
22382
  ],
@@ -22457,7 +22457,7 @@ export default {
22457
22457
  'thermostat.temperature_threshold_exceeded',
22458
22458
  'thermostat.temperature_threshold_no_longer_exceeded',
22459
22459
  'thermostat.temperature_reached_set_point',
22460
- 'thermostat.temperature_changed_event',
22460
+ 'thermostat.temperature_changed',
22461
22461
  'enrollment_automation.deleted',
22462
22462
  'phone.deactivated',
22463
22463
  ],
@@ -19889,7 +19889,7 @@ export interface Routes {
19889
19889
  device_id: string
19890
19890
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
19891
19891
  connected_account_id: string
19892
- event_type: 'thermostat.temperature_changed_event'
19892
+ event_type: 'thermostat.temperature_changed'
19893
19893
  /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
19894
19894
  temperature_celsius: number
19895
19895
  /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
@@ -20015,7 +20015,7 @@ export interface Routes {
20015
20015
  | 'thermostat.temperature_threshold_exceeded'
20016
20016
  | 'thermostat.temperature_threshold_no_longer_exceeded'
20017
20017
  | 'thermostat.temperature_reached_set_point'
20018
- | 'thermostat.temperature_changed_event'
20018
+ | 'thermostat.temperature_changed'
20019
20019
  | 'enrollment_automation.deleted'
20020
20020
  | 'phone.deactivated'
20021
20021
  )
@@ -20094,7 +20094,7 @@ export interface Routes {
20094
20094
  | 'thermostat.temperature_threshold_exceeded'
20095
20095
  | 'thermostat.temperature_threshold_no_longer_exceeded'
20096
20096
  | 'thermostat.temperature_reached_set_point'
20097
- | 'thermostat.temperature_changed_event'
20097
+ | 'thermostat.temperature_changed'
20098
20098
  | 'enrollment_automation.deleted'
20099
20099
  | 'phone.deactivated'
20100
20100
  >
@@ -21343,7 +21343,7 @@ export interface Routes {
21343
21343
  device_id: string
21344
21344
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
21345
21345
  connected_account_id: string
21346
- event_type: 'thermostat.temperature_changed_event'
21346
+ event_type: 'thermostat.temperature_changed'
21347
21347
  /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
21348
21348
  temperature_celsius: number
21349
21349
  /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */