1{
2 component = {
3 jid = "component.localhost",
4 secret = "secret"
5 },
6 server = {
7 host = "localhost",
8 port = 5347
9 },
10 sgx = "component2.localhost",
11 creds = {
12 account = "00000",
13 username = "dashboard user",
14 password = "dashboard password"
15 },
16 catapult = {
17 user = "",
18 token = "",
19 secret = "",
20 application_id = "",
21 domain = "",
22 sip_host = ""
23 },
24 web_register = {
25 to = "cheogram",
26 from = "jmp-register@localhost"
27 },
28 bandwidth_site = "",
29 braintree = {
30 environment = "sandbox",
31 merchant_id = "",
32 public_key = "",
33 private_key = "",
34 merchant_accounts = {
35 USD = "",
36 CAD = ""
37 }
38 },
39 xep0157 = [
40 { var = "support-addresses", value = "xmpp:+14169938000@cheogram.com" }
41 ],
42 notify_admin = "muc@example.com",
43 sip_host = "sip.jmp.chat",
44 plans = [
45 {
46 name = "plan_name",
47 currency = < CAD | USD >.USD,
48 monthly_price = 29900,
49 minutes = <
50 unlimited |
51 limited: { included: Natural, price: Natural }
52 >.limited { included = 120, price = 87 },
53 messages = <
54 unlimited |
55 limited: { included: Natural, price: Natural }
56 >.unlimited
57 }
58 ],
59 electrum = {
60 rpc_uri = "",
61 rpc_username = "",
62 rpc_password = ""
63 },
64 oxr_app_id = "",
65 activation_amount = 15,
66 credit_card_url = \(jid: Text) -> \(customer_id: Text) ->
67 "https://pay.jmp.chat/${jid}/credit_cards?customer_id=${customer_id}",
68 adr = "",
69 interac = "",
70 payable = ""
71}