fitbit-api-client
Version:
## ⚠️ This SDK is not ready for production
34 lines • 766 B
TypeScript
import { Gender } from '../types';
/**
* プロフィール情報レスポンス
*/
export interface ProfileResponse {
user: UserData;
}
/**
* プロフィール情報レスポンスをJSONから取得する
* @param json
* @return ProfileResponse
*/
export declare function ProfileResponseFromJson(json: unknown): ProfileResponse;
/**
* ユーザー情報
* TODO 他のプロパティの追加
*/
export interface UserData {
age: number;
/**
* 生年月日
* 'yyyy-MM-dd'
*/
dateOfBirth: string;
displayName: string;
encodedId: string;
fullName: string;
firstName?: string;
lastName?: string;
gender: Gender;
height: number;
offsetFromUTCMillis: number;
}
//# sourceMappingURL=profile.d.ts.map