aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/taler-wallet-core/src/wallet-api-types.ts58
1 files changed, 29 insertions, 29 deletions
diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts
index 36c7677ac..84bad09fe 100644
--- a/packages/taler-wallet-core/src/wallet-api-types.ts
+++ b/packages/taler-wallet-core/src/wallet-api-types.ts
@@ -276,6 +276,35 @@ export type RetryTransactionOp = {
response: EmptyObject;
};
+/**
+ * Abort a transaction
+ *
+ * For payment transactions, it puts the payment into an "aborting" state.
+ */
+export type AbortTransactionOp = {
+ op: WalletApiOperation.AbortTransaction;
+ request: AbortTransactionRequest;
+ response: EmptyObject;
+};
+
+/**
+ * Suspend a transaction
+ */
+export type SuspendTransactionOp = {
+ op: WalletApiOperation.SuspendTransaction;
+ request: AbortTransactionRequest;
+ response: EmptyObject;
+};
+
+/**
+ * Resume a transaction
+ */
+export type ResumeTransactionOp = {
+ op: WalletApiOperation.ResumeTransaction;
+ request: AbortTransactionRequest;
+ response: EmptyObject;
+};
+
// group: Withdrawals
/**
@@ -351,35 +380,6 @@ export type ConfirmPayOp = {
};
/**
- * Abort a transaction
- *
- * For payment transactions, it puts the payment into an "aborting" state.
- */
-export type AbortTransactionOp = {
- op: WalletApiOperation.AbortTransaction;
- request: AbortTransactionRequest;
- response: EmptyObject;
-};
-
-/**
- * Suspend a transaction
- */
-export type SuspendTransactionOp = {
- op: WalletApiOperation.SuspendTransaction;
- request: AbortTransactionRequest;
- response: EmptyObject;
-};
-
-/**
- * Resume a transaction
- */
-export type ResumeTransactionOp = {
- op: WalletApiOperation.ResumeTransaction;
- request: AbortTransactionRequest;
- response: EmptyObject;
-};
-
-/**
* Check for a refund based on a taler://refund URI.
*/
export type ApplyRefundOp = {