diff options
author | Sebastian <sebasjm@gmail.com> | 2021-11-24 08:55:37 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-11-24 08:58:48 -0300 |
commit | f07436aa4910114a514235fb17879411dae0a555 (patch) | |
tree | 83e1dd651ca895882b74aa6bb1d5f188a3415e4d /packages/taler-util/src/notifications.ts | |
parent | b3b3c21acba0cda261d339572de02aff0e704b59 (diff) | |
download | wallet-core-f07436aa4910114a514235fb17879411dae0a555.tar.gz wallet-core-f07436aa4910114a514235fb17879411dae0a555.tar.bz2 wallet-core-f07436aa4910114a514235fb17879411dae0a555.zip |
new exchange-added notifiaction and including tos information in the wxApi.listExchange api
Diffstat (limited to 'packages/taler-util/src/notifications.ts')
-rw-r--r-- | packages/taler-util/src/notifications.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/taler-util/src/notifications.ts b/packages/taler-util/src/notifications.ts index 289dcb689..e8f27062c 100644 --- a/packages/taler-util/src/notifications.ts +++ b/packages/taler-util/src/notifications.ts @@ -45,6 +45,7 @@ export enum NotificationType { RefundQueried = "refund-queried", RefundFinished = "refund-finished", ExchangeOperationError = "exchange-operation-error", + ExchangeAdded = "exchange-added", RefreshOperationError = "refresh-operation-error", RecoupOperationError = "recoup-operation-error", RefundApplyOperationError = "refund-apply-error", @@ -150,6 +151,10 @@ export interface RefundFinishedNotification { type: NotificationType.RefundFinished; } +export interface ExchangeAddedNotification { + type: NotificationType.ExchangeAdded; +} + export interface ExchangeOperationErrorNotification { type: NotificationType.ExchangeOperationError; error: TalerErrorDetails; @@ -243,6 +248,7 @@ export type WalletNotification = | BackupOperationErrorNotification | WithdrawOperationErrorNotification | ReserveOperationErrorNotification + | ExchangeAddedNotification | ExchangeOperationErrorNotification | RefreshOperationErrorNotification | RefundStatusOperationErrorNotification |