Typegen generation error

I am trying to use discount allocator functions.
When i am trying to generate typegen of run.graphql, it throws an error.
I am uploading the screenshots as well.