{- |Module : Network.HStratus.Http.EndpointsCopyright : (c) 2025 Tim EmiolaMaintainer : Tim Emiola <adetokunbo@emio.la>SPDX-License-Identifier: BSD3Base URLs for the iCloud HTTP API, selected by region.iCloud operates two endpoint sets depending on the user's region:* 'Usual' — targets @icloud.com@; for users outside mainland China.* 'China' — targets @icloud.com.cn@; required for mainland China accounts.Use 'realmEndpoints' to obtain the 'Endpoints' for the appropriate 'Realm',then pass the result to 'Network.HStratus.Http.mkApi' or supply it directly to'Network.HStratus.Http.mkApiWith'.-}module Network.HStratus.Http.Endpoints ( -- * Region selection {- | The two regional iCloud endpoint sets. * 'Usual' — @icloud.com@ family; for users outside mainland China. * 'China' — @icloud.com.cn@ family; required for mainland China accounts. -} Realm (..) -- | Return the 'Endpoints' for the given 'Realm'. , realmEndpoints -- * Endpoint bundle {- | Base URLs and default request templates for the iCloud HTTP API. Passed to 'Network.HStratus.Http.mkApi' or 'Network.HStratus.Http.mkApiWith' to construct properly-targeted API calls. -} , Endpoints (..) )whereimport Network.HStratus.Internal.Endpoints (Endpoints (..), Realm (..), realmEndpoints)