Some time ago I posted a little tool that spits out a constants for operations found in an AzMan store.
Joe Langley extended the code a bit and now generates enums. Furthermore it creates a file and you can specify the namespace. You can download his version here.