diff --git a/package-lock.json b/package-lock.json index 77f86ac..6a23ea4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "devDependencies": { "@prettier/plugin-php": "^0.24.0", "@seamapi/nextlove-sdk-generator": "^1.19.10", - "@seamapi/types": "1.818.0", + "@seamapi/types": "1.822.0", "del": "^7.1.0", "prettier": "^3.0.0" } @@ -533,9 +533,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.818.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.818.0.tgz", - "integrity": "sha512-IML1OBYMJnlK3xLGR/YgLC5HoGDzXbS9Fgj2VZbO7S0GlG6AUoKqAqiIAfDx6SaflzqaaYSDRooadIoJfQM52A==", + "version": "1.822.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.822.0.tgz", + "integrity": "sha512-4lRHfF+HVsfHDzz72H2ptKHLVccfpdgBY9idlpq4+gqSh467J10uJx44o9JuC8M0gwxxghe0fFTkTGfVRqfL6A==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 37c4fba..9df80bb 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "devDependencies": { "@prettier/plugin-php": "^0.24.0", "@seamapi/nextlove-sdk-generator": "^1.19.10", - "@seamapi/types": "1.818.0", + "@seamapi/types": "1.822.0", "del": "^7.1.0", "prettier": "^3.0.0" } diff --git a/src/Objects/Event.php b/src/Objects/Event.php index 01a1441..709d5da 100644 --- a/src/Objects/Event.php +++ b/src/Objects/Event.php @@ -96,9 +96,10 @@ public static function from_json(mixed $json): Event|null hvac_mode_setting: $json->hvac_mode_setting ?? null, image_url: $json->image_url ?? null, is_backup_code: $json->is_backup_code ?? null, - is_bluetooth_action: $json->is_bluetooth_action ?? null, is_fallback_climate_preset: $json->is_fallback_climate_preset ?? null, + is_via_bluetooth: $json->is_via_bluetooth ?? null, + is_via_nfc: $json->is_via_nfc ?? null, method: $json->method ?? null, minut_metadata: $json->minut_metadata ?? null, motion_sub_type: $json->motion_sub_type ?? null, @@ -183,8 +184,9 @@ public function __construct( public string|null $hvac_mode_setting, public string|null $image_url, public bool|null $is_backup_code, - public bool|null $is_bluetooth_action, public bool|null $is_fallback_climate_preset, + public bool|null $is_via_bluetooth, + public bool|null $is_via_nfc, public string|null $method, public mixed $minut_metadata, public string|null $motion_sub_type,