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 sip_host = "sip.jmp.chat",
43 plans = [
44 {
45 name = "plan_name",
46 currency = < CAD | USD >.USD,
47 monthly_price = 29900,
48 minutes = <
49 unlimited |
50 limited: { included: Natural, price: Natural }
51 >.limited { included = 120, price = 87 },
52 messages = <
53 unlimited |
54 limited: { included: Natural, price: Natural }
55 >.unlimited
56 }
57 ],
58 electrum = {
59 rpc_uri = "",
60 rpc_username = "",
61 rpc_password = ""
62 },
63 oxr_app_id = "",
64 activation_amount = 15,
65 credit_card_url = \(jid: Text) -> \(customer_id: Text) ->
66 "https://pay.jmp.chat/${jid}/credit_cards?customer_id=${customer_id}"
67}