Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Accessors

Methods

Constructors

constructor

Accessors

basicCredential

  • get basicCredential(): boolean

id

  • get id(): number

onModelChangeEvent

Methods

addBasicLogin

  • addBasicLogin(params: { email: string; password: string }): Promise<void>
  • Parameters

    • params: { email: string; password: string }
      • email: string
      • password: string

    Returns Promise<void>

changePassword

  • changePassword(params: { password: string }): Promise<void>
  • Parameters

    • params: { password: string }
      • password: string

    Returns Promise<void>

createAcceptedTermsVersion

createDevelopmentAccount

  • createDevelopmentAccount(params: { address?: string; company?: string; privacyUrl: string; termsUrl: string; websiteUrl?: string }): Promise<DevelopmentAccount>
  • Parameters

    • params: { address?: string; company?: string; privacyUrl: string; termsUrl: string; websiteUrl?: string }
      • Optional address?: string
      • Optional company?: string
      • privacyUrl: string
      • termsUrl: string
      • Optional websiteUrl?: string

    Returns Promise<DevelopmentAccount>

createEmailAddress

  • createEmailAddress(params: { email: string }): Promise<EmailAddress>

createHeartRateDataSet

createHeightMeasurement

  • createHeightMeasurement(params: { metricHeight: number; source: string; takenAt: Date }): Promise<HeightMeasurement>
  • Parameters

    • params: { metricHeight: number; source: string; takenAt: Date }
      • metricHeight: number
      • source: string
      • takenAt: Date

    Returns Promise<HeightMeasurement>

createMSeriesChallenge

createMSeriesDataSet

  • createMSeriesDataSet(params: { autoAttachSession?: boolean; buildMajor: number; buildMinor: number; mSeriesDataPoints: MSeriesCapturedDataPoint[]; machineType: string; ordinalId: number; sessionId?: number; source: string }): Promise<MSeriesDataSet>
  • Parameters

    • params: { autoAttachSession?: boolean; buildMajor: number; buildMinor: number; mSeriesDataPoints: MSeriesCapturedDataPoint[]; machineType: string; ordinalId: number; sessionId?: number; source: string }
      • Optional autoAttachSession?: boolean
      • buildMajor: number
      • buildMinor: number
      • mSeriesDataPoints: MSeriesCapturedDataPoint[]
      • machineType: string
      • ordinalId: number
      • Optional sessionId?: number
      • source: string

    Returns Promise<MSeriesDataSet>

createMSeriesFtpMeasurement

  • createMSeriesFtpMeasurement(params: { ftp: number; machineType: string; source: string; takenAt: Date }): Promise<MSeriesFtpMeasurement>
  • Parameters

    • params: { ftp: number; machineType: string; source: string; takenAt: Date }
      • ftp: number
      • machineType: string
      • source: string
      • takenAt: Date

    Returns Promise<MSeriesFtpMeasurement>

createMachineAdjustment

  • createMachineAdjustment(params: { leftPosition?: string; model: string; rightPosition?: string; seat?: string; start?: string; stop?: string }): Promise<MachineAdjustment>
  • Parameters

    • params: { leftPosition?: string; model: string; rightPosition?: string; seat?: string; start?: string; stop?: string }
      • Optional leftPosition?: string
      • model: string
      • Optional rightPosition?: string
      • Optional seat?: string
      • Optional start?: string
      • Optional stop?: string

    Returns Promise<MachineAdjustment>

createStrengthMachineDataSet

  • createStrengthMachineDataSet(params: { addedWeight?: number; autoAttachSession?: boolean; chest?: number; completedAt: Date; distance?: number; exerciseId?: number; facilityId?: number; forceUnit: ForceUnit; peakPower: number; repetitionCount: number; resistance: number; resistancePrecision: ResistancePrecision; rom1?: number; rom2?: number; seat?: number; serial: string; sessionId?: number; strengthMachineId: number; version: string; work: number }): Promise<StrengthMachineDataSet>
  • Parameters

    • params: { addedWeight?: number; autoAttachSession?: boolean; chest?: number; completedAt: Date; distance?: number; exerciseId?: number; facilityId?: number; forceUnit: ForceUnit; peakPower: number; repetitionCount: number; resistance: number; resistancePrecision: ResistancePrecision; rom1?: number; rom2?: number; seat?: number; serial: string; sessionId?: number; strengthMachineId: number; version: string; work: number }
      • Optional addedWeight?: number
      • Optional autoAttachSession?: boolean
      • Optional chest?: number
      • completedAt: Date
      • Optional distance?: number
      • Optional exerciseId?: number
      • Optional facilityId?: number
      • forceUnit: ForceUnit
      • peakPower: number
      • repetitionCount: number
      • resistance: number
      • resistancePrecision: ResistancePrecision
      • Optional rom1?: number
      • Optional rom2?: number
      • Optional seat?: number
      • serial: string
      • Optional sessionId?: number
      • strengthMachineId: number
      • version: string
      • work: number

    Returns Promise<StrengthMachineDataSet>

createWeightMeasurement

  • createWeightMeasurement(params: { bodyFatPercentage?: number; metricWeight: number; source: string; takenAt: Date }): Promise<WeightMeasurement>
  • Parameters

    • params: { bodyFatPercentage?: number; metricWeight: number; source: string; takenAt: Date }
      • Optional bodyFatPercentage?: number
      • metricWeight: number
      • source: string
      • takenAt: Date

    Returns Promise<WeightMeasurement>

createWeightMeasurementFromInBody

  • createWeightMeasurementFromInBody(params: { bodyComp: object }): Promise<WeightMeasurement>

createWeightMeasurementsFromInBodyCSV

  • createWeightMeasurementsFromInBodyCSV(params: { bodyCompCSV: string }): Promise<WeightMeasurements>

delete

  • delete(): Promise<void>

eagerAcceptedTermsVersion

eagerHeightMeasurements

eagerOAuthServices

eagerPrimaryEmailAddress

eagerProfile

eagerWeightMeasurements

ejectData

fulfillDevelopmentAccountRelationshipRequest

fulfillEmailValidation

  • fulfillEmailValidation(token: string): Promise<void>

getDevelopmentAccount

getDevelopmentAccountRelationshipRequest

getDevelopmentAccountRelationshipRequests

getDevelopmentAccounts

getEmailAddresses

getFacilityEmployeeRelationship

getFacilityEmploymentRelationships

getFacilityMembershipRelationship

getFacilityMembershipRelationships

getFacilityRelationship

getFacilityRelationshipRequest

getFacilityRelationshipRequests

getGlobalAccessControl

  • getGlobalAccessControl(): Promise<GlobalAccessControl>

getHeartRateDataSet

getHeartRateDataSets

getHeightMeasurement

getHeightMeasurements

getMSeriesChallenge

getMSeriesChallenges

getMSeriesDataSet

  • getMSeriesDataSet(params: { graphResolution?: number; id: number }): Promise<MSeriesDataSet>

getMSeriesDataSets

  • getMSeriesDataSets(options?: { ascending?: boolean; from?: Date; limit?: number; offset?: number; sort?: MSeriesDataSetSorting; source?: string; to?: Date }): Promise<MSeriesDataSets>
  • Parameters

    • options: { ascending?: boolean; from?: Date; limit?: number; offset?: number; sort?: MSeriesDataSetSorting; source?: string; to?: Date } = {}
      • Optional ascending?: boolean
      • Optional from?: Date
      • Optional limit?: number
      • Optional offset?: number
      • Optional sort?: MSeriesDataSetSorting
      • Optional source?: string
      • Optional to?: Date

    Returns Promise<MSeriesDataSets>

getMSeriesFtpMeasurement

getMSeriesFtpMeasurements

getMachineAdjustment

getMachineAdjustments

  • getMachineAdjustments(options: { ascending?: boolean; limit?: number; model?: string; offset?: number; sort?: ID }): Promise<MachineAdjustments>
  • Parameters

    • options: { ascending?: boolean; limit?: number; model?: string; offset?: number; sort?: ID }
      • Optional ascending?: boolean
      • Optional limit?: number
      • Optional model?: string
      • Optional offset?: number
      • Optional sort?: ID

    Returns Promise<MachineAdjustments>

getOAuthService

  • getOAuthService(params: { id: number }): Promise<OAuthService>

getOAuthServices

getPrimaryEmailAddress

getSession

  • getSession(params: { id: number }): Promise<Session>

getSessions

getStrengthMachineDataSet

getStrengthMachineDataSets

getStrengthMachineProfileStats

getWeightMeasurement

getWeightMeasurements

initiateOAuthService

  • initiateOAuthService(params: { redirect: string; service: OAuthProviders }): Promise<{ redirectUrl: string }>

joinMSeriesChallenge

reload

  • reload(): Promise<User>

startSession

  • startSession(params?: { continueFromLastSet?: boolean; forceEndPrevious?: boolean; sessionPlanSequenceAssignmentId?: number }): Promise<{ session: Session }>
  • Parameters

    • params: { continueFromLastSet?: boolean; forceEndPrevious?: boolean; sessionPlanSequenceAssignmentId?: number } = {}
      • Optional continueFromLastSet?: boolean
      • Optional forceEndPrevious?: boolean
      • Optional sessionPlanSequenceAssignmentId?: number

    Returns Promise<{ session: Session }>