summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/http-client/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-util/src/http-client/types.ts')
-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 {