summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/notifications.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-03-29 00:06:24 -0300
committerSebastian <sebasjm@gmail.com>2023-03-29 00:06:24 -0300
commitefbde0e16033542ae104f5365be5cee6e65ef7b0 (patch)
tree65129a0a7e9a9791fcd38343841878a54ad49bf6 /packages/taler-util/src/notifications.ts
parentf414ca39e446563eb10c3c20defe79952fe71e6a (diff)
downloadwallet-core-efbde0e16033542ae104f5365be5cee6e65ef7b0.tar.gz
wallet-core-efbde0e16033542ae104f5365be5cee6e65ef7b0.tar.bz2
wallet-core-efbde0e16033542ae104f5365be5cee6e65ef7b0.zip
handle kyc error on invoice and transfer
Diffstat (limited to 'packages/taler-util/src/notifications.ts')
-rw-r--r--packages/taler-util/src/notifications.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-util/src/notifications.ts b/packages/taler-util/src/notifications.ts
index 51d573a98..0d85c85e9 100644
--- a/packages/taler-util/src/notifications.ts
+++ b/packages/taler-util/src/notifications.ts
@@ -62,7 +62,7 @@ export enum NotificationType {
PendingOperationProcessed = "pending-operation-processed",
ProposalRefused = "proposal-refused",
ReserveRegisteredWithBank = "reserve-registered-with-bank",
- WithdrawalGroupKycRequested = "withdrawal-group-kyc-requested",
+ KycRequested = "kyc-requested",
WithdrawalGroupBankConfirmed = "withdrawal-group-bank-confirmed",
WithdrawalGroupReserveReady = "withdrawal-group-reserve-ready",
PeerPullCreditReady = "peer-pull-credit-ready",
@@ -125,8 +125,8 @@ export interface RefreshMeltedNotification {
type: NotificationType.RefreshMelted;
}
-export interface WithdrawalGroupKycRequested {
- type: NotificationType.WithdrawalGroupKycRequested;
+export interface KycRequestedNotification {
+ type: NotificationType.KycRequested;
transactionId: string;
kycUrl: string;
}
@@ -324,7 +324,7 @@ export type WalletNotification =
| ReserveRegisteredWithBankNotification
| ReserveNotYetFoundNotification
| PayOperationSuccessNotification
- | WithdrawalGroupKycRequested
+ | KycRequestedNotification
| WithdrawalGroupBankConfirmed
| WithdrawalGroupReserveReadyNotification
| PeerPullCreditReadyNotification;