diff --git a/package-lock.json b/package-lock.json index 770af44..57fcea4 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.1", - "@seamapi/types": "1.577.0", + "@seamapi/types": "1.582.0", "del": "^7.1.0", "prettier": "^3.0.0" } @@ -456,9 +456,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.577.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.577.0.tgz", - "integrity": "sha512-8rOSO4/zsXzDplmOs/v7ZFhUsintZKkvhSQ3GLJ0M3YugMZuwrSLYqcqPUuG14ees/zojPYQgoVSaMmK5zLWYQ==", + "version": "1.582.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.582.0.tgz", + "integrity": "sha512-IV80fc2QH6LCBbmd5k9Fegj3BhhPEi0kajgY0dP0o/ue4ixjmfhyQM/HeQn4gpG//+XQE3twCK1wjPqcL4g7bQ==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index ccd9287..8506e37 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "devDependencies": { "@prettier/plugin-php": "^0.24.0", "@seamapi/nextlove-sdk-generator": "^1.19.1", - "@seamapi/types": "1.577.0", + "@seamapi/types": "1.582.0", "del": "^7.1.0", "prettier": "^3.0.0" } diff --git a/src/Objects/Device.php b/src/Objects/Device.php index 0e4a42c..c20685b 100644 --- a/src/Objects/Device.php +++ b/src/Objects/Device.php @@ -36,6 +36,12 @@ public static function from_json(mixed $json): Device|null null, can_program_online_access_codes: $json->can_program_online_access_codes ?? null, + can_program_thermostat_programs_as_different_each_day: $json->can_program_thermostat_programs_as_different_each_day ?? + null, + can_program_thermostat_programs_as_same_each_day: $json->can_program_thermostat_programs_as_same_each_day ?? + null, + can_program_thermostat_programs_as_weekday_weekend: $json->can_program_thermostat_programs_as_weekday_weekend ?? + null, can_remotely_lock: $json->can_remotely_lock ?? null, can_remotely_unlock: $json->can_remotely_unlock ?? null, can_run_thermostat_programs: $json->can_run_thermostat_programs ?? @@ -78,6 +84,9 @@ public function __construct( public bool|null $can_hvac_heat_cool, public bool|null $can_program_offline_access_codes, public bool|null $can_program_online_access_codes, + public bool|null $can_program_thermostat_programs_as_different_each_day, + public bool|null $can_program_thermostat_programs_as_same_each_day, + public bool|null $can_program_thermostat_programs_as_weekday_weekend, public bool|null $can_remotely_lock, public bool|null $can_remotely_unlock, public bool|null $can_run_thermostat_programs, diff --git a/src/Objects/DeviceAvailableClimatePresets.php b/src/Objects/DeviceAvailableClimatePresets.php index 6190f4c..b021708 100644 --- a/src/Objects/DeviceAvailableClimatePresets.php +++ b/src/Objects/DeviceAvailableClimatePresets.php @@ -13,7 +13,7 @@ public static function from_json( return new self( can_delete: $json->can_delete, can_edit: $json->can_edit, - can_program: $json->can_program, + can_use_with_thermostat_daily_programs: $json->can_use_with_thermostat_daily_programs, climate_preset_key: $json->climate_preset_key, display_name: $json->display_name, manual_override_allowed: $json->manual_override_allowed, @@ -36,7 +36,7 @@ public static function from_json( public function __construct( public bool $can_delete, public bool $can_edit, - public bool $can_program, + public bool $can_use_with_thermostat_daily_programs, public string $climate_preset_key, public string $display_name, public bool $manual_override_allowed, diff --git a/src/Objects/DeviceCurrentClimateSetting.php b/src/Objects/DeviceCurrentClimateSetting.php index 0246137..cff8241 100644 --- a/src/Objects/DeviceCurrentClimateSetting.php +++ b/src/Objects/DeviceCurrentClimateSetting.php @@ -13,7 +13,8 @@ public static function from_json( return new self( can_delete: $json->can_delete ?? null, can_edit: $json->can_edit ?? null, - can_program: $json->can_program ?? null, + can_use_with_thermostat_daily_programs: $json->can_use_with_thermostat_daily_programs ?? + null, climate_preset_key: $json->climate_preset_key ?? null, climate_preset_mode: $json->climate_preset_mode ?? null, cooling_set_point_celsius: $json->cooling_set_point_celsius ?? null, @@ -36,7 +37,7 @@ public static function from_json( public function __construct( public bool|null $can_delete, public bool|null $can_edit, - public bool|null $can_program, + public bool|null $can_use_with_thermostat_daily_programs, public string|null $climate_preset_key, public string|null $climate_preset_mode, public float|null $cooling_set_point_celsius, diff --git a/src/Objects/DeviceDefaultClimateSetting.php b/src/Objects/DeviceDefaultClimateSetting.php index aab1e73..e0f7cd0 100644 --- a/src/Objects/DeviceDefaultClimateSetting.php +++ b/src/Objects/DeviceDefaultClimateSetting.php @@ -13,7 +13,8 @@ public static function from_json( return new self( can_delete: $json->can_delete ?? null, can_edit: $json->can_edit ?? null, - can_program: $json->can_program ?? null, + can_use_with_thermostat_daily_programs: $json->can_use_with_thermostat_daily_programs ?? + null, climate_preset_key: $json->climate_preset_key ?? null, climate_preset_mode: $json->climate_preset_mode ?? null, cooling_set_point_celsius: $json->cooling_set_point_celsius ?? null, @@ -36,7 +37,7 @@ public static function from_json( public function __construct( public bool|null $can_delete, public bool|null $can_edit, - public bool|null $can_program, + public bool|null $can_use_with_thermostat_daily_programs, public string|null $climate_preset_key, public string|null $climate_preset_mode, public float|null $cooling_set_point_celsius, diff --git a/src/Objects/DeviceProperties.php b/src/Objects/DeviceProperties.php index e0fe015..9cdf333 100644 --- a/src/Objects/DeviceProperties.php +++ b/src/Objects/DeviceProperties.php @@ -152,6 +152,8 @@ public static function from_json(mixed $json): DeviceProperties|null null, max_thermostat_daily_program_periods_per_day: $json->max_thermostat_daily_program_periods_per_day ?? null, + max_unique_climate_presets_per_thermostat_weekly_program: $json->max_unique_climate_presets_per_thermostat_weekly_program ?? + null, min_cooling_set_point_celsius: $json->min_cooling_set_point_celsius ?? null, min_cooling_set_point_fahrenheit: $json->min_cooling_set_point_fahrenheit ?? @@ -320,6 +322,7 @@ public function __construct( public float|null $max_heating_set_point_celsius, public float|null $max_heating_set_point_fahrenheit, public float|null $max_thermostat_daily_program_periods_per_day, + public float|null $max_unique_climate_presets_per_thermostat_weekly_program, public float|null $min_cooling_set_point_celsius, public float|null $min_cooling_set_point_fahrenheit, public float|null $min_heating_cooling_delta_celsius, diff --git a/src/Objects/DeviceProvider.php b/src/Objects/DeviceProvider.php index 9f02efa..6b31589 100644 --- a/src/Objects/DeviceProvider.php +++ b/src/Objects/DeviceProvider.php @@ -21,6 +21,12 @@ public static function from_json(mixed $json): DeviceProvider|null null, can_program_online_access_codes: $json->can_program_online_access_codes ?? null, + can_program_thermostat_programs_as_different_each_day: $json->can_program_thermostat_programs_as_different_each_day ?? + null, + can_program_thermostat_programs_as_same_each_day: $json->can_program_thermostat_programs_as_same_each_day ?? + null, + can_program_thermostat_programs_as_weekday_weekend: $json->can_program_thermostat_programs_as_weekday_weekend ?? + null, can_remotely_lock: $json->can_remotely_lock ?? null, can_remotely_unlock: $json->can_remotely_unlock ?? null, can_run_thermostat_programs: $json->can_run_thermostat_programs ?? @@ -50,6 +56,9 @@ public function __construct( public bool|null $can_hvac_heat_cool, public bool|null $can_program_offline_access_codes, public bool|null $can_program_online_access_codes, + public bool|null $can_program_thermostat_programs_as_different_each_day, + public bool|null $can_program_thermostat_programs_as_same_each_day, + public bool|null $can_program_thermostat_programs_as_weekday_weekend, public bool|null $can_remotely_lock, public bool|null $can_remotely_unlock, public bool|null $can_run_thermostat_programs, diff --git a/src/Objects/UnmanagedDevice.php b/src/Objects/UnmanagedDevice.php index 4c1497e..39b166c 100644 --- a/src/Objects/UnmanagedDevice.php +++ b/src/Objects/UnmanagedDevice.php @@ -34,6 +34,12 @@ public static function from_json(mixed $json): UnmanagedDevice|null null, can_program_online_access_codes: $json->can_program_online_access_codes ?? null, + can_program_thermostat_programs_as_different_each_day: $json->can_program_thermostat_programs_as_different_each_day ?? + null, + can_program_thermostat_programs_as_same_each_day: $json->can_program_thermostat_programs_as_same_each_day ?? + null, + can_program_thermostat_programs_as_weekday_weekend: $json->can_program_thermostat_programs_as_weekday_weekend ?? + null, can_remotely_lock: $json->can_remotely_lock ?? null, can_remotely_unlock: $json->can_remotely_unlock ?? null, can_run_thermostat_programs: $json->can_run_thermostat_programs ?? @@ -73,6 +79,9 @@ public function __construct( public bool|null $can_hvac_heat_cool, public bool|null $can_program_offline_access_codes, public bool|null $can_program_online_access_codes, + public bool|null $can_program_thermostat_programs_as_different_each_day, + public bool|null $can_program_thermostat_programs_as_same_each_day, + public bool|null $can_program_thermostat_programs_as_weekday_weekend, public bool|null $can_remotely_lock, public bool|null $can_remotely_unlock, public bool|null $can_run_thermostat_programs,