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.ts22
1 files changed, 18 insertions, 4 deletions
diff --git a/packages/taler-util/src/notifications.ts b/packages/taler-util/src/notifications.ts
index 9d3ca32b0..823c4130d 100644
--- a/packages/taler-util/src/notifications.ts
+++ b/packages/taler-util/src/notifications.ts
@@ -62,7 +62,9 @@ export enum NotificationType {
PendingOperationProcessed = "pending-operation-processed",
ProposalRefused = "proposal-refused",
ReserveRegisteredWithBank = "reserve-registered-with-bank",
- WithdrawalKycRequested = "withdrawal-kyc-requested",
+ WithdrawalGroupKycRequested = "withdrawal-group-kyc-requested",
+ WithdrawalGroupBankConfirmed = "withdrawal-group-bank-confirmed",
+ WithdrawalGroupReserveReady = "withdrawal-group-reserve-ready",
DepositOperationError = "deposit-operation-error",
}
@@ -118,12 +120,22 @@ export interface RefreshMeltedNotification {
type: NotificationType.RefreshMelted;
}
-export interface WithdrawalKycRequested {
- type: NotificationType.WithdrawalKycRequested;
+export interface WithdrawalGroupKycRequested {
+ type: NotificationType.WithdrawalGroupKycRequested;
transactionId: string;
kycUrl: string;
}
+export interface WithdrawalGroupBankConfirmed {
+ type: NotificationType.WithdrawalGroupBankConfirmed;
+ transactionId: string;
+}
+
+export interface WithdrawalGroupReserveReady {
+ type: NotificationType.WithdrawalGroupReserveReady;
+ transactionId: string;
+}
+
export interface RefreshRevealedNotification {
type: NotificationType.RefreshRevealed;
}
@@ -293,4 +305,6 @@ export type WalletNotification =
| ReserveRegisteredWithBankNotification
| ReserveNotYetFoundNotification
| PayOperationSuccessNotification
- | WithdrawalKycRequested;
+ | WithdrawalGroupKycRequested
+ | WithdrawalGroupBankConfirmed
+ | WithdrawalGroupReserveReady;