diff options
Diffstat (limited to 'packages/taler-wallet-core/src/wallet-api-types.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet-api-types.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts index c58ced045..fdda4c4c2 100644 --- a/packages/taler-wallet-core/src/wallet-api-types.ts +++ b/packages/taler-wallet-core/src/wallet-api-types.ts @@ -38,7 +38,7 @@ import { ApplyDevExperimentRequest, BackupRecovery, BalancesResponse, - CancelAbortingTransactionRequest, + FailTransactionRequest, CheckPeerPullCreditRequest, CheckPeerPullCreditResponse, CheckPeerPushDebitRequest, @@ -166,9 +166,11 @@ export enum WalletApiOperation { GetExchangeDetailedInfo = "getExchangeDetailedInfo", RetryPendingNow = "retryPendingNow", AbortTransaction = "abortTransaction", - CancelAbortingTransaction = "cancelAbortingTransaction", + FailTransaction = "failTransaction", SuspendTransaction = "suspendTransaction", ResumeTransaction = "resumeTransaction", + DeleteTransaction = "deleteTransaction", + RetryTransaction = "retryTransaction", ConfirmPay = "confirmPay", DumpCoins = "dumpCoins", SetCoinSuspended = "setCoinSuspended", @@ -184,8 +186,6 @@ export enum WalletApiOperation { GetBackupInfo = "getBackupInfo", PrepareDeposit = "prepareDeposit", GetVersion = "getVersion", - DeleteTransaction = "deleteTransaction", - RetryTransaction = "retryTransaction", ListCurrencies = "listCurrencies", GenerateDepositGroupTxId = "generateDepositGroupTxId", CreateDepositGroup = "createDepositGroup", @@ -384,9 +384,9 @@ export type AbortTransactionOp = { * * For payment transactions, it puts the payment into an "aborting" state. */ -export type CancelAbortingTransactionOp = { - op: WalletApiOperation.CancelAbortingTransaction; - request: CancelAbortingTransactionRequest; +export type FailTransactionOp = { + op: WalletApiOperation.FailTransaction; + request: FailTransactionRequest; response: EmptyObject; }; @@ -979,7 +979,7 @@ export type WalletOperations = { [WalletApiOperation.WithdrawTestkudos]: WithdrawTestkudosOp; [WalletApiOperation.ConfirmPay]: ConfirmPayOp; [WalletApiOperation.AbortTransaction]: AbortTransactionOp; - [WalletApiOperation.CancelAbortingTransaction]: CancelAbortingTransactionOp; + [WalletApiOperation.FailTransaction]: FailTransactionOp; [WalletApiOperation.SuspendTransaction]: SuspendTransactionOp; [WalletApiOperation.ResumeTransaction]: ResumeTransactionOp; [WalletApiOperation.GetBalances]: GetBalancesOp; |