summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <ms@taler.net>2020-05-12 19:09:09 +0200
committerMarcello Stanisci <ms@taler.net>2020-05-12 19:09:34 +0200
commitd8a5bb40882aaa067a5caf49a8428374349d530b (patch)
tree28eff5ab85c09627253663a1dcf84b349dca65af
parent05cb8fc7935cb409d4776eb78f21452a86e66693 (diff)
downloaddocs-d8a5bb40882aaa067a5caf49a8428374349d530b.tar.gz
docs-d8a5bb40882aaa067a5caf49a8428374349d530b.tar.bz2
docs-d8a5bb40882aaa067a5caf49a8428374349d530b.zip
more on the overloaded types
-rw-r--r--libeufin/api-nexus.rst19
1 files 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 {