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, reachability_senders : List Text
 73, rev_ai_token : Text
 74, server : { host : Text, port : Natural }
 75, sgx : Text
 76, sgx_creds :
 77    List
 78      { mapKey : Text
 79      , mapValue : { account : Text, password : Text, username : Text }
 80      }
 81, simpleswap_api_key : Text
 82, sims :
 83    { esim :
 84        List
 85          { mapKey : < CAD | USD >
 86          , mapValue : { plan : Text, price : Natural }
 87          }
 88    , sim :
 89        List
 90          { mapKey : < CAD | USD >
 91          , mapValue : { plan : Text, price : Natural }
 92          }
 93    }
 94, sip : { app : Text, realm : Text }
 95, sip_host : Text
 96, snikket_hosting_api : Text
 97, support_link : forall (customer_jid : Text) -> Text
 98, public_onboarding_url : Text
 99, upstream_domain : Text
100, web : < Inet : { interface : Text, port : Natural } | Unix : Text >
101, web_register : { from : Text, to : Text }
102, web_root : Text
103, xep0157 : List { label : Text, value : Text, var : Text }
104}