{-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-unused-imports #-} -- | -- Module : Network.Google.Fitness.Types -- Copyright : (c) 2015 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 :: Service fitnessService = defaultService (ServiceId "fitness:v1") "www.googleapis.com" -- | View body sensor information in Google Fit fitnessBodyReadScope :: OAuthScope fitnessBodyReadScope = "https://www.googleapis.com/auth/fitness.body.read"; -- | View your activity information in Google Fit fitnessActivityReadScope :: OAuthScope fitnessActivityReadScope = "https://www.googleapis.com/auth/fitness.activity.read"; -- | View and store your activity information in Google Fit fitnessActivityWriteScope :: OAuthScope fitnessActivityWriteScope = "https://www.googleapis.com/auth/fitness.activity.write"; -- | View your stored location data in Google Fit fitnessLocationReadScope :: OAuthScope fitnessLocationReadScope = "https://www.googleapis.com/auth/fitness.location.read"; -- | View and store your location data in Google Fit fitnessLocationWriteScope :: OAuthScope fitnessLocationWriteScope = "https://www.googleapis.com/auth/fitness.location.write"; -- | View and store body sensor data in Google Fit fitnessBodyWriteScope :: OAuthScope fitnessBodyWriteScope = "https://www.googleapis.com/auth/fitness.body.write";