[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: -new field
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: -new field |
Date: |
Wed, 08 Jan 2025 15:42:58 +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 9e925fe44 -new field
9e925fe44 is described below
commit 9e925fe446dc67fe7cf874451bb7d8e3e4814655
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Jan 8 15:42:55 2025 +0100
-new field
---
packages/taler-util/src/types-taler-corebank.ts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/packages/taler-util/src/types-taler-corebank.ts
b/packages/taler-util/src/types-taler-corebank.ts
index 310b0c2e4..b9722c1f7 100644
--- a/packages/taler-util/src/types-taler-corebank.ts
+++ b/packages/taler-util/src/types-taler-corebank.ts
@@ -168,6 +168,7 @@ export interface BankAccountCreateWithdrawalResponse {
// URI that can be passed to the wallet to initiate the withdrawal.
taler_withdraw_uri: TalerUriString;
}
+
export interface WithdrawalPublicInfo {
// Current status of the operation
// pending: the operation is pending parameters selection (exchange and
reserve public key)
@@ -196,6 +197,14 @@ export interface WithdrawalPublicInfo {
// Exchange account selected by the wallet
// only non-null if status is selected or confirmed.
selected_exchange_account?: PaytoString;
+
+ // If true, the wallet must not allow the user to
+ // specify an amount to withdraw and to not provide
+ // any amount when registering with the withdrawal
+ // operation. The amount to withdraw will be set
+ // by the final /withdrawals/$WITHDRAWAL_ID/confirm step.
+ // @since **v8**
+ no_amount_to_wallet?: boolean;
}
export interface BankAccountTransactionsResponse {
@@ -811,6 +820,7 @@ export const codecForWithdrawalPublicInfo = ():
Codec<WithdrawalPublicInfo> =>
.property("username", codecForString())
.property("selected_reserve_pub", codecOptional(codecForString()))
.property("selected_exchange_account",
codecOptional(codecForPaytoString()))
+ .property("no_amount_to_wallet", codecOptional(codecForBoolean()))
.build("TalerCorebankApi.WithdrawalPublicInfo");
export const codecForBankAccountTransactionsResponse =
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: -new field,
gnunet <=