getFitInvalidPwdList(params?: GetFitInvalidPwdListParams)

Requires:
@ray-js/lock-sdk≥1.2.0

Description

Retrieve the list of expired passwords for the accessory.

Parameters

ParameterTypeRequiredDescription
NoQuery parameters (filterable by opMode; supports limit/offset pagination)

Return Value

Type: Promise<FitInvalidPwdListResult>
Pagination structure { datas, totalCount }
FitInvalidPwdListResult
PropertyTypeDescription
Expired password records on the current page
totalCountnumberTotal count

Referenced Types

interfaceRawPasswordItem
PropertyTypeDescription
unlockBindingIdnumberUnlock method binding record ID
effectiveTimenumberEffective time
invalidTimenumberExpiration time
passWordstringPassword content; note the cloud field name is passWord
namestringPassword name
mobilestringPhone number
Cycle details
devNameListstring[]List of lock names that can be unlocked
devIdListstring[]List of lock device IDs that can be unlocked
opModeTypenumberUnlock method type
opModeSubTypenumberPassword subtype; for temporary passwords, indicates the current available uses
snnumberPassword index on the lock
userTypenumberUser type
userNamestringPassword owner's name
lockUserIdnumberUser ID on the lock
devUnlockIdstringLock-side ID, hexadecimal string
hijackbooleanWhether the duress attribute is enabled
operatenumberCurrent operation type: 124 = creating, 126 = updating, 125 = deleting
msgIdnumberCloud-delivered message ID
pwdIdnumberPassword ID
gmtCreatenumberCreation time

Examples

import { getFitInvalidPwdList } from '@ray-js/lock-sdk';
const list = await getFitInvalidPwdList();