seamapi-types
Advanced tools
Comparing version 1.14.1 to 1.15.0
@@ -20,2 +20,6 @@ import { Except } from 'type-fest'; | ||
}>; | ||
declare type DeviceBatteryStatusChanged = CommonDeviceEvent<"device.battery_status_changed", { | ||
battery_status: string; | ||
battery_level: number; | ||
}>; | ||
declare type DeviceCodeLimitReachedEvent = CommonDeviceEvent<"device.code_limit_reached">; | ||
@@ -65,3 +69,3 @@ interface CommonAccessCodeEvent<EventType extends string> extends CommonDeviceEvent<EventType, { | ||
declare type ConnectedAccountCompletedFirstSync = CommonConnectedAccountEvent<"connected_account.completed_first_sync">; | ||
declare type SeamEvent = DeviceConnectedEvent | DeviceDisconnectEvent | DeviceTamperEvent | DeviceLowBatteryEvent | CreateAccessCodeEvent | ChangeAccessCodeEvent | SetOnDeviceAccessCodeEvent | RemovedFromDeviceAccessCodeEvent | FailedToRemoveFromDeviceAccessCodeEvent | DelayInRemovingFromDeviceAccessCodeEvent | FailedToSetOnDeviceAccessCodeEvent | DelayInSettingOnDeviceAccessCodeEvent | NoiseDetectedEvent | ConnectedAccountConnected | ConnectedAccountCreated | ConnectedAccountDisconnected | ConnectedAccountCompletedFirstSync | LockLockedEvent | LockUnlockedEvent; | ||
declare type SeamEvent = DeviceConnectedEvent | DeviceDisconnectEvent | DeviceTamperEvent | DeviceLowBatteryEvent | DeviceBatteryStatusChanged | CreateAccessCodeEvent | ChangeAccessCodeEvent | SetOnDeviceAccessCodeEvent | RemovedFromDeviceAccessCodeEvent | FailedToRemoveFromDeviceAccessCodeEvent | DelayInRemovingFromDeviceAccessCodeEvent | FailedToSetOnDeviceAccessCodeEvent | DelayInSettingOnDeviceAccessCodeEvent | NoiseDetectedEvent | ConnectedAccountConnected | ConnectedAccountCreated | ConnectedAccountDisconnected | ConnectedAccountCompletedFirstSync | LockLockedEvent | LockUnlockedEvent; | ||
@@ -208,2 +212,2 @@ declare type Field<Type extends string, Props, Input> = { | ||
export { AnyField, AnyPane, AnyPaneWithoutSubmitProps, ChangeAccessCodeEvent, CommonAccessCodeEvent, CommonConnectedAccountEvent, CommonDeviceEvent, ConnectedAccountCompletedFirstSync, ConnectedAccountConnected, ConnectedAccountCreated, ConnectedAccountDisconnected, CreateAccessCodeEvent, DelayInRemovingFromDeviceAccessCodeEvent, DelayInSettingOnDeviceAccessCodeEvent, DeviceCodeLimitReachedEvent, DeviceConnectedEvent, DeviceDisconnectEvent, DeviceLowBatteryEvent, DeviceTamperEvent, FailedToRemoveFromDeviceAccessCodeEvent, FailedToSetOnDeviceAccessCodeEvent, Field, FieldsPane, FinishedPane, InitiateTwoFactorPane, LoadingPane, LockLockedEvent, LockMethod, LockUnlockedEvent, LoginPane, LoginWebviewFlowErrorCode, NoiseDetectedEvent, ProviderMetadata, RedirectPane, RemovedFromDeviceAccessCodeEvent, SeamEvent, SearchAndSelectPane, SelectionField, SetOnDeviceAccessCodeEvent, SmartThingsLocation, TextField, TwoFactorOption, TwoFactorOptionWithId, TwoFactorPane, UnexpectedWebviewFlowErrorCode, UserInputWebviewFlowErrorCode, WebviewFlowErrorCode, Workspace }; | ||
export { AnyField, AnyPane, AnyPaneWithoutSubmitProps, ChangeAccessCodeEvent, CommonAccessCodeEvent, CommonConnectedAccountEvent, CommonDeviceEvent, ConnectedAccountCompletedFirstSync, ConnectedAccountConnected, ConnectedAccountCreated, ConnectedAccountDisconnected, CreateAccessCodeEvent, DelayInRemovingFromDeviceAccessCodeEvent, DelayInSettingOnDeviceAccessCodeEvent, DeviceBatteryStatusChanged, DeviceCodeLimitReachedEvent, DeviceConnectedEvent, DeviceDisconnectEvent, DeviceLowBatteryEvent, DeviceTamperEvent, FailedToRemoveFromDeviceAccessCodeEvent, FailedToSetOnDeviceAccessCodeEvent, Field, FieldsPane, FinishedPane, InitiateTwoFactorPane, LoadingPane, LockLockedEvent, LockMethod, LockUnlockedEvent, LoginPane, LoginWebviewFlowErrorCode, NoiseDetectedEvent, ProviderMetadata, RedirectPane, RemovedFromDeviceAccessCodeEvent, SeamEvent, SearchAndSelectPane, SelectionField, SetOnDeviceAccessCodeEvent, SmartThingsLocation, TextField, TwoFactorOption, TwoFactorOptionWithId, TwoFactorPane, UnexpectedWebviewFlowErrorCode, UserInputWebviewFlowErrorCode, WebviewFlowErrorCode, Workspace }; |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "1.14.1", | ||
"version": "1.15.0", | ||
"main": "dist/index.js", | ||
@@ -9,0 +9,0 @@ "types": "dist/index.d.ts", |
@@ -32,2 +32,9 @@ export interface CommonDeviceEvent< | ||
> | ||
export type DeviceBatteryStatusChanged = CommonDeviceEvent< | ||
"device.battery_status_changed", | ||
{ | ||
battery_status: string | ||
battery_level: number | ||
} | ||
> | ||
export type DeviceCodeLimitReachedEvent = | ||
@@ -126,2 +133,3 @@ CommonDeviceEvent<"device.code_limit_reached"> | ||
| DeviceLowBatteryEvent | ||
| DeviceBatteryStatusChanged | ||
| CreateAccessCodeEvent | ||
@@ -128,0 +136,0 @@ | ChangeAccessCodeEvent |
21635
582