aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/notifications.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-util/src/notifications.ts')
-rw-r--r--packages/taler-util/src/notifications.ts10
1 files changed, 9 insertions, 1 deletions
diff --git a/packages/taler-util/src/notifications.ts b/packages/taler-util/src/notifications.ts
index bc1c4b71f..9d3ca32b0 100644
--- a/packages/taler-util/src/notifications.ts
+++ b/packages/taler-util/src/notifications.ts
@@ -62,6 +62,7 @@ export enum NotificationType {
PendingOperationProcessed = "pending-operation-processed",
ProposalRefused = "proposal-refused",
ReserveRegisteredWithBank = "reserve-registered-with-bank",
+ WithdrawalKycRequested = "withdrawal-kyc-requested",
DepositOperationError = "deposit-operation-error",
}
@@ -117,6 +118,12 @@ export interface RefreshMeltedNotification {
type: NotificationType.RefreshMelted;
}
+export interface WithdrawalKycRequested {
+ type: NotificationType.WithdrawalKycRequested;
+ transactionId: string;
+ kycUrl: string;
+}
+
export interface RefreshRevealedNotification {
type: NotificationType.RefreshRevealed;
}
@@ -285,4 +292,5 @@ export type WalletNotification =
| ProposalRefusedNotification
| ReserveRegisteredWithBankNotification
| ReserveNotYetFoundNotification
- | PayOperationSuccessNotification;
+ | PayOperationSuccessNotification
+ | WithdrawalKycRequested;