fitbit-api-client
Version:
## ⚠️ This SDK is not ready for production
61 lines • 1.4 kB
TypeScript
import { DatasetType } from '../../types';
/**
* 歩数データのレスポンス
*/
export interface StepsResponse {
/**
* 歩数のデータ一覧
*/
activitiesSteps: StepsDailyData[];
/**
* 歩数の詳細データ
* 取得にはIntradayの申請もしくはApplicationTypeがPersonalである必要があります。
*/
activitiesStepsIntraday?: ActivitiesStepsIntraday;
}
export declare function StepsResponseFromJson(localDate: string, offsetFromUTCMillis: number, json: unknown): StepsResponse;
export interface StepsDailyData {
/**
* 歩数
*/
steps: number;
/**
* ローカル日付
* 'yyyy-MM-dd'
*/
localDate: string;
}
/**
* 歩数の詳細データ
* 取得にはIntradayの申請もしくはApplicationTypeがPersonalである必要があります。
*/
export interface ActivitiesStepsIntraday {
/**
* 歩数の詳細データ一覧
*/
dataset: StepsIntradayData[];
/**
* データセットの間隔
*/
datasetInterval: number;
/**
* データセットの種類
*/
datasetType: DatasetType;
}
/**
* 歩数の詳細データ
*/
export interface StepsIntradayData {
/**
* 時間
* @type {Date}
*/
dateTime: Date;
/**
* 歩数
* @type {number}
*/
steps: number;
}
//# sourceMappingURL=steps.d.ts.map