UNPKG

@sports-alliance/sports-lib

Version:

A Library to for importing / exporting and processing GPX, TCX, FIT and JSON files from services such as Strava, Movescount, Garmin, Polar etc

21 lines (20 loc) 603 B
import { ServiceNames } from '../meta-data/event-meta-data.interface'; export interface Auth2ServiceTokenInterface { id: string; serviceName: ServiceNames; accessToken: string; refreshToken: string; tokenType: string; expiresAt: number; scope: string; dateRefreshed: number; dateCreated: number; userName?: string; openId?: string; } export interface SuuntoAPIAuth2ServiceTokenInterface extends Auth2ServiceTokenInterface { userName: string; } export interface COROSAPIAuth2ServiceTokenInterface extends Auth2ServiceTokenInterface { openId: string; }