From b337e90302a53a1b11998c9f3b983c08d2a851c7 Mon Sep 17 00:00:00 2001 From: Andrea Rosci Date: Mon, 15 Jul 2024 18:41:12 +0200 Subject: [PATCH] Add typing for `update_status` and `last_update_status_event` in the Device resource Change-type: minor --- balena/types/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/balena/types/models.py b/balena/types/models.py index e128436f..a792c462 100644 --- a/balena/types/models.py +++ b/balena/types/models.py @@ -292,6 +292,8 @@ class TypeDevice(TypedDict): is_accessible_by_support_until__date: str is_connected_to_vpn: bool is_locked_until__date: str + update_status: Literal[ "rejected", "downloading", "downloaded", "applying changes", "aborted", "done"] + last_update_status_event: str is_web_accessible: bool is_active: bool # This is a computed term