From 2ae78390d3288e1f21fe3a2eba809b8483d1a955 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 30 Jun 2021 13:07:58 -0500 Subject: [PATCH] Add plans and electrum structure to example --- config.dhall.sample | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/config.dhall.sample b/config.dhall.sample index eefb270dd843fcc579b1bf85af978f1d129d6861..6d95044faa992ae7ca9d607d5e5b3d0c186d08a5 100644 --- a/config.dhall.sample +++ b/config.dhall.sample @@ -40,8 +40,26 @@ { var = "support-addresses", value = "xmpp:+14169938000@cheogram.com" } ], sip_host = "sip.jmp.chat", - plans = ./plans.dhall, - electrum = ./electrum.dhall, + plans = [ + { + name = "plan_name", + currency = < CAD | USD >.USD, + monthly_price = 29900, + minutes = < + unlimited | + limited: { included: Natural, price: Natural } + >.limited { included = 120, price = 87 }, + messages = < + unlimited | + limited: { included: Natural, price: Natural } + >.unlimited + } + ], + electrum = { + rpc_uri = "", + rpc_username = "", + rpc_password = "" + }, oxr_app_id = "", activation_amount = 15, credit_card_url = \(jid: Text) -> \(customer_id: Text) ->