-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
31 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
GraphSense API | ||
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. | ||
The version of the OpenAPI document: 1.7.0 | ||
The version of the OpenAPI document: 1.8.0 | ||
Contact: [email protected] | ||
NOTE: This file is auto generated by the openapi-generator. | ||
|
@@ -247,7 +247,6 @@ type alias AddressTag = | |
, tagpackTitle : String | ||
, tagpackUri : Maybe String | ||
, address : String | ||
, entity : Int | ||
} | ||
|
||
|
||
|
@@ -639,6 +638,7 @@ type alias TxUtxo = | |
|
||
type alias TxValue = | ||
{ address : List (String) | ||
, index : Maybe Int | ||
, value : Values | ||
} | ||
|
||
|
@@ -808,7 +808,6 @@ encodeAddressTagPairs model = | |
, encode "tagpack_title" Json.Encode.string model.tagpackTitle | ||
, maybeEncode "tagpack_uri" Json.Encode.string model.tagpackUri | ||
, encode "address" Json.Encode.string model.address | ||
, encode "entity" Json.Encode.int model.entity | ||
] | ||
in | ||
pairs | ||
|
@@ -1857,6 +1856,7 @@ encodeTxValuePairs model = | |
let | ||
pairs = | ||
[ encode "address" (Json.Encode.list Json.Encode.string) model.address | ||
, maybeEncode "index" Json.Encode.int model.index | ||
, encode "value" encodeValues model.value | ||
] | ||
in | ||
|
@@ -1976,7 +1976,6 @@ addressTagDecoder = | |
|> decode "tagpack_title" Json.Decode.string | ||
|> maybeDecode "tagpack_uri" Json.Decode.string Nothing | ||
|> decode "address" Json.Decode.string | ||
|> decode "entity" Json.Decode.int | ||
|
||
|
||
addressTagInheritedFromDecoder : Json.Decode.Decoder AddressTagInheritedFrom | ||
|
@@ -2465,6 +2464,7 @@ txValueDecoder : Json.Decode.Decoder TxValue | |
txValueDecoder = | ||
Json.Decode.succeed TxValue | ||
|> decode "address" (Json.Decode.list Json.Decode.string) | ||
|> maybeDecode "index" Json.Decode.int Nothing | ||
|> decode "value" valuesDecoder | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
GraphSense API | ||
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. | ||
The version of the OpenAPI document: 1.7.0 | ||
The version of the OpenAPI document: 1.8.0 | ||
Contact: [email protected] | ||
NOTE: This file is auto generated by the openapi-generator. | ||
|
@@ -120,13 +120,13 @@ getAddress currency_path address_path includeActors_query = | |
|
||
|
||
|
||
getAddressEntity : (String) -> (String) -> Api.Request Api.Data.Entity | ||
getAddressEntity currency_path address_path = | ||
getAddressEntity : (String) -> (String) -> Maybe (Bool) -> Api.Request Api.Data.Entity | ||
getAddressEntity currency_path address_path includeActors_query = | ||
Api.request | ||
"GET" | ||
"/{currency}/addresses/{address}/entity" | ||
[ ( "currency", identity currency_path ), ( "address", identity address_path ) ] | ||
[] | ||
[ ( "include_actors", Maybe.map ((\val -> if val then "true" else "false")) includeActors_query ) ] | ||
[] | ||
Nothing | ||
Api.Data.entityDecoder | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
GraphSense API | ||
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. | ||
The version of the OpenAPI document: 1.7.0 | ||
The version of the OpenAPI document: 1.8.0 | ||
Contact: [email protected] | ||
NOTE: This file is auto generated by the openapi-generator. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
GraphSense API | ||
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. | ||
The version of the OpenAPI document: 1.7.0 | ||
The version of the OpenAPI document: 1.8.0 | ||
Contact: [email protected] | ||
NOTE: This file is auto generated by the openapi-generator. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
GraphSense API | ||
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. | ||
The version of the OpenAPI document: 1.7.0 | ||
The version of the OpenAPI document: 1.8.0 | ||
Contact: [email protected] | ||
NOTE: This file is auto generated by the openapi-generator. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
GraphSense API | ||
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. | ||
The version of the OpenAPI document: 1.7.0 | ||
The version of the OpenAPI document: 1.8.0 | ||
Contact: [email protected] | ||
NOTE: This file is auto generated by the openapi-generator. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
GraphSense API | ||
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. | ||
The version of the OpenAPI document: 1.7.0 | ||
The version of the OpenAPI document: 1.8.0 | ||
Contact: [email protected] | ||
NOTE: This file is auto generated by the openapi-generator. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
GraphSense API | ||
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. | ||
The version of the OpenAPI document: 1.7.0 | ||
The version of the OpenAPI document: 1.8.0 | ||
Contact: [email protected] | ||
NOTE: This file is auto generated by the openapi-generator. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
GraphSense API | ||
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. | ||
The version of the OpenAPI document: 1.7.0 | ||
The version of the OpenAPI document: 1.8.0 | ||
Contact: [email protected] | ||
NOTE: This file is auto generated by the openapi-generator. | ||
|
@@ -89,26 +89,26 @@ getSpentInTxs currency_path txHash_path ioIndex_query = | |
|
||
|
||
|
||
getTx : (String) -> (String) -> Maybe (Bool) -> Maybe (Int) -> Api.Request Api.Data.Tx | ||
getTx currency_path txHash_path includeIo_query tokenTxId_query = | ||
getTx : (String) -> (String) -> Maybe (Bool) -> Maybe (Bool) -> Maybe (Bool) -> Maybe (Int) -> Api.Request Api.Data.Tx | ||
getTx currency_path txHash_path includeIo_query includeNonstandardIo_query includeIoIndex_query tokenTxId_query = | ||
Api.request | ||
"GET" | ||
"/{currency}/txs/{txHash}" | ||
[ ( "currency", identity currency_path ), ( "txHash", identity txHash_path ) ] | ||
[ ( "include_io", Maybe.map ((\val -> if val then "true" else "false")) includeIo_query ), ( "token_tx_id", Maybe.map (String.fromInt) tokenTxId_query ) ] | ||
[ ( "include_io", Maybe.map ((\val -> if val then "true" else "false")) includeIo_query ), ( "include_nonstandard_io", Maybe.map ((\val -> if val then "true" else "false")) includeNonstandardIo_query ), ( "include_io_index", Maybe.map ((\val -> if val then "true" else "false")) includeIoIndex_query ), ( "token_tx_id", Maybe.map (String.fromInt) tokenTxId_query ) ] | ||
[] | ||
Nothing | ||
Api.Data.txDecoder | ||
|
||
|
||
|
||
getTxIo : (String) -> (String) -> (Io) -> Api.Request (List Api.Data.TxValue) | ||
getTxIo currency_path txHash_path io_path = | ||
getTxIo : (String) -> (String) -> (Io) -> Maybe (Bool) -> Maybe (Bool) -> Api.Request (List Api.Data.TxValue) | ||
getTxIo currency_path txHash_path io_path includeNonstandardIo_query includeIoIndex_query = | ||
Api.request | ||
"GET" | ||
"/{currency}/txs/{txHash}/{io}" | ||
[ ( "currency", identity currency_path ), ( "txHash", identity txHash_path ), ( "io", stringFromIo io_path ) ] | ||
[] | ||
[ ( "include_nonstandard_io", Maybe.map ((\val -> if val then "true" else "false")) includeNonstandardIo_query ), ( "include_io_index", Maybe.map ((\val -> if val then "true" else "false")) includeIoIndex_query ) ] | ||
[] | ||
Nothing | ||
(Json.Decode.list Api.Data.txValueDecoder) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters