{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE ImportQualifiedPost #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Gogol.URLShortener.Types
(
uRLShortenerService,
Urlshortener'FullControl,
AnalyticsSnapshot (..),
newAnalyticsSnapshot,
AnalyticsSummary (..),
newAnalyticsSummary,
StringCount (..),
newStringCount,
Url (..),
newUrl,
UrlHistory (..),
newUrlHistory,
UrlGetProjection (..),
UrlListProjection (..),
)
where
import Gogol.Prelude qualified as Core
import Gogol.URLShortener.Internal.Product
import Gogol.URLShortener.Internal.Sum
uRLShortenerService :: Core.ServiceConfig
uRLShortenerService :: ServiceConfig
uRLShortenerService =
ServiceId -> ByteString -> ServiceConfig
Core.defaultService
(Text -> ServiceId
Core.ServiceId Text
"urlshortener:v1")
ByteString
"www.googleapis.com"
type Urlshortener'FullControl =
"https://www.googleapis.com/auth/urlshortener"