ATP Synthase EC number
What textbook is this? An ATP synthase is not a hydrolase, since it does not use water to break a chemical bond (at least not in its primary function). However, it couples proton translocation with ATP synthesis. Therefore it is a translocase.
See the following passage from qmul.ac.uk what category 7 is and why e.g. ATPase is classified as translocase rather than as hydrolase. (It is a hydrolase as well, but it's not its primary function.)

Translocases (EC 7): A new EC Class
Six enzyme classes have been recognized since the first Enzyme
classification and nomenclature list was first approved by the
International Union of Biochemistry in 1961. These were based on the
type of reaction catalysed: Oxidoreductases (EC 1), Transferases (EC
2), Hydrolases (EC 3), Lyases (EC 4), Isomerases (EC 5) and Ligases
(EC 6). However, it has become apparent that none of these could
describe the important group of enzymes that catalyse the movement of
ions or molecules across membranes or their separation within
membranes. Several of these involve the hydrolysis of ATP and had been
previously classified as ATPases (EC 3.6.3.-), although the hydrolytic
reaction is not their primary function.