diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-07-28 14:22:35 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-07-28 14:22:35 +0530 |
commit | 4365cd6401713b2e207d8c032c0558487e860154 (patch) | |
tree | f66b4bc5aa9dd7e92b72546e0b2fe79c18ed6573 /src/types | |
parent | 472307a607b046e32f50b05a8be44c47c4b153d4 (diff) | |
download | wallet-core-4365cd6401713b2e207d8c032c0558487e860154.tar.xz |
towards the new withdrawal API (temporarily breaks WebExtension wallet)
Diffstat (limited to 'src/types')
-rw-r--r-- | src/types/talerTypes.ts | 9 | ||||
-rw-r--r-- | src/types/walletTypes.ts | 5 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/types/talerTypes.ts b/src/types/talerTypes.ts index 1dfcd80a2..823f437b5 100644 --- a/src/types/talerTypes.ts +++ b/src/types/talerTypes.ts @@ -39,8 +39,6 @@ import { Codec, makeCodecForConstNumber, makeCodecForUnion, - makeCodecForConstTrue, - makeCodecForConstFalse, makeCodecForConstString, } from "../util/codec"; import { @@ -49,6 +47,7 @@ import { Duration, codecForDuration, } from "../util/time"; +import { ExchangeListItem } from "./walletTypes"; /** * Denomination as found in the /keys response from the exchange. @@ -935,6 +934,12 @@ export interface MerchantOrderStatusUnpaid { already_paid_order_id?: string; } +export interface WithdrawUriInfoResponse { + amount: AmountString; + defaultExchangeBaseUrl?: string; + possibleExchanges: ExchangeListItem[]; +} + export type AmountString = string; export type Base32String = string; export type EddsaSignatureString = string; diff --git a/src/types/walletTypes.ts b/src/types/walletTypes.ts index 95ec47b67..2ca95bf48 100644 --- a/src/types/walletTypes.ts +++ b/src/types/walletTypes.ts @@ -146,11 +146,6 @@ export interface ExchangeWithdrawDetails { walletVersion: string; } -export interface WithdrawalDetailsResponse { - bankWithdrawDetails: BankWithdrawDetails; - exchangeWithdrawDetails: ExchangeWithdrawDetails | undefined; -} - /** * Mapping from currency/exchange to detailed balance * information. |