diff options
author | Florian Dold <florian@dold.me> | 2024-05-23 19:50:59 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-05-23 19:50:59 +0200 |
commit | cdcedf65595393fc186eb2012d3ae6cd55540f59 (patch) | |
tree | 88c4eecce4673c1c2b7b3b6eaadfb4b7f8df0ce8 /packages/taler-util/src/http-client | |
parent | 527716758f154eb863acb0052f004dd23313f765 (diff) | |
download | wallet-core-cdcedf65595393fc186eb2012d3ae6cd55540f59.tar.xz |
wallet-core: support bank-integrated withdrawal with amount selection by wallet
Diffstat (limited to 'packages/taler-util/src/http-client')
-rw-r--r-- | packages/taler-util/src/http-client/types.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-util/src/http-client/types.ts b/packages/taler-util/src/http-client/types.ts index edddf7d94..9268f6387 100644 --- a/packages/taler-util/src/http-client/types.ts +++ b/packages/taler-util/src/http-client/types.ts @@ -1311,7 +1311,7 @@ export const codecForBankWithdrawalOperationStatus = codecForConstString("confirmed"), ), ) - .property("amount", codecForAmountString()) + .property("amount", codecOptional(codecForAmountString())) .property("sender_wire", codecOptional(codecForPaytoString())) .property("suggested_exchange", codecOptional(codecForString())) .property("confirm_transfer_url", codecOptional(codecForURL())) @@ -2030,7 +2030,7 @@ export namespace TalerBankIntegrationApi { // Amount that will be withdrawn with this operation // (raw amount without fee considerations). - amount: AmountString; + amount: AmountString | undefined; // Bank account of the customer that is withdrawing, as a // payto URI. |