@@ -20,14 +20,24 @@ module Network.Google.Fitness.Types
20 fitnessService
20 fitnessService
22 -- * OAuth Scopes
22 -- * OAuth Scopes
23+ , fitnessBodyTemperatureReadScope
23 , fitnessBodyReadScope
24 , fitnessBodyReadScope
24 , fitnessNutritionReadScope
25 , fitnessNutritionReadScope
26+ , fitnessReProductiveHealthReadScope
25 , fitnessActivityReadScope
27 , fitnessActivityReadScope
28+ , fitnessReProductiveHealthWriteScope
26 , fitnessActivityWriteScope
29 , fitnessActivityWriteScope
30+ , fitnessBloodPressureWriteScope
31+ , fitnessBodyTemperatureWriteScope
32+ , fitnessOxygenSaturationReadScope
33+ , fitnessBloodGlucoseWriteScope
34+ , fitnessBloodPressureReadScope
27 , fitnessLocationReadScope
35 , fitnessLocationReadScope
28 , fitnessLocationWriteScope
36 , fitnessLocationWriteScope
29 , fitnessNutritionWriteScope
37 , fitnessNutritionWriteScope
30 , fitnessBodyWriteScope
38 , fitnessBodyWriteScope
39+ , fitnessBloodGlucoseReadScope
40+ , fitnessOxygenSaturationWriteScope
32 -- * AggregateBucketType
42 -- * AggregateBucketType
33 , AggregateBucketType (..)
43 , AggregateBucketType (..)
@@ -226,6 +236,10 @@ fitnessService
226 = defaultService (ServiceId "fitness:v1")
236 = defaultService (ServiceId "fitness:v1")
227 "www.googleapis.com"
237 "www.googleapis.com"
239+-- | View body temperature data in Google Fit
240+fitnessBodyTemperatureReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.body_temperature.read"]
241+fitnessBodyTemperatureReadScope = Proxy;
229-- | View body sensor information in Google Fit
243-- | View body sensor information in Google Fit
230fitnessBodyReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.body.read"]
244fitnessBodyReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.body.read"]
231fitnessBodyReadScope = Proxy;
245fitnessBodyReadScope = Proxy;
@@ -234,14 +248,42 @@ fitnessBodyReadScope = Proxy;
234fitnessNutritionReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.nutrition.read"]
248fitnessNutritionReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.nutrition.read"]
235fitnessNutritionReadScope = Proxy;
249fitnessNutritionReadScope = Proxy;
251+-- | View reproductive health data in Google Fit
252+fitnessReProductiveHealthReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.reproductive_health.read"]
253+fitnessReProductiveHealthReadScope = Proxy;
237-- | View your activity information in Google Fit
255-- | View your activity information in Google Fit
238fitnessActivityReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.activity.read"]
256fitnessActivityReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.activity.read"]
239fitnessActivityReadScope = Proxy;
257fitnessActivityReadScope = Proxy;
259+-- | View and store reproductive health data in Google Fit
260+fitnessReProductiveHealthWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.reproductive_health.write"]
261+fitnessReProductiveHealthWriteScope = Proxy;
241-- | View and store your activity information in Google Fit
263-- | View and store your activity information in Google Fit
242fitnessActivityWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.activity.write"]
264fitnessActivityWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.activity.write"]
243fitnessActivityWriteScope = Proxy;
265fitnessActivityWriteScope = Proxy;
267+-- | View and store blood pressure data in Google Fit
268+fitnessBloodPressureWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.blood_pressure.write"]
269+fitnessBloodPressureWriteScope = Proxy;
271+-- | View and store body temperature data in Google Fit
272+fitnessBodyTemperatureWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.body_temperature.write"]
273+fitnessBodyTemperatureWriteScope = Proxy;
275+-- | View oxygen saturation data in Google Fit
276+fitnessOxygenSaturationReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.oxygen_saturation.read"]
277+fitnessOxygenSaturationReadScope = Proxy;
279+-- | View and store blood glucose data in Google Fit
280+fitnessBloodGlucoseWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.blood_glucose.write"]
281+fitnessBloodGlucoseWriteScope = Proxy;
283+-- | View blood pressure data in Google Fit
284+fitnessBloodPressureReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.blood_pressure.read"]
285+fitnessBloodPressureReadScope = Proxy;
245-- | View your stored location data in Google Fit
287-- | View your stored location data in Google Fit
246fitnessLocationReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.location.read"]
288fitnessLocationReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.location.read"]
247fitnessLocationReadScope = Proxy;
289fitnessLocationReadScope = Proxy;
@@ -257,3 +299,11 @@ fitnessNutritionWriteScope = Proxy;
257-- | View and store body sensor data in Google Fit
299-- | View and store body sensor data in Google Fit
258fitnessBodyWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.body.write"]
300fitnessBodyWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.body.write"]
259fitnessBodyWriteScope = Proxy;
301fitnessBodyWriteScope = Proxy;
303+-- | View blood glucose data in Google Fit
304+fitnessBloodGlucoseReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.blood_glucose.read"]
305+fitnessBloodGlucoseReadScope = Proxy;
307+-- | View and store oxygen saturation data in Google Fit
308+fitnessOxygenSaturationWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.oxygen_saturation.write"]
309+fitnessOxygenSaturationWriteScope = Proxy;