{-# LANGUAGE DataKinds #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-unused-imports #-} -- | -- Module : Network.Google.Fitness.Types -- Copyright : (c) 2015-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- module Network.Google.Fitness.Types ( -- * Service Configuration fitnessService -- * OAuth Scopes , fitnessBodyReadScope , fitnessActivityReadScope , fitnessActivityWriteScope , fitnessLocationReadScope , fitnessLocationWriteScope , fitnessBodyWriteScope -- * AggregateBucketType , AggregateBucketType (..) -- * DataSet , DataSet , dataSet , dsNextPageToken , dsDataSourceId , dsPoint , dsMinStartTimeNs , dsMaxEndTimeNs -- * Application , Application , application , aPackageName , aName , aVersion , aDetailsURL -- * AggregateResponse , AggregateResponse , aggregateResponse , arBucket -- * AggregateBy , AggregateBy , aggregateBy , abDataTypeName , abDataSourceId -- * DataSourceType , DataSourceType (..) -- * BucketByActivity , BucketByActivity , bucketByActivity , bbaMinDurationMillis , bbaActivityDataSourceId -- * AggregateRequest , AggregateRequest , aggregateRequest , arEndTimeMillis , arAggregateBy , arBucketBySession , arBucketByActivityType , arBucketByTime , arStartTimeMillis , arBucketByActivitySegment -- * Device , Device , device , dManufacturer , dUid , dModel , dVersion , dType -- * Value , Value , value , vMapVal , vFpVal , vIntVal , vStringVal -- * BucketBySession , BucketBySession , bucketBySession , bbsMinDurationMillis -- * DataPoint , DataPoint , dataPoint , dpOriginDataSourceId , dpRawTimestampNanos , dpDataTypeName , dpValue , dpComputationTimeMillis , dpEndTimeNanos , dpModifiedTimeMillis , dpStartTimeNanos -- * ListSessionsResponse , ListSessionsResponse , listSessionsResponse , lsrNextPageToken , lsrDeletedSession , lsrSession -- * AggregateBucket , AggregateBucket , aggregateBucket , abEndTimeMillis , abDataSet , abActivity , abType , abStartTimeMillis , abSession -- * MapValue , MapValue , mapValue , mvFpVal -- * ListDataSourcesResponse , ListDataSourcesResponse , listDataSourcesResponse , ldsrDataSource -- * DataTypeField , DataTypeField , dataTypeField , dtfFormat , dtfName , dtfOptional -- * DataSource , DataSource , dataSource , dsApplication , dsDevice , dsName , dsDataType , dsType , dsDataStreamName , dsDataStreamId -- * DeviceType , DeviceType (..) -- * ValueMapValEntry , ValueMapValEntry , valueMapValEntry , vmveValue , vmveKey -- * BucketByTime , BucketByTime , bucketByTime , bbtDurationMillis -- * DataType , DataType , dataType , dtField , dtName -- * Session , Session , session , sEndTimeMillis , sActiveTimeMillis , sApplication , sActivityType , sName , sModifiedTimeMillis , sId , sStartTimeMillis , sDescription -- * DataTypeFieldFormat , DataTypeFieldFormat (..) ) where import Network.Google.Fitness.Types.Product import Network.Google.Fitness.Types.Sum import Network.Google.Prelude -- | Default request referring to version 'v1' of the Fitness. This contains the host and root path used as a starting point for constructing service requests. fitnessService :: ServiceConfig fitnessService = defaultService (ServiceId "fitness:v1") "www.googleapis.com" -- | View body sensor information in Google Fit fitnessBodyReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.body.read"] fitnessBodyReadScope = Proxy; -- | View your activity information in Google Fit fitnessActivityReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.activity.read"] fitnessActivityReadScope = Proxy; -- | View and store your activity information in Google Fit fitnessActivityWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.activity.write"] fitnessActivityWriteScope = Proxy; -- | View your stored location data in Google Fit fitnessLocationReadScope :: Proxy '["https://www.googleapis.com/auth/fitness.location.read"] fitnessLocationReadScope = Proxy; -- | View and store your location data in Google Fit fitnessLocationWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.location.write"] fitnessLocationWriteScope = Proxy; -- | View and store body sensor data in Google Fit fitnessBodyWriteScope :: Proxy '["https://www.googleapis.com/auth/fitness.body.write"] fitnessBodyWriteScope = Proxy;