diff options
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. |