From c6d80b01281a6af578fb3468698419ddd5c172f8 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 11 Jul 2020 14:02:17 +0530 Subject: endpoint / CLI for accepting exchange ToS --- src/types/walletTypes.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/types') 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; +} -- cgit v1.2.3