The present invention relates to compounds of Formula (I):
wherein R
1
, A, Y, n and m are as described herein, processes for preparing the compounds, pharmaceutical compositions comprising the compounds, and use of the compounds and compositions in the prophylaxis or treatment of orexin-1 receptor-related disorders and orexin-2 receptor-related disorders. Examples of such disorders are obesity and related disorders such as diabetes type II, dyslipidemia and the metabolic syndrome, cardiovascular diseases such as atherosclerotic vascular disease, angina pectoris, myocardial infarction and stroke, drug addiction, and sleeping disorders.