Class UserSessionBase<UserType>
Constructors
constructor
-
Type parameters
Parameters
Accessors
accessToken
- get accessToken(): string
keepAlive
- get keepAlive(): boolean
- set keepAlive(value: boolean): void
-
Returns boolean
-
Parameters
Returns void
onRefreshTokenChangeEvent
refreshToken
- get refreshToken(): null | string
Methods
getCardioExercises
-
Parameters
-
options: { ascending?: boolean; defaultAlias?: string; limit?: number; offset?: number; sort?: CardioExerciseSorting } = {}
-
Optional ascending?: boolean
-
Optional defaultAlias?: string
-
Optional limit?: number
-
Optional offset?: number
-
getCardioMachines
-
Parameters
-
options: { ascending?: boolean; limit?: number; name?: string; offset?: number; sort?: CardioMachineSorting } = {}
-
Optional ascending?: boolean
-
Optional limit?: number
-
Optional name?: string
-
Optional offset?: number
-
getExerciseAliases
-
Parameters
-
options: { alias?: string; ascending?: boolean; limit?: number; offset?: number; sort?: ExerciseAliasSorting; type?: ExerciseAliasType } = {}
-
Optional alias?: string
-
Optional ascending?: boolean
-
Optional limit?: number
-
Optional offset?: number
-
-
getExerciseOrdinalSetAssignment
getExerciseOrdinalSets
-
Parameters
-
options: { ascending?: boolean; code?: string; limit?: number; name?: string; offset?: number; sort?: ExerciseOrdinalSetSorting } = {}
-
Optional ascending?: boolean
-
Optional code?: string
-
Optional limit?: number
-
Optional name?: string
-
Optional offset?: number
-
getFacilities
- getFacilities(options?: { address?: string; ascending?: boolean; city?: string; country?: string; limit?: number; name?: string; offset?: number; phone?: string; postcode?: string; sort?: FacilitySorting; state?: string }): Promise<Facilities>
-
Parameters
-
options: { address?: string; ascending?: boolean; city?: string; country?: string; limit?: number; name?: string; offset?: number; phone?: string; postcode?: string; sort?: FacilitySorting; state?: string } = {}
-
Optional address?: string
-
Optional ascending?: boolean
-
Optional city?: string
-
Optional country?: string
-
Optional limit?: number
-
Optional name?: string
-
Optional offset?: number
-
Optional phone?: string
-
Optional postcode?: string
-
-
Optional state?: string
getStrengthExerciseMuscle
getStrengthExerciseVariant
getStrengthExercises
-
Parameters
-
-
Optional ascending?: boolean
-
-
Optional defaultAlias?: string
-
-
Optional limit?: number
-
-
Optional offset?: number
-
-
getStrengthMachines
- getStrengthMachines(options?: { ascending?: boolean; limit?: number; line?: string; name?: string; offset?: number; sort?: StrengthMachineSorting; variant?: string }): Promise<StrengthMachines>
-
Parameters
-
options: { ascending?: boolean; limit?: number; line?: string; name?: string; offset?: number; sort?: StrengthMachineSorting; variant?: string } = {}
-
Optional ascending?: boolean
-
Optional limit?: number
-
Optional line?: string
-
Optional name?: string
-
Optional offset?: number
-
-
Optional variant?: string
getStretchExerciseVariant
getStretchExercises
- getStretchExercises(options?: { ascending?: boolean; imageUri?: string; instructionalVideoUri?: string; limit?: number; offset?: number; sort?: StretchExerciseSorting }): Promise<StretchExercises>
-
Parameters
-
options: { ascending?: boolean; imageUri?: string; instructionalVideoUri?: string; limit?: number; offset?: number; sort?: StretchExerciseSorting } = {}
-
Optional ascending?: boolean
-
Optional imageUri?: string
-
Optional instructionalVideoUri?: string
-
Optional limit?: number
-
Optional offset?: number
-