add type for v1beta1