1. The use of a compound of formula (I) or a pharmaceutically acceptable salt thereof for the manufacture of a medicament for the treatment of a condition or disorder mediated by antagonistic activity of the TRPM8 receptor where R, R, R, R, R and R are independently selected from the group consisting of hydrogen, C- C 1-6 alkyl, C 1-6 hydroxy, C 1-6 alkoxy C 1-6 alkyl and C 1-6 cycloalkyl; or, alternatively, R and R together with the atom to which they are attached form a 3-6 membered ring which may contain oxygen and / or nitrogen; wherein said cycle is optionally substituted with 1-4 substituents independently selected from the group consisting of halogen, hydroxy, C 1-6 alkyl and C 1-6 alkoxy; R and R, together with the atom to which they are attached, form a 3-6 membered ring, which may contain oxygen and / or nitrogen; wherein said cycle is optionally substituted with 1-4 substituents independently selected from the group consisting of halogen, hydroxy, C 1-6 alkyl and C 1-6 alkoxy; R and R, together with the atom to which they are attached, form a 3-6 membered ring, which may contain oxygen and / or nitrogen; where the specified cycle is optionally substituted by 1-4 substituents independently selected from the group consisting of halogen, hydroxy, C-Ci-alkyl and C-Ci-alkoxy; m is 0 or 1; n is 0, 1, 2 or 3; q is 0, 1 , 2 or 3; A, A, A and A are independently selected from a nitrogen atom and a carbon atom; where the number of nitrogen atoms does not exceed two; Z represents H, Ar or a substituent of the formula: RN (R) C (= O) -, where R and R are independently selected from hydrogen, C-Cialkyl, hydroxy C-Ci-alkyl, C-Ci-alkoxy-Ci-Ci, amino C 1-6 alkyl, C 1-6 alkylamino C 1-6 alkyl, di (C 1-6 alkyl) amino C 1-6 alkyl, 5-10 membered aryl, 5-10 membered aryl C 1-6 alkyl; where said aryl may be optional�1. Применение соединения формулы (I) или его фармацевтически приемлемой соли для производства лекарственного средства для лечения состояния или расстройства, опоср