feat(main) support all barcode types