From 63ebe1b2e296aabb79cb1756d5dfc82c1ba4fe02 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 9 Jul 2020 18:56:18 +0530 Subject: android APIs for withdrawal and exchange listing --- src/types/dbTypes.ts | 13 +++++++++++++ src/types/walletTypes.ts | 10 ++++++++++ 2 files changed, 23 insertions(+) (limited to 'src/types') diff --git a/src/types/dbTypes.ts b/src/types/dbTypes.ts index 82649d9f6..6693e22a2 100644 --- a/src/types/dbTypes.ts +++ b/src/types/dbTypes.ts @@ -555,6 +555,16 @@ export interface ExchangeRecord { */ baseUrl: string; + /** + * Did we finish adding the exchange? + */ + addComplete: boolean; + + /** + * Is this a permanent or temporary exchange record? + */ + permanent: boolean; + /** * Was the exchange added as a built-in exchange? */ @@ -601,6 +611,9 @@ export interface ExchangeRecord { */ updateStarted: Timestamp | undefined; + /** + * Status of updating the info about the exchange. + */ updateStatus: ExchangeUpdateStatus; updateReason?: ExchangeUpdateReason; diff --git a/src/types/walletTypes.ts b/src/types/walletTypes.ts index e58352e01..8bc4f97af 100644 --- a/src/types/walletTypes.ts +++ b/src/types/walletTypes.ts @@ -479,3 +479,13 @@ export interface DepositInfo { export interface ExtendedPermissionsResponse { newValue: boolean; } + +export interface ExchangesListRespose { + exchanges: ExchangeListItem[]; +} + +export interface ExchangeListItem { + exchangeBaseUrl: string; + currency: string; + paytoUris: string[]; +} -- cgit v1.2.3