{
  "api": {
    "name": "HealthPlugin",
    "slug": "healthplugin",
    "docs": "",
    "tags": [],
    "methods": [
      {
        "name": "isAvailable",
        "signature": "() => Promise<AvailabilityResult>",
        "parameters": [],
        "returns": "Promise<AvailabilityResult>",
        "tags": [],
        "docs": "Returns whether the current platform supports the native health SDK.",
        "complexTypes": [
          "AvailabilityResult"
        ],
        "slug": "isavailable"
      },
      {
        "name": "requestAuthorization",
        "signature": "(options: AuthorizationOptions) => Promise<AuthorizationStatus>",
        "parameters": [
          {
            "name": "options",
            "docs": "",
            "type": "AuthorizationOptions"
          }
        ],
        "returns": "Promise<AuthorizationStatus>",
        "tags": [],
        "docs": "Requests read/write access to the provided data types.\n\nSet `requestHistoryAccess: true` to additionally request Android's\n`READ_HEALTH_DATA_HISTORY` permission in the same Health Connect permission sheet\n(see {@link AuthorizationOptions.requestHistoryAccess}). The granted/denied status is\nreported back as `historyAccessAuthorized` on the result.",
        "complexTypes": [
          "AuthorizationStatus",
          "AuthorizationOptions"
        ],
        "slug": "requestauthorization"
      },
      {
        "name": "checkAuthorization",
        "signature": "(options: AuthorizationOptions) => Promise<AuthorizationStatus>",
        "parameters": [
          {
            "name": "options",
            "docs": "",
            "type": "AuthorizationOptions"
          }
        ],
        "returns": "Promise<AuthorizationStatus>",
        "tags": [],
        "docs": "Checks authorization status for the provided data types without prompting the user.",
        "complexTypes": [
          "AuthorizationStatus",
          "AuthorizationOptions"
        ],
        "slug": "checkauthorization"
      },
      {
        "name": "readSamples",
        "signature": "(options: QueryOptions) => Promise<ReadSamplesResult>",
        "parameters": [
          {
            "name": "options",
            "docs": "",
            "type": "QueryOptions"
          }
        ],
        "returns": "Promise<ReadSamplesResult>",
        "tags": [],
        "docs": "Reads samples for the given data type within the specified time frame.",
        "complexTypes": [
          "ReadSamplesResult",
          "QueryOptions"
        ],
        "slug": "readsamples"
      },
      {
        "name": "saveSample",
        "signature": "(options: WriteSampleOptions) => Promise<void>",
        "parameters": [
          {
            "name": "options",
            "docs": "",
            "type": "WriteSampleOptions"
          }
        ],
        "returns": "Promise<void>",
        "tags": [],
        "docs": "Writes a single sample to the native health store.",
        "complexTypes": [
          "WriteSampleOptions"
        ],
        "slug": "savesample"
      },
      {
        "name": "getPluginVersion",
        "signature": "() => Promise<{ version: string; }>",
        "parameters": [],
        "returns": "Promise<{ version: string; }>",
        "tags": [
          {
            "name": "returns",
            "text": "a Promise with version for this device"
          },
          {
            "name": "throws",
            "text": "An error if something went wrong"
          }
        ],
        "docs": "Get the native Capacitor plugin version",
        "complexTypes": [],
        "slug": "getpluginversion"
      },
      {
        "name": "openHealthConnectSettings",
        "signature": "() => Promise<void>",
        "parameters": [],
        "returns": "Promise<void>",
        "tags": [
          {
            "name": "throws",
            "text": "An error if Health Connect settings cannot be opened"
          }
        ],
        "docs": "Opens the Health Connect settings screen (Android only).\nOn iOS, this method does nothing.\n\nUse this to direct users to manage their Health Connect permissions\nor to install Health Connect if not available.",
        "complexTypes": [],
        "slug": "openhealthconnectsettings"
      },
      {
        "name": "showPrivacyPolicy",
        "signature": "() => Promise<void>",
        "parameters": [],
        "returns": "Promise<void>",
        "tags": [
          {
            "name": "throws",
            "text": "An error if the privacy policy cannot be displayed"
          }
        ],
        "docs": "Shows the app's privacy policy for Health Connect (Android only).\nOn iOS, this method does nothing.\n\nThis displays the same privacy policy screen that Health Connect shows\nwhen the user taps \"Privacy policy\" in the permissions dialog.\n\nThe privacy policy URL can be configured by adding a string resource\nnamed \"health_connect_privacy_policy_url\" in your app's strings.xml,\nor by placing an HTML file at www/privacypolicy.html in your assets.",
        "complexTypes": [],
        "slug": "showprivacypolicy"
      },
      {
        "name": "queryWorkouts",
        "signature": "(options: QueryWorkoutsOptions) => Promise<QueryWorkoutsResult>",
        "parameters": [
          {
            "name": "options",
            "docs": "Query options including optional workout type filter, date range, limit, and sort order",
            "type": "QueryWorkoutsOptions"
          }
        ],
        "returns": "Promise<QueryWorkoutsResult>",
        "tags": [
          {
            "name": "param",
            "text": "options Query options including optional workout type filter, date range, limit, and sort order"
          },
          {
            "name": "returns",
            "text": "A promise that resolves with the workout sessions"
          },
          {
            "name": "throws",
            "text": "An error if something went wrong"
          }
        ],
        "docs": "Queries workout sessions from the native health store.\nSupported on iOS (HealthKit) and Android (Health Connect).",
        "complexTypes": [
          "QueryWorkoutsResult",
          "QueryWorkoutsOptions"
        ],
        "slug": "queryworkouts"
      },
      {
        "name": "queryAggregated",
        "signature": "(options: QueryAggregatedOptions) => Promise<QueryAggregatedResult>",
        "parameters": [
          {
            "name": "options",
            "docs": "Query options including data type, date range, bucket size, and aggregation type",
            "type": "QueryAggregatedOptions"
          }
        ],
        "returns": "Promise<QueryAggregatedResult>",
        "tags": [
          {
            "name": "param",
            "text": "options Query options including data type, date range, bucket size, and aggregation type"
          },
          {
            "name": "returns",
            "text": "A promise that resolves with the aggregated samples"
          },
          {
            "name": "throws",
            "text": "An error if something went wrong"
          }
        ],
        "docs": "Queries aggregated health data from the native health store.\nAggregates data into time buckets (hour, day, week, month) with operations like sum, average, min, or max.\nThis is more efficient than fetching individual samples for large date ranges.\n\nSupported on iOS (HealthKit) and Android (Health Connect).",
        "complexTypes": [
          "QueryAggregatedResult",
          "QueryAggregatedOptions"
        ],
        "slug": "queryaggregated"
      }
    ],
    "properties": []
  },
  "interfaces": [
    {
      "name": "AvailabilityResult",
      "slug": "availabilityresult",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "available",
          "tags": [],
          "docs": "",
          "complexTypes": [],
          "type": "boolean"
        },
        {
          "name": "platform",
          "tags": [],
          "docs": "Platform specific details (for debugging/diagnostics).",
          "complexTypes": [],
          "type": "'ios' | 'android' | 'web' | undefined"
        },
        {
          "name": "reason",
          "tags": [],
          "docs": "",
          "complexTypes": [],
          "type": "string | undefined"
        }
      ]
    },
    {
      "name": "AuthorizationStatus",
      "slug": "authorizationstatus",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "readAuthorized",
          "tags": [],
          "docs": "",
          "complexTypes": [
            "HealthDataType"
          ],
          "type": "HealthDataType[]"
        },
        {
          "name": "readDenied",
          "tags": [],
          "docs": "",
          "complexTypes": [
            "HealthDataType"
          ],
          "type": "HealthDataType[]"
        },
        {
          "name": "writeAuthorized",
          "tags": [],
          "docs": "",
          "complexTypes": [
            "HealthDataType"
          ],
          "type": "HealthDataType[]"
        },
        {
          "name": "writeDenied",
          "tags": [],
          "docs": "",
          "complexTypes": [
            "HealthDataType"
          ],
          "type": "HealthDataType[]"
        },
        {
          "name": "historyAccessAuthorized",
          "tags": [],
          "docs": "Android only: whether the `READ_HEALTH_DATA_HISTORY` permission is granted. Only\npresent when `requestHistoryAccess` was set on the request; omitted otherwise and\nalways omitted on iOS. Always `false` when `historyAccessAvailable` is `false`,\nsince an unsupported provider can never grant the permission.",
          "complexTypes": [],
          "type": "boolean | undefined"
        },
        {
          "name": "historyAccessAvailable",
          "tags": [],
          "docs": "Android only: whether the connected Health Connect provider supports the\n`READ_HEALTH_DATA_HISTORY` permission at all. Only present when `requestHistoryAccess`\nwas set on the request; omitted otherwise and always omitted on iOS.\n\n`false` means the provider is too old (pre Android 14 extension 13 / Health Connect APK\n171302) to ever grant history access — distinct from the user simply denying it. Use it\nto avoid re-prompting and to message the user that history access is unavailable on their\ndevice.",
          "complexTypes": [],
          "type": "boolean | undefined"
        }
      ]
    },
    {
      "name": "AuthorizationOptions",
      "slug": "authorizationoptions",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "read",
          "tags": [],
          "docs": "Data types that should be readable after authorization.",
          "complexTypes": [
            "HealthDataType"
          ],
          "type": "HealthDataType[] | undefined"
        },
        {
          "name": "write",
          "tags": [],
          "docs": "Data types that should be writable after authorization.",
          "complexTypes": [
            "HealthDataType"
          ],
          "type": "HealthDataType[] | undefined"
        },
        {
          "name": "requestHistoryAccess",
          "tags": [],
          "docs": "Android only: also request the `READ_HEALTH_DATA_HISTORY` permission in the same\nHealth Connect permission sheet. Without it, Health Connect caps reads to roughly\nthe last 30 days; granting it lets you read older data.\n\nThe consuming app must also declare the permission in its `AndroidManifest.xml`:\n`<uses-permission android:name=\"android.permission.health.READ_HEALTH_DATA_HISTORY\" />`\n\nThe permission only exists on sufficiently new Health Connect providers (Android 14\nextension 13+ or Health Connect APK 171302+). On older but otherwise supported\nproviders it is silently skipped — the normal read/write scopes are still requested —\nand the returned status reports `historyAccessAvailable: false`.\n\nIgnored on iOS (HealthKit has no equivalent permission and no 30-day read cap).",
          "complexTypes": [],
          "type": "boolean | undefined"
        }
      ]
    },
    {
      "name": "ReadSamplesResult",
      "slug": "readsamplesresult",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "samples",
          "tags": [],
          "docs": "",
          "complexTypes": [
            "HealthSample"
          ],
          "type": "HealthSample[]"
        }
      ]
    },
    {
      "name": "HealthSample",
      "slug": "healthsample",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "dataType",
          "tags": [],
          "docs": "",
          "complexTypes": [
            "HealthDataType"
          ],
          "type": "HealthDataType"
        },
        {
          "name": "value",
          "tags": [],
          "docs": "",
          "complexTypes": [],
          "type": "number"
        },
        {
          "name": "unit",
          "tags": [],
          "docs": "",
          "complexTypes": [
            "HealthUnit"
          ],
          "type": "HealthUnit"
        },
        {
          "name": "startDate",
          "tags": [],
          "docs": "",
          "complexTypes": [],
          "type": "string"
        },
        {
          "name": "endDate",
          "tags": [],
          "docs": "",
          "complexTypes": [],
          "type": "string"
        },
        {
          "name": "sourceName",
          "tags": [],
          "docs": "",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "sourceId",
          "tags": [],
          "docs": "",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "platformId",
          "tags": [],
          "docs": "Platform-specific unique identifier (HealthKit UUID on iOS, Health Connect metadata ID on Android).",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "sleepState",
          "tags": [],
          "docs": "For sleep data, indicates the sleep state (e.g., 'asleep', 'awake', 'rem', 'deep', 'light').",
          "complexTypes": [
            "SleepState"
          ],
          "type": "SleepState"
        },
        {
          "name": "stages",
          "tags": [],
          "docs": "For sleep data, individual sleep stages when the platform exposes stage-level data.",
          "complexTypes": [
            "SleepStage"
          ],
          "type": "SleepStage[] | undefined"
        },
        {
          "name": "hasStageData",
          "tags": [],
          "docs": "For sleep data, indicates whether stage-level data was emitted.",
          "complexTypes": [],
          "type": "boolean | undefined"
        },
        {
          "name": "systolic",
          "tags": [],
          "docs": "For blood pressure data, the systolic value in mmHg.",
          "complexTypes": [],
          "type": "number | undefined"
        },
        {
          "name": "diastolic",
          "tags": [],
          "docs": "For blood pressure data, the diastolic value in mmHg.",
          "complexTypes": [],
          "type": "number | undefined"
        },
        {
          "name": "measurementMethod",
          "tags": [],
          "docs": "For VO2 max data on Android, Health Connect's measurement method enum value.",
          "complexTypes": [],
          "type": "number | undefined"
        }
      ]
    },
    {
      "name": "SleepStage",
      "slug": "sleepstage",
      "docs": "Stage-level sleep segment emitted for sleep samples when platform data is available.",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "startDate",
          "tags": [],
          "docs": "Stage segment start date in ISO 8601 format.",
          "complexTypes": [],
          "type": "string"
        },
        {
          "name": "endDate",
          "tags": [],
          "docs": "Stage segment end date in ISO 8601 format.",
          "complexTypes": [],
          "type": "string"
        },
        {
          "name": "stage",
          "tags": [],
          "docs": "Sleep stage label for this segment.",
          "complexTypes": [
            "SleepState"
          ],
          "type": "SleepState"
        },
        {
          "name": "durationMinutes",
          "tags": [],
          "docs": "Duration of this stage segment in minutes.",
          "complexTypes": [],
          "type": "number"
        }
      ]
    },
    {
      "name": "QueryOptions",
      "slug": "queryoptions",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "dataType",
          "tags": [],
          "docs": "The type of data to retrieve from the health store.",
          "complexTypes": [
            "HealthDataType"
          ],
          "type": "HealthDataType"
        },
        {
          "name": "startDate",
          "tags": [],
          "docs": "Inclusive ISO 8601 start date (defaults to now - 1 day).",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "endDate",
          "tags": [],
          "docs": "Exclusive ISO 8601 end date (defaults to now).",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "limit",
          "tags": [],
          "docs": "Maximum number of samples to return (defaults to 100).",
          "complexTypes": [],
          "type": "number | undefined"
        },
        {
          "name": "ascending",
          "tags": [],
          "docs": "Return results sorted ascending by start date (defaults to false).",
          "complexTypes": [],
          "type": "boolean | undefined"
        }
      ]
    },
    {
      "name": "WriteSampleOptions",
      "slug": "writesampleoptions",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "dataType",
          "tags": [],
          "docs": "",
          "complexTypes": [
            "HealthDataType"
          ],
          "type": "HealthDataType"
        },
        {
          "name": "value",
          "tags": [],
          "docs": "",
          "complexTypes": [],
          "type": "number"
        },
        {
          "name": "unit",
          "tags": [],
          "docs": "Optional unit override. If omitted, the default unit for the data type is used\n(count for `steps`, meter for `distance`, kilocalorie for `calories`, bpm for `heartRate`, kilogram for `weight`).",
          "complexTypes": [
            "HealthUnit"
          ],
          "type": "HealthUnit"
        },
        {
          "name": "startDate",
          "tags": [],
          "docs": "ISO 8601 start date for the sample. Defaults to now.",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "endDate",
          "tags": [],
          "docs": "ISO 8601 end date for the sample. Defaults to startDate.",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "metadata",
          "tags": [],
          "docs": "Metadata key-value pairs forwarded to the native APIs where supported.",
          "complexTypes": [
            "Record"
          ],
          "type": "Record<string, string>"
        },
        {
          "name": "mindfulnessSessionType",
          "tags": [],
          "docs": "Android mindfulness session type. Defaults to 'meditation' when dataType is 'mindfulness'.",
          "complexTypes": [],
          "type": "'meditation' | 'unknown' | 'breathing' | 'music' | 'movement' | 'unguided' | undefined"
        },
        {
          "name": "systolic",
          "tags": [],
          "docs": "For blood pressure data, the systolic value in mmHg. Required when dataType is 'bloodPressure'.",
          "complexTypes": [],
          "type": "number | undefined"
        },
        {
          "name": "diastolic",
          "tags": [],
          "docs": "For blood pressure data, the diastolic value in mmHg. Required when dataType is 'bloodPressure'.",
          "complexTypes": [],
          "type": "number | undefined"
        }
      ]
    },
    {
      "name": "QueryWorkoutsResult",
      "slug": "queryworkoutsresult",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "workouts",
          "tags": [],
          "docs": "",
          "complexTypes": [
            "Workout"
          ],
          "type": "Workout[]"
        },
        {
          "name": "anchor",
          "tags": [],
          "docs": "Anchor for the next page of results. Pass this value as the anchor parameter in the next query\nto continue pagination. If undefined or null, there are no more results.",
          "complexTypes": [],
          "type": "string | undefined"
        }
      ]
    },
    {
      "name": "Workout",
      "slug": "workout",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "workoutType",
          "tags": [],
          "docs": "The type of workout.",
          "complexTypes": [
            "WorkoutType"
          ],
          "type": "WorkoutType"
        },
        {
          "name": "duration",
          "tags": [],
          "docs": "Duration of the workout in seconds.",
          "complexTypes": [],
          "type": "number"
        },
        {
          "name": "totalEnergyBurned",
          "tags": [],
          "docs": "Total energy burned in kilocalories (if available).",
          "complexTypes": [],
          "type": "number | undefined"
        },
        {
          "name": "totalDistance",
          "tags": [],
          "docs": "Total distance in meters (if available).",
          "complexTypes": [],
          "type": "number | undefined"
        },
        {
          "name": "startDate",
          "tags": [],
          "docs": "ISO 8601 start date of the workout.",
          "complexTypes": [],
          "type": "string"
        },
        {
          "name": "endDate",
          "tags": [],
          "docs": "ISO 8601 end date of the workout.",
          "complexTypes": [],
          "type": "string"
        },
        {
          "name": "sourceName",
          "tags": [],
          "docs": "Source name that recorded the workout.",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "sourceId",
          "tags": [],
          "docs": "Source bundle identifier.",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "platformId",
          "tags": [],
          "docs": "Platform-specific unique identifier (HealthKit UUID on iOS, Health Connect metadata ID on Android).",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "metadata",
          "tags": [],
          "docs": "Additional metadata (if available).",
          "complexTypes": [
            "Record"
          ],
          "type": "Record<string, string>"
        }
      ]
    },
    {
      "name": "QueryWorkoutsOptions",
      "slug": "queryworkoutsoptions",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "workoutType",
          "tags": [],
          "docs": "Optional workout type filter. If omitted, all workout types are returned.",
          "complexTypes": [
            "WorkoutType"
          ],
          "type": "WorkoutType"
        },
        {
          "name": "startDate",
          "tags": [],
          "docs": "Inclusive ISO 8601 start date (defaults to now - 1 day).",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "endDate",
          "tags": [],
          "docs": "Exclusive ISO 8601 end date (defaults to now).",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "limit",
          "tags": [],
          "docs": "Maximum number of workouts to return (defaults to 100).",
          "complexTypes": [],
          "type": "number | undefined"
        },
        {
          "name": "ascending",
          "tags": [],
          "docs": "Return results sorted ascending by start date (defaults to false).",
          "complexTypes": [],
          "type": "boolean | undefined"
        },
        {
          "name": "anchor",
          "tags": [],
          "docs": "Anchor for pagination. Use the anchor returned from a previous query to continue from that point.\nOn iOS, this is the ISO 8601 cursor returned by the previous query. On Android, this uses\nHealth Connect's pageToken.\nOmit this parameter to start from the beginning.",
          "complexTypes": [],
          "type": "string | undefined"
        }
      ]
    },
    {
      "name": "QueryAggregatedResult",
      "slug": "queryaggregatedresult",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "samples",
          "tags": [],
          "docs": "",
          "complexTypes": [
            "AggregatedSample"
          ],
          "type": "AggregatedSample[]"
        }
      ]
    },
    {
      "name": "AggregatedSample",
      "slug": "aggregatedsample",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "startDate",
          "tags": [],
          "docs": "ISO 8601 start date of the bucket.",
          "complexTypes": [],
          "type": "string"
        },
        {
          "name": "endDate",
          "tags": [],
          "docs": "ISO 8601 end date of the bucket.",
          "complexTypes": [],
          "type": "string"
        },
        {
          "name": "value",
          "tags": [],
          "docs": "Aggregated value for the bucket.",
          "complexTypes": [],
          "type": "number"
        },
        {
          "name": "unit",
          "tags": [],
          "docs": "Unit of the aggregated value.",
          "complexTypes": [
            "HealthUnit"
          ],
          "type": "HealthUnit"
        }
      ]
    },
    {
      "name": "QueryAggregatedOptions",
      "slug": "queryaggregatedoptions",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "dataType",
          "tags": [],
          "docs": "The type of data to aggregate from the health store.",
          "complexTypes": [
            "HealthDataType"
          ],
          "type": "HealthDataType"
        },
        {
          "name": "startDate",
          "tags": [],
          "docs": "Inclusive ISO 8601 start date (defaults to now - 1 day).",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "endDate",
          "tags": [],
          "docs": "Exclusive ISO 8601 end date (defaults to now).",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "bucket",
          "tags": [],
          "docs": "Time bucket for aggregation (defaults to 'day').",
          "complexTypes": [
            "BucketType"
          ],
          "type": "BucketType"
        },
        {
          "name": "aggregation",
          "tags": [],
          "docs": "Aggregation operation to perform (defaults to 'sum').",
          "complexTypes": [
            "AggregationType"
          ],
          "type": "AggregationType"
        }
      ]
    }
  ],
  "enums": [],
  "typeAliases": [
    {
      "name": "HealthDataType",
      "slug": "healthdatatype",
      "docs": "",
      "types": [
        {
          "text": "'steps'",
          "complexTypes": []
        },
        {
          "text": "'distance'",
          "complexTypes": []
        },
        {
          "text": "'calories'",
          "complexTypes": []
        },
        {
          "text": "'heartRate'",
          "complexTypes": []
        },
        {
          "text": "'weight'",
          "complexTypes": []
        },
        {
          "text": "'sleep'",
          "complexTypes": []
        },
        {
          "text": "'respiratoryRate'",
          "complexTypes": []
        },
        {
          "text": "'oxygenSaturation'",
          "complexTypes": []
        },
        {
          "text": "'restingHeartRate'",
          "complexTypes": []
        },
        {
          "text": "'heartRateVariability'",
          "complexTypes": []
        },
        {
          "text": "'vo2Max'",
          "complexTypes": []
        },
        {
          "text": "'bloodPressure'",
          "complexTypes": []
        },
        {
          "text": "'bloodGlucose'",
          "complexTypes": []
        },
        {
          "text": "'bodyTemperature'",
          "complexTypes": []
        },
        {
          "text": "'height'",
          "complexTypes": []
        },
        {
          "text": "'flightsClimbed'",
          "complexTypes": []
        },
        {
          "text": "'exerciseTime'",
          "complexTypes": []
        },
        {
          "text": "'distanceCycling'",
          "complexTypes": []
        },
        {
          "text": "'bodyFat'",
          "complexTypes": []
        },
        {
          "text": "'basalBodyTemperature'",
          "complexTypes": []
        },
        {
          "text": "'basalCalories'",
          "complexTypes": []
        },
        {
          "text": "'totalCalories'",
          "complexTypes": []
        },
        {
          "text": "'mindfulness'",
          "complexTypes": []
        },
        {
          "text": "'workouts'",
          "complexTypes": []
        }
      ]
    },
    {
      "name": "HealthUnit",
      "slug": "healthunit",
      "docs": "",
      "types": [
        {
          "text": "'count'",
          "complexTypes": []
        },
        {
          "text": "'meter'",
          "complexTypes": []
        },
        {
          "text": "'kilocalorie'",
          "complexTypes": []
        },
        {
          "text": "'bpm'",
          "complexTypes": []
        },
        {
          "text": "'kilogram'",
          "complexTypes": []
        },
        {
          "text": "'minute'",
          "complexTypes": []
        },
        {
          "text": "'percent'",
          "complexTypes": []
        },
        {
          "text": "'millisecond'",
          "complexTypes": []
        },
        {
          "text": "'mL/min/kg'",
          "complexTypes": []
        },
        {
          "text": "'mmHg'",
          "complexTypes": []
        },
        {
          "text": "'mg/dL'",
          "complexTypes": []
        },
        {
          "text": "'celsius'",
          "complexTypes": []
        },
        {
          "text": "'fahrenheit'",
          "complexTypes": []
        },
        {
          "text": "'centimeter'",
          "complexTypes": []
        }
      ]
    },
    {
      "name": "SleepState",
      "slug": "sleepstate",
      "docs": "",
      "types": [
        {
          "text": "'inBed'",
          "complexTypes": []
        },
        {
          "text": "'asleep'",
          "complexTypes": []
        },
        {
          "text": "'awake'",
          "complexTypes": []
        },
        {
          "text": "'rem'",
          "complexTypes": []
        },
        {
          "text": "'deep'",
          "complexTypes": []
        },
        {
          "text": "'light'",
          "complexTypes": []
        }
      ]
    },
    {
      "name": "Record",
      "slug": "record",
      "docs": "Construct a type with a set of properties K of type T",
      "types": [
        {
          "text": "{\r\n    [P in K]: T;\r\n}",
          "complexTypes": [
            "K",
            "T"
          ]
        }
      ]
    },
    {
      "name": "WorkoutType",
      "slug": "workouttype",
      "docs": "",
      "types": [
        {
          "text": "'americanFootball'",
          "complexTypes": []
        },
        {
          "text": "'australianFootball'",
          "complexTypes": []
        },
        {
          "text": "'badminton'",
          "complexTypes": []
        },
        {
          "text": "'baseball'",
          "complexTypes": []
        },
        {
          "text": "'basketball'",
          "complexTypes": []
        },
        {
          "text": "'bowling'",
          "complexTypes": []
        },
        {
          "text": "'boxing'",
          "complexTypes": []
        },
        {
          "text": "'climbing'",
          "complexTypes": []
        },
        {
          "text": "'cricket'",
          "complexTypes": []
        },
        {
          "text": "'crossTraining'",
          "complexTypes": []
        },
        {
          "text": "'curling'",
          "complexTypes": []
        },
        {
          "text": "'cycling'",
          "complexTypes": []
        },
        {
          "text": "'dance'",
          "complexTypes": []
        },
        {
          "text": "'elliptical'",
          "complexTypes": []
        },
        {
          "text": "'fencing'",
          "complexTypes": []
        },
        {
          "text": "'functionalStrengthTraining'",
          "complexTypes": []
        },
        {
          "text": "'golf'",
          "complexTypes": []
        },
        {
          "text": "'gymnastics'",
          "complexTypes": []
        },
        {
          "text": "'handball'",
          "complexTypes": []
        },
        {
          "text": "'hiking'",
          "complexTypes": []
        },
        {
          "text": "'hockey'",
          "complexTypes": []
        },
        {
          "text": "'jumpRope'",
          "complexTypes": []
        },
        {
          "text": "'kickboxing'",
          "complexTypes": []
        },
        {
          "text": "'lacrosse'",
          "complexTypes": []
        },
        {
          "text": "'martialArts'",
          "complexTypes": []
        },
        {
          "text": "'pilates'",
          "complexTypes": []
        },
        {
          "text": "'racquetball'",
          "complexTypes": []
        },
        {
          "text": "'rowing'",
          "complexTypes": []
        },
        {
          "text": "'rugby'",
          "complexTypes": []
        },
        {
          "text": "'running'",
          "complexTypes": []
        },
        {
          "text": "'sailing'",
          "complexTypes": []
        },
        {
          "text": "'skatingSports'",
          "complexTypes": []
        },
        {
          "text": "'skiing'",
          "complexTypes": []
        },
        {
          "text": "'snowboarding'",
          "complexTypes": []
        },
        {
          "text": "'soccer'",
          "complexTypes": []
        },
        {
          "text": "'softball'",
          "complexTypes": []
        },
        {
          "text": "'squash'",
          "complexTypes": []
        },
        {
          "text": "'stairClimbing'",
          "complexTypes": []
        },
        {
          "text": "'strengthTraining'",
          "complexTypes": []
        },
        {
          "text": "'surfing'",
          "complexTypes": []
        },
        {
          "text": "'swimming'",
          "complexTypes": []
        },
        {
          "text": "'swimmingPool'",
          "complexTypes": []
        },
        {
          "text": "'swimmingOpenWater'",
          "complexTypes": []
        },
        {
          "text": "'tableTennis'",
          "complexTypes": []
        },
        {
          "text": "'tennis'",
          "complexTypes": []
        },
        {
          "text": "'trackAndField'",
          "complexTypes": []
        },
        {
          "text": "'traditionalStrengthTraining'",
          "complexTypes": []
        },
        {
          "text": "'volleyball'",
          "complexTypes": []
        },
        {
          "text": "'walking'",
          "complexTypes": []
        },
        {
          "text": "'waterFitness'",
          "complexTypes": []
        },
        {
          "text": "'waterPolo'",
          "complexTypes": []
        },
        {
          "text": "'waterSports'",
          "complexTypes": []
        },
        {
          "text": "'weightlifting'",
          "complexTypes": []
        },
        {
          "text": "'wheelchair'",
          "complexTypes": []
        },
        {
          "text": "'yoga'",
          "complexTypes": []
        },
        {
          "text": "'archery'",
          "complexTypes": []
        },
        {
          "text": "'barre'",
          "complexTypes": []
        },
        {
          "text": "'cooldown'",
          "complexTypes": []
        },
        {
          "text": "'coreTraining'",
          "complexTypes": []
        },
        {
          "text": "'crossCountrySkiing'",
          "complexTypes": []
        },
        {
          "text": "'discSports'",
          "complexTypes": []
        },
        {
          "text": "'downhillSkiing'",
          "complexTypes": []
        },
        {
          "text": "'equestrianSports'",
          "complexTypes": []
        },
        {
          "text": "'fishing'",
          "complexTypes": []
        },
        {
          "text": "'fitnessGaming'",
          "complexTypes": []
        },
        {
          "text": "'flexibility'",
          "complexTypes": []
        },
        {
          "text": "'handCycling'",
          "complexTypes": []
        },
        {
          "text": "'highIntensityIntervalTraining'",
          "complexTypes": []
        },
        {
          "text": "'hunting'",
          "complexTypes": []
        },
        {
          "text": "'mindAndBody'",
          "complexTypes": []
        },
        {
          "text": "'mixedCardio'",
          "complexTypes": []
        },
        {
          "text": "'paddleSports'",
          "complexTypes": []
        },
        {
          "text": "'pickleball'",
          "complexTypes": []
        },
        {
          "text": "'play'",
          "complexTypes": []
        },
        {
          "text": "'preparationAndRecovery'",
          "complexTypes": []
        },
        {
          "text": "'snowSports'",
          "complexTypes": []
        },
        {
          "text": "'stairs'",
          "complexTypes": []
        },
        {
          "text": "'stepTraining'",
          "complexTypes": []
        },
        {
          "text": "'surfingSports'",
          "complexTypes": []
        },
        {
          "text": "'taiChi'",
          "complexTypes": []
        },
        {
          "text": "'transition'",
          "complexTypes": []
        },
        {
          "text": "'underwaterDiving'",
          "complexTypes": []
        },
        {
          "text": "'wheelchairRunPace'",
          "complexTypes": []
        },
        {
          "text": "'wheelchairWalkPace'",
          "complexTypes": []
        },
        {
          "text": "'wrestling'",
          "complexTypes": []
        },
        {
          "text": "'cardioDance'",
          "complexTypes": []
        },
        {
          "text": "'socialDance'",
          "complexTypes": []
        },
        {
          "text": "'backExtension'",
          "complexTypes": []
        },
        {
          "text": "'barbellShoulderPress'",
          "complexTypes": []
        },
        {
          "text": "'benchPress'",
          "complexTypes": []
        },
        {
          "text": "'benchSitUp'",
          "complexTypes": []
        },
        {
          "text": "'bikingStationary'",
          "complexTypes": []
        },
        {
          "text": "'bootCamp'",
          "complexTypes": []
        },
        {
          "text": "'burpee'",
          "complexTypes": []
        },
        {
          "text": "'calisthenics'",
          "complexTypes": []
        },
        {
          "text": "'crunch'",
          "complexTypes": []
        },
        {
          "text": "'dancing'",
          "complexTypes": []
        },
        {
          "text": "'deadlift'",
          "complexTypes": []
        },
        {
          "text": "'dumbbellCurlLeftArm'",
          "complexTypes": []
        },
        {
          "text": "'dumbbellCurlRightArm'",
          "complexTypes": []
        },
        {
          "text": "'dumbbellFrontRaise'",
          "complexTypes": []
        },
        {
          "text": "'dumbbellLateralRaise'",
          "complexTypes": []
        },
        {
          "text": "'dumbbellTricepsExtensionLeftArm'",
          "complexTypes": []
        },
        {
          "text": "'dumbbellTricepsExtensionRightArm'",
          "complexTypes": []
        },
        {
          "text": "'dumbbellTricepsExtensionTwoArm'",
          "complexTypes": []
        },
        {
          "text": "'exerciseClass'",
          "complexTypes": []
        },
        {
          "text": "'forwardTwist'",
          "complexTypes": []
        },
        {
          "text": "'frisbeedisc'",
          "complexTypes": []
        },
        {
          "text": "'guidedBreathing'",
          "complexTypes": []
        },
        {
          "text": "'iceHockey'",
          "complexTypes": []
        },
        {
          "text": "'iceSkating'",
          "complexTypes": []
        },
        {
          "text": "'jumpingJack'",
          "complexTypes": []
        },
        {
          "text": "'latPullDown'",
          "complexTypes": []
        },
        {
          "text": "'lunge'",
          "complexTypes": []
        },
        {
          "text": "'meditation'",
          "complexTypes": []
        },
        {
          "text": "'paddling'",
          "complexTypes": []
        },
        {
          "text": "'paraGliding'",
          "complexTypes": []
        },
        {
          "text": "'plank'",
          "complexTypes": []
        },
        {
          "text": "'rockClimbing'",
          "complexTypes": []
        },
        {
          "text": "'rollerHockey'",
          "complexTypes": []
        },
        {
          "text": "'rowingMachine'",
          "complexTypes": []
        },
        {
          "text": "'runningTreadmill'",
          "complexTypes": []
        },
        {
          "text": "'scubaDiving'",
          "complexTypes": []
        },
        {
          "text": "'skating'",
          "complexTypes": []
        },
        {
          "text": "'snowshoeing'",
          "complexTypes": []
        },
        {
          "text": "'stairClimbingMachine'",
          "complexTypes": []
        },
        {
          "text": "'stretching'",
          "complexTypes": []
        },
        {
          "text": "'upperTwist'",
          "complexTypes": []
        },
        {
          "text": "'other'",
          "complexTypes": []
        }
      ]
    },
    {
      "name": "BucketType",
      "slug": "buckettype",
      "docs": "",
      "types": [
        {
          "text": "'hour'",
          "complexTypes": []
        },
        {
          "text": "'day'",
          "complexTypes": []
        },
        {
          "text": "'week'",
          "complexTypes": []
        },
        {
          "text": "'month'",
          "complexTypes": []
        }
      ]
    },
    {
      "name": "AggregationType",
      "slug": "aggregationtype",
      "docs": "",
      "types": [
        {
          "text": "'sum'",
          "complexTypes": []
        },
        {
          "text": "'average'",
          "complexTypes": []
        },
        {
          "text": "'min'",
          "complexTypes": []
        },
        {
          "text": "'max'",
          "complexTypes": []
        }
      ]
    }
  ],
  "pluginConfigs": []
}