feat: allow transformation type for apis