seamapi-types
Advanced tools
Comparing version 2.5.0 to 2.6.0
@@ -330,2 +330,12 @@ import { Except } from 'type-fest'; | ||
} | ||
declare type InstructionsPane = Pane<"instructions_pane", { | ||
title: string; | ||
description: string; | ||
custom_redirect_url?: string; | ||
items: Array<{ | ||
text: string; | ||
copyValue?: string; | ||
}>; | ||
continueText?: string; | ||
}, {}>; | ||
declare type FinishedPane = Pane<"finished_pane", { | ||
@@ -358,3 +368,3 @@ custom_redirect_url?: string; | ||
}>; | ||
declare type AnyPane = LoadingPane | RedirectPane | SearchAndSelectPane | BrandSelectPane | LoginPane | InitiateTwoFactorPane | TwoFactorPane | FieldsPane | FinishedPane; | ||
declare type AnyPane = LoadingPane | RedirectPane | SearchAndSelectPane | BrandSelectPane | LoginPane | InitiateTwoFactorPane | TwoFactorPane | FieldsPane | FinishedPane | InstructionsPane; | ||
declare type AnyPaneWithoutSubmitProps = Except<AnyPane, "submit_props">; | ||
@@ -370,2 +380,2 @@ | ||
export { AcsCredentialDeleted, AcsUserDeleted, ActionAttemptLockDoorFailedEvent, ActionAttemptLockDoorSucceededEvent, ActionAttemptUnlockDoorFailedEvent, ActionAttemptUnlockDoorSucceededEvent, AnyField, AnyPane, AnyPaneWithoutSubmitProps, BackupAccessCodePulledEvent, BrandSelectPane, ChangeAccessCodeEvent, ClientSessionDeleted, CommonAccessCodeEvent, CommonAcsCredentialEvent, CommonAcsUserEvent, CommonActionAttemptEvent, CommonClientSessionEvent, CommonConnectedAccountEvent, CommonDeviceEvent, CommonEnrollmentAutomationEvent, CommonPhoneEvent, ConnectedAccountCompletedFirstSync, ConnectedAccountCompletedFirstSyncAfterReconnection, ConnectedAccountConnected, ConnectedAccountCreated, ConnectedAccountDeleted, ConnectedAccountDisconnected, ConnectedAccountSuccessfulLogin, ConvertedToManagedAccessCodeEvent, CreateAccessCodeEvent, DelayInRemovingFromDeviceAccessCodeEvent, DelayInSettingOnDeviceAccessCodeEvent, DeletedAccessCodeEvent, DeviceAccessoryKeypadConnected, DeviceAccessoryKeypadDisconnected, DeviceBatteryStatus, DeviceBatteryStatusChanged, DeviceCodeLimitReachedEvent, DeviceConnectedEvent, DeviceConnectionBecameFlaky, DeviceConnectionStabilized, DeviceConvertedToUnmanagedEvent, DeviceDeletedEvent, DeviceDisconnectEvent, DeviceErrorSubscriptionRequired, DeviceErrorSubscriptionRequiredResolved, DeviceLowBatteryEvent, DeviceRemovedEvent, DeviceSaltoPrivacyModeActivated, DeviceSaltoPrivacyModedeactivated, DeviceTamperEvent, DeviceThirdPartyIntegrationDetected, DeviceThirdPartyIntegrationNoLongerDetected, EnrollmentAutomationDeletedEvent, ExternalDeletionAccessCodeEvent, ExternalModificationAccessCodeEvent, FailedToConvertUnmanagedAccessCodeEvent, FailedToRemoveFromDeviceAccessCodeEvent, FailedToSetOnDeviceAccessCodeEvent, Field, FieldsPane, FinishedPane, InitiateTwoFactorPane, LoadingPane, LockLockedEvent, LockMethod, LockUnlockedEvent, LoginPane, LoginWebviewFlowErrorCode, NoiseDetectedEvent, NoiseThresholdTriggeredEvent, PhoneDeactivatedEvent, ProviderMetadata, RedirectPane, RemovedFromDeviceAccessCodeEvent, ScheduledOnDeviceAccessCodeEvent, SeamEvent, SearchAndSelectPane, SelectionField, SetOnDeviceAccessCodeEvent, SmartThingsLocation, TextAreaField, TextField, TwoFactorOption, TwoFactorOptionWithId, TwoFactorPane, UnexpectedWebviewFlowErrorCode, UnmanagedAccessCodeCreatedEvent, UnmanagedAccessCodeRemovedEvent, UnmanagedDeviceConnectedEvent, UnmanagedDeviceConvertedToManagedEvent, UnmanagedDeviceDisconnectEvent, UserInputWebviewFlowErrorCode, WebviewFlowErrorCode, Workspace }; | ||
export { AcsCredentialDeleted, AcsUserDeleted, ActionAttemptLockDoorFailedEvent, ActionAttemptLockDoorSucceededEvent, ActionAttemptUnlockDoorFailedEvent, ActionAttemptUnlockDoorSucceededEvent, AnyField, AnyPane, AnyPaneWithoutSubmitProps, BackupAccessCodePulledEvent, BrandSelectPane, ChangeAccessCodeEvent, ClientSessionDeleted, CommonAccessCodeEvent, CommonAcsCredentialEvent, CommonAcsUserEvent, CommonActionAttemptEvent, CommonClientSessionEvent, CommonConnectedAccountEvent, CommonDeviceEvent, CommonEnrollmentAutomationEvent, CommonPhoneEvent, ConnectedAccountCompletedFirstSync, ConnectedAccountCompletedFirstSyncAfterReconnection, ConnectedAccountConnected, ConnectedAccountCreated, ConnectedAccountDeleted, ConnectedAccountDisconnected, ConnectedAccountSuccessfulLogin, ConvertedToManagedAccessCodeEvent, CreateAccessCodeEvent, DelayInRemovingFromDeviceAccessCodeEvent, DelayInSettingOnDeviceAccessCodeEvent, DeletedAccessCodeEvent, DeviceAccessoryKeypadConnected, DeviceAccessoryKeypadDisconnected, DeviceBatteryStatus, DeviceBatteryStatusChanged, DeviceCodeLimitReachedEvent, DeviceConnectedEvent, DeviceConnectionBecameFlaky, DeviceConnectionStabilized, DeviceConvertedToUnmanagedEvent, DeviceDeletedEvent, DeviceDisconnectEvent, DeviceErrorSubscriptionRequired, DeviceErrorSubscriptionRequiredResolved, DeviceLowBatteryEvent, DeviceRemovedEvent, DeviceSaltoPrivacyModeActivated, DeviceSaltoPrivacyModedeactivated, DeviceTamperEvent, DeviceThirdPartyIntegrationDetected, DeviceThirdPartyIntegrationNoLongerDetected, EnrollmentAutomationDeletedEvent, ExternalDeletionAccessCodeEvent, ExternalModificationAccessCodeEvent, FailedToConvertUnmanagedAccessCodeEvent, FailedToRemoveFromDeviceAccessCodeEvent, FailedToSetOnDeviceAccessCodeEvent, Field, FieldsPane, FinishedPane, InitiateTwoFactorPane, InstructionsPane, LoadingPane, LockLockedEvent, LockMethod, LockUnlockedEvent, LoginPane, LoginWebviewFlowErrorCode, NoiseDetectedEvent, NoiseThresholdTriggeredEvent, PhoneDeactivatedEvent, ProviderMetadata, RedirectPane, RemovedFromDeviceAccessCodeEvent, ScheduledOnDeviceAccessCodeEvent, SeamEvent, SearchAndSelectPane, SelectionField, SetOnDeviceAccessCodeEvent, SmartThingsLocation, TextAreaField, TextField, TwoFactorOption, TwoFactorOptionWithId, TwoFactorPane, UnexpectedWebviewFlowErrorCode, UnmanagedAccessCodeCreatedEvent, UnmanagedAccessCodeRemovedEvent, UnmanagedDeviceConnectedEvent, UnmanagedDeviceConvertedToManagedEvent, UnmanagedDeviceDisconnectEvent, UserInputWebviewFlowErrorCode, WebviewFlowErrorCode, Workspace }; |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "2.5.0", | ||
"version": "2.6.0", | ||
"main": "dist/index.js", | ||
@@ -9,0 +9,0 @@ "types": "dist/index.d.ts", |
@@ -155,2 +155,17 @@ import { Except } from "type-fest" | ||
export type InstructionsPane = Pane< | ||
"instructions_pane", | ||
{ | ||
title: string | ||
description: string | ||
custom_redirect_url?: string | ||
items: Array<{ | ||
text: string | ||
copyValue?: string | ||
}> | ||
continueText?: string | ||
}, | ||
{} | ||
> | ||
export type FinishedPane = Pane< | ||
@@ -198,3 +213,4 @@ "finished_pane", | ||
| FinishedPane | ||
| InstructionsPane | ||
export type AnyPaneWithoutSubmitProps = Except<AnyPane, "submit_props"> |
52134
1049