aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r--packages/taler-util/src/notifications.ts9
-rw-r--r--packages/taler-util/src/transactions-types.ts5
2 files changed, 14 insertions, 0 deletions
diff --git a/packages/taler-util/src/notifications.ts b/packages/taler-util/src/notifications.ts
index 823c4130d..55d838007 100644
--- a/packages/taler-util/src/notifications.ts
+++ b/packages/taler-util/src/notifications.ts
@@ -96,6 +96,10 @@ export interface RefundStartedNotification {
export interface RefundQueriedNotification {
type: NotificationType.RefundQueried;
+ /**
+ * Transaction ID of the purchase (NOT the refund transaction).
+ */
+ transactionId: string;
}
export interface ProposalDownloadedNotification {
@@ -171,6 +175,11 @@ export interface WaitingForRetryNotification {
export interface RefundFinishedNotification {
type: NotificationType.RefundFinished;
+
+ /**
+ * Transaction ID of the purchase (NOT the refund transaction).
+ */
+ transactionId: string;
}
export interface ExchangeAddedNotification {
diff --git a/packages/taler-util/src/transactions-types.ts b/packages/taler-util/src/transactions-types.ts
index d108d1a77..946f9dda9 100644
--- a/packages/taler-util/src/transactions-types.ts
+++ b/packages/taler-util/src/transactions-types.ts
@@ -395,6 +395,11 @@ export interface TransactionPayment extends TransactionCommon {
* Reference to applied refunds
*/
refunds: RefundInfoShort[];
+
+ /**
+ * Is the wallet currently checking for a refund?
+ */
+ refundQueryActive: boolean;
}
export interface OrderShortInfo {