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 :
21    { account : Text
22    , client_id : Text
23    , client_secret : Text
24    , password : Text
25    , username : Text
26    }
27, direct_sources : List { mapKey : Text, mapValue : Text }
28, direct_targets : List { mapKey : Text, mapValue : Text }
29, electrum :
30    { currency : Text
31    , rpc_password : Text
32    , rpc_uri : Text
33    , rpc_username : Text
34    }
35, electrum_bch :
36    { currency : Text
37    , rpc_password : Text
38    , rpc_uri : Text
39    , rpc_username : Text
40    }
41, electrum_notify_url :
42    forall (address : Text) ->
43    forall (customer_id : Text) ->
44    forall (currency : Text) ->
45      Text
46, interac : Text
47, keep_area_codes : List { area_code : Text, premium_price : Optional Natural }
48, keep_area_codes_in : { account : Text, sip_peer_id : Text, site_id : Text }
49, keepgo : Optional { access_token : Text, api_key : Text }
50, notify_admin : Text
51, notify_from : Text
52, offer_codes : List { mapKey : Text, mapValue : Text }
53, ogm_path : Text
54, ogm_web_root : Text
55, onboarding_domain : Text
56, oxr_app_id : Text
57, parented_domains :
58    List { mapKey : Text, mapValue : { customer_id : Text, plan_name : Text } }
59, payable : Text
60, plans :
61    List
62      { allow_register : Bool
63      , currency : < CAD | USD >
64      , messages :
65          < limited : { included : Natural, price : Natural } | unlimited >
66      , minutes :
67          < limited : { included : Natural, price : Natural } | unlimited >
68      , monthly_price : Natural
69      , name : Text
70      , subaccount_discount : Natural
71      }
72, public_onboarding_url : Text
73, reachability_senders : List Text
74, rev_ai_token : Text
75, server : { host : Text, port : Natural }
76, sgx : Text
77, sgx_creds :
78    List
79      { mapKey : Text
80      , mapValue : { account : Text, password : Text, username : Text }
81      }
82, simpleswap_api_key : Text
83, sims :
84    { annual : { CAD : Natural, USD : Natural }
85    , esim : { CAD : Natural, USD : Natural }
86    , per_gb : { CAD : Natural, USD : Natural }
87    , sim : { CAD : Natural, USD : Natural }
88    }
89, sip : { app : Text, realm : Text }
90, sip_host : Text
91, snikket_hosting_api : Text
92, support_link : forall (customer_jid : Text) -> 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}