taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 00751840de19e381ea38acb250640024df81bfb1
parent 0be7e3940a0e4a29eada737862acd808e2061df5
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date:   Fri, 30 Oct 2026 10:50:33 +0100

mailbox: Update to current mailbox config response format

Diffstat:
Mpackages/taler-util/src/types-taler-mailbox.ts | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/packages/taler-util/src/types-taler-mailbox.ts b/packages/taler-util/src/types-taler-mailbox.ts @@ -41,7 +41,9 @@ export const codecForTalerMailboxConfigResponse = .property("version", codecForString()) .property("name", codecForConstString("taler-mailbox")) .property("monthly_fee", codecForAmountString()) + .property("message_fee", codecForAmountString()) .property("registration_update_fee", codecForAmountString()) + .property("free_message_quota", codecForNumber()) .property("message_body_bytes", codecForNumber()) .property("message_response_limit", codecForNumber()) .property("delivery_period", codecForDuration) @@ -76,6 +78,18 @@ export interface TalerMailboxConfigResponse { // registration period (30 days) of a mailbox // May be 0 for a free registration. monthly_fee: AmountString; + + // How much is the cost to send a single + // message to a mailbox. + // May be 0 for free message sending. + message_fee: AmountString; + + // How many messages can be send and + // are stored by the service for free. + // After the quota is reached, the + // regular message_fee applies. + // May be 0 for no free quota. + free_message_quota: Integer; } export type MailboxRegisterResult =