From 50005b06bfd38b738de6835b511378a36219060d Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 8 Mar 2024 23:11:45 -0300 Subject: fix #8578 --- packages/taler-util/src/http-client/types.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'packages/taler-util/src') 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 => buildCodecForObject() .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 { -- cgit v1.2.3