compile to go

./scripts/gen_api.sh

compile to ts

./scripts/gen_ts.sh