Minecraft wiki entry for Item_modifier, associated text: enchant_with_levels—Enchants the item, with the specified enchantment level (roughly equivalent to using an enchantment table at that level).
 treasure: Determines whether treasure enchantments are allowed on this item.
 levels: Number provider. Specifies the exact enchantment level to use.