diff options
author | Florian Dold <florian@dold.me> | 2023-05-02 10:59:50 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-05-02 10:59:50 +0200 |
commit | 16d30adf0d57f6d954230c437e56e8a8700ef2ae (patch) | |
tree | 1f70267b3d4abd68df5be7da8ac769025a847e4e /packages/taler-wallet-core/src/wallet-api-types.ts | |
parent | c4f5c83b8e8614ead5f48952ea8b60b5b3a3971c (diff) | |
download | wallet-core-16d30adf0d57f6d954230c437e56e8a8700ef2ae.tar.xz |
-withdrawal notifications
Diffstat (limited to 'packages/taler-wallet-core/src/wallet-api-types.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet-api-types.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts index 9ddf82319..f394aa9ca 100644 --- a/packages/taler-wallet-core/src/wallet-api-types.ts +++ b/packages/taler-wallet-core/src/wallet-api-types.ts @@ -40,6 +40,7 @@ import { ApplyRefundResponse, BackupRecovery, BalancesResponse, + CancelAbortingTransactionRequest, CheckPeerPullCreditRequest, CheckPeerPullCreditResponse, CheckPeerPushDebitRequest, @@ -156,6 +157,7 @@ export enum WalletApiOperation { GetExchangeDetailedInfo = "getExchangeDetailedInfo", RetryPendingNow = "retryPendingNow", AbortTransaction = "abortTransaction", + CancelAbortingTransaction = "cancelAbortingTransaction", SuspendTransaction = "suspendTransaction", ResumeTransaction = "resumeTransaction", ConfirmPay = "confirmPay", @@ -328,6 +330,17 @@ export type AbortTransactionOp = { }; /** + * Cancel aborting a transaction + * + * For payment transactions, it puts the payment into an "aborting" state. + */ +export type CancelAbortingTransactionOp = { + op: WalletApiOperation.CancelAbortingTransaction; + request: CancelAbortingTransactionRequest; + response: EmptyObject; +}; + +/** * Suspend a transaction */ export type SuspendTransactionOp = { @@ -922,6 +935,7 @@ export type WalletOperations = { [WalletApiOperation.WithdrawTestkudos]: WithdrawTestkudosOp; [WalletApiOperation.ConfirmPay]: ConfirmPayOp; [WalletApiOperation.AbortTransaction]: AbortTransactionOp; + [WalletApiOperation.CancelAbortingTransaction]: CancelAbortingTransactionOp; [WalletApiOperation.SuspendTransaction]: SuspendTransactionOp; [WalletApiOperation.ResumeTransaction]: ResumeTransactionOp; [WalletApiOperation.GetBalances]: GetBalancesOp; |