rk
5 天以前 214cda58c3786972c958da5c6d54a135490a3c11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { ICommonAPIParams } from '../../../constant/types';
/**
 * 获取指定类型的健康数据 请求参数定义
 * @apiName biz.sports.getHealthData
 */
export interface IBizSportsGetHealthDataParams extends ICommonAPIParams {
    type: number;
    endTime: string;
    startTime: string;
    filterManualInput: boolean;
}
/**
 * 获取指定类型的健康数据 返回结果定义
 * @apiName biz.sports.getHealthData
 */
export interface IBizSportsGetHealthDataResult {
    healthDataList: {
        value: number;
        workout: {
            dataId: string;
            endDate: string;
            duration: string;
            startDate: string;
            avgHeartrate: number;
            maxHeartrate: number;
            totalDistance: number;
            totalEnergyBurned: number;
            workoutActivityType: string;
        };
        timeZone: string;
        lastTimestamp: string;
    }[];
}
/**
 * 获取指定类型的健康数据
 * @apiName biz.sports.getHealthData
 */
export declare function getHealthData$(params: IBizSportsGetHealthDataParams): Promise<IBizSportsGetHealthDataResult>;
export default getHealthData$;