refactor(status): using status constants in client instead of ints