CMS-4658 Create ts-classes for BinaryReference and ValueTypeBinaryReference