getFitInvalidPwdList(params?: GetFitInvalidPwdListParams)
Requires:
@ray-js/lock-sdk≥1.2.0
Description
Retrieve the list of expired passwords for the accessory.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| No | Query parameters (filterable by opMode; supports limit/offset pagination) |
Return Value
Type: Promise<FitInvalidPwdListResult>
Pagination structure { datas, totalCount }
FitInvalidPwdListResult
| Property | Type | Description |
|---|---|---|
| Expired password records on the current page | ||
totalCount | number | Total count |
Referenced Types
interface
RawPasswordItem| Property | Type | Description |
|---|---|---|
unlockBindingId | number | Unlock method binding record ID |
effectiveTime | number | Effective time |
invalidTime | number | Expiration time |
passWord | string | Password content; note the cloud field name is passWord |
name | string | Password name |
mobile | string | Phone number |
| Cycle details | ||
devNameList | string[] | List of lock names that can be unlocked |
devIdList | string[] | List of lock device IDs that can be unlocked |
opModeType | number | Unlock method type |
opModeSubType | number | Password subtype; for temporary passwords, indicates the current available uses |
sn | number | Password index on the lock |
userType | number | User type |
userName | string | Password owner's name |
lockUserId | number | User ID on the lock |
devUnlockId | string | Lock-side ID, hexadecimal string |
hijack | boolean | Whether the duress attribute is enabled |
operate | number | Current operation type: 124 = creating, 126 = updating, 125 = deleting |
msgId | number | Cloud-delivered message ID |
pwdId | number | Password ID |
gmtCreate | number | Creation time |