tedi CLI 0.12: Hosted SFTP Logins, Flow Offsets and Test Documents
Adrian Duyzer
The tedi CLI now shows what to give a partner for a hosted SFTP login, prints a flow’s offset, and can send one document as a test, and from 0.12.0 it needs Node.js 22 or newer instead of 18.
Impact: if you run tedi on Node 18 or 20, upgrade Node to 22 or newer first, then run tedi update. Node 18 and 20 are both past end of life. Scripts that read --json output are not affected, because --json still prints the server’s response unchanged, and exit codes have not changed.
Hosted SFTP connections:
tedi connection get <id>on a hosted SFTP connection prints the host and port with the login’s username, the server’s static IP addresses, each host key fingerprint, the addresses the login is allowed from (“any address” when you have not restricted it), and the login’s setup status with any error.tedi partner get <key>prints the same rows under the partner’s connection.- The password is never shown. The API does not return it.
Flows:
tedi flow getprints a flow with an offset asevery 15 minutes, offset :08, andtedi flow listprints it as15m, offset :08. That flow polls at :08, :23, :38 and :53 UTC. A flow with no offset prints as it did before.
Test documents:
tedi partner send ACME 850 order.json --usage-indicator Tsends that one document withT(test) in ISA15. Without the flag, the transaction set’s own setting applies.tedi partner getshows each transaction set’s setting in a USAGE column.tedi transaction getprints the usage indicator with its meaning, for exampleT (test).tedi transaction listmarks a test document with(T)after the transaction set, as in850 (T), and leaves production rows unmarked.
Partners and webhooks:
- The READY column in
tedi partner getnow names the missing step:no outbound flow (build it in the app)when the direction has no flow, oroutbound flow pending (activate it in the app)when a flow exists but is not active. Flows are built and activated in the Tediware app. Neither the CLI nor the API can do either. tedi webhook listhas a SIGNED column andtedi webhook geta Signed line, which say whether every delivery carries a verifiableX-Webhook-Signature. The signing secret itself is never returned.
Install and usage are on the tedi CLI page.
This update was written with AI assistance. It has been reviewed and edited by a human.