minor: Use enums for setting inv/asset types on data upload rather than magic numbers