@seamapi/types 1.342.0 → 1.344.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.
- package/dist/connect.cjs +8 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +23 -7
- package/lib/seam/connect/models/events/devices.d.ts +6 -6
- package/lib/seam/connect/models/events/devices.js +1 -1
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +4 -4
- package/lib/seam/connect/openapi.d.ts +16 -0
- package/lib/seam/connect/openapi.js +5 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +5 -3
- package/src/lib/seam/connect/route-types.ts +4 -4
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
@@ -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.
|
|
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.
|
|
11708
|
+
enum: ['thermostat.temperature_changed'],
|
|
11709
11709
|
type: 'string',
|
|
11710
11710
|
},
|
|
11711
11711
|
occurred_at: {
|
|
@@ -22150,6 +22150,7 @@ export default {
|
|
|
22150
22150
|
{ api_key: [] },
|
|
22151
22151
|
{ pat_with_workspace: [] },
|
|
22152
22152
|
{ console_session_with_workspace: [] },
|
|
22153
|
+
{ client_session: [] },
|
|
22153
22154
|
],
|
|
22154
22155
|
summary: '/devices/update',
|
|
22155
22156
|
tags: ['/devices'],
|
|
@@ -22207,6 +22208,7 @@ export default {
|
|
|
22207
22208
|
{ api_key: [] },
|
|
22208
22209
|
{ pat_with_workspace: [] },
|
|
22209
22210
|
{ console_session_with_workspace: [] },
|
|
22211
|
+
{ client_session: [] },
|
|
22210
22212
|
],
|
|
22211
22213
|
summary: '/devices/update',
|
|
22212
22214
|
tags: ['/devices'],
|
|
@@ -22376,7 +22378,7 @@ export default {
|
|
|
22376
22378
|
'thermostat.temperature_threshold_exceeded',
|
|
22377
22379
|
'thermostat.temperature_threshold_no_longer_exceeded',
|
|
22378
22380
|
'thermostat.temperature_reached_set_point',
|
|
22379
|
-
'thermostat.
|
|
22381
|
+
'thermostat.temperature_changed',
|
|
22380
22382
|
'enrollment_automation.deleted',
|
|
22381
22383
|
'phone.deactivated',
|
|
22382
22384
|
],
|
|
@@ -22457,7 +22459,7 @@ export default {
|
|
|
22457
22459
|
'thermostat.temperature_threshold_exceeded',
|
|
22458
22460
|
'thermostat.temperature_threshold_no_longer_exceeded',
|
|
22459
22461
|
'thermostat.temperature_reached_set_point',
|
|
22460
|
-
'thermostat.
|
|
22462
|
+
'thermostat.temperature_changed',
|
|
22461
22463
|
'enrollment_automation.deleted',
|
|
22462
22464
|
'phone.deactivated',
|
|
22463
22465
|
],
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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). */
|