gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: wallet-core: group API types


From: gnunet
Subject: [taler-wallet-core] branch master updated: wallet-core: group API types
Date: Tue, 21 Feb 2023 02:02:56 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 4b642ea53 wallet-core: group API types
4b642ea53 is described below

commit 4b642ea53e868f6f2c450798e995c101b4588a05
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Feb 21 02:02:47 2023 +0100

    wallet-core: group API types
---
 packages/taler-wallet-core/src/wallet-api-types.ts | 58 +++++++++++-----------
 1 file 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
 
 /**
@@ -350,35 +379,6 @@ export type ConfirmPayOp = {
   response: ConfirmPayResult;
 };
 
-/**
- * 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.
  */

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]