It would be great if js client could by type safe with typescript support. Otherwise we can just use the API.