summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/types
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-09-09 12:45:49 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-09-09 12:45:49 +0530
commit71abddec5e3dc9cc407f468feaaa3284ef528aba (patch)
treefbd4c329d8f8b866fdd6549430f0d1bcfcd5ebd5 /packages/taler-wallet-core/src/types
parent0566406abb74008a5d7796fc047ca98a6dd590b0 (diff)
downloadwallet-core-71abddec5e3dc9cc407f468feaaa3284ef528aba.tar.gz
wallet-core-71abddec5e3dc9cc407f468feaaa3284ef528aba.tar.bz2
wallet-core-71abddec5e3dc9cc407f468feaaa3284ef528aba.zip
make withdrawal, pay and refunds work in the WebExtension
Diffstat (limited to 'packages/taler-wallet-core/src/types')
-rw-r--r--packages/taler-wallet-core/src/types/walletTypes.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/types/walletTypes.ts b/packages/taler-wallet-core/src/types/walletTypes.ts
index b8d8be668..1b20d7b47 100644
--- a/packages/taler-wallet-core/src/types/walletTypes.ts
+++ b/packages/taler-wallet-core/src/types/walletTypes.ts
@@ -55,6 +55,7 @@ import {
codecForContractTerms,
ContractTerms,
} from "./talerTypes";
+import { OrderShortInfo, codecForOrderShortInfo } from "./transactions";
/**
* Response for the create reserve request to the wallet.
@@ -880,6 +881,8 @@ export interface ApplyRefundResponse {
amountRefundGone: AmountString;
pendingAtExchange: boolean;
+
+ info: OrderShortInfo;
}
export const codecForApplyRefundResponse = (): Codec<ApplyRefundResponse> =>
@@ -890,6 +893,7 @@ export const codecForApplyRefundResponse = (): Codec<ApplyRefundResponse> =>
.property("contractTermsHash", codecForString())
.property("pendingAtExchange", codecForBoolean())
.property("proposalId", codecForString())
+ .property("info", codecForOrderShortInfo())
.build("ApplyRefundResponse");
export interface SetCoinSuspendedRequest {