[refactor] Move type declaration at top of http file
[refactor] Move type declaration at top of http file

mgranberry/ttn,TheThingsNetwork/ttn,TheThingsNetwork/ttn,LoRaWanSoFa/ttn,mgranberry/ttn,mgranberry/ttn,jvanmalder/ttn,TheThingsNetwork/ttn,jvanmalder/ttn,jvanmalder/ttn,LoRaWanSoFa/ttn