The Cosmic Ray Primary Spectrum in the Transition Region between Direct and Indirect Measurements (10 TeV–10 PeV)