getCleaningRecords(params: GetCleaningRecordsParams)
Requires:
@ray-js/ray≥1.5.36Base library≥2.21.0
Description
Get the cleaning record list
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Query parameters including Device ID, time range, and pagination info |
Return Value
Type: Promise<GetCleaningRecordsResponse>
Promise that resolves with the cleaning record list and total count
Examples
deleteCleaningRecord(params: DeleteCleaningRecordParams)
Requires:
@ray-js/ray≥1.5.36Base library≥2.21.0
Description
Delete cleaning records
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Contains Device ID and an array of record IDs to delete |
Return Value
Type: Promise<boolean>
Promise that resolves to a boolean indicating whether deletion succeeded
Examples
getGyroCleanRecords(params: GetGyroCleanRecordsParams)
Requires:
@ray-js/ray≥1.7.14Base library≥2.29.0
Description
Get the cleaning record list for a gyroscope-based robot vacuum
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Query parameters including Device ID, a set of DPs, and pagination info |
Return Value
Type: Promise<GetGyroCleanRecordsResponse>
Promise that resolves with the gyroscope-based vacuum's cleaning record list and total count
Examples
getGyroCleanRecordDetail(params: GetGyroCleanRecordDetailParams)
Requires:
@ray-js/ray≥1.7.14Base library≥2.29.0
Description
Get cleaning record details for a gyroscope-based robot vacuum
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Query parameters including Device ID, sub-record ID, and pagination info |
Return Value
Type: Promise<GetGyroCleanRecordDetailResponse>
Promise that resolves with the cleaning record's map data and pagination info