summaryrefslogtreecommitdiff
path: root/packages/taler-util/src
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-03-08 23:11:45 -0300
committerSebastian <sebasjm@gmail.com>2024-03-08 23:11:45 -0300
commit50005b06bfd38b738de6835b511378a36219060d (patch)
tree050393dcb12320a16b5741ff9def13638a447599 /packages/taler-util/src
parente92440e257b4df4a232a28701143a4f9db730458 (diff)
downloadwallet-core-50005b06bfd38b738de6835b511378a36219060d.tar.gz
wallet-core-50005b06bfd38b738de6835b511378a36219060d.tar.bz2
wallet-core-50005b06bfd38b738de6835b511378a36219060d.zip
fix #8578
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r--packages/taler-util/src/http-client/types.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/taler-util/src/http-client/types.ts b/packages/taler-util/src/http-client/types.ts
index e7c7eb4c9..22272d12f 100644
--- a/packages/taler-util/src/http-client/types.ts
+++ b/packages/taler-util/src/http-client/types.ts
@@ -265,6 +265,7 @@ export const codecForCoreBankConfig = (): Codec<TalerCorebankApi.Config> =>
buildCodecForObject<TalerCorebankApi.Config>()
.property("name", codecForConstString("libeufin-bank"))
.property("version", codecForString())
+ .property("bank_name", codecForString())
.property("allow_conversion", codecForBoolean())
.property("allow_registrations", codecForBoolean())
.property("allow_deletions", codecForBoolean())
@@ -1320,6 +1321,11 @@ export namespace TalerCorebankApi {
// API version in the form $n:$n:$n
version: string;
+ // Bank display name to be used in user interfaces.
+ // For consistency use "Taler Bank" if missing.
+ // @since v4, will become mandatory in the next version.
+ bank_name: string;
+
// If 'true' the server provides local currency conversion support
// If 'false' some parts of the API are not supported and return 501
allow_conversion: boolean;
@@ -1355,7 +1361,7 @@ export namespace TalerCorebankApi {
// Wire transfer type supported by the bank.
// Default to 'iban' is missing
// @since v4, may become mandatory in the future.
- wire_type?: string;
+ wire_type: string;
}
export interface BankAccountCreateWithdrawalRequest {