From 8118f4dfe53f48918962aa081cb920dceb7e2d67 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Apr 2026 05:54:35 +0000 Subject: [PATCH 1/2] feat(deps-dev): bump @seamapi/types in the seam group Bumps the seam group with 1 update: [@seamapi/types](https://github.com/seamapi/types). Updates `@seamapi/types` from 1.772.0 to 1.777.0 - [Release notes](https://github.com/seamapi/types/releases) - [Commits](https://github.com/seamapi/types/compare/v1.772.0...v1.777.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.777.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index d2ef394..c4cf55b 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.772.0", + "@seamapi/types": "1.777.0", "del": "^7.1.0", "prettier": "^3.0.0" } @@ -533,9 +533,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.772.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.772.0.tgz", - "integrity": "sha512-/MFq/zRLLo4/QDgOR1jIPWfqGeAAlH4plSRLJ0njdfV0AHFqODlCUp8uE2oOO6LYsNOXXPltG1hLR6TDIMBXPg==", + "version": "1.777.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.777.0.tgz", + "integrity": "sha512-zXmpm98Utk2Qq7r/XwehMpILeQ3uz7MpVe5HGOQILVxbOysmrjOBa9DyCXqzgQVZL+FgJgwp0BsIrCNqAk1ZAQ==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index ed2099e..076b777 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.772.0", + "@seamapi/types": "1.777.0", "del": "^7.1.0", "prettier": "^3.0.0" } From 0433e65e3a664473c884bee0be94a2b7ec266617 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Thu, 2 Apr 2026 05:54:54 +0000 Subject: [PATCH 2/2] ci: Generate code --- src/Objects/Device.php | 4 ++-- src/Objects/DeviceLocation.php | 2 ++ src/Objects/UnmanagedDeviceLocation.php | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Objects/Device.php b/src/Objects/Device.php index 894bb9a..944568b 100644 --- a/src/Objects/Device.php +++ b/src/Objects/Device.php @@ -67,10 +67,10 @@ public static function from_json(mixed $json): Device|null device_provider: isset($json->device_provider) ? DeviceDeviceProvider::from_json($json->device_provider) : null, - nickname: $json->nickname ?? null, location: isset($json->location) ? DeviceLocation::from_json($json->location) : null, + nickname: $json->nickname ?? null, ); } @@ -110,7 +110,7 @@ public function __construct( public bool|null $can_unlock_with_code, public DeviceDeviceManufacturer|null $device_manufacturer, public DeviceDeviceProvider|null $device_provider, - public string|null $nickname, public DeviceLocation|null $location, + public string|null $nickname, ) {} } diff --git a/src/Objects/DeviceLocation.php b/src/Objects/DeviceLocation.php index 7029d2d..6dcf100 100644 --- a/src/Objects/DeviceLocation.php +++ b/src/Objects/DeviceLocation.php @@ -11,12 +11,14 @@ public static function from_json(mixed $json): DeviceLocation|null } return new self( location_name: $json->location_name ?? null, + time_zone: $json->time_zone ?? null, timezone: $json->timezone ?? null, ); } public function __construct( public string|null $location_name, + public string|null $time_zone, public string|null $timezone, ) {} } diff --git a/src/Objects/UnmanagedDeviceLocation.php b/src/Objects/UnmanagedDeviceLocation.php index a08f584..5c857e3 100644 --- a/src/Objects/UnmanagedDeviceLocation.php +++ b/src/Objects/UnmanagedDeviceLocation.php @@ -11,12 +11,14 @@ public static function from_json(mixed $json): UnmanagedDeviceLocation|null } return new self( location_name: $json->location_name ?? null, + time_zone: $json->time_zone ?? null, timezone: $json->timezone ?? null, ); } public function __construct( public string|null $location_name, + public string|null $time_zone, public string|null $timezone, ) {} }