According to the official REST API docs, some fields like slug and id are guaranteed to be there. When looking at the of the client, these fields are marked as optional, e.g. can be undefined. That makes using the client unnecessarily complicated, as either explicit checks for availability of those fields need to be added to the code, or fields need to be declared as explicitly available, e.g. data.slug! when being used.