-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Google Play Movies Partner SDK.
--   
--   Gets the delivery status of titles for Google Play Movies Partners.
--   
--   <i>Warning:</i> This is an experimental prototype/preview release
--   which is still under exploratory development and not intended for
--   public use, caveat emptor!
--   
--   This library is compatible with version <tt>v1</tt> of the API.
@package gogol-play-moviespartner
@version 0.3.0


module Network.Google.PlayMoviesPartner.Types

-- | Default request referring to version <tt>v1</tt> of the Google Play
--   Movies Partner API. This contains the host and root path used as a
--   starting point for constructing service requests.
playMoviesPartnerService :: ServiceConfig

-- | View the digital assets you publish on Google Play Movies and TV
playmoviesPartnerReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/playmovies_partner.readonly"]

-- | An Avail describes the Availability Window of a specific Edit in a
--   given country, which means the period Google is allowed to sell or
--   rent the Edit. Avails are exposed in EMA format Version 1.6b
--   (available at http://www.movielabs.com/md/avails/) Studios can see the
--   Avails for the Titles they own. Post-production houses cannot see any
--   Avails.
--   
--   <i>See:</i> <a>avail</a> smart constructor.
data Avail

-- | Creates a value of <a>Avail</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aAltId</a></li>
--   <li><a>aPphNames</a></li>
--   <li><a>aCaptionExemption</a></li>
--   <li><a>aRatingSystem</a></li>
--   <li><a>aSuppressionLiftDate</a></li>
--   <li><a>aEpisodeNumber</a></li>
--   <li><a>aPriceType</a></li>
--   <li><a>aStoreLanguage</a></li>
--   <li><a>aEpisodeAltId</a></li>
--   <li><a>aStart</a></li>
--   <li><a>aTerritory</a></li>
--   <li><a>aEpisodeTitleInternalAlias</a></li>
--   <li><a>aLicenseType</a></li>
--   <li><a>aAvailId</a></li>
--   <li><a>aSeasonNumber</a></li>
--   <li><a>aWorkType</a></li>
--   <li><a>aRatingValue</a></li>
--   <li><a>aSeasonTitleInternalAlias</a></li>
--   <li><a>aContentId</a></li>
--   <li><a>aVideoId</a></li>
--   <li><a>aSeriesAltId</a></li>
--   <li><a>aEnd</a></li>
--   <li><a>aSeriesTitleInternalAlias</a></li>
--   <li><a>aDisplayName</a></li>
--   <li><a>aReleaseDate</a></li>
--   <li><a>aFormatProFile</a></li>
--   <li><a>aRatingReason</a></li>
--   <li><a>aEncodeId</a></li>
--   <li><a>aPriceValue</a></li>
--   <li><a>aCaptionIncluded</a></li>
--   <li><a>aProductId</a></li>
--   <li><a>aSeasonAltId</a></li>
--   <li><a>aTitleInternalAlias</a></li>
--   </ul>
avail :: Avail

-- | Other identifier referring to the Edit, as defined by partner.
--   Example: "GOOGLER_2006"
aAltId :: Lens' Avail (Maybe Text)

-- | Name of the post-production houses that manage the Avail. Not part of
--   EMA Specs.
aPphNames :: Lens' Avail [Text]

-- | Communicating an exempt category as defined by FCC regulations. It is
--   not required for non-US Avails. Example: "1"
aCaptionExemption :: Lens' Avail (Maybe Text)

-- | Rating system applied to the version of title within territory of
--   Avail. Rating systems should be formatted as per <a>EMA ratings
--   spec</a> Example: "MPAA"
aRatingSystem :: Lens' Avail (Maybe Text)

-- | First date an Edit could be publically announced as becoming available
--   at a specific future date in territory of Avail. *Not* the Avail start
--   date or pre-order start date. Format is YYYY-MM-DD. Only available for
--   pre-orders. Example: "2012-12-10"
aSuppressionLiftDate :: Lens' Avail (Maybe Text)

-- | The number assigned to the episode within a season. Only available on
--   TV Avails. Example: "3".
aEpisodeNumber :: Lens' Avail (Maybe Text)

-- | Type of pricing that should be applied to this Avail based on how the
--   partner classify them. Example: "Tier", "WSP", "SRP", or "Category".
aPriceType :: Lens' Avail (Maybe Text)

-- | Spoken language of the intended audience. Language shall be encoded in
--   accordance with RFC 5646. Example: "fr".
aStoreLanguage :: Lens' Avail (Maybe Text)

-- | Other identifier referring to the episode, as defined by partner. Only
--   available on TV avails. Example: "rs_googlers_s1_3".
aEpisodeAltId :: Lens' Avail (Maybe Text)

-- | Start of term in YYYY-MM-DD format in the timezone of the country of
--   the Avail. Example: "2013-05-14".
aStart :: Lens' Avail (Maybe Text)

-- | ISO 3166-1 alpha-2 country code for the country or territory of this
--   Avail. For Avails, we use Territory in lieu of Country to comply with
--   EMA specifications. But please note that Territory and Country
--   identify the same thing. Example: "US".
aTerritory :: Lens' Avail (Maybe Text)

-- | OPTIONAL.TV Only. Title used by involved parties to refer to this
--   episode. Only available on TV Avails. Example: "Coding at Google".
aEpisodeTitleInternalAlias :: Lens' Avail (Maybe Text)

-- | Type of transaction.
aLicenseType :: Lens' Avail (Maybe Text)

-- | ID internally generated by Google to uniquely identify an Avail. Not
--   part of EMA Specs.
aAvailId :: Lens' Avail (Maybe Text)

-- | The number assigned to the season within a series. Only available on
--   TV Avails. Example: "1".
aSeasonNumber :: Lens' Avail (Maybe Text)

-- | Work type as enumerated in EMA.
aWorkType :: Lens' Avail (Maybe Text)

-- | Value representing the rating. Ratings should be formatted as per
--   http://www.movielabs.com/md/ratings/ Example: "PG"
aRatingValue :: Lens' Avail (Maybe Text)

-- | Title used by involved parties to refer to this season. Only available
--   on TV Avails. Example: "Googlers, The".
aSeasonTitleInternalAlias :: Lens' Avail (Maybe Text)

-- | Title Identifier. This should be the Title Level EIDR. Example:
--   "10.5240/1489-49A2-3956-4B2D-FE16-5".
aContentId :: Lens' Avail (Maybe Text)

-- | Google-generated ID identifying the video linked to this Avail, once
--   delivered. Not part of EMA Specs. Example: 'gtry456_xc'
aVideoId :: Lens' Avail (Maybe Text)

-- | Other identifier referring to the series, as defined by partner. Only
--   available on TV avails. Example: "rs_googlers".
aSeriesAltId :: Lens' Avail (Maybe Text)

-- | End of term in YYYY-MM-DD format in the timezone of the country of the
--   Avail. "Open" if no end date is available. Example: "2019-02-17"
aEnd :: Lens' Avail (Maybe Text)

-- | Title used by involved parties to refer to this series. Only available
--   on TV Avails. Example: "Googlers, The".
aSeriesTitleInternalAlias :: Lens' Avail (Maybe Text)

-- | The name of the studio that owns the Edit referred in the Avail. This
--   is the equivalent of `studio_name` in other resources, but it follows
--   the EMA nomenclature. Example: "Google Films".
aDisplayName :: Lens' Avail (Maybe Text)

-- | Release date of the Title in earliest released territory. Typically it
--   is just the year, but it is free-form as per EMA spec. Examples:
--   "1979", "Oct 2014"
aReleaseDate :: Lens' Avail (Maybe Text)

-- | Indicates the format profile covered by the transaction.
aFormatProFile :: Lens' Avail (Maybe Text)

-- | Value representing the rating reason. Rating reasons should be
--   formatted as per <a>EMA ratings spec</a> and comma-separated for
--   inclusion of multiple reasons. Example: "L, S, V"
aRatingReason :: Lens' Avail (Maybe Text)

-- | Manifestation Identifier. This should be the Manifestation Level EIDR.
--   Example: "10.2340/1489-49A2-3956-4B2D-FE16-7"
aEncodeId :: Lens' Avail (Maybe Text)

-- | Value to be applied to the pricing type. Example: "4" or "2.99"
aPriceValue :: Lens' Avail (Maybe Text)

-- | Communicating if caption file will be delivered.
aCaptionIncluded :: Lens' Avail (Maybe Bool)

-- | Edit Identifier. This should be the Edit Level EIDR. Example:
--   "10.2340/1489-49A2-3956-4B2D-FE16-6"
aProductId :: Lens' Avail (Maybe Text)

-- | Other identifier referring to the season, as defined by partner. Only
--   available on TV avails. Example: "rs_googlers_s1".
aSeasonAltId :: Lens' Avail (Maybe Text)

-- | Title used by involved parties to refer to this content. Example:
--   "Googlers, The". Only available on Movie Avails.
aTitleInternalAlias :: Lens' Avail (Maybe Text)

-- | Response to the 'ListAvails' method.
--   
--   <i>See:</i> <a>listAvailsResponse</a> smart constructor.
data ListAvailsResponse

-- | Creates a value of <a>ListAvailsResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>larNextPageToken</a></li>
--   <li><a>larAvails</a></li>
--   <li><a>larTotalSize</a></li>
--   </ul>
listAvailsResponse :: ListAvailsResponse

-- | See _List methods rules_ for info about this field.
larNextPageToken :: Lens' ListAvailsResponse (Maybe Text)

-- | List of Avails that match the request criteria.
larAvails :: Lens' ListAvailsResponse [Avail]

-- | See _List methods rules_ for more information about this field.
larTotalSize :: Lens' ListAvailsResponse (Maybe Int32)

-- | Response to the 'ListOrders' method.
--   
--   <i>See:</i> <a>listOrdersResponse</a> smart constructor.
data ListOrdersResponse

-- | Creates a value of <a>ListOrdersResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lorNextPageToken</a></li>
--   <li><a>lorTotalSize</a></li>
--   <li><a>lorOrders</a></li>
--   </ul>
listOrdersResponse :: ListOrdersResponse

-- | See _List methods rules_ for info about this field.
lorNextPageToken :: Lens' ListOrdersResponse (Maybe Text)

-- | See _List methods rules_ for more information about this field.
lorTotalSize :: Lens' ListOrdersResponse (Maybe Int32)

-- | List of Orders that match the request criteria.
lorOrders :: Lens' ListOrdersResponse [Order]

-- | Response to the 'ListStoreInfos' method.
--   
--   <i>See:</i> <a>listStoreInfosResponse</a> smart constructor.
data ListStoreInfosResponse

-- | Creates a value of <a>ListStoreInfosResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lsirNextPageToken</a></li>
--   <li><a>lsirTotalSize</a></li>
--   <li><a>lsirStoreInfos</a></li>
--   </ul>
listStoreInfosResponse :: ListStoreInfosResponse

-- | See 'List methods rules' for info about this field.
lsirNextPageToken :: Lens' ListStoreInfosResponse (Maybe Text)

-- | See _List methods rules_ for more information about this field.
lsirTotalSize :: Lens' ListStoreInfosResponse (Maybe Int32)

-- | List of StoreInfos that match the request criteria.
lsirStoreInfos :: Lens' ListStoreInfosResponse [StoreInfo]

-- | An Order tracks the fulfillment of an Edit when delivered using the
--   legacy, non-component-based delivery. Each Order is uniquely
--   identified by an `order_id`, which is generated by Google. Externally,
--   Orders can also be identified by partners using its `custom_id` (when
--   provided).
--   
--   <i>See:</i> <a>order</a> smart constructor.
data Order

-- | Creates a value of <a>Order</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>oStatus</a></li>
--   <li><a>oShowName</a></li>
--   <li><a>oPphName</a></li>
--   <li><a>oEarliestAvailStartTime</a></li>
--   <li><a>oStudioName</a></li>
--   <li><a>oReceivedTime</a></li>
--   <li><a>oPriority</a></li>
--   <li><a>oChannelId</a></li>
--   <li><a>oCustomId</a></li>
--   <li><a>oApprovedTime</a></li>
--   <li><a>oCountries</a></li>
--   <li><a>oChannelName</a></li>
--   <li><a>oVideoId</a></li>
--   <li><a>oLegacyPriority</a></li>
--   <li><a>oName</a></li>
--   <li><a>oRejectionNote</a></li>
--   <li><a>oOrderedTime</a></li>
--   <li><a>oSeasonName</a></li>
--   <li><a>oStatusDetail</a></li>
--   <li><a>oType</a></li>
--   <li><a>oNormalizedPriority</a></li>
--   <li><a>oOrderId</a></li>
--   <li><a>oEpisodeName</a></li>
--   </ul>
order :: Order

-- | High-level status of the order.
oStatus :: Lens' Order (Maybe Text)

-- | Default Show name, usually in the language of the country of origin.
--   Only available for TV Edits Example: "Googlers, The".
oShowName :: Lens' Order (Maybe Text)

-- | Name of the post-production house that manages the Edit ordered.
oPphName :: Lens' Order (Maybe Text)

-- | Timestamp of the earliest start date of the Avails linked to this
--   Order.
oEarliestAvailStartTime :: Lens' Order (Maybe Text)

-- | Name of the studio that owns the Edit ordered.
oStudioName :: Lens' Order (Maybe Text)

-- | Timestamp when the Order was fulfilled.
oReceivedTime :: Lens' Order (Maybe Text)

-- | Order priority, as defined by Google. The higher the value, the higher
--   the priority. Example: 90
oPriority :: Lens' Order (Maybe Double)

-- | YouTube Channel ID that should be used to fulfill the Order. Example:
--   "UCRG64darCZhb".
oChannelId :: Lens' Order (Maybe Text)

-- | ID that can be used to externally identify an Order. This ID is
--   provided by partners when submitting the Avails. Example:
--   'GOOGLER_2006'
oCustomId :: Lens' Order (Maybe Text)

-- | Timestamp when the Order was approved.
oApprovedTime :: Lens' Order (Maybe Text)

-- | Countries where the Order is available, using the "ISO 3166-1 alpha-2"
--   format (example: "US").
oCountries :: Lens' Order [Text]

-- | YouTube Channel Name that should be used to fulfill the Order.
--   Example: "Google_channel".
oChannelName :: Lens' Order (Maybe Text)

-- | Google-generated ID identifying the video linked to this Order, once
--   delivered. Example: 'gtry456_xc'.
oVideoId :: Lens' Order (Maybe Text)

-- | Legacy Order priority, as defined by Google. Example: 'P0'
oLegacyPriority :: Lens' Order (Maybe Text)

-- | Default Edit name, usually in the language of the country of origin.
--   Example: "Googlers, The".
oName :: Lens' Order (Maybe Text)

-- | Field explaining why an Order has been rejected. Example: "Trailer
--   audio is 2ch mono, please re-deliver in stereo".
oRejectionNote :: Lens' Order (Maybe Text)

-- | Timestamp when the Order was created.
oOrderedTime :: Lens' Order (Maybe Text)

-- | Default Season name, usually in the language of the country of origin.
--   Only available for TV Edits Example: "Googlers, The - A Brave New
--   World".
oSeasonName :: Lens' Order (Maybe Text)

-- | Detailed status of the order
oStatusDetail :: Lens' Order (Maybe Text)

-- | Type of the Edit linked to the Order.
oType :: Lens' Order (Maybe Text)

-- | A simpler representation of the priority.
oNormalizedPriority :: Lens' Order (Maybe Text)

-- | ID internally generated by Google to uniquely identify an Order.
--   Example: 'abcde12_x'
oOrderId :: Lens' Order (Maybe Text)

-- | Default Episode name, usually in the language of the country of
--   origin. Only available for TV Edits Example: "Googlers, The - Pilot".
oEpisodeName :: Lens' Order (Maybe Text)

-- | Information about a playable sequence (video) associated with an Edit
--   and available at the Google Play Store. Internally, each StoreInfo is
--   uniquely identified by a `video_id` and `country`. Externally,
--   Title-level EIDR or Edit-level EIDR, if provided, can also be used to
--   identify a specific title or edit in a country.
--   
--   <i>See:</i> <a>storeInfo</a> smart constructor.
data StoreInfo

-- | Creates a value of <a>StoreInfo</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>siTitleLevelEidr</a></li>
--   <li><a>siPphNames</a></li>
--   <li><a>siShowName</a></li>
--   <li><a>siSubtitles</a></li>
--   <li><a>siStudioName</a></li>
--   <li><a>siAudioTracks</a></li>
--   <li><a>siEpisodeNumber</a></li>
--   <li><a>siCountry</a></li>
--   <li><a>siTrailerId</a></li>
--   <li><a>siHasInfoCards</a></li>
--   <li><a>siLiveTime</a></li>
--   <li><a>siSeasonNumber</a></li>
--   <li><a>siHasHdOffer</a></li>
--   <li><a>siVideoId</a></li>
--   <li><a>siName</a></li>
--   <li><a>siHasVodOffer</a></li>
--   <li><a>siSeasonName</a></li>
--   <li><a>siHasSdOffer</a></li>
--   <li><a>siMid</a></li>
--   <li><a>siEditLevelEidr</a></li>
--   <li><a>siType</a></li>
--   <li><a>siHasEstOffer</a></li>
--   <li><a>siHasAudio51</a></li>
--   <li><a>siSeasonId</a></li>
--   <li><a>siShowId</a></li>
--   </ul>
storeInfo :: StoreInfo

-- | Title-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-5".
siTitleLevelEidr :: Lens' StoreInfo (Maybe Text)

-- | Name of the post-production houses that manage the Edit.
siPphNames :: Lens' StoreInfo [Text]

-- | Default Show name, usually in the language of the country of origin.
--   Only available for TV Edits Example: "Googlers, The".
siShowName :: Lens' StoreInfo (Maybe Text)

-- | Subtitles available for this Edit.
siSubtitles :: Lens' StoreInfo [Text]

-- | Name of the studio that owns the Edit ordered.
siStudioName :: Lens' StoreInfo (Maybe Text)

-- | Audio tracks available for this Edit.
siAudioTracks :: Lens' StoreInfo [Text]

-- | The number assigned to the episode within a season. Only available on
--   TV Edits. Example: "1".
siEpisodeNumber :: Lens' StoreInfo (Maybe Text)

-- | Country where Edit is available in ISO 3166-1 alpha-2 country code.
--   Example: "US".
siCountry :: Lens' StoreInfo (Maybe Text)

-- | Google-generated ID identifying the trailer linked to the Edit.
--   Example: 'bhd_4e_cx'
siTrailerId :: Lens' StoreInfo (Maybe Text)

-- | Whether the Edit has info cards.
siHasInfoCards :: Lens' StoreInfo (Maybe Bool)

-- | Timestamp when the Edit went live on the Store.
siLiveTime :: Lens' StoreInfo (Maybe Text)

-- | The number assigned to the season within a show. Only available on TV
--   Edits. Example: "1".
siSeasonNumber :: Lens' StoreInfo (Maybe Text)

-- | Whether the Edit has a HD offer.
siHasHdOffer :: Lens' StoreInfo (Maybe Bool)

-- | Google-generated ID identifying the video linked to the Edit. Example:
--   'gtry456_xc'
siVideoId :: Lens' StoreInfo (Maybe Text)

-- | Default Edit name, usually in the language of the country of origin.
--   Example: "Googlers, The".
siName :: Lens' StoreInfo (Maybe Text)

-- | Whether the Edit has a VOD offer.
siHasVodOffer :: Lens' StoreInfo (Maybe Bool)

-- | Default Season name, usually in the language of the country of origin.
--   Only available for TV Edits Example: "Googlers, The - A Brave New
--   World".
siSeasonName :: Lens' StoreInfo (Maybe Text)

-- | Whether the Edit has a SD offer.
siHasSdOffer :: Lens' StoreInfo (Maybe Bool)

-- | Knowledge Graph ID associated to this Edit, if available. This ID
--   links the Edit to its knowledge entity, externally accessible at
--   http://freebase.com. In the absense of Title EIDR or Edit EIDR, this
--   ID helps link together multiple Edits across countries. Example:
--   '/m/0ffx29'
siMid :: Lens' StoreInfo (Maybe Text)

-- | Edit-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-6".
siEditLevelEidr :: Lens' StoreInfo (Maybe Text)

-- | Edit type, like Movie, Episode or Season.
siType :: Lens' StoreInfo (Maybe Text)

-- | Whether the Edit has a EST offer.
siHasEstOffer :: Lens' StoreInfo (Maybe Bool)

-- | Whether the Edit has a 5.1 channel audio track.
siHasAudio51 :: Lens' StoreInfo (Maybe Bool)

-- | Google-generated ID identifying the season linked to the Edit. Only
--   available for TV Edits. Example: 'ster23ex'
siSeasonId :: Lens' StoreInfo (Maybe Text)

-- | Google-generated ID identifying the show linked to the Edit. Only
--   available for TV Edits. Example: 'et2hsue_x'
siShowId :: Lens' StoreInfo (Maybe Text)


-- | Get an Avail given its avail group id and avail id.
--   
--   <i>See:</i> <a>Google Play Movies Partner API Reference</a> for
--   <tt>playmoviespartner.accounts.avails.get</tt>.
module Network.Google.Resource.PlayMoviesPartner.Accounts.Avails.Get

-- | A resource alias for <tt>playmoviespartner.accounts.avails.get</tt>
--   method which the <a>AccountsAvailsGet</a> request conforms to.
type AccountsAvailsGetResource = "v1" :> ("accounts" :> (Capture "accountId" Text :> ("avails" :> (Capture "availId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Avail))))))))))))

-- | Creates a value of <a>AccountsAvailsGet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aagXgafv</a></li>
--   <li><a>aagUploadProtocol</a></li>
--   <li><a>aagPp</a></li>
--   <li><a>aagAccessToken</a></li>
--   <li><a>aagUploadType</a></li>
--   <li><a>aagAvailId</a></li>
--   <li><a>aagAccountId</a></li>
--   <li><a>aagBearerToken</a></li>
--   <li><a>aagCallback</a></li>
--   </ul>
accountsAvailsGet :: Text -> Text -> AccountsAvailsGet

-- | Get an Avail given its avail group id and avail id.
--   
--   <i>See:</i> <a>accountsAvailsGet</a> smart constructor.
data AccountsAvailsGet

-- | V1 error format.
aagXgafv :: Lens' AccountsAvailsGet (Maybe Text)

-- | Upload protocol for media (e.g. "raw", "multipart").
aagUploadProtocol :: Lens' AccountsAvailsGet (Maybe Text)

-- | Pretty-print response.
aagPp :: Lens' AccountsAvailsGet Bool

-- | OAuth access token.
aagAccessToken :: Lens' AccountsAvailsGet (Maybe Text)

-- | Legacy upload protocol for media (e.g. "media", "multipart").
aagUploadType :: Lens' AccountsAvailsGet (Maybe Text)

-- | REQUIRED. Avail ID.
aagAvailId :: Lens' AccountsAvailsGet Text

-- | REQUIRED. See _General rules_ for more information about this field.
aagAccountId :: Lens' AccountsAvailsGet Text

-- | OAuth bearer token.
aagBearerToken :: Lens' AccountsAvailsGet (Maybe Text)

-- | JSONP
aagCallback :: Lens' AccountsAvailsGet (Maybe Text)
instance GHC.Generics.Generic Network.Google.Resource.PlayMoviesPartner.Accounts.Avails.Get.AccountsAvailsGet
instance Data.Data.Data Network.Google.Resource.PlayMoviesPartner.Accounts.Avails.Get.AccountsAvailsGet
instance GHC.Show.Show Network.Google.Resource.PlayMoviesPartner.Accounts.Avails.Get.AccountsAvailsGet
instance GHC.Classes.Eq Network.Google.Resource.PlayMoviesPartner.Accounts.Avails.Get.AccountsAvailsGet
instance Network.Google.Types.GoogleRequest Network.Google.Resource.PlayMoviesPartner.Accounts.Avails.Get.AccountsAvailsGet


-- | List Avails owned or managed by the partner. See _Authentication and
--   Authorization rules_ and _List methods rules_ for more information
--   about this method.
--   
--   <i>See:</i> <a>Google Play Movies Partner API Reference</a> for
--   <tt>playmoviespartner.accounts.avails.list</tt>.
module Network.Google.Resource.PlayMoviesPartner.Accounts.Avails.List

-- | A resource alias for <tt>playmoviespartner.accounts.avails.list</tt>
--   method which the <a>AccountsAvailsList</a> request conforms to.
type AccountsAvailsListResource = "v1" :> ("accounts" :> (Capture "accountId" Text :> ("avails" :> (QueryParam "altId" Text :> (QueryParams "pphNames" Text :> (QueryParam "$.xgafv" Text :> (QueryParams "studioNames" Text :> (QueryParams "videoIds" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParams "territories" Text :> (QueryParam "bearer_token" Text :> (QueryParams "altIds" Text :> (QueryParam "pageToken" Text :> (QueryParam "title" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListAvailsResponse))))))))))))))))))))

-- | Creates a value of <a>AccountsAvailsList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aalAltId</a></li>
--   <li><a>aalPphNames</a></li>
--   <li><a>aalXgafv</a></li>
--   <li><a>aalStudioNames</a></li>
--   <li><a>aalVideoIds</a></li>
--   <li><a>aalUploadProtocol</a></li>
--   <li><a>aalPp</a></li>
--   <li><a>aalAccessToken</a></li>
--   <li><a>aalUploadType</a></li>
--   <li><a>aalTerritories</a></li>
--   <li><a>aalAccountId</a></li>
--   <li><a>aalBearerToken</a></li>
--   <li><a>aalAltIds</a></li>
--   <li><a>aalPageToken</a></li>
--   <li><a>aalTitle</a></li>
--   <li><a>aalPageSize</a></li>
--   <li><a>aalCallback</a></li>
--   </ul>
accountsAvailsList :: Text -> AccountsAvailsList

-- | List Avails owned or managed by the partner. See _Authentication and
--   Authorization rules_ and _List methods rules_ for more information
--   about this method.
--   
--   <i>See:</i> <a>accountsAvailsList</a> smart constructor.
data AccountsAvailsList

-- | Filter Avails that match a case-insensitive, partner-specific custom
--   id. NOTE: this field is deprecated and will be removed on V2;
--   `alt_ids` should be used instead.
aalAltId :: Lens' AccountsAvailsList (Maybe Text)

-- | See _List methods rules_ for info about this field.
aalPphNames :: Lens' AccountsAvailsList [Text]

-- | V1 error format.
aalXgafv :: Lens' AccountsAvailsList (Maybe Text)

-- | See _List methods rules_ for info about this field.
aalStudioNames :: Lens' AccountsAvailsList [Text]

-- | Filter Avails that match any of the given `video_id`s.
aalVideoIds :: Lens' AccountsAvailsList [Text]

-- | Upload protocol for media (e.g. "raw", "multipart").
aalUploadProtocol :: Lens' AccountsAvailsList (Maybe Text)

-- | Pretty-print response.
aalPp :: Lens' AccountsAvailsList Bool

-- | OAuth access token.
aalAccessToken :: Lens' AccountsAvailsList (Maybe Text)

-- | Legacy upload protocol for media (e.g. "media", "multipart").
aalUploadType :: Lens' AccountsAvailsList (Maybe Text)

-- | Filter Avails that match (case-insensitive) any of the given country
--   codes, using the "ISO 3166-1 alpha-2" format (examples: "US", "us",
--   "Us").
aalTerritories :: Lens' AccountsAvailsList [Text]

-- | REQUIRED. See _General rules_ for more information about this field.
aalAccountId :: Lens' AccountsAvailsList Text

-- | OAuth bearer token.
aalBearerToken :: Lens' AccountsAvailsList (Maybe Text)

-- | Filter Avails that match (case-insensitive) any of the given
--   partner-specific custom ids.
aalAltIds :: Lens' AccountsAvailsList [Text]

-- | See _List methods rules_ for info about this field.
aalPageToken :: Lens' AccountsAvailsList (Maybe Text)

-- | Filter that matches Avails with a `title_internal_alias`,
--   `series_title_internal_alias`, `season_title_internal_alias`, or
--   `episode_title_internal_alias` that contains the given
--   case-insensitive title.
aalTitle :: Lens' AccountsAvailsList (Maybe Text)

-- | See _List methods rules_ for info about this field.
aalPageSize :: Lens' AccountsAvailsList (Maybe Int32)

-- | JSONP
aalCallback :: Lens' AccountsAvailsList (Maybe Text)
instance GHC.Generics.Generic Network.Google.Resource.PlayMoviesPartner.Accounts.Avails.List.AccountsAvailsList
instance Data.Data.Data Network.Google.Resource.PlayMoviesPartner.Accounts.Avails.List.AccountsAvailsList
instance GHC.Show.Show Network.Google.Resource.PlayMoviesPartner.Accounts.Avails.List.AccountsAvailsList
instance GHC.Classes.Eq Network.Google.Resource.PlayMoviesPartner.Accounts.Avails.List.AccountsAvailsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.PlayMoviesPartner.Accounts.Avails.List.AccountsAvailsList


-- | Get an Order given its id. See _Authentication and Authorization
--   rules_ and _Get methods rules_ for more information about this method.
--   
--   <i>See:</i> <a>Google Play Movies Partner API Reference</a> for
--   <tt>playmoviespartner.accounts.orders.get</tt>.
module Network.Google.Resource.PlayMoviesPartner.Accounts.Orders.Get

-- | A resource alias for <tt>playmoviespartner.accounts.orders.get</tt>
--   method which the <a>AccountsOrdersGet</a> request conforms to.
type AccountsOrdersGetResource = "v1" :> ("accounts" :> (Capture "accountId" Text :> ("orders" :> (Capture "orderId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Order))))))))))))

-- | Creates a value of <a>AccountsOrdersGet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aogXgafv</a></li>
--   <li><a>aogUploadProtocol</a></li>
--   <li><a>aogPp</a></li>
--   <li><a>aogAccessToken</a></li>
--   <li><a>aogUploadType</a></li>
--   <li><a>aogAccountId</a></li>
--   <li><a>aogBearerToken</a></li>
--   <li><a>aogOrderId</a></li>
--   <li><a>aogCallback</a></li>
--   </ul>
accountsOrdersGet :: Text -> Text -> AccountsOrdersGet

-- | Get an Order given its id. See _Authentication and Authorization
--   rules_ and _Get methods rules_ for more information about this method.
--   
--   <i>See:</i> <a>accountsOrdersGet</a> smart constructor.
data AccountsOrdersGet

-- | V1 error format.
aogXgafv :: Lens' AccountsOrdersGet (Maybe Text)

-- | Upload protocol for media (e.g. "raw", "multipart").
aogUploadProtocol :: Lens' AccountsOrdersGet (Maybe Text)

-- | Pretty-print response.
aogPp :: Lens' AccountsOrdersGet Bool

-- | OAuth access token.
aogAccessToken :: Lens' AccountsOrdersGet (Maybe Text)

-- | Legacy upload protocol for media (e.g. "media", "multipart").
aogUploadType :: Lens' AccountsOrdersGet (Maybe Text)

-- | REQUIRED. See _General rules_ for more information about this field.
aogAccountId :: Lens' AccountsOrdersGet Text

-- | OAuth bearer token.
aogBearerToken :: Lens' AccountsOrdersGet (Maybe Text)

-- | REQUIRED. Order ID.
aogOrderId :: Lens' AccountsOrdersGet Text

-- | JSONP
aogCallback :: Lens' AccountsOrdersGet (Maybe Text)
instance GHC.Generics.Generic Network.Google.Resource.PlayMoviesPartner.Accounts.Orders.Get.AccountsOrdersGet
instance Data.Data.Data Network.Google.Resource.PlayMoviesPartner.Accounts.Orders.Get.AccountsOrdersGet
instance GHC.Show.Show Network.Google.Resource.PlayMoviesPartner.Accounts.Orders.Get.AccountsOrdersGet
instance GHC.Classes.Eq Network.Google.Resource.PlayMoviesPartner.Accounts.Orders.Get.AccountsOrdersGet
instance Network.Google.Types.GoogleRequest Network.Google.Resource.PlayMoviesPartner.Accounts.Orders.Get.AccountsOrdersGet


-- | List Orders owned or managed by the partner. See _Authentication and
--   Authorization rules_ and _List methods rules_ for more information
--   about this method.
--   
--   <i>See:</i> <a>Google Play Movies Partner API Reference</a> for
--   <tt>playmoviespartner.accounts.orders.list</tt>.
module Network.Google.Resource.PlayMoviesPartner.Accounts.Orders.List

-- | A resource alias for <tt>playmoviespartner.accounts.orders.list</tt>
--   method which the <a>AccountsOrdersList</a> request conforms to.
type AccountsOrdersListResource = "v1" :> ("accounts" :> (Capture "accountId" Text :> ("orders" :> (QueryParams "status" Text :> (QueryParams "pphNames" Text :> (QueryParam "$.xgafv" Text :> (QueryParams "studioNames" Text :> (QueryParams "videoIds" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "customId" Text :> (QueryParam "bearer_token" Text :> (QueryParam "name" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListOrdersResponse)))))))))))))))))))

-- | Creates a value of <a>AccountsOrdersList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aolStatus</a></li>
--   <li><a>aolPphNames</a></li>
--   <li><a>aolXgafv</a></li>
--   <li><a>aolStudioNames</a></li>
--   <li><a>aolVideoIds</a></li>
--   <li><a>aolUploadProtocol</a></li>
--   <li><a>aolPp</a></li>
--   <li><a>aolAccessToken</a></li>
--   <li><a>aolUploadType</a></li>
--   <li><a>aolCustomId</a></li>
--   <li><a>aolAccountId</a></li>
--   <li><a>aolBearerToken</a></li>
--   <li><a>aolName</a></li>
--   <li><a>aolPageToken</a></li>
--   <li><a>aolPageSize</a></li>
--   <li><a>aolCallback</a></li>
--   </ul>
accountsOrdersList :: Text -> AccountsOrdersList

-- | List Orders owned or managed by the partner. See _Authentication and
--   Authorization rules_ and _List methods rules_ for more information
--   about this method.
--   
--   <i>See:</i> <a>accountsOrdersList</a> smart constructor.
data AccountsOrdersList

-- | Filter Orders that match one of the given status.
aolStatus :: Lens' AccountsOrdersList [Text]

-- | See _List methods rules_ for info about this field.
aolPphNames :: Lens' AccountsOrdersList [Text]

-- | V1 error format.
aolXgafv :: Lens' AccountsOrdersList (Maybe Text)

-- | See _List methods rules_ for info about this field.
aolStudioNames :: Lens' AccountsOrdersList [Text]

-- | Filter Orders that match any of the given `video_id`s.
aolVideoIds :: Lens' AccountsOrdersList [Text]

-- | Upload protocol for media (e.g. "raw", "multipart").
aolUploadProtocol :: Lens' AccountsOrdersList (Maybe Text)

-- | Pretty-print response.
aolPp :: Lens' AccountsOrdersList Bool

-- | OAuth access token.
aolAccessToken :: Lens' AccountsOrdersList (Maybe Text)

-- | Legacy upload protocol for media (e.g. "media", "multipart").
aolUploadType :: Lens' AccountsOrdersList (Maybe Text)

-- | Filter Orders that match a case-insensitive, partner-specific custom
--   id.
aolCustomId :: Lens' AccountsOrdersList (Maybe Text)

-- | REQUIRED. See _General rules_ for more information about this field.
aolAccountId :: Lens' AccountsOrdersList Text

-- | OAuth bearer token.
aolBearerToken :: Lens' AccountsOrdersList (Maybe Text)

-- | Filter that matches Orders with a `name`, `show`, `season` or
--   `episode` that contains the given case-insensitive name.
aolName :: Lens' AccountsOrdersList (Maybe Text)

-- | See _List methods rules_ for info about this field.
aolPageToken :: Lens' AccountsOrdersList (Maybe Text)

-- | See _List methods rules_ for info about this field.
aolPageSize :: Lens' AccountsOrdersList (Maybe Int32)

-- | JSONP
aolCallback :: Lens' AccountsOrdersList (Maybe Text)
instance GHC.Generics.Generic Network.Google.Resource.PlayMoviesPartner.Accounts.Orders.List.AccountsOrdersList
instance Data.Data.Data Network.Google.Resource.PlayMoviesPartner.Accounts.Orders.List.AccountsOrdersList
instance GHC.Show.Show Network.Google.Resource.PlayMoviesPartner.Accounts.Orders.List.AccountsOrdersList
instance GHC.Classes.Eq Network.Google.Resource.PlayMoviesPartner.Accounts.Orders.List.AccountsOrdersList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.PlayMoviesPartner.Accounts.Orders.List.AccountsOrdersList


-- | Get a StoreInfo given its video id and country. See _Authentication
--   and Authorization rules_ and _Get methods rules_ for more information
--   about this method.
--   
--   <i>See:</i> <a>Google Play Movies Partner API Reference</a> for
--   <tt>playmoviespartner.accounts.storeInfos.country.get</tt>.
module Network.Google.Resource.PlayMoviesPartner.Accounts.StoreInfos.Country.Get

-- | A resource alias for
--   <tt>playmoviespartner.accounts.storeInfos.country.get</tt> method
--   which the <a>AccountsStoreInfosCountryGet</a> request conforms to.
type AccountsStoreInfosCountryGetResource = "v1" :> ("accounts" :> (Capture "accountId" Text :> ("storeInfos" :> (Capture "videoId" Text :> ("country" :> (Capture "country" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] StoreInfo))))))))))))))

-- | Creates a value of <a>AccountsStoreInfosCountryGet</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asicgXgafv</a></li>
--   <li><a>asicgUploadProtocol</a></li>
--   <li><a>asicgCountry</a></li>
--   <li><a>asicgPp</a></li>
--   <li><a>asicgAccessToken</a></li>
--   <li><a>asicgUploadType</a></li>
--   <li><a>asicgVideoId</a></li>
--   <li><a>asicgAccountId</a></li>
--   <li><a>asicgBearerToken</a></li>
--   <li><a>asicgCallback</a></li>
--   </ul>
accountsStoreInfosCountryGet :: Text -> Text -> Text -> AccountsStoreInfosCountryGet

-- | Get a StoreInfo given its video id and country. See _Authentication
--   and Authorization rules_ and _Get methods rules_ for more information
--   about this method.
--   
--   <i>See:</i> <a>accountsStoreInfosCountryGet</a> smart constructor.
data AccountsStoreInfosCountryGet

-- | V1 error format.
asicgXgafv :: Lens' AccountsStoreInfosCountryGet (Maybe Text)

-- | Upload protocol for media (e.g. "raw", "multipart").
asicgUploadProtocol :: Lens' AccountsStoreInfosCountryGet (Maybe Text)

-- | REQUIRED. Edit country.
asicgCountry :: Lens' AccountsStoreInfosCountryGet Text

-- | Pretty-print response.
asicgPp :: Lens' AccountsStoreInfosCountryGet Bool

-- | OAuth access token.
asicgAccessToken :: Lens' AccountsStoreInfosCountryGet (Maybe Text)

-- | Legacy upload protocol for media (e.g. "media", "multipart").
asicgUploadType :: Lens' AccountsStoreInfosCountryGet (Maybe Text)

-- | REQUIRED. Video ID.
asicgVideoId :: Lens' AccountsStoreInfosCountryGet Text

-- | REQUIRED. See _General rules_ for more information about this field.
asicgAccountId :: Lens' AccountsStoreInfosCountryGet Text

-- | OAuth bearer token.
asicgBearerToken :: Lens' AccountsStoreInfosCountryGet (Maybe Text)

-- | JSONP
asicgCallback :: Lens' AccountsStoreInfosCountryGet (Maybe Text)
instance GHC.Generics.Generic Network.Google.Resource.PlayMoviesPartner.Accounts.StoreInfos.Country.Get.AccountsStoreInfosCountryGet
instance Data.Data.Data Network.Google.Resource.PlayMoviesPartner.Accounts.StoreInfos.Country.Get.AccountsStoreInfosCountryGet
instance GHC.Show.Show Network.Google.Resource.PlayMoviesPartner.Accounts.StoreInfos.Country.Get.AccountsStoreInfosCountryGet
instance GHC.Classes.Eq Network.Google.Resource.PlayMoviesPartner.Accounts.StoreInfos.Country.Get.AccountsStoreInfosCountryGet
instance Network.Google.Types.GoogleRequest Network.Google.Resource.PlayMoviesPartner.Accounts.StoreInfos.Country.Get.AccountsStoreInfosCountryGet


-- | List StoreInfos owned or managed by the partner. See _Authentication
--   and Authorization rules_ and _List methods rules_ for more information
--   about this method.
--   
--   <i>See:</i> <a>Google Play Movies Partner API Reference</a> for
--   <tt>playmoviespartner.accounts.storeInfos.list</tt>.
module Network.Google.Resource.PlayMoviesPartner.Accounts.StoreInfos.List

-- | A resource alias for
--   <tt>playmoviespartner.accounts.storeInfos.list</tt> method which the
--   <a>AccountsStoreInfosList</a> request conforms to.
type AccountsStoreInfosListResource = "v1" :> ("accounts" :> (Capture "accountId" Text :> ("storeInfos" :> (QueryParams "pphNames" Text :> (QueryParam "$.xgafv" Text :> (QueryParams "studioNames" Text :> (QueryParams "videoIds" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParams "seasonIds" Text :> (QueryParams "mids" Text :> (QueryParam "uploadType" Text :> (QueryParams "countries" Text :> (QueryParam "videoId" Text :> (QueryParam "bearer_token" Text :> (QueryParam "name" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListStoreInfosResponse)))))))))))))))))))))

-- | Creates a value of <a>AccountsStoreInfosList</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asilPphNames</a></li>
--   <li><a>asilXgafv</a></li>
--   <li><a>asilStudioNames</a></li>
--   <li><a>asilVideoIds</a></li>
--   <li><a>asilUploadProtocol</a></li>
--   <li><a>asilPp</a></li>
--   <li><a>asilAccessToken</a></li>
--   <li><a>asilSeasonIds</a></li>
--   <li><a>asilMids</a></li>
--   <li><a>asilUploadType</a></li>
--   <li><a>asilCountries</a></li>
--   <li><a>asilVideoId</a></li>
--   <li><a>asilAccountId</a></li>
--   <li><a>asilBearerToken</a></li>
--   <li><a>asilName</a></li>
--   <li><a>asilPageToken</a></li>
--   <li><a>asilPageSize</a></li>
--   <li><a>asilCallback</a></li>
--   </ul>
accountsStoreInfosList :: Text -> AccountsStoreInfosList

-- | List StoreInfos owned or managed by the partner. See _Authentication
--   and Authorization rules_ and _List methods rules_ for more information
--   about this method.
--   
--   <i>See:</i> <a>accountsStoreInfosList</a> smart constructor.
data AccountsStoreInfosList

-- | See _List methods rules_ for info about this field.
asilPphNames :: Lens' AccountsStoreInfosList [Text]

-- | V1 error format.
asilXgafv :: Lens' AccountsStoreInfosList (Maybe Text)

-- | See _List methods rules_ for info about this field.
asilStudioNames :: Lens' AccountsStoreInfosList [Text]

-- | Filter StoreInfos that match any of the given `video_id`s.
asilVideoIds :: Lens' AccountsStoreInfosList [Text]

-- | Upload protocol for media (e.g. "raw", "multipart").
asilUploadProtocol :: Lens' AccountsStoreInfosList (Maybe Text)

-- | Pretty-print response.
asilPp :: Lens' AccountsStoreInfosList Bool

-- | OAuth access token.
asilAccessToken :: Lens' AccountsStoreInfosList (Maybe Text)

-- | Filter StoreInfos that match any of the given `season_id`s.
asilSeasonIds :: Lens' AccountsStoreInfosList [Text]

-- | Filter StoreInfos that match any of the given `mid`s.
asilMids :: Lens' AccountsStoreInfosList [Text]

-- | Legacy upload protocol for media (e.g. "media", "multipart").
asilUploadType :: Lens' AccountsStoreInfosList (Maybe Text)

-- | Filter StoreInfos that match (case-insensitive) any of the given
--   country codes, using the "ISO 3166-1 alpha-2" format (examples: "US",
--   "us", "Us").
asilCountries :: Lens' AccountsStoreInfosList [Text]

-- | Filter StoreInfos that match a given `video_id`. NOTE: this field is
--   deprecated and will be removed on V2; `video_ids` should be used
--   instead.
asilVideoId :: Lens' AccountsStoreInfosList (Maybe Text)

-- | REQUIRED. See _General rules_ for more information about this field.
asilAccountId :: Lens' AccountsStoreInfosList Text

-- | OAuth bearer token.
asilBearerToken :: Lens' AccountsStoreInfosList (Maybe Text)

-- | Filter that matches StoreInfos with a `name` or `show_name` that
--   contains the given case-insensitive name.
asilName :: Lens' AccountsStoreInfosList (Maybe Text)

-- | See _List methods rules_ for info about this field.
asilPageToken :: Lens' AccountsStoreInfosList (Maybe Text)

-- | See _List methods rules_ for info about this field.
asilPageSize :: Lens' AccountsStoreInfosList (Maybe Int32)

-- | JSONP
asilCallback :: Lens' AccountsStoreInfosList (Maybe Text)
instance GHC.Generics.Generic Network.Google.Resource.PlayMoviesPartner.Accounts.StoreInfos.List.AccountsStoreInfosList
instance Data.Data.Data Network.Google.Resource.PlayMoviesPartner.Accounts.StoreInfos.List.AccountsStoreInfosList
instance GHC.Show.Show Network.Google.Resource.PlayMoviesPartner.Accounts.StoreInfos.List.AccountsStoreInfosList
instance GHC.Classes.Eq Network.Google.Resource.PlayMoviesPartner.Accounts.StoreInfos.List.AccountsStoreInfosList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.PlayMoviesPartner.Accounts.StoreInfos.List.AccountsStoreInfosList


-- | Gets the delivery status of titles for Google Play Movies Partners.
--   
--   <i>See:</i> <a>Google Play Movies Partner API Reference</a>
module Network.Google.PlayMoviesPartner

-- | Default request referring to version <tt>v1</tt> of the Google Play
--   Movies Partner API. This contains the host and root path used as a
--   starting point for constructing service requests.
playMoviesPartnerService :: ServiceConfig

-- | View the digital assets you publish on Google Play Movies and TV
playmoviesPartnerReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/playmovies_partner.readonly"]

-- | Represents the entirety of the methods and resources available for the
--   Google Play Movies Partner API service.
type PlayMoviesPartnerAPI = AccountsAvailsListResource :<|> (AccountsAvailsGetResource :<|> (AccountsStoreInfosCountryGetResource :<|> (AccountsStoreInfosListResource :<|> (AccountsOrdersListResource :<|> AccountsOrdersGetResource))))

-- | An Avail describes the Availability Window of a specific Edit in a
--   given country, which means the period Google is allowed to sell or
--   rent the Edit. Avails are exposed in EMA format Version 1.6b
--   (available at http://www.movielabs.com/md/avails/) Studios can see the
--   Avails for the Titles they own. Post-production houses cannot see any
--   Avails.
--   
--   <i>See:</i> <a>avail</a> smart constructor.
data Avail

-- | Creates a value of <a>Avail</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aAltId</a></li>
--   <li><a>aPphNames</a></li>
--   <li><a>aCaptionExemption</a></li>
--   <li><a>aRatingSystem</a></li>
--   <li><a>aSuppressionLiftDate</a></li>
--   <li><a>aEpisodeNumber</a></li>
--   <li><a>aPriceType</a></li>
--   <li><a>aStoreLanguage</a></li>
--   <li><a>aEpisodeAltId</a></li>
--   <li><a>aStart</a></li>
--   <li><a>aTerritory</a></li>
--   <li><a>aEpisodeTitleInternalAlias</a></li>
--   <li><a>aLicenseType</a></li>
--   <li><a>aAvailId</a></li>
--   <li><a>aSeasonNumber</a></li>
--   <li><a>aWorkType</a></li>
--   <li><a>aRatingValue</a></li>
--   <li><a>aSeasonTitleInternalAlias</a></li>
--   <li><a>aContentId</a></li>
--   <li><a>aVideoId</a></li>
--   <li><a>aSeriesAltId</a></li>
--   <li><a>aEnd</a></li>
--   <li><a>aSeriesTitleInternalAlias</a></li>
--   <li><a>aDisplayName</a></li>
--   <li><a>aReleaseDate</a></li>
--   <li><a>aFormatProFile</a></li>
--   <li><a>aRatingReason</a></li>
--   <li><a>aEncodeId</a></li>
--   <li><a>aPriceValue</a></li>
--   <li><a>aCaptionIncluded</a></li>
--   <li><a>aProductId</a></li>
--   <li><a>aSeasonAltId</a></li>
--   <li><a>aTitleInternalAlias</a></li>
--   </ul>
avail :: Avail

-- | Other identifier referring to the Edit, as defined by partner.
--   Example: "GOOGLER_2006"
aAltId :: Lens' Avail (Maybe Text)

-- | Name of the post-production houses that manage the Avail. Not part of
--   EMA Specs.
aPphNames :: Lens' Avail [Text]

-- | Communicating an exempt category as defined by FCC regulations. It is
--   not required for non-US Avails. Example: "1"
aCaptionExemption :: Lens' Avail (Maybe Text)

-- | Rating system applied to the version of title within territory of
--   Avail. Rating systems should be formatted as per <a>EMA ratings
--   spec</a> Example: "MPAA"
aRatingSystem :: Lens' Avail (Maybe Text)

-- | First date an Edit could be publically announced as becoming available
--   at a specific future date in territory of Avail. *Not* the Avail start
--   date or pre-order start date. Format is YYYY-MM-DD. Only available for
--   pre-orders. Example: "2012-12-10"
aSuppressionLiftDate :: Lens' Avail (Maybe Text)

-- | The number assigned to the episode within a season. Only available on
--   TV Avails. Example: "3".
aEpisodeNumber :: Lens' Avail (Maybe Text)

-- | Type of pricing that should be applied to this Avail based on how the
--   partner classify them. Example: "Tier", "WSP", "SRP", or "Category".
aPriceType :: Lens' Avail (Maybe Text)

-- | Spoken language of the intended audience. Language shall be encoded in
--   accordance with RFC 5646. Example: "fr".
aStoreLanguage :: Lens' Avail (Maybe Text)

-- | Other identifier referring to the episode, as defined by partner. Only
--   available on TV avails. Example: "rs_googlers_s1_3".
aEpisodeAltId :: Lens' Avail (Maybe Text)

-- | Start of term in YYYY-MM-DD format in the timezone of the country of
--   the Avail. Example: "2013-05-14".
aStart :: Lens' Avail (Maybe Text)

-- | ISO 3166-1 alpha-2 country code for the country or territory of this
--   Avail. For Avails, we use Territory in lieu of Country to comply with
--   EMA specifications. But please note that Territory and Country
--   identify the same thing. Example: "US".
aTerritory :: Lens' Avail (Maybe Text)

-- | OPTIONAL.TV Only. Title used by involved parties to refer to this
--   episode. Only available on TV Avails. Example: "Coding at Google".
aEpisodeTitleInternalAlias :: Lens' Avail (Maybe Text)

-- | Type of transaction.
aLicenseType :: Lens' Avail (Maybe Text)

-- | ID internally generated by Google to uniquely identify an Avail. Not
--   part of EMA Specs.
aAvailId :: Lens' Avail (Maybe Text)

-- | The number assigned to the season within a series. Only available on
--   TV Avails. Example: "1".
aSeasonNumber :: Lens' Avail (Maybe Text)

-- | Work type as enumerated in EMA.
aWorkType :: Lens' Avail (Maybe Text)

-- | Value representing the rating. Ratings should be formatted as per
--   http://www.movielabs.com/md/ratings/ Example: "PG"
aRatingValue :: Lens' Avail (Maybe Text)

-- | Title used by involved parties to refer to this season. Only available
--   on TV Avails. Example: "Googlers, The".
aSeasonTitleInternalAlias :: Lens' Avail (Maybe Text)

-- | Title Identifier. This should be the Title Level EIDR. Example:
--   "10.5240/1489-49A2-3956-4B2D-FE16-5".
aContentId :: Lens' Avail (Maybe Text)

-- | Google-generated ID identifying the video linked to this Avail, once
--   delivered. Not part of EMA Specs. Example: 'gtry456_xc'
aVideoId :: Lens' Avail (Maybe Text)

-- | Other identifier referring to the series, as defined by partner. Only
--   available on TV avails. Example: "rs_googlers".
aSeriesAltId :: Lens' Avail (Maybe Text)

-- | End of term in YYYY-MM-DD format in the timezone of the country of the
--   Avail. "Open" if no end date is available. Example: "2019-02-17"
aEnd :: Lens' Avail (Maybe Text)

-- | Title used by involved parties to refer to this series. Only available
--   on TV Avails. Example: "Googlers, The".
aSeriesTitleInternalAlias :: Lens' Avail (Maybe Text)

-- | The name of the studio that owns the Edit referred in the Avail. This
--   is the equivalent of `studio_name` in other resources, but it follows
--   the EMA nomenclature. Example: "Google Films".
aDisplayName :: Lens' Avail (Maybe Text)

-- | Release date of the Title in earliest released territory. Typically it
--   is just the year, but it is free-form as per EMA spec. Examples:
--   "1979", "Oct 2014"
aReleaseDate :: Lens' Avail (Maybe Text)

-- | Indicates the format profile covered by the transaction.
aFormatProFile :: Lens' Avail (Maybe Text)

-- | Value representing the rating reason. Rating reasons should be
--   formatted as per <a>EMA ratings spec</a> and comma-separated for
--   inclusion of multiple reasons. Example: "L, S, V"
aRatingReason :: Lens' Avail (Maybe Text)

-- | Manifestation Identifier. This should be the Manifestation Level EIDR.
--   Example: "10.2340/1489-49A2-3956-4B2D-FE16-7"
aEncodeId :: Lens' Avail (Maybe Text)

-- | Value to be applied to the pricing type. Example: "4" or "2.99"
aPriceValue :: Lens' Avail (Maybe Text)

-- | Communicating if caption file will be delivered.
aCaptionIncluded :: Lens' Avail (Maybe Bool)

-- | Edit Identifier. This should be the Edit Level EIDR. Example:
--   "10.2340/1489-49A2-3956-4B2D-FE16-6"
aProductId :: Lens' Avail (Maybe Text)

-- | Other identifier referring to the season, as defined by partner. Only
--   available on TV avails. Example: "rs_googlers_s1".
aSeasonAltId :: Lens' Avail (Maybe Text)

-- | Title used by involved parties to refer to this content. Example:
--   "Googlers, The". Only available on Movie Avails.
aTitleInternalAlias :: Lens' Avail (Maybe Text)

-- | Response to the 'ListAvails' method.
--   
--   <i>See:</i> <a>listAvailsResponse</a> smart constructor.
data ListAvailsResponse

-- | Creates a value of <a>ListAvailsResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>larNextPageToken</a></li>
--   <li><a>larAvails</a></li>
--   <li><a>larTotalSize</a></li>
--   </ul>
listAvailsResponse :: ListAvailsResponse

-- | See _List methods rules_ for info about this field.
larNextPageToken :: Lens' ListAvailsResponse (Maybe Text)

-- | List of Avails that match the request criteria.
larAvails :: Lens' ListAvailsResponse [Avail]

-- | See _List methods rules_ for more information about this field.
larTotalSize :: Lens' ListAvailsResponse (Maybe Int32)

-- | Response to the 'ListOrders' method.
--   
--   <i>See:</i> <a>listOrdersResponse</a> smart constructor.
data ListOrdersResponse

-- | Creates a value of <a>ListOrdersResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lorNextPageToken</a></li>
--   <li><a>lorTotalSize</a></li>
--   <li><a>lorOrders</a></li>
--   </ul>
listOrdersResponse :: ListOrdersResponse

-- | See _List methods rules_ for info about this field.
lorNextPageToken :: Lens' ListOrdersResponse (Maybe Text)

-- | See _List methods rules_ for more information about this field.
lorTotalSize :: Lens' ListOrdersResponse (Maybe Int32)

-- | List of Orders that match the request criteria.
lorOrders :: Lens' ListOrdersResponse [Order]

-- | Response to the 'ListStoreInfos' method.
--   
--   <i>See:</i> <a>listStoreInfosResponse</a> smart constructor.
data ListStoreInfosResponse

-- | Creates a value of <a>ListStoreInfosResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lsirNextPageToken</a></li>
--   <li><a>lsirTotalSize</a></li>
--   <li><a>lsirStoreInfos</a></li>
--   </ul>
listStoreInfosResponse :: ListStoreInfosResponse

-- | See 'List methods rules' for info about this field.
lsirNextPageToken :: Lens' ListStoreInfosResponse (Maybe Text)

-- | See _List methods rules_ for more information about this field.
lsirTotalSize :: Lens' ListStoreInfosResponse (Maybe Int32)

-- | List of StoreInfos that match the request criteria.
lsirStoreInfos :: Lens' ListStoreInfosResponse [StoreInfo]

-- | An Order tracks the fulfillment of an Edit when delivered using the
--   legacy, non-component-based delivery. Each Order is uniquely
--   identified by an `order_id`, which is generated by Google. Externally,
--   Orders can also be identified by partners using its `custom_id` (when
--   provided).
--   
--   <i>See:</i> <a>order</a> smart constructor.
data Order

-- | Creates a value of <a>Order</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>oStatus</a></li>
--   <li><a>oShowName</a></li>
--   <li><a>oPphName</a></li>
--   <li><a>oEarliestAvailStartTime</a></li>
--   <li><a>oStudioName</a></li>
--   <li><a>oReceivedTime</a></li>
--   <li><a>oPriority</a></li>
--   <li><a>oChannelId</a></li>
--   <li><a>oCustomId</a></li>
--   <li><a>oApprovedTime</a></li>
--   <li><a>oCountries</a></li>
--   <li><a>oChannelName</a></li>
--   <li><a>oVideoId</a></li>
--   <li><a>oLegacyPriority</a></li>
--   <li><a>oName</a></li>
--   <li><a>oRejectionNote</a></li>
--   <li><a>oOrderedTime</a></li>
--   <li><a>oSeasonName</a></li>
--   <li><a>oStatusDetail</a></li>
--   <li><a>oType</a></li>
--   <li><a>oNormalizedPriority</a></li>
--   <li><a>oOrderId</a></li>
--   <li><a>oEpisodeName</a></li>
--   </ul>
order :: Order

-- | High-level status of the order.
oStatus :: Lens' Order (Maybe Text)

-- | Default Show name, usually in the language of the country of origin.
--   Only available for TV Edits Example: "Googlers, The".
oShowName :: Lens' Order (Maybe Text)

-- | Name of the post-production house that manages the Edit ordered.
oPphName :: Lens' Order (Maybe Text)

-- | Timestamp of the earliest start date of the Avails linked to this
--   Order.
oEarliestAvailStartTime :: Lens' Order (Maybe Text)

-- | Name of the studio that owns the Edit ordered.
oStudioName :: Lens' Order (Maybe Text)

-- | Timestamp when the Order was fulfilled.
oReceivedTime :: Lens' Order (Maybe Text)

-- | Order priority, as defined by Google. The higher the value, the higher
--   the priority. Example: 90
oPriority :: Lens' Order (Maybe Double)

-- | YouTube Channel ID that should be used to fulfill the Order. Example:
--   "UCRG64darCZhb".
oChannelId :: Lens' Order (Maybe Text)

-- | ID that can be used to externally identify an Order. This ID is
--   provided by partners when submitting the Avails. Example:
--   'GOOGLER_2006'
oCustomId :: Lens' Order (Maybe Text)

-- | Timestamp when the Order was approved.
oApprovedTime :: Lens' Order (Maybe Text)

-- | Countries where the Order is available, using the "ISO 3166-1 alpha-2"
--   format (example: "US").
oCountries :: Lens' Order [Text]

-- | YouTube Channel Name that should be used to fulfill the Order.
--   Example: "Google_channel".
oChannelName :: Lens' Order (Maybe Text)

-- | Google-generated ID identifying the video linked to this Order, once
--   delivered. Example: 'gtry456_xc'.
oVideoId :: Lens' Order (Maybe Text)

-- | Legacy Order priority, as defined by Google. Example: 'P0'
oLegacyPriority :: Lens' Order (Maybe Text)

-- | Default Edit name, usually in the language of the country of origin.
--   Example: "Googlers, The".
oName :: Lens' Order (Maybe Text)

-- | Field explaining why an Order has been rejected. Example: "Trailer
--   audio is 2ch mono, please re-deliver in stereo".
oRejectionNote :: Lens' Order (Maybe Text)

-- | Timestamp when the Order was created.
oOrderedTime :: Lens' Order (Maybe Text)

-- | Default Season name, usually in the language of the country of origin.
--   Only available for TV Edits Example: "Googlers, The - A Brave New
--   World".
oSeasonName :: Lens' Order (Maybe Text)

-- | Detailed status of the order
oStatusDetail :: Lens' Order (Maybe Text)

-- | Type of the Edit linked to the Order.
oType :: Lens' Order (Maybe Text)

-- | A simpler representation of the priority.
oNormalizedPriority :: Lens' Order (Maybe Text)

-- | ID internally generated by Google to uniquely identify an Order.
--   Example: 'abcde12_x'
oOrderId :: Lens' Order (Maybe Text)

-- | Default Episode name, usually in the language of the country of
--   origin. Only available for TV Edits Example: "Googlers, The - Pilot".
oEpisodeName :: Lens' Order (Maybe Text)

-- | Information about a playable sequence (video) associated with an Edit
--   and available at the Google Play Store. Internally, each StoreInfo is
--   uniquely identified by a `video_id` and `country`. Externally,
--   Title-level EIDR or Edit-level EIDR, if provided, can also be used to
--   identify a specific title or edit in a country.
--   
--   <i>See:</i> <a>storeInfo</a> smart constructor.
data StoreInfo

-- | Creates a value of <a>StoreInfo</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>siTitleLevelEidr</a></li>
--   <li><a>siPphNames</a></li>
--   <li><a>siShowName</a></li>
--   <li><a>siSubtitles</a></li>
--   <li><a>siStudioName</a></li>
--   <li><a>siAudioTracks</a></li>
--   <li><a>siEpisodeNumber</a></li>
--   <li><a>siCountry</a></li>
--   <li><a>siTrailerId</a></li>
--   <li><a>siHasInfoCards</a></li>
--   <li><a>siLiveTime</a></li>
--   <li><a>siSeasonNumber</a></li>
--   <li><a>siHasHdOffer</a></li>
--   <li><a>siVideoId</a></li>
--   <li><a>siName</a></li>
--   <li><a>siHasVodOffer</a></li>
--   <li><a>siSeasonName</a></li>
--   <li><a>siHasSdOffer</a></li>
--   <li><a>siMid</a></li>
--   <li><a>siEditLevelEidr</a></li>
--   <li><a>siType</a></li>
--   <li><a>siHasEstOffer</a></li>
--   <li><a>siHasAudio51</a></li>
--   <li><a>siSeasonId</a></li>
--   <li><a>siShowId</a></li>
--   </ul>
storeInfo :: StoreInfo

-- | Title-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-5".
siTitleLevelEidr :: Lens' StoreInfo (Maybe Text)

-- | Name of the post-production houses that manage the Edit.
siPphNames :: Lens' StoreInfo [Text]

-- | Default Show name, usually in the language of the country of origin.
--   Only available for TV Edits Example: "Googlers, The".
siShowName :: Lens' StoreInfo (Maybe Text)

-- | Subtitles available for this Edit.
siSubtitles :: Lens' StoreInfo [Text]

-- | Name of the studio that owns the Edit ordered.
siStudioName :: Lens' StoreInfo (Maybe Text)

-- | Audio tracks available for this Edit.
siAudioTracks :: Lens' StoreInfo [Text]

-- | The number assigned to the episode within a season. Only available on
--   TV Edits. Example: "1".
siEpisodeNumber :: Lens' StoreInfo (Maybe Text)

-- | Country where Edit is available in ISO 3166-1 alpha-2 country code.
--   Example: "US".
siCountry :: Lens' StoreInfo (Maybe Text)

-- | Google-generated ID identifying the trailer linked to the Edit.
--   Example: 'bhd_4e_cx'
siTrailerId :: Lens' StoreInfo (Maybe Text)

-- | Whether the Edit has info cards.
siHasInfoCards :: Lens' StoreInfo (Maybe Bool)

-- | Timestamp when the Edit went live on the Store.
siLiveTime :: Lens' StoreInfo (Maybe Text)

-- | The number assigned to the season within a show. Only available on TV
--   Edits. Example: "1".
siSeasonNumber :: Lens' StoreInfo (Maybe Text)

-- | Whether the Edit has a HD offer.
siHasHdOffer :: Lens' StoreInfo (Maybe Bool)

-- | Google-generated ID identifying the video linked to the Edit. Example:
--   'gtry456_xc'
siVideoId :: Lens' StoreInfo (Maybe Text)

-- | Default Edit name, usually in the language of the country of origin.
--   Example: "Googlers, The".
siName :: Lens' StoreInfo (Maybe Text)

-- | Whether the Edit has a VOD offer.
siHasVodOffer :: Lens' StoreInfo (Maybe Bool)

-- | Default Season name, usually in the language of the country of origin.
--   Only available for TV Edits Example: "Googlers, The - A Brave New
--   World".
siSeasonName :: Lens' StoreInfo (Maybe Text)

-- | Whether the Edit has a SD offer.
siHasSdOffer :: Lens' StoreInfo (Maybe Bool)

-- | Knowledge Graph ID associated to this Edit, if available. This ID
--   links the Edit to its knowledge entity, externally accessible at
--   http://freebase.com. In the absense of Title EIDR or Edit EIDR, this
--   ID helps link together multiple Edits across countries. Example:
--   '/m/0ffx29'
siMid :: Lens' StoreInfo (Maybe Text)

-- | Edit-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-6".
siEditLevelEidr :: Lens' StoreInfo (Maybe Text)

-- | Edit type, like Movie, Episode or Season.
siType :: Lens' StoreInfo (Maybe Text)

-- | Whether the Edit has a EST offer.
siHasEstOffer :: Lens' StoreInfo (Maybe Bool)

-- | Whether the Edit has a 5.1 channel audio track.
siHasAudio51 :: Lens' StoreInfo (Maybe Bool)

-- | Google-generated ID identifying the season linked to the Edit. Only
--   available for TV Edits. Example: 'ster23ex'
siSeasonId :: Lens' StoreInfo (Maybe Text)

-- | Google-generated ID identifying the show linked to the Edit. Only
--   available for TV Edits. Example: 'et2hsue_x'
siShowId :: Lens' StoreInfo (Maybe Text)
