getFitOnlinePasswordList()
Requires:
@ray-js/lock-sdk≥1.2.0
Description
Get the current accessory's online password details list (retaining original fields such as opModeType/effective period/phone number/lock name).
Parameters
None
Return Value
Type: Promise<FitOnlinePasswordItem[]>
Online password detail array
FitOnlinePasswordItem
| Property | Type | Description |
|---|---|---|
id | number | Cloud unlock method record ID (from unlockBindingId) |
pwdId | number | Password ID |
sn | number | Password index on the lock |
gmtCreate | number | Creation time |
opModeType | number | Unlock method type: 1 time-limited temporary / 2 permanent |
opModeSubType | number | Password subtype: 0 time-limited / 1 one-time |
name | string | Password name |
userName | string | Password owner username |
mobile | string | SMS recipient phone number |
hijack | boolean | Whether a duress password |
operate | number | Current operation status: 124 creating / 125 deleting / 126 updating |
effectiveTime | number | Effective time (seconds) |
invalidTime | number | Expiry time (seconds) |
devNameList | string[] | List of unlockable lock names |
| Cycle details |
Referenced Types
interface
RawFitOpenModeScheduleItem| Property | Type | Description |
|---|---|---|
allDay | boolean | |
effectiveTime | number | |
invalidTime | number | |
timeZoneId | string | |
workingDay | number |