From aa0edbdd6875113976ec2b27efe2d82625ed2fde Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 3 Jun 2021 01:07:29 -0300 Subject: wallet transaction detail --- packages/taler-util/src/transactionsTypes.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages/taler-util/src') diff --git a/packages/taler-util/src/transactionsTypes.ts b/packages/taler-util/src/transactionsTypes.ts index b3cc274a0..e29a5549d 100644 --- a/packages/taler-util/src/transactionsTypes.ts +++ b/packages/taler-util/src/transactionsTypes.ts @@ -145,7 +145,7 @@ interface WithdrawalDetailsForTalerBankIntegrationApi { // This should only be used for actual withdrawals // and not for tips that have their own transactions type. -interface TransactionWithdrawal extends TransactionCommon { +export interface TransactionWithdrawal extends TransactionCommon { type: TransactionType.Withdrawal; /** @@ -266,7 +266,7 @@ export interface OrderShortInfo { fulfillmentMessage_i18n?: InternationalizedString; } -interface TransactionRefund extends TransactionCommon { +export interface TransactionRefund extends TransactionCommon { type: TransactionType.Refund; // ID for the transaction that is refunded @@ -282,7 +282,7 @@ interface TransactionRefund extends TransactionCommon { amountEffective: AmountString; } -interface TransactionTip extends TransactionCommon { +export interface TransactionTip extends TransactionCommon { type: TransactionType.Tip; // Raw amount of the tip, without extra fees that apply @@ -297,7 +297,7 @@ interface TransactionTip extends TransactionCommon { // A transaction shown for refreshes that are not associated to other transactions // such as a refresh necessary before coin expiration. // It should only be returned by the API if the effective amount is different from zero. -interface TransactionRefresh extends TransactionCommon { +export interface TransactionRefresh extends TransactionCommon { type: TransactionType.Refresh; // Exchange that the coins are refreshed with @@ -314,7 +314,7 @@ interface TransactionRefresh extends TransactionCommon { * Deposit transaction, which effectively sends * money from this wallet somewhere else. */ -interface TransactionDeposit extends TransactionCommon { +export interface TransactionDeposit extends TransactionCommon { type: TransactionType.Deposit; depositGroupId: string; -- cgit v1.2.3