Convex domains of finite type