-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Haskell bindings to the RANDOM.ORG Core API -- -- Haskell bindings to the RANDOM.ORG Core API (Release 4). The -- API provides access to a true random number generator (TRNG) based on -- atmospheric noise. -- -- NB: The use of the API's services is subject to the terms and -- conditions of Randomness and Integrity Services Limited. -- -- An example of use of the library is provided in the example -- directory. -- -- This package and its repository have no connection with Randomness and -- Integrity Services Limited or its affilates or the RANDOM.ORG domain. @package RandomDotOrg @version 1.0 -- | Haskell bindings to the RANDOM.ORG Core API (Release 4). The -- API provides access to a true random number generator (TRNG) based on -- atmospheric noise. -- -- NB: The use of the API's services is subject to the terms and -- conditions of Randomness and Integrity Services Limited. -- -- This module has no connection with Randomness and Integrity Services -- Limited or its affilates or the RANDOM.ORG domain. -- -- The Core API comprises the Basic API and the Signed API. module System.Random.Atmospheric.Api -- | This method generates true random integers within a user-defined -- range. If successful, the function yields the random data and the -- advised delay in milliseconds. genIntegers :: Manager -> Key -> Bool -> Int -> Int -> Int -> IO (Maybe ([Int], Int)) -- | This method generates sequences of true random integers within a -- user-defined range. If successful, the function yields the random data -- and the advised delay in milliseconds. genIntegerSequences :: Manager -> Key -> Bool -> Int -> Int -> Int -> Int -> IO (Maybe ([[Int]], Int)) -- | This method generates multiform sequences of true random integers -- within a user-defined range. If successful, the function yields the -- random data and the advised delay in milliseconds. genIntegerSequencesMultiform :: Manager -> Key -> Bool -> Int -> [Int] -> Boundary -> Boundary -> IO (Maybe ([[Int]], Int)) -- | This method generates true random decimal fractions from a uniform -- distribution across the interval [0, 1) with a user-defined number of -- decimal places. If successful, the function yields the random data and -- the advised delay in milliseconds. genDecimalFractions :: Manager -> Key -> Bool -> Int -> Int -> IO (Maybe ([Double], Int)) -- | This method generates true random numbers from a Gaussian distribution -- (also known as a normal distribution). The method uses a Box-Muller -- Transform to generate the Gaussian distribution from uniformly -- distributed numbers. If successful, the function yields the random -- data and the advised delay in milliseconds. genGaussians :: Manager -> Key -> Int -> Double -> Double -> Int -> IO (Maybe ([Double], Int)) -- | This method generates true random strings. If successful, the function -- yields the random data and the advised delay in milliseconds. genStrings :: Manager -> Key -> Bool -> Int -> Int -> [Char] -> IO (Maybe ([Text], Int)) -- | This method generates true random version 4 Universally Unique -- IDentifiers (UUIDs) in accordance with section 4.4 of RFC 4122. If -- successful, the function yields the random data and the advised delay -- in milliseconds. genUUIDs :: Manager -> Key -> Int -> IO (Maybe ([UUID], Int)) -- | This method generates true random Binary Large OBjects (BLOBs). The -- total size of all BLOBs requested must not exceed 131,072 bytes (128 -- kilobytes). If successful, the function yields the random data and the -- advised delay in milliseconds. genBlobs :: Manager -> Key -> Int -> Int -> BlobFormat -> IO (Maybe ([Blob], Int)) -- | This method generates true random integers within a user-defined -- range. genIntegers' :: Manager -> Key -> Bool -> Int -> Int -> Int -> IO (Either ClientError (RndResponse [Int])) -- | This method generates sequences of true random integers within a -- user-defined range. genIntegerSequences' :: Manager -> Key -> Bool -> Int -> Int -> Int -> Int -> IO (Either ClientError (RndResponse [[Int]])) -- | This method generates multiform sequences of true random integers -- within a user-defined range. genIntegerSequencesMultiform' :: Manager -> Key -> Bool -> Int -> [Int] -> Boundary -> Boundary -> IO (Either ClientError (RndResponse [[Int]])) -- | This method generates true random decimal fractions from a uniform -- distribution across the interval [0, 1) with a user-defined number of -- decimal places. genDecimalFractions' :: Manager -> Key -> Bool -> Int -> Int -> IO (Either ClientError (RndResponse [Double])) -- | This method generates true random numbers from a Gaussian distribution -- (also known as a normal distribution). The method uses a Box-Muller -- Transform to generate the Gaussian distribution from uniformly -- distributed numbers. genGaussians' :: Manager -> Key -> Int -> Double -> Double -> Int -> IO (Either ClientError (RndResponse [Double])) -- | This method generates true random strings. genStrings' :: Manager -> Key -> Bool -> Int -> Int -> [Char] -> IO (Either ClientError (RndResponse [Text])) -- | This method generates true random version 4 Universally Unique -- IDentifiers (UUIDs) in accordance with section 4.4 of RFC 4122. genUUIDs' :: Manager -> Key -> Int -> IO (Either ClientError (RndResponse [UUID])) -- | This method generates true random Binary Large OBjects (BLOBs). The -- total size of all BLOBs requested must not exceed 131,072 bytes (128 -- kilobytes). genBlobs' :: Manager -> Key -> Int -> Int -> BlobFormat -> IO (Either ClientError (RndResponse [Blob])) -- | This method generates true random integers within a user-defined -- range. If successful, the function yields the random data and the -- advised delay in milliseconds. genWithSeedIntegers :: Manager -> Key -> Maybe Seed -> Bool -> Int -> Int -> Int -> IO (Maybe ([Int], Int)) -- | This method generates sequences of true random integers within a -- user-defined range. If successful, the function yields the random data -- and the advised delay in milliseconds. genWithSeedIntegerSequences :: Manager -> Key -> Maybe Seed -> Bool -> Int -> Int -> Int -> Int -> IO (Maybe ([[Int]], Int)) -- | This method generates multiform sequences of true random integers -- within a user-defined range. If successful, the function yields the -- random data and the advised delay in milliseconds. genWithSeedIntegerSequencesMultiform :: Manager -> Key -> Maybe Seed -> Bool -> Int -> [Int] -> Boundary -> Boundary -> IO (Maybe ([[Int]], Int)) -- | This method generates true random decimal fractions from a uniform -- distribution across the interval [0, 1) with a user-defined number of -- decimal places. If successful, the function yields the random data and -- the advised delay in milliseconds. genWithSeedDecimalFractions :: Manager -> Key -> Maybe Seed -> Bool -> Int -> Int -> IO (Maybe ([Double], Int)) -- | This method generates true random numbers from a Gaussian distribution -- (also known as a normal distribution). The method uses a Box-Muller -- Transform to generate the Gaussian distribution from uniformly -- distributed numbers. If successful, the function yields the random -- data and the advised delay in milliseconds. genWithSeedGaussians :: Manager -> Key -> Maybe Seed -> Int -> Double -> Double -> Int -> IO (Maybe ([Double], Int)) -- | This method generates true random strings. If successful, the function -- yields the random data and the advised delay in milliseconds. genWithSeedStrings :: Manager -> Key -> Maybe Seed -> Bool -> Int -> Int -> [Char] -> IO (Maybe ([Text], Int)) -- | This method generates true random version 4 Universally Unique -- IDentifiers (UUIDs) in accordance with section 4.4 of RFC 4122. If -- successful, the function yields the random data and the advised delay -- in milliseconds. genWithSeedUUIDs :: Manager -> Key -> Maybe Seed -> Int -> IO (Maybe ([UUID], Int)) -- | This method generates true random Binary Large OBjects (BLOBs). The -- total size of all BLOBs requested must not exceed 131,072 bytes (128 -- kilobytes). If successful, the function yields the random data and the -- advised delay in milliseconds. genWithSeedBlobs :: Manager -> Key -> Maybe Seed -> Int -> Int -> BlobFormat -> IO (Maybe ([Blob], Int)) -- | This method generates true random integers within a user-defined -- range. genWithSeedIntegers' :: Manager -> Key -> Maybe Seed -> Bool -> Int -> Int -> Int -> IO (Either ClientError (RndResponse [Int])) -- | This method generates sequences of true random integers within a -- user-defined range. genWithSeedIntegerSequences' :: Manager -> Key -> Maybe Seed -> Bool -> Int -> Int -> Int -> Int -> IO (Either ClientError (RndResponse [[Int]])) -- | This method generates multiform sequences of true random integers -- within a user-defined range. genWithSeedIntegerSequencesMultiform' :: Manager -> Key -> Maybe Seed -> Bool -> Int -> [Int] -> Boundary -> Boundary -> IO (Either ClientError (RndResponse [[Int]])) -- | This method generates true random decimal fractions from a uniform -- distribution across the interval [0, 1) with a user-defined number of -- decimal places. genWithSeedDecimalFractions' :: Manager -> Key -> Maybe Seed -> Bool -> Int -> Int -> IO (Either ClientError (RndResponse [Double])) -- | This method generates true random numbers from a Gaussian distribution -- (also known as a normal distribution). The method uses a Box-Muller -- Transform to generate the Gaussian distribution from uniformly -- distributed numbers. genWithSeedGaussians' :: Manager -> Key -> Maybe Seed -> Int -> Double -> Double -> Int -> IO (Either ClientError (RndResponse [Double])) -- | This method generates true random strings. genWithSeedStrings' :: Manager -> Key -> Maybe Seed -> Bool -> Int -> Int -> [Char] -> IO (Either ClientError (RndResponse [Text])) -- | This method generates true random version 4 Universally Unique -- IDentifiers (UUIDs) in accordance with section 4.4 of RFC 4122. genWithSeedUUIDs' :: Manager -> Key -> Maybe Seed -> Int -> IO (Either ClientError (RndResponse [UUID])) -- | This method generates true random Binary Large OBjects (BLOBs). The -- total size of all BLOBs requested must not exceed 131,072 bytes (128 -- kilobytes). genWithSeedBlobs' :: Manager -> Key -> Maybe Seed -> Int -> Int -> BlobFormat -> IO (Either ClientError (RndResponse [Blob])) -- | This method generates true random integers within a user-defined -- range. genSignedIntegers :: Manager -> Key -> Maybe LicenseData -> Maybe Object -> Maybe TicketId -> Bool -> Int -> Int -> Int -> IO (ClientSigResponse [Int] GenIntegersParams) -- | This method generates sequences of true random integers within a -- user-defined range. genSignedIntegerSequences :: Manager -> Key -> Maybe LicenseData -> Maybe Object -> Maybe TicketId -> Bool -> Int -> Int -> Int -> Int -> IO (ClientSigResponse [[Int]] GenIntegerSequencesParams) -- | This method generates multiform sequences of true random integers -- within a user-defined range. genSignedIntegerSequencesMultiform :: Manager -> Key -> Maybe LicenseData -> Maybe Object -> Maybe TicketId -> Bool -> Int -> [Int] -> Boundary -> Boundary -> IO (ClientSigResponse [[Int]] GenIntegerSequencesMultiformParams) -- | This method generates true random decimal fractions from a uniform -- distribution across the interval [0, 1) with a user-defined number of -- decimal places. genSignedDecimalFractions :: Manager -> Key -> Maybe LicenseData -> Maybe Object -> Maybe TicketId -> Bool -> Int -> Int -> IO (ClientSigResponse [Double] GenDecimalFractionsParams) -- | This method generates true random numbers from a Gaussian distribution -- (also known as a normal distribution). The method uses a Box-Muller -- Transform to generate the Gaussian distribution from uniformly -- distributed numbers. genSignedGaussians :: Manager -> Key -> Maybe LicenseData -> Maybe Object -> Maybe TicketId -> Int -> Double -> Double -> Int -> IO (ClientSigResponse [Double] GenGaussiansParams) -- | This method generates true random strings. genSignedStrings :: Manager -> Key -> Maybe LicenseData -> Maybe Object -> Maybe TicketId -> Bool -> Int -> Int -> [Char] -> IO (ClientSigResponse [Text] GenStringsParams) -- | This method generates true random version 4 Universally Unique -- IDentifiers (UUIDs) in accordance with section 4.4 of RFC 4122. genSignedUUIDs :: Manager -> Key -> Maybe LicenseData -> Maybe Object -> Maybe TicketId -> Int -> IO (ClientSigResponse [UUID] GenUUIDsParams) -- | This method generates true random Binary Large OBjects (BLOBs). The -- total size of all BLOBs requested must not exceed 131,072 bytes (128 -- kilobytes). genSignedBlobs :: Manager -> Key -> Maybe LicenseData -> Maybe Object -> Maybe TicketId -> Int -> Int -> BlobFormat -> IO (ClientSigResponse [Blob] GenBlobsParams) -- | This method generates true random integers within a user-defined -- range. genWithSeedSignedIntegers :: Manager -> Key -> Maybe Seed -> Maybe LicenseData -> Maybe Object -> Maybe TicketId -> Bool -> Int -> Int -> Int -> IO (ClientSigResponse [Int] GenIntegersParams) -- | This method generates sequences of true random integers within a -- user-defined range. genWithSeedSignedIntegerSequences :: Manager -> Key -> Maybe Seed -> Maybe LicenseData -> Maybe Object -> Maybe TicketId -> Bool -> Int -> Int -> Int -> Int -> IO (ClientSigResponse [[Int]] GenIntegerSequencesParams) -- | This method generates multiform sequences of true random integers -- within a user-defined range. genWithSeedSignedIntegerSequencesMultiform :: Manager -> Key -> Maybe Seed -> Maybe LicenseData -> Maybe Object -> Maybe TicketId -> Bool -> Int -> [Int] -> Boundary -> Boundary -> IO (ClientSigResponse [[Int]] GenIntegerSequencesMultiformParams) -- | This method generates true random decimal fractions from a uniform -- distribution across the interval [0, 1) with a user-defined number of -- decimal places. genWithSeedSignedDecimalFractions :: Manager -> Key -> Maybe Seed -> Maybe LicenseData -> Maybe Object -> Maybe TicketId -> Bool -> Int -> Int -> IO (ClientSigResponse [Double] GenDecimalFractionsParams) -- | This method generates true random numbers from a Gaussian distribution -- (also known as a normal distribution). The method uses a Box-Muller -- Transform to generate the Gaussian distribution from uniformly -- distributed numbers. genWithSeedSignedGaussians :: Manager -> Key -> Maybe Seed -> Maybe LicenseData -> Maybe Object -> Maybe TicketId -> Int -> Double -> Double -> Int -> IO (ClientSigResponse [Double] GenGaussiansParams) -- | This method generates true random strings. genWithSeedSignedStrings :: Manager -> Key -> Maybe Seed -> Maybe LicenseData -> Maybe Object -> Maybe TicketId -> Bool -> Int -> Int -> [Char] -> IO (ClientSigResponse [Text] GenStringsParams) -- | This method generates true random version 4 Universally Unique -- IDentifiers (UUIDs) in accordance with section 4.4 of RFC 4122. genWithSeedSignedUUIDs :: Manager -> Key -> Maybe Seed -> Maybe LicenseData -> Maybe Object -> Maybe TicketId -> Int -> IO (ClientSigResponse [UUID] GenUUIDsParams) -- | This method generates true random Binary Large OBjects (BLOBs). The -- total size of all BLOBs requested must not exceed 131,072 bytes (128 -- kilobytes). genWithSeedSignedBlobs :: Manager -> Key -> Maybe Seed -> Maybe LicenseData -> Maybe Object -> Maybe TicketId -> Int -> Int -> BlobFormat -> IO (ClientSigResponse [Blob] GenBlobsParams) -- | Retrieve a previously generated result from its serial number. getResult :: Manager -> Key -> Int -> IO (Either ClientError (JsonRpcResponse Value GetResultResponse)) -- | Create unique tickets for use with the Signed API. createTickets :: Manager -> Key -> Int -> Bool -> IO [TicketResponse] -- | Create unique tickets for use with the Signed API. createTickets' :: Manager -> Key -> Int -> Bool -> IO (Either ClientError (JsonRpcResponse Value CreateTicketsResponse)) -- | This method enables other methods to reveal greater information about -- the given ticket. revealTickets :: Manager -> Key -> TicketId -> IO (Maybe Int) -- | This method enables other methods to reveal greater information about -- the given ticket. revealTickets' :: Manager -> Key -> TicketId -> IO (Either ClientError (JsonRpcResponse Value RevealTicketsResponse)) -- | This method enables other methods to reveal greater information about -- the given ticket. listTickets :: Manager -> Key -> TicketType -> IO [TicketInfoResponse] -- | This method enables other methods to reveal greater information about -- the given ticket. listTickets' :: Manager -> Key -> TicketType -> IO (Either ClientError (JsonRpcResponse Value [TicketInfoResponse])) -- | This method yields information about the given ticket. getTicket :: Manager -> TicketId -> IO (Maybe TicketInfoResponse) -- | This method yields information about the given ticket. getTicket' :: Manager -> TicketId -> IO (Either ClientError (JsonRpcResponse Value TicketInfoResponse)) -- | This method verifies a response from the Signed API. verifySignedResponse :: (ToJSON a, ToJSON b) => Manager -> SignedRandomResponse a b -> IO (Maybe Bool) -- | This method verifies a response from the Signed API. verifySignedResponse' :: (ToJSON a, ToJSON b) => Manager -> SignedRandomResponse a b -> IO (Either ClientError (JsonRpcResponse Value VerifySignatureResponse)) -- | This method returns information related to the usage of a given API -- key. getUsage :: Manager -> Key -> IO (Maybe UsageResponse) -- | This method returns information related to the usage of a given API -- key. getUsage' :: Manager -> Key -> IO (Either ClientError (JsonRpcResponse Value UsageResponse)) -- | Type representing API keys. newtype Key Key :: ByteString -> Key [$sel:unKey:Key] :: Key -> ByteString -- | Type representing 'seeds' used to generate random data from -- historical, pregenerated randomization. data Seed -- | Type representing errors form mkSeedFromId. data MkSeedError -- | Construct a seed from a date. Given the current date, checks that the -- date is a past date or the current date. mkSeedfromDate :: Day -> Day -> Either MkSeedError Seed -- | Construct a seed from an id. Checks that the id is between 1 to 64 -- characters in length. mkSeedFromId :: Text -> Either MkSeedError Seed -- | Type representing boundaries of multiform -- generateIntegerSequences. data Boundary -- | Fixed boundary for all sequences. Fixed :: Int -> Boundary -- | List of boundaries for each sequence. Multiform :: [Int] -> Boundary -- | Type representing Binary Large OBjects (BLOBs). newtype Blob Blob :: ByteString -> Blob [$sel:unBlob:Blob] :: Blob -> ByteString -- | Type representing BLOB formats. data BlobFormat Base64 :: BlobFormat Hex :: BlobFormat -- | Type representing responses from methods of the Basic API yielding -- random data. data RandomResponse a RandomResponse :: a -> UTCTime -> Int -> Int -> Int -> Int -> RandomResponse a [$sel:randomData:RandomResponse] :: RandomResponse a -> a [$sel:completionTime:RandomResponse] :: RandomResponse a -> UTCTime [$sel:bitsUsed:RandomResponse] :: RandomResponse a -> Int [$sel:bitsLeft:RandomResponse] :: RandomResponse a -> Int [$sel:requestsLeft:RandomResponse] :: RandomResponse a -> Int [$sel:advisoryDelay:RandomResponse] :: RandomResponse a -> Int -- | Type synonym to simplify type signatures defining responses from the -- Basic API. type RndResponse a = JsonRpcResponse Value (RandomResponse a) -- | Type representing responses from the method of the Basic and Signed -- API yielding information about the API usage. data UsageResponse UsageResponse :: Status -> UTCTime -> Int -> Int -> Int -> Int -> UsageResponse [$sel:ur_status:UsageResponse] :: UsageResponse -> Status [$sel:ur_creationTime:UsageResponse] :: UsageResponse -> UTCTime [$sel:ur_bitsLeft:UsageResponse] :: UsageResponse -> Int [$sel:ur_requestsLeft:UsageResponse] :: UsageResponse -> Int [$sel:ur_totalBits:UsageResponse] :: UsageResponse -> Int [$sel:ur_totalRequests:UsageResponse] :: UsageResponse -> Int -- | Type representing the statuses of API keys. data Status -- | The API key is running. Running :: Status -- | The API key is stopped. Stopped :: Status -- | Type representing API keys or hashed API keys. data ApiKey HashedApiKey :: ByteString -> ApiKey ApiKey :: Key -> ApiKey -- | Type representing methods of the Signed API generating random data. data Method GenerateSignedIntegers :: Method GenerateSignedIntegerSequences :: Method GenerateSignedDecimalFractions :: Method GenerateSignedGaussians :: Method GenerateSignedStrings :: Method GenerateSignedUUIDs :: Method GenerateSignedBlobs :: Method -- | Type representing data required by the Signed API for certain -- licences. newtype LicenseData LicenseData :: CurrencyAmount -> LicenseData [$sel:ld_maxPayoutValue:LicenseData] :: LicenseData -> CurrencyAmount -- | Type representing monetary amounts. data CurrencyAmount CurrencyAmount :: Currency -> Double -> CurrencyAmount [$sel:ca_currency:CurrencyAmount] :: CurrencyAmount -> Currency [$sel:ca_amount:CurrencyAmount] :: CurrencyAmount -> Double -- | Type representing currencies recognised by the Signed API. data Currency -- | United State dollar USD :: Currency -- | Euro EUR :: Currency -- | British pound GBP :: Currency -- | Bitcoin cryptocurrency BTC :: Currency -- | Ether cryptocurrency ETH :: Currency -- | Type representing ticket responses from the Signed API. data TicketResponse TicketResponse :: TicketData -> UTCTime -> TicketResponse [$sel:tr_ticketData:TicketResponse] :: TicketResponse -> TicketData [$sel:tr_creationTime:TicketResponse] :: TicketResponse -> UTCTime -- | Type representing data about tickets. data TicketData TicketData :: TicketId -> Maybe TicketId -> Maybe TicketId -> TicketData [$sel:td_ticketId:TicketData] :: TicketData -> TicketId -- | The previous ticket, if any, in the same chain as this ticket. [$sel:td_previousTicketId:TicketData] :: TicketData -> Maybe TicketId -- | The next ticket, if any, in the same chain as this ticket. [$sel:td_nextTicketId:TicketData] :: TicketData -> Maybe TicketId -- | Type representing the IDs of unique single-use tickets. newtype TicketId TicketId :: ByteString -> TicketId [$sel:unTicketId:TicketId] :: TicketId -> ByteString -- | Type representing types of tickets to list. data TicketType -- | No previous or next tickets. Singleton :: TicketType -- | No previous ticket but next ticket. Head :: TicketType -- | Previous ticket but no next ticket. Tail :: TicketType -- | Type representing signatures. newtype Signature Signature :: ByteString -> Signature [$sel:unSignature:Signature] :: Signature -> ByteString -- | Type representing responses from methods of the Signed API yielding -- random data. data SignedRandomResponse a b SignedRandomResponse :: RandomResponse a -> Method -> b -> Object -> Maybe LicenseData -> Maybe Object -> Maybe TicketData -> Int -> Signature -> CurrencyAmount -> SignedRandomResponse a b [$sel:randomResponse:SignedRandomResponse] :: SignedRandomResponse a b -> RandomResponse a [$sel:method:SignedRandomResponse] :: SignedRandomResponse a b -> Method [$sel:params:SignedRandomResponse] :: SignedRandomResponse a b -> b [$sel:license:SignedRandomResponse] :: SignedRandomResponse a b -> Object [$sel:licenseData:SignedRandomResponse] :: SignedRandomResponse a b -> Maybe LicenseData [$sel:userData:SignedRandomResponse] :: SignedRandomResponse a b -> Maybe Object [$sel:ticketData:SignedRandomResponse] :: SignedRandomResponse a b -> Maybe TicketData [$sel:serialNumber:SignedRandomResponse] :: SignedRandomResponse a b -> Int [$sel:signature:SignedRandomResponse] :: SignedRandomResponse a b -> Signature -- | The cost of the request charged to the RANDOM.ORG account associated -- with the API key used in the request. [$sel:cost:SignedRandomResponse] :: SignedRandomResponse a b -> CurrencyAmount -- | Type representing parameters to the generateIntegers API method. data GenIntegersParams GenIntegersParams :: ApiKey -> Int -> Int -> Int -> Bool -> Int -> Maybe Seed -> GenIntegersParams [$sel:gip_apiKey:GenIntegersParams] :: GenIntegersParams -> ApiKey [$sel:gip_n:GenIntegersParams] :: GenIntegersParams -> Int [$sel:gip_min:GenIntegersParams] :: GenIntegersParams -> Int [$sel:gip_max:GenIntegersParams] :: GenIntegersParams -> Int [$sel:gip_replacement:GenIntegersParams] :: GenIntegersParams -> Bool [$sel:gip_base:GenIntegersParams] :: GenIntegersParams -> Int [$sel:gip_pregeneratedRandomization:GenIntegersParams] :: GenIntegersParams -> Maybe Seed -- | Type representing parameters to the generateIntegerSequences API -- method. data GenIntegerSequencesParams GenIntegerSequencesParams :: ApiKey -> Int -> Int -> Int -> Int -> Bool -> Int -> Maybe Seed -> GenIntegerSequencesParams [$sel:gisp_apiKey:GenIntegerSequencesParams] :: GenIntegerSequencesParams -> ApiKey [$sel:gisp_n:GenIntegerSequencesParams] :: GenIntegerSequencesParams -> Int [$sel:gisp_length:GenIntegerSequencesParams] :: GenIntegerSequencesParams -> Int [$sel:gisp_min:GenIntegerSequencesParams] :: GenIntegerSequencesParams -> Int [$sel:gisp_max:GenIntegerSequencesParams] :: GenIntegerSequencesParams -> Int [$sel:gisp_replacement:GenIntegerSequencesParams] :: GenIntegerSequencesParams -> Bool [$sel:gisp_base:GenIntegerSequencesParams] :: GenIntegerSequencesParams -> Int [$sel:gisp_pregeneratedRandomization:GenIntegerSequencesParams] :: GenIntegerSequencesParams -> Maybe Seed -- | Type representing parameters to the generateIntegerSequences API -- method for multiform sequences. data GenIntegerSequencesMultiformParams GenIntegerSequencesMultiformParams :: ApiKey -> Int -> [Int] -> Boundary -> Boundary -> Bool -> Int -> Maybe Seed -> GenIntegerSequencesMultiformParams [$sel:gismp_apiKey:GenIntegerSequencesMultiformParams] :: GenIntegerSequencesMultiformParams -> ApiKey [$sel:gismp_n:GenIntegerSequencesMultiformParams] :: GenIntegerSequencesMultiformParams -> Int [$sel:gismp_length:GenIntegerSequencesMultiformParams] :: GenIntegerSequencesMultiformParams -> [Int] [$sel:gismp_min:GenIntegerSequencesMultiformParams] :: GenIntegerSequencesMultiformParams -> Boundary [$sel:gismp_max:GenIntegerSequencesMultiformParams] :: GenIntegerSequencesMultiformParams -> Boundary [$sel:gismp_replacement:GenIntegerSequencesMultiformParams] :: GenIntegerSequencesMultiformParams -> Bool [$sel:gismp_base:GenIntegerSequencesMultiformParams] :: GenIntegerSequencesMultiformParams -> Int [$sel:gismp_pregeneratedRandomization:GenIntegerSequencesMultiformParams] :: GenIntegerSequencesMultiformParams -> Maybe Seed -- | Type representing parameters to the generateDecimalFractions -- API method. data GenDecimalFractionsParams GenDecimalFractionsParams :: ApiKey -> Int -> Int -> Bool -> Maybe Seed -> GenDecimalFractionsParams [$sel:gdfp_apiKey:GenDecimalFractionsParams] :: GenDecimalFractionsParams -> ApiKey [$sel:gdfp_n:GenDecimalFractionsParams] :: GenDecimalFractionsParams -> Int [$sel:gdfp_decimalPlaces:GenDecimalFractionsParams] :: GenDecimalFractionsParams -> Int [$sel:gdfp_replacement:GenDecimalFractionsParams] :: GenDecimalFractionsParams -> Bool [$sel:gdfp_pregeneratedRandomization:GenDecimalFractionsParams] :: GenDecimalFractionsParams -> Maybe Seed -- | Type representing parameters to the generateGaussianss API -- method. data GenGaussiansParams GenGaussiansParams :: ApiKey -> Int -> Double -> Double -> Int -> Maybe Seed -> GenGaussiansParams [$sel:ggp_apiKey:GenGaussiansParams] :: GenGaussiansParams -> ApiKey [$sel:ggp_n:GenGaussiansParams] :: GenGaussiansParams -> Int [$sel:ggp_mean:GenGaussiansParams] :: GenGaussiansParams -> Double [$sel:ggp_standardDeviation:GenGaussiansParams] :: GenGaussiansParams -> Double [$sel:ggp_significantDigits:GenGaussiansParams] :: GenGaussiansParams -> Int [$sel:ggp_pregeneratedRandomization:GenGaussiansParams] :: GenGaussiansParams -> Maybe Seed -- | Type representing parameters to the generateStrings API -- method. data GenStringsParams GenStringsParams :: ApiKey -> Int -> Int -> [Char] -> Bool -> Maybe Seed -> GenStringsParams [$sel:gsp_apiKey:GenStringsParams] :: GenStringsParams -> ApiKey [$sel:gsp_n:GenStringsParams] :: GenStringsParams -> Int [$sel:gsp_length:GenStringsParams] :: GenStringsParams -> Int [$sel:gsp_characters:GenStringsParams] :: GenStringsParams -> [Char] [$sel:gsp_replacement:GenStringsParams] :: GenStringsParams -> Bool [$sel:gsp_pregeneratedRandomization:GenStringsParams] :: GenStringsParams -> Maybe Seed -- | Type representing parameters to the generateUUIDs API method. data GenUUIDsParams GenUUIDsParams :: ApiKey -> Int -> Maybe Seed -> GenUUIDsParams [$sel:gup_apiKey:GenUUIDsParams] :: GenUUIDsParams -> ApiKey [$sel:gup_n:GenUUIDsParams] :: GenUUIDsParams -> Int [$sel:gup_pregeneratedRandomization:GenUUIDsParams] :: GenUUIDsParams -> Maybe Seed -- | Type representing parameters to the generateBlobs API method. data GenBlobsParams GenBlobsParams :: ApiKey -> Int -> Int -> BlobFormat -> Maybe Seed -> GenBlobsParams [$sel:gbp_apiKey:GenBlobsParams] :: GenBlobsParams -> ApiKey [$sel:gbp_n:GenBlobsParams] :: GenBlobsParams -> Int [$sel:gbp_size:GenBlobsParams] :: GenBlobsParams -> Int [$sel:gbp_format:GenBlobsParams] :: GenBlobsParams -> BlobFormat [$sel:gbp_pregeneratedRandomization:GenBlobsParams] :: GenBlobsParams -> Maybe Seed -- | Type synonym to simplify type signatures defining responses from the -- Signed API. type ClientSigResponse a b = Either ClientError (SigRndResponse a b) -- | Types representing responses from the getResult API method. data GetResultResponse Integers :: SignedRandomResponse [Int] GenIntegersParams -> GetResultResponse IntegerSequences :: SignedRandomResponse [[Int]] GenIntegerSequencesParams -> GetResultResponse IntegerSequencesMultiform :: SignedRandomResponse [[Int]] GenIntegerSequencesMultiformParams -> GetResultResponse DecimalFractions :: SignedRandomResponse [Double] GenDecimalFractionsParams -> GetResultResponse Gaussians :: SignedRandomResponse [Double] GenGaussiansParams -> GetResultResponse Strings :: SignedRandomResponse [Text] GenStringsParams -> GetResultResponse UUIDs :: SignedRandomResponse [UUID] GenUUIDsParams -> GetResultResponse Blobs :: SignedRandomResponse [Blob] GenBlobsParams -> GetResultResponse -- | Type representing responses from the method of the Signed API yielding -- new tickets. newtype CreateTicketsResponse CreateTicketsResponse :: [TicketResponse] -> CreateTicketsResponse -- | Type representing responses from the method of the Signed API -- revealing tickets. newtype RevealTicketsResponse RevealTicketsResponse :: Int -> RevealTicketsResponse -- | Type representing responses from the listTickets or -- getTicket API methods. data TicketInfoResponse TicketInfoResponse :: TicketResponse -> ApiKey -> Bool -> Maybe UTCTime -> Maybe UTCTime -> Maybe Int -> TicketInfoResponse [$sel:ltr_ticketResponse:TicketInfoResponse] :: TicketInfoResponse -> TicketResponse [$sel:ltr_hashedApiKey:TicketInfoResponse] :: TicketInfoResponse -> ApiKey [$sel:ltr_showResult:TicketInfoResponse] :: TicketInfoResponse -> Bool [$sel:ltr_usedTime:TicketInfoResponse] :: TicketInfoResponse -> Maybe UTCTime [$sel:ltr_expirationTime:TicketInfoResponse] :: TicketInfoResponse -> Maybe UTCTime [$sel:ltr_serialNumber:TicketInfoResponse] :: TicketInfoResponse -> Maybe Int -- | Type representing responses from the verifySignature API -- method. newtype VerifySignatureResponse VerifySignatureResponse :: Bool -> VerifySignatureResponse [$sel:vsr_authenticity:VerifySignatureResponse] :: VerifySignatureResponse -> Bool -- | Type synonym to simplify type signatures defining responses from the -- Signed API. type SigRndResponse a b = JsonRpcResponse Value (SignedRandomResponse a b) instance GHC.Show.Show System.Random.Atmospheric.Api.Blob instance GHC.Generics.Generic System.Random.Atmospheric.Api.Blob instance GHC.Classes.Eq System.Random.Atmospheric.Api.Blob instance GHC.Show.Show System.Random.Atmospheric.Api.Currency instance GHC.Generics.Generic System.Random.Atmospheric.Api.Currency instance GHC.Classes.Eq System.Random.Atmospheric.Api.Currency instance GHC.Show.Show System.Random.Atmospheric.Api.CurrencyAmount instance GHC.Generics.Generic System.Random.Atmospheric.Api.CurrencyAmount instance GHC.Classes.Eq System.Random.Atmospheric.Api.CurrencyAmount instance GHC.Show.Show System.Random.Atmospheric.Api.LicenseData instance GHC.Generics.Generic System.Random.Atmospheric.Api.LicenseData instance GHC.Classes.Eq System.Random.Atmospheric.Api.LicenseData instance GHC.Show.Show System.Random.Atmospheric.Api.TicketId instance GHC.Generics.Generic System.Random.Atmospheric.Api.TicketId instance GHC.Classes.Eq System.Random.Atmospheric.Api.TicketId instance GHC.Show.Show System.Random.Atmospheric.Api.SignedData instance GHC.Generics.Generic System.Random.Atmospheric.Api.SignedData instance GHC.Classes.Eq System.Random.Atmospheric.Api.SignedData instance GHC.Show.Show System.Random.Atmospheric.Api.Seed instance GHC.Generics.Generic System.Random.Atmospheric.Api.Seed instance GHC.Classes.Eq System.Random.Atmospheric.Api.Seed instance GHC.Show.Show System.Random.Atmospheric.Api.MkSeedError instance GHC.Classes.Eq System.Random.Atmospheric.Api.MkSeedError instance GHC.Show.Show System.Random.Atmospheric.Api.Boundary instance GHC.Generics.Generic System.Random.Atmospheric.Api.Boundary instance GHC.Classes.Eq System.Random.Atmospheric.Api.Boundary instance GHC.Show.Show System.Random.Atmospheric.Api.BlobFormat instance GHC.Generics.Generic System.Random.Atmospheric.Api.BlobFormat instance GHC.Classes.Eq System.Random.Atmospheric.Api.BlobFormat instance GHC.Show.Show System.Random.Atmospheric.Api.TicketType instance GHC.Generics.Generic System.Random.Atmospheric.Api.TicketType instance GHC.Classes.Eq System.Random.Atmospheric.Api.TicketType instance GHC.Show.Show System.Random.Atmospheric.Api.GetTicketParams instance GHC.Generics.Generic System.Random.Atmospheric.Api.GetTicketParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GetTicketParams instance GHC.Show.Show System.Random.Atmospheric.Api.Signature instance GHC.Classes.Eq System.Random.Atmospheric.Api.Signature instance GHC.Show.Show System.Random.Atmospheric.Api.VerifySignatureParams instance GHC.Generics.Generic System.Random.Atmospheric.Api.VerifySignatureParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.VerifySignatureParams instance GHC.Show.Show a => GHC.Show.Show (System.Random.Atmospheric.Api.RandomResponse a) instance GHC.Classes.Eq a => GHC.Classes.Eq (System.Random.Atmospheric.Api.RandomResponse a) instance GHC.Show.Show System.Random.Atmospheric.Api.Method instance GHC.Generics.Generic System.Random.Atmospheric.Api.Method instance GHC.Classes.Eq System.Random.Atmospheric.Api.Method instance GHC.Show.Show System.Random.Atmospheric.Api.TicketData instance GHC.Generics.Generic System.Random.Atmospheric.Api.TicketData instance GHC.Classes.Eq System.Random.Atmospheric.Api.TicketData instance (GHC.Show.Show a, GHC.Show.Show b) => GHC.Show.Show (System.Random.Atmospheric.Api.SignedRandomResponse a b) instance (GHC.Classes.Eq a, GHC.Classes.Eq b) => GHC.Classes.Eq (System.Random.Atmospheric.Api.SignedRandomResponse a b) instance GHC.Show.Show System.Random.Atmospheric.Api.TicketResponse instance GHC.Classes.Eq System.Random.Atmospheric.Api.TicketResponse instance GHC.Show.Show System.Random.Atmospheric.Api.CreateTicketsResponse instance GHC.Generics.Generic System.Random.Atmospheric.Api.CreateTicketsResponse instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.CreateTicketsResponse instance GHC.Classes.Eq System.Random.Atmospheric.Api.CreateTicketsResponse instance GHC.Show.Show System.Random.Atmospheric.Api.RevealTicketsResponse instance GHC.Classes.Eq System.Random.Atmospheric.Api.RevealTicketsResponse instance GHC.Show.Show System.Random.Atmospheric.Api.VerifySignatureResponse instance GHC.Generics.Generic System.Random.Atmospheric.Api.VerifySignatureResponse instance GHC.Classes.Eq System.Random.Atmospheric.Api.VerifySignatureResponse instance GHC.Show.Show System.Random.Atmospheric.Api.Status instance GHC.Generics.Generic System.Random.Atmospheric.Api.Status instance GHC.Classes.Eq System.Random.Atmospheric.Api.Status instance GHC.Show.Show System.Random.Atmospheric.Api.UsageResponse instance GHC.Generics.Generic System.Random.Atmospheric.Api.UsageResponse instance GHC.Classes.Eq System.Random.Atmospheric.Api.UsageResponse instance GHC.Show.Show System.Random.Atmospheric.Api.Key instance GHC.Classes.Eq System.Random.Atmospheric.Api.Key instance GHC.Show.Show System.Random.Atmospheric.Api.GetUsageParams instance GHC.Generics.Generic System.Random.Atmospheric.Api.GetUsageParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GetUsageParams instance GHC.Show.Show System.Random.Atmospheric.Api.ListTicketsParams instance GHC.Generics.Generic System.Random.Atmospheric.Api.ListTicketsParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.ListTicketsParams instance GHC.Show.Show System.Random.Atmospheric.Api.RevealTicketsParams instance GHC.Generics.Generic System.Random.Atmospheric.Api.RevealTicketsParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.RevealTicketsParams instance GHC.Show.Show System.Random.Atmospheric.Api.CreateTicketsParams instance GHC.Generics.Generic System.Random.Atmospheric.Api.CreateTicketsParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.CreateTicketsParams instance GHC.Show.Show System.Random.Atmospheric.Api.GetResultParams instance GHC.Generics.Generic System.Random.Atmospheric.Api.GetResultParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GetResultParams instance GHC.Show.Show System.Random.Atmospheric.Api.ApiKey instance GHC.Classes.Eq System.Random.Atmospheric.Api.ApiKey instance GHC.Show.Show System.Random.Atmospheric.Api.TicketInfoResponse instance GHC.Classes.Eq System.Random.Atmospheric.Api.TicketInfoResponse instance GHC.Show.Show System.Random.Atmospheric.Api.GenBlobsParams instance GHC.Generics.Generic System.Random.Atmospheric.Api.GenBlobsParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GenBlobsParams instance GHC.Show.Show System.Random.Atmospheric.Api.GenSigBlobsParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GenSigBlobsParams instance GHC.Show.Show System.Random.Atmospheric.Api.GenUUIDsParams instance GHC.Generics.Generic System.Random.Atmospheric.Api.GenUUIDsParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GenUUIDsParams instance GHC.Show.Show System.Random.Atmospheric.Api.GenSigUUIDsParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GenSigUUIDsParams instance GHC.Show.Show System.Random.Atmospheric.Api.GenStringsParams instance GHC.Generics.Generic System.Random.Atmospheric.Api.GenStringsParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GenStringsParams instance GHC.Show.Show System.Random.Atmospheric.Api.GenSigStringsParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GenSigStringsParams instance GHC.Show.Show System.Random.Atmospheric.Api.GenGaussiansParams instance GHC.Generics.Generic System.Random.Atmospheric.Api.GenGaussiansParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GenGaussiansParams instance GHC.Show.Show System.Random.Atmospheric.Api.GenSigGaussiansParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GenSigGaussiansParams instance GHC.Show.Show System.Random.Atmospheric.Api.GenDecimalFractionsParams instance GHC.Generics.Generic System.Random.Atmospheric.Api.GenDecimalFractionsParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GenDecimalFractionsParams instance GHC.Show.Show System.Random.Atmospheric.Api.GenSigDecimalFractionsParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GenSigDecimalFractionsParams instance GHC.Show.Show System.Random.Atmospheric.Api.GenIntegerSequencesMultiformParams instance GHC.Generics.Generic System.Random.Atmospheric.Api.GenIntegerSequencesMultiformParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GenIntegerSequencesMultiformParams instance GHC.Show.Show System.Random.Atmospheric.Api.GenSigIntegerSequencesMultiformParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GenSigIntegerSequencesMultiformParams instance GHC.Show.Show System.Random.Atmospheric.Api.GenIntegerSequencesParams instance GHC.Generics.Generic System.Random.Atmospheric.Api.GenIntegerSequencesParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GenIntegerSequencesParams instance GHC.Show.Show System.Random.Atmospheric.Api.GenSigIntegerSequencesParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GenSigIntegerSequencesParams instance GHC.Show.Show System.Random.Atmospheric.Api.GenIntegersParams instance GHC.Generics.Generic System.Random.Atmospheric.Api.GenIntegersParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GenIntegersParams instance GHC.Show.Show System.Random.Atmospheric.Api.GetResultResponse instance GHC.Generics.Generic System.Random.Atmospheric.Api.GetResultResponse instance GHC.Classes.Eq System.Random.Atmospheric.Api.GetResultResponse instance GHC.Show.Show System.Random.Atmospheric.Api.GenSigIntegersParams instance GHC.Classes.Eq System.Random.Atmospheric.Api.GenSigIntegersParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GenSigIntegersParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GenSigIntegersParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GetResultResponse instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GenIntegersParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GenIntegersParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GenSigIntegerSequencesParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GenSigIntegerSequencesParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GenIntegerSequencesParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GenIntegerSequencesParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GenSigIntegerSequencesMultiformParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GenSigIntegerSequencesMultiformParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GenIntegerSequencesMultiformParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GenIntegerSequencesMultiformParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GenSigDecimalFractionsParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GenSigDecimalFractionsParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GenDecimalFractionsParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GenDecimalFractionsParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GenSigGaussiansParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GenSigGaussiansParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GenGaussiansParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GenGaussiansParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GenSigStringsParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GenSigStringsParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GenStringsParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GenStringsParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GenSigUUIDsParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GenSigUUIDsParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GenUUIDsParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GenUUIDsParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GenSigBlobsParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GenSigBlobsParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GenBlobsParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.GenBlobsParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.TicketInfoResponse instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.ApiKey instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.ApiKey instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GetResultParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.CreateTicketsParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.RevealTicketsParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.ListTicketsParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GetUsageParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.Key instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.Key instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.UsageResponse instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.Status instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.Status instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.VerifySignatureResponse instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.RevealTicketsResponse instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.TicketResponse instance (Data.Aeson.Types.FromJSON.FromJSON a, Data.Aeson.Types.FromJSON.FromJSON b) => Data.Aeson.Types.FromJSON.FromJSON (System.Random.Atmospheric.Api.SignedRandomResponse a b) instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.TicketData instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.TicketData instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.Method instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.Method instance Data.Aeson.Types.FromJSON.FromJSON a => Data.Aeson.Types.FromJSON.FromJSON (System.Random.Atmospheric.Api.RandomResponse a) instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.VerifySignatureParams instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.Signature instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.Signature instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.GetTicketParams instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.TicketType instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.BlobFormat instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.BlobFormat instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.Boundary instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.Boundary instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.Seed instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.Seed instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.SignedData instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.SignedData instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.TicketId instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.TicketId instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.LicenseData instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.LicenseData instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.CurrencyAmount instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.CurrencyAmount instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.Currency instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.Currency instance Data.Aeson.Types.FromJSON.FromJSON System.Random.Atmospheric.Api.Blob instance Data.Aeson.Types.ToJSON.ToJSON System.Random.Atmospheric.Api.Blob