config-schema.dhall

 1{ activation_amount : Natural
 2, activation_amount_accept : Natural
 3, admins : List Text
 4, adr : Text
 5, approved_domains : List { mapKey : Text, mapValue : Optional Text }
 6, bandwidth_peer : Text
 7, bandwidth_site : Text
 8, braintree :
 9    { environment : Text
10    , merchant_accounts : { CAD : Text, USD : Text }
11    , merchant_id : Text
12    , private_key : Text
13    , public_key : Text
14    }
15, bulk_order_tokens :
16    List { mapKey : Text, mapValue : { customer_id : Text, peer_id : Text } }
17, churnbuster : { account_id : Text, api_key : Text }
18, component : { jid : Text, secret : Text }
19, credit_card_url : forall (jid : Text) -> forall (customer_id : Text) -> Text
20, creds : { account : Text, password : Text, username : Text }
21, direct_sources : List { mapKey : Text, mapValue : Text }
22, direct_targets : List { mapKey : Text, mapValue : Text }
23, electrum :
24    { currency : Text
25    , rpc_password : Text
26    , rpc_uri : Text
27    , rpc_username : Text
28    }
29, electrum_bch :
30    { currency : Text
31    , rpc_password : Text
32    , rpc_uri : Text
33    , rpc_username : Text
34    }
35, electrum_notify_url :
36    forall (address : Text) ->
37    forall (customer_id : Text) ->
38    forall (currency : Text) ->
39      Text
40, interac : Text
41, keep_area_codes : List { area_code: Text, premium_price : Optional Natural }
42, keep_area_codes_in : { account : Text, sip_peer_id : Text, site_id : Text }
43, keepgo : Optional { access_token : Text, api_key : Text }
44, notify_admin : Text
45, notify_from : Text
46, offer_codes : List { mapKey : Text, mapValue : Text }
47, ogm_path : Text
48, ogm_web_root : Text
49, onboarding_domain : Text
50, oxr_app_id : Text
51, parented_domains :
52    List { mapKey : Text, mapValue : { customer_id : Text, plan_name : Text } }
53, payable : Text
54, plans :
55    List
56      { allow_register : Bool
57      , currency : < CAD | USD >
58      , messages :
59          < limited : { included : Natural, price : Natural } | unlimited >
60      , minutes :
61          < limited : { included : Natural, price : Natural } | unlimited >
62      , monthly_price : Natural
63      , name : Text
64      , subaccount_discount : Natural
65      }
66, reachability_senders : List Text
67, rev_ai_token : Text
68, server : { host : Text, port : Natural }
69, sgx : Text
70, sgx_creds :
71    List
72      { mapKey : Text
73      , mapValue : { account : Text, password : Text, username : Text }
74      }
75, simpleswap_api_key : Text
76, sims :
77    { esim :
78        List
79          { mapKey : < CAD | USD >
80          , mapValue : { plan : Text, price : Natural }
81          }
82    , sim :
83        List
84          { mapKey : < CAD | USD >
85          , mapValue : { plan : Text, price : Natural }
86          }
87    }
88, sip : { app : Text, realm : Text }
89, sip_host : Text
90, snikket_hosting_api : Text
91, support_link : forall (customer_jid : Text) -> Text
92, public_onboarding_url : Text
93, upstream_domain : Text
94, web : < Inet : { interface : Text, port : Natural } | Unix : Text >
95, web_register : { from : Text, to : Text }
96, web_root : Text
97, xep0157 : List { label : Text, value : Text, var : Text }
98}