@0x3639/intervals-icu
    Preparing search index...

    Class AthleteService

    Service for athlete-related operations

    Index
    • Disconnect the OAuth app that owns the current access token from the athlete's account. Irreversible from the API; the SDK never calls this in its live tests.

      Returns Promise<void>

    • UI settings for a device class: a map of setting groups, each an open object (spec: object of objects).

      Parameters

      • deviceClass: string
      • OptionalathleteId: string

      Returns Promise<Record<string, Record<string, unknown>>>

    • Summary information (training load, fitness, categories) for the athlete and followed athletes over a date range.

      Parameters

      • Optionaloptions: { end?: string; start?: string; tags?: string[] }
      • OptionalathleteId: string

      Returns Promise<SummaryWithCats[]>

    • Athletes the caller follows or coaches, including the caller. Requires API-key authentication (not available to OAuth app tokens).

      Parameters

      • Optionaloptions: { extIdPrefix?: string }

      Returns Promise<AthleteWithTags[]>