From d8a5bb40882aaa067a5caf49a8428374349d530b Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 12 May 2020 19:09:09 +0200 Subject: more on the overloaded types --- libeufin/api-nexus.rst | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst index caca4390..4acd31db 100644 --- a/libeufin/api-nexus.rst +++ b/libeufin/api-nexus.rst @@ -271,8 +271,7 @@ to the real bank. interface BankTransport { - // Mnemonic identifier for the transport bein created. - name: string; + transport: Transport; // Restore a previous transport. Take precedence // over the 'new' field. @@ -284,6 +283,22 @@ to the real bank. } + .. ts:def:: TransportNew + + interface TransportNew { + + // This type is strictly dependent on + // the transport being created. For Ebics, + // it will contain the required fields (as strings): + // 'ebicsURL', 'userID', 'partnerID', 'hostID', and + // the optional 'systemID'. + + // Other transport types, like 'local' (used for testing + // purposes skipping any interaction with the bank service) + // and 'fints' are all work in progress! + + } + .. ts:def:: TransportBackup interface TransportBackup { -- cgit v1.2.3