From 98a6d7ada410098408b5793b2b4860e3ceca7abc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 03:09:31 +0000 Subject: [PATCH 1/2] feat(deps-dev): Bump the seam group with 2 updates Bumps the seam group with 2 updates: [@seamapi/nextlove-sdk-generator](https://github.com/seamapi/nextlove-sdk-generator) and [@seamapi/types](https://github.com/seamapi/types). Updates `@seamapi/nextlove-sdk-generator` from 1.14.10 to 1.14.11 - [Commits](https://github.com/seamapi/nextlove-sdk-generator/commits) Updates `@seamapi/types` from 1.289.1 to 1.292.0 - [Release notes](https://github.com/seamapi/types/releases) - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json) - [Commits](https://github.com/seamapi/types/compare/v1.289.1...v1.292.0) --- updated-dependencies: - dependency-name: "@seamapi/nextlove-sdk-generator" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: seam - dependency-name: "@seamapi/types" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 16 ++++++++-------- package.json | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index a2a06bf..19ab354 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,8 +10,8 @@ "license": "MIT", "devDependencies": { "@prettier/plugin-php": "^0.22.1", - "@seamapi/nextlove-sdk-generator": "1.14.10", - "@seamapi/types": "1.289.1", + "@seamapi/nextlove-sdk-generator": "1.14.11", + "@seamapi/types": "1.292.0", "del": "^7.1.0", "prettier": "^3.0.0" } @@ -434,9 +434,9 @@ } }, "node_modules/@seamapi/nextlove-sdk-generator": { - "version": "1.14.10", - "resolved": "https://registry.npmjs.org/@seamapi/nextlove-sdk-generator/-/nextlove-sdk-generator-1.14.10.tgz", - "integrity": "sha512-kqNRJZ/+rNQpdcIo8mI0T20kf730P42SSL9r5hh23IObjd2+Z+bKaWTxsHjVbjlwQrhR4cKmR//xfr/7wx2ZCQ==", + "version": "1.14.11", + "resolved": "https://registry.npmjs.org/@seamapi/nextlove-sdk-generator/-/nextlove-sdk-generator-1.14.11.tgz", + "integrity": "sha512-aWZ59QqFjOEOPr2cjZlstLMeliQa6yQPVTvgbsi5YGrcPNxonfpH8+U6yVaWp/f0O0R8EKHLkLaTusGlq7adAA==", "dev": true, "dependencies": { "@nodelib/fs.walk": "^2.0.0", @@ -455,9 +455,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.289.1", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.289.1.tgz", - "integrity": "sha512-L4o5Q25AOPgoqU1YtbCEZBI883s7uyJFdBbhzzNkX9R13oovJt22DDp2+oGe7kC/f1NLH4tkgghCCl3XAs4ptg==", + "version": "1.292.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.292.0.tgz", + "integrity": "sha512-fWWsddGkpJHfea7Idz9kaShazegnESuu1gXEdUkCQGuM6Pebvva4GfcuZiDH8iSHBvVOV72g8TrAfxCOEZunVQ==", "dev": true, "engines": { "node": ">=18.12.0", diff --git a/package.json b/package.json index 9159014..edfc264 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ }, "devDependencies": { "@prettier/plugin-php": "^0.22.1", - "@seamapi/nextlove-sdk-generator": "1.14.10", - "@seamapi/types": "1.289.1", + "@seamapi/nextlove-sdk-generator": "1.14.11", + "@seamapi/types": "1.292.0", "del": "^7.1.0", "prettier": "^3.0.0" } From 8bcf5cf838ab152d58f720958ce0666f3fd89400 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Thu, 7 Nov 2024 03:09:51 +0000 Subject: [PATCH 2/2] ci: Generate code --- src/Objects/AcsSystem.php | 2 ++ src/Objects/AcsSystemLocation.php | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 src/Objects/AcsSystemLocation.php diff --git a/src/Objects/AcsSystem.php b/src/Objects/AcsSystem.php index cc2edba..041f256 100644 --- a/src/Objects/AcsSystem.php +++ b/src/Objects/AcsSystem.php @@ -20,6 +20,7 @@ public static function from_json(mixed $json): AcsSystem|null image_alt_text: $json->image_alt_text, image_url: $json->image_url, is_credential_manager: $json->is_credential_manager, + location: AcsSystemLocation::from_json($json->location), name: $json->name, warnings: array_map( fn($w) => AcsSystemWarnings::from_json($w), @@ -56,6 +57,7 @@ public function __construct( public string $image_alt_text, public string $image_url, public bool $is_credential_manager, + public AcsSystemLocation $location, public string $name, public array $warnings, public string $workspace_id, diff --git a/src/Objects/AcsSystemLocation.php b/src/Objects/AcsSystemLocation.php new file mode 100644 index 0000000..1471809 --- /dev/null +++ b/src/Objects/AcsSystemLocation.php @@ -0,0 +1,18 @@ +time_zone ?? null); + } + + public function __construct(public string|null $time_zone) + { + } +}