Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Accessors

Methods

Constructors

constructor

Accessors

basicCredential

  • get basicCredential(): boolean

facilityRelationshipId

  • get facilityRelationshipId(): number

id

  • get id(): number

onModelChangeEvent

Methods

addBasicLogin

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

changePassword

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

createA500Set

createAcceptedTermsVersion

createDevelopmentAccount

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

createEmailAddress

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

createHeartRateDataSet

createHeightMeasurement

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

createInBodyIntegration

createMSeriesChallenge

createMSeriesDataSet

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

createMSeriesFtpMeasurement

  • createMSeriesFtpMeasurement(params: { ftp: number; machineType: string; source: string; takenAt: Date }): 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>

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>

getCurrentSessions

getDevelopmentAccount

getDevelopmentAccountRelationshipRequest

getDevelopmentAccountRelationshipRequests

getDevelopmentAccounts

getEmailAddresses

getFacilityEmployeeRelationship

getFacilityEmploymentRelationships

getFacilityMembershipRelationship

getFacilityMembershipRelationships

getFacilityRelationship

getFacilityRelationshipRequest

getFacilityRelationshipRequests

getGlobalAccessControl

  • getGlobalAccessControl(): Promise<GlobalAccessControl>

getHeartRateDataSet

getHeartRateDataSets

getHeightMeasurement

getHeightMeasurements

getInBodyIntegration

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>

getMSeriesFtpMeasurement

getMSeriesFtpMeasurements

getMachineAdjustment

getMachineAdjustments

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

getOAuthService

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

getOAuthServices

getPrimaryEmailAddress

getSession

getSessions

getStrengthMachineDataSet

getStrengthMachineDataSets

getStrengthMachineProfileStats

getWeightMeasurement

getWeightMeasurements

initiateOAuthService

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

joinMSeriesChallenge

reload

startSession

  • startSession(params?: { continueFromLastSet?: boolean; echipId?: string; forceEndPrevious?: boolean; sessionPlanSequenceAssignmentId?: number }): Promise<{ echipData: object; session: FacilitySession }>
  • Parameters

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

    Returns Promise<{ echipData: object; session: FacilitySession }>