All calls return RestApiResponse<T>:
statusCode: HTTP statusbody: raw decoded JSONdata: parsed payload (typed)message: server message when availableGate values can be returned as:
true / false{ "allowed": true, "message": "..." }The SDK parses both formats with GateValue.fromJson(...).
Use allowed and message in the UI:
if (!item.gates.canUpdate) {
showError(item.gates.updateMessage ?? 'Not allowed');
}