packages feed

gogol-fitness 0.1.1 → 0.2.0

raw patch · 16 files changed

+155/−15 lines, 16 filesdep ~gogol-corePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: gogol-core

API changes (from Hackage documentation)

+ Network.Google.Fitness: fitnessBloodGlucoseReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.blood_glucose.read"]
+ Network.Google.Fitness: fitnessBloodGlucoseWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.blood_glucose.write"]
+ Network.Google.Fitness: fitnessBloodPressureReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.blood_pressure.read"]
+ Network.Google.Fitness: fitnessBloodPressureWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.blood_pressure.write"]
+ Network.Google.Fitness: fitnessBodyTemperatureReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.body_temperature.read"]
+ Network.Google.Fitness: fitnessBodyTemperatureWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.body_temperature.write"]
+ Network.Google.Fitness: fitnessOxygenSaturationReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.oxygen_saturation.read"]
+ Network.Google.Fitness: fitnessOxygenSaturationWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.oxygen_saturation.write"]
+ Network.Google.Fitness: fitnessReProductiveHealthReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.reproductive_health.read"]
+ Network.Google.Fitness: fitnessReProductiveHealthWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.reproductive_health.write"]
+ Network.Google.Fitness.Types: fitnessBloodGlucoseReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.blood_glucose.read"]
+ Network.Google.Fitness.Types: fitnessBloodGlucoseWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.blood_glucose.write"]
+ Network.Google.Fitness.Types: fitnessBloodPressureReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.blood_pressure.read"]
+ Network.Google.Fitness.Types: fitnessBloodPressureWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.blood_pressure.write"]
+ Network.Google.Fitness.Types: fitnessBodyTemperatureReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.body_temperature.read"]
+ Network.Google.Fitness.Types: fitnessBodyTemperatureWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.body_temperature.write"]
+ Network.Google.Fitness.Types: fitnessOxygenSaturationReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.oxygen_saturation.read"]
+ Network.Google.Fitness.Types: fitnessOxygenSaturationWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.oxygen_saturation.write"]
+ Network.Google.Fitness.Types: fitnessReProductiveHealthReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.reproductive_health.read"]
+ Network.Google.Fitness.Types: fitnessReProductiveHealthWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.reproductive_health.write"]

Files

README.md view
@@ -8,7 +8,7 @@  ## Version -`0.1.1`+`0.2.0`   ## Description
gen/Network/Google/Fitness.hs view
@@ -23,14 +23,24 @@       fitnessService      -- * OAuth Scopes+    , fitnessBodyTemperatureReadScope     , fitnessBodyReadScope     , fitnessNutritionReadScope+    , fitnessReProductiveHealthReadScope     , fitnessActivityReadScope+    , fitnessReProductiveHealthWriteScope     , fitnessActivityWriteScope+    , fitnessBloodPressureWriteScope+    , fitnessBodyTemperatureWriteScope+    , fitnessOxygenSaturationReadScope+    , fitnessBloodGlucoseWriteScope+    , fitnessBloodPressureReadScope     , fitnessLocationReadScope     , fitnessLocationWriteScope     , fitnessNutritionWriteScope     , fitnessBodyWriteScope+    , fitnessBloodGlucoseReadScope+    , fitnessOxygenSaturationWriteScope      -- * API Declaration     , FitnessAPI
gen/Network/Google/Fitness/Types.hs view
@@ -20,14 +20,24 @@       fitnessService      -- * OAuth Scopes+    , fitnessBodyTemperatureReadScope     , fitnessBodyReadScope     , fitnessNutritionReadScope+    , fitnessReProductiveHealthReadScope     , fitnessActivityReadScope+    , fitnessReProductiveHealthWriteScope     , fitnessActivityWriteScope+    , fitnessBloodPressureWriteScope+    , fitnessBodyTemperatureWriteScope+    , fitnessOxygenSaturationReadScope+    , fitnessBloodGlucoseWriteScope+    , fitnessBloodPressureReadScope     , fitnessLocationReadScope     , fitnessLocationWriteScope     , fitnessNutritionWriteScope     , fitnessBodyWriteScope+    , fitnessBloodGlucoseReadScope+    , fitnessOxygenSaturationWriteScope      -- * AggregateBucketType     , AggregateBucketType (..)@@ -226,6 +236,10 @@   = defaultService (ServiceId "fitness:v1")       "www.googleapis.com" +-- | View body temperature data in Google Fit+fitnessBodyTemperatureReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.body_temperature.read"]+fitnessBodyTemperatureReadScope = Proxy;+ -- | View body sensor information in Google Fit fitnessBodyReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.body.read"] fitnessBodyReadScope = Proxy;@@ -234,14 +248,42 @@ fitnessNutritionReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.nutrition.read"] fitnessNutritionReadScope = Proxy; +-- | View reproductive health data in Google Fit+fitnessReProductiveHealthReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.reproductive_health.read"]+fitnessReProductiveHealthReadScope = Proxy;+ -- | View your activity information in Google Fit fitnessActivityReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.activity.read"] fitnessActivityReadScope = Proxy; +-- | View and store reproductive health data in Google Fit+fitnessReProductiveHealthWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.reproductive_health.write"]+fitnessReProductiveHealthWriteScope = Proxy;+ -- | View and store your activity information in Google Fit fitnessActivityWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.activity.write"] fitnessActivityWriteScope = Proxy; +-- | View and store blood pressure data in Google Fit+fitnessBloodPressureWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.blood_pressure.write"]+fitnessBloodPressureWriteScope = Proxy;++-- | View and store body temperature data in Google Fit+fitnessBodyTemperatureWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.body_temperature.write"]+fitnessBodyTemperatureWriteScope = Proxy;++-- | View oxygen saturation data in Google Fit+fitnessOxygenSaturationReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.oxygen_saturation.read"]+fitnessOxygenSaturationReadScope = Proxy;++-- | View and store blood glucose data in Google Fit+fitnessBloodGlucoseWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.blood_glucose.write"]+fitnessBloodGlucoseWriteScope = Proxy;++-- | View blood pressure data in Google Fit+fitnessBloodPressureReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.blood_pressure.read"]+fitnessBloodPressureReadScope = Proxy;+ -- | View your stored location data in Google Fit fitnessLocationReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.location.read"] fitnessLocationReadScope = Proxy;@@ -257,3 +299,11 @@ -- | View and store body sensor data in Google Fit fitnessBodyWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.body.write"] fitnessBodyWriteScope = Proxy;++-- | View blood glucose data in Google Fit+fitnessBloodGlucoseReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.blood_glucose.read"]+fitnessBloodGlucoseReadScope = Proxy;++-- | View and store oxygen saturation data in Google Fit+fitnessOxygenSaturationWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.oxygen_saturation.write"]+fitnessOxygenSaturationWriteScope = Proxy;
gen/Network/Google/Fitness/Types/Product.hs view
@@ -578,7 +578,7 @@  -- | Holder object for the value of a single field in a data point. A field -- value has a particular format and is only ever set to one of an integer--- or a floating point value.+-- or a floating point value. LINT.IfChange -- -- /See:/ 'value' smart constructor. data Value = Value'
gen/Network/Google/Resource/Fitness/Users/DataSet/Aggregate.hs view
@@ -99,12 +99,22 @@         type Scopes UsersDataSetAggregate =              '["https://www.googleapis.com/auth/fitness.activity.read",                "https://www.googleapis.com/auth/fitness.activity.write",+               "https://www.googleapis.com/auth/fitness.blood_glucose.read",+               "https://www.googleapis.com/auth/fitness.blood_glucose.write",+               "https://www.googleapis.com/auth/fitness.blood_pressure.read",+               "https://www.googleapis.com/auth/fitness.blood_pressure.write",                "https://www.googleapis.com/auth/fitness.body.read",                "https://www.googleapis.com/auth/fitness.body.write",+               "https://www.googleapis.com/auth/fitness.body_temperature.read",+               "https://www.googleapis.com/auth/fitness.body_temperature.write",                "https://www.googleapis.com/auth/fitness.location.read",                "https://www.googleapis.com/auth/fitness.location.write",                "https://www.googleapis.com/auth/fitness.nutrition.read",-               "https://www.googleapis.com/auth/fitness.nutrition.write"]+               "https://www.googleapis.com/auth/fitness.nutrition.write",+               "https://www.googleapis.com/auth/fitness.oxygen_saturation.read",+               "https://www.googleapis.com/auth/fitness.oxygen_saturation.write",+               "https://www.googleapis.com/auth/fitness.reproductive_health.read",+               "https://www.googleapis.com/auth/fitness.reproductive_health.write"]         requestClient UsersDataSetAggregate'{..}           = go _udsaUserId (Just AltJSON) _udsaPayload               fitnessService
gen/Network/Google/Resource/Fitness/Users/DataSources/Create.hs view
@@ -105,9 +105,14 @@         type Rs UsersDataSourcesCreate = DataSource         type Scopes UsersDataSourcesCreate =              '["https://www.googleapis.com/auth/fitness.activity.write",+               "https://www.googleapis.com/auth/fitness.blood_glucose.write",+               "https://www.googleapis.com/auth/fitness.blood_pressure.write",                "https://www.googleapis.com/auth/fitness.body.write",+               "https://www.googleapis.com/auth/fitness.body_temperature.write",                "https://www.googleapis.com/auth/fitness.location.write",-               "https://www.googleapis.com/auth/fitness.nutrition.write"]+               "https://www.googleapis.com/auth/fitness.nutrition.write",+               "https://www.googleapis.com/auth/fitness.oxygen_saturation.write",+               "https://www.googleapis.com/auth/fitness.reproductive_health.write"]         requestClient UsersDataSourcesCreate'{..}           = go _udscUserId (Just AltJSON) _udscPayload               fitnessService
gen/Network/Google/Resource/Fitness/Users/DataSources/DataSets/Delete.hs view
@@ -148,9 +148,14 @@         type Rs UsersDataSourcesDataSetsDelete = ()         type Scopes UsersDataSourcesDataSetsDelete =              '["https://www.googleapis.com/auth/fitness.activity.write",+               "https://www.googleapis.com/auth/fitness.blood_glucose.write",+               "https://www.googleapis.com/auth/fitness.blood_pressure.write",                "https://www.googleapis.com/auth/fitness.body.write",+               "https://www.googleapis.com/auth/fitness.body_temperature.write",                "https://www.googleapis.com/auth/fitness.location.write",-               "https://www.googleapis.com/auth/fitness.nutrition.write"]+               "https://www.googleapis.com/auth/fitness.nutrition.write",+               "https://www.googleapis.com/auth/fitness.oxygen_saturation.write",+               "https://www.googleapis.com/auth/fitness.reproductive_health.write"]         requestClient UsersDataSourcesDataSetsDelete'{..}           = go _udsdsdUserId _udsdsdDataSourceId               _udsdsdDataSetId
gen/Network/Google/Resource/Fitness/Users/DataSources/DataSets/Get.hs view
@@ -149,12 +149,22 @@         type Scopes UsersDataSourcesDataSetsGet =              '["https://www.googleapis.com/auth/fitness.activity.read",                "https://www.googleapis.com/auth/fitness.activity.write",+               "https://www.googleapis.com/auth/fitness.blood_glucose.read",+               "https://www.googleapis.com/auth/fitness.blood_glucose.write",+               "https://www.googleapis.com/auth/fitness.blood_pressure.read",+               "https://www.googleapis.com/auth/fitness.blood_pressure.write",                "https://www.googleapis.com/auth/fitness.body.read",                "https://www.googleapis.com/auth/fitness.body.write",+               "https://www.googleapis.com/auth/fitness.body_temperature.read",+               "https://www.googleapis.com/auth/fitness.body_temperature.write",                "https://www.googleapis.com/auth/fitness.location.read",                "https://www.googleapis.com/auth/fitness.location.write",                "https://www.googleapis.com/auth/fitness.nutrition.read",-               "https://www.googleapis.com/auth/fitness.nutrition.write"]+               "https://www.googleapis.com/auth/fitness.nutrition.write",+               "https://www.googleapis.com/auth/fitness.oxygen_saturation.read",+               "https://www.googleapis.com/auth/fitness.oxygen_saturation.write",+               "https://www.googleapis.com/auth/fitness.reproductive_health.read",+               "https://www.googleapis.com/auth/fitness.reproductive_health.write"]         requestClient UsersDataSourcesDataSetsGet'{..}           = go _udsdsgUserId _udsdsgDataSourceId               _udsdsgDataSetId
gen/Network/Google/Resource/Fitness/Users/DataSources/DataSets/Patch.hs view
@@ -144,9 +144,14 @@         type Rs UsersDataSourcesDataSetsPatch = DataSet         type Scopes UsersDataSourcesDataSetsPatch =              '["https://www.googleapis.com/auth/fitness.activity.write",+               "https://www.googleapis.com/auth/fitness.blood_glucose.write",+               "https://www.googleapis.com/auth/fitness.blood_pressure.write",                "https://www.googleapis.com/auth/fitness.body.write",+               "https://www.googleapis.com/auth/fitness.body_temperature.write",                "https://www.googleapis.com/auth/fitness.location.write",-               "https://www.googleapis.com/auth/fitness.nutrition.write"]+               "https://www.googleapis.com/auth/fitness.nutrition.write",+               "https://www.googleapis.com/auth/fitness.oxygen_saturation.write",+               "https://www.googleapis.com/auth/fitness.reproductive_health.write"]         requestClient UsersDataSourcesDataSetsPatch'{..}           = go _udsdspUserId _udsdspDataSourceId               _udsdspDataSetId
gen/Network/Google/Resource/Fitness/Users/DataSources/Delete.hs view
@@ -94,9 +94,14 @@         type Rs UsersDataSourcesDelete = DataSource         type Scopes UsersDataSourcesDelete =              '["https://www.googleapis.com/auth/fitness.activity.write",+               "https://www.googleapis.com/auth/fitness.blood_glucose.write",+               "https://www.googleapis.com/auth/fitness.blood_pressure.write",                "https://www.googleapis.com/auth/fitness.body.write",+               "https://www.googleapis.com/auth/fitness.body_temperature.write",                "https://www.googleapis.com/auth/fitness.location.write",-               "https://www.googleapis.com/auth/fitness.nutrition.write"]+               "https://www.googleapis.com/auth/fitness.nutrition.write",+               "https://www.googleapis.com/auth/fitness.oxygen_saturation.write",+               "https://www.googleapis.com/auth/fitness.reproductive_health.write"]         requestClient UsersDataSourcesDelete'{..}           = go _udsdUserId _udsdDataSourceId (Just AltJSON)               fitnessService
gen/Network/Google/Resource/Fitness/Users/DataSources/Get.hs view
@@ -93,12 +93,22 @@         type Scopes UsersDataSourcesGet =              '["https://www.googleapis.com/auth/fitness.activity.read",                "https://www.googleapis.com/auth/fitness.activity.write",+               "https://www.googleapis.com/auth/fitness.blood_glucose.read",+               "https://www.googleapis.com/auth/fitness.blood_glucose.write",+               "https://www.googleapis.com/auth/fitness.blood_pressure.read",+               "https://www.googleapis.com/auth/fitness.blood_pressure.write",                "https://www.googleapis.com/auth/fitness.body.read",                "https://www.googleapis.com/auth/fitness.body.write",+               "https://www.googleapis.com/auth/fitness.body_temperature.read",+               "https://www.googleapis.com/auth/fitness.body_temperature.write",                "https://www.googleapis.com/auth/fitness.location.read",                "https://www.googleapis.com/auth/fitness.location.write",                "https://www.googleapis.com/auth/fitness.nutrition.read",-               "https://www.googleapis.com/auth/fitness.nutrition.write"]+               "https://www.googleapis.com/auth/fitness.nutrition.write",+               "https://www.googleapis.com/auth/fitness.oxygen_saturation.read",+               "https://www.googleapis.com/auth/fitness.oxygen_saturation.write",+               "https://www.googleapis.com/auth/fitness.reproductive_health.read",+               "https://www.googleapis.com/auth/fitness.reproductive_health.write"]         requestClient UsersDataSourcesGet'{..}           = go _udsgUserId _udsgDataSourceId (Just AltJSON)               fitnessService
gen/Network/Google/Resource/Fitness/Users/DataSources/List.hs view
@@ -103,12 +103,22 @@         type Scopes UsersDataSourcesList =              '["https://www.googleapis.com/auth/fitness.activity.read",                "https://www.googleapis.com/auth/fitness.activity.write",+               "https://www.googleapis.com/auth/fitness.blood_glucose.read",+               "https://www.googleapis.com/auth/fitness.blood_glucose.write",+               "https://www.googleapis.com/auth/fitness.blood_pressure.read",+               "https://www.googleapis.com/auth/fitness.blood_pressure.write",                "https://www.googleapis.com/auth/fitness.body.read",                "https://www.googleapis.com/auth/fitness.body.write",+               "https://www.googleapis.com/auth/fitness.body_temperature.read",+               "https://www.googleapis.com/auth/fitness.body_temperature.write",                "https://www.googleapis.com/auth/fitness.location.read",                "https://www.googleapis.com/auth/fitness.location.write",                "https://www.googleapis.com/auth/fitness.nutrition.read",-               "https://www.googleapis.com/auth/fitness.nutrition.write"]+               "https://www.googleapis.com/auth/fitness.nutrition.write",+               "https://www.googleapis.com/auth/fitness.oxygen_saturation.read",+               "https://www.googleapis.com/auth/fitness.oxygen_saturation.write",+               "https://www.googleapis.com/auth/fitness.reproductive_health.read",+               "https://www.googleapis.com/auth/fitness.reproductive_health.write"]         requestClient UsersDataSourcesList'{..}           = go _udslUserId (_udslDataTypeName ^. _Default)               (Just AltJSON)
gen/Network/Google/Resource/Fitness/Users/DataSources/Patch.hs view
@@ -111,9 +111,14 @@         type Rs UsersDataSourcesPatch = DataSource         type Scopes UsersDataSourcesPatch =              '["https://www.googleapis.com/auth/fitness.activity.write",+               "https://www.googleapis.com/auth/fitness.blood_glucose.write",+               "https://www.googleapis.com/auth/fitness.blood_pressure.write",                "https://www.googleapis.com/auth/fitness.body.write",+               "https://www.googleapis.com/auth/fitness.body_temperature.write",                "https://www.googleapis.com/auth/fitness.location.write",-               "https://www.googleapis.com/auth/fitness.nutrition.write"]+               "https://www.googleapis.com/auth/fitness.nutrition.write",+               "https://www.googleapis.com/auth/fitness.oxygen_saturation.write",+               "https://www.googleapis.com/auth/fitness.reproductive_health.write"]         requestClient UsersDataSourcesPatch'{..}           = go _udspUserId _udspDataSourceId (Just AltJSON)               _udspPayload
gen/Network/Google/Resource/Fitness/Users/DataSources/Update.hs view
@@ -108,9 +108,14 @@         type Rs UsersDataSourcesUpdate = DataSource         type Scopes UsersDataSourcesUpdate =              '["https://www.googleapis.com/auth/fitness.activity.write",+               "https://www.googleapis.com/auth/fitness.blood_glucose.write",+               "https://www.googleapis.com/auth/fitness.blood_pressure.write",                "https://www.googleapis.com/auth/fitness.body.write",+               "https://www.googleapis.com/auth/fitness.body_temperature.write",                "https://www.googleapis.com/auth/fitness.location.write",-               "https://www.googleapis.com/auth/fitness.nutrition.write"]+               "https://www.googleapis.com/auth/fitness.nutrition.write",+               "https://www.googleapis.com/auth/fitness.oxygen_saturation.write",+               "https://www.googleapis.com/auth/fitness.reproductive_health.write"]         requestClient UsersDataSourcesUpdate'{..}           = go _udsuUserId _udsuDataSourceId (Just AltJSON)               _udsuPayload
gen/Network/Google/Resource/Fitness/Users/Sessions/List.hs view
@@ -132,12 +132,22 @@         type Scopes UsersSessionsList =              '["https://www.googleapis.com/auth/fitness.activity.read",                "https://www.googleapis.com/auth/fitness.activity.write",+               "https://www.googleapis.com/auth/fitness.blood_glucose.read",+               "https://www.googleapis.com/auth/fitness.blood_glucose.write",+               "https://www.googleapis.com/auth/fitness.blood_pressure.read",+               "https://www.googleapis.com/auth/fitness.blood_pressure.write",                "https://www.googleapis.com/auth/fitness.body.read",                "https://www.googleapis.com/auth/fitness.body.write",+               "https://www.googleapis.com/auth/fitness.body_temperature.read",+               "https://www.googleapis.com/auth/fitness.body_temperature.write",                "https://www.googleapis.com/auth/fitness.location.read",                "https://www.googleapis.com/auth/fitness.location.write",                "https://www.googleapis.com/auth/fitness.nutrition.read",-               "https://www.googleapis.com/auth/fitness.nutrition.write"]+               "https://www.googleapis.com/auth/fitness.nutrition.write",+               "https://www.googleapis.com/auth/fitness.oxygen_saturation.read",+               "https://www.googleapis.com/auth/fitness.oxygen_saturation.write",+               "https://www.googleapis.com/auth/fitness.reproductive_health.read",+               "https://www.googleapis.com/auth/fitness.reproductive_health.write"]         requestClient UsersSessionsList'{..}           = go _uslUserId _uslStartTime _uslEndTime               _uslPageToken
gogol-fitness.cabal view
@@ -1,5 +1,5 @@ name:                  gogol-fitness-version:               0.1.1+version:               0.2.0 synopsis:              Google Fitness SDK. homepage:              https://github.com/brendanhay/gogol bug-reports:           https://github.com/brendanhay/gogol/issues@@ -55,5 +55,5 @@         , Network.Google.Fitness.Types.Sum      build-depends:-          gogol-core == 0.1.1.*+          gogol-core == 0.2.0.*         , base       >= 4.7 && < 5