If you bought the calliper separately, then no, it won’t come with the parts for the hose. The word you are looking for is compression nut. It’ll vary by calliper, my calliper uses a banjo fitting, different again.
What’s in your bag of bits? We also have no idea what your calliper model is either, so no one can specific on what nut you want.