From efbde0e16033542ae104f5365be5cee6e65ef7b0 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 29 Mar 2023 00:06:24 -0300 Subject: handle kyc error on invoice and transfer --- packages/taler-util/src/notifications.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/taler-util/src') 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; -- cgit v1.2.3