gnunet-svn
[Top][All Lists]
Advanced

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

[taler-docs] branch master updated: update wallet-core docs


From: gnunet
Subject: [taler-docs] branch master updated: update wallet-core docs
Date: Tue, 20 Jun 2023 20:16:20 +0200

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

dold pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 06e91617 update wallet-core docs
06e91617 is described below

commit 06e916173f7a5c1a73c902b89fae26ac674e4ddf
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Jun 20 20:16:17 2023 +0200

    update wallet-core docs
---
 wallet/wallet-core.md | 62 ++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 47 insertions(+), 15 deletions(-)

diff --git a/wallet/wallet-core.md b/wallet/wallet-core.md
index f860cfbd..1b97c9df 100644
--- a/wallet/wallet-core.md
+++ b/wallet/wallet-core.md
@@ -273,20 +273,6 @@ interface GetPlanForWalletInitiatedOperation {
   mode: TransactionAmountMode;
 }
 
-```
-```typescript
-/**
- * How the amount should be interpreted in a transaction
- * Effective = how the balance is change
- * Raw = effective amount without fee
- *
- * Depending on the transaction, raw can be higher than effective
- */
-export declare enum TransactionAmountMode {
-  Effective = "effective",
-  Raw = "raw",
-}
-
 ```
 ```typescript
 interface GetPlanForDepositRequest extends GetPlanForWalletInitiatedOperation {
@@ -1779,6 +1765,12 @@ export type PreparePeerPushCreditOp = {
 };
 // PreparePeerPushCredit = "preparePeerPushCredit"
 
+```
+```typescript
+export interface PreparePeerPushCreditRequest {
+  talerUri: string;
+}
+
 ```
 ```typescript
 export interface PreparePeerPushCreditResponse {
@@ -2765,6 +2757,36 @@ export interface WalletCoreVersion {
 }
 ```
 ```typescript
+/**
+ * How the amount should be interpreted in a transaction
+ * Effective = how the balance is change
+ * Raw = effective amount without fee
+ *
+ * Depending on the transaction, raw can be higher than effective
+ */
+export declare enum TransactionAmountMode {
+  Effective = "effective",
+  Raw = "raw",
+}
+```
+```typescript
+export interface ConvertAmountRequest {
+  amount: AmountString;
+  type: TransactionAmountMode;
+}
+```
+```typescript
+export interface AmountResponse {
+  effectiveAmount: AmountString;
+  rawAmount: AmountString;
+}
+```
+```typescript
+export interface GetAmountRequest {
+  currency: string;
+}
+```
+```typescript
 export interface TransactionsResponse {
   transactions: Transaction[];
 }
@@ -2816,7 +2838,7 @@ export interface TransactionCommon {
   /**
    * Possible transitions based on the current state.
    */
-  txActions: string[];
+  txActions: TransactionAction[];
   /**
    * Raw amount of the transaction (exclusive of fees or other extra costs).
    */
@@ -2934,6 +2956,16 @@ export declare enum TransactionMinorState {
 }
 ```
 ```typescript
+export declare enum TransactionAction {
+  Delete = "delete",
+  Suspend = "suspend",
+  Resume = "resume",
+  Abort = "abort",
+  Fail = "fail",
+  Retry = "retry",
+}
+```
+```typescript
 export interface TalerErrorDetail {
   code: TalerErrorCode;
   when?: AbsoluteTime;

-- 
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]