apply types for ints

refs tselitsk/chartercomplex-client#17