diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-07-11 14:02:17 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-07-11 14:02:17 +0530 |
commit | c6d80b01281a6af578fb3468698419ddd5c172f8 (patch) | |
tree | 8a208718a18901b985fc63c80dcc7cd1ff7a3078 /src/types | |
parent | afda237e5fd4b4d243423f0b4b686a22b5ab5d8a (diff) | |
download | wallet-core-c6d80b01281a6af578fb3468698419ddd5c172f8.tar.xz |
endpoint / CLI for accepting exchange ToS
Diffstat (limited to 'src/types')
-rw-r--r-- | src/types/walletTypes.ts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/types/walletTypes.ts b/src/types/walletTypes.ts index d61d04692..4b6d867a2 100644 --- a/src/types/walletTypes.ts +++ b/src/types/walletTypes.ts @@ -513,3 +513,21 @@ export interface ManualWithdrawalDetails { */ paytoUris: string[]; } + +export interface GetExchangeTosResult { + /** + * Markdown version of the current ToS. + */ + tos: string; + + /** + * Version tag of the current ToS. + */ + currentEtag: string; + + /** + * Version tag of the last ToS that the user has accepted, + * if any. + */ + acceptedEtag: string | undefined; +} |