From cfd972a5f27c23f84402e08d1507c34e4ecf9e3e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 03:29:40 +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.317.0 to 1.318.1 - [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.317.0...v1.318.1) --- updated-dependencies: - 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 | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 335be6b..3a0aa80 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "devDependencies": { "@prettier/plugin-php": "^0.22.1", "@seamapi/nextlove-sdk-generator": "1.14.17", - "@seamapi/types": "1.317.0", + "@seamapi/types": "1.318.1", "del": "^7.1.0", "prettier": "^3.0.0" } @@ -456,9 +456,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.317.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.317.0.tgz", - "integrity": "sha512-6AOSjHfNHBJ73jnI07gATSqfehckYyq3LAxfZ2CWAvXm/ZkGZaJz2C7w57JtRb8E0ofwwFz/bHUcFvJ8Cs7Krw==", + "version": "1.318.1", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.318.1.tgz", + "integrity": "sha512-NeoMDJvM3JRjxJQDnT9jnFLjwEdeXMYIEs4k1oMeQ/s3YXmRkFqdvfPVonA5f+iv7pDPOwmsWRoyUb4ikUkDfA==", "dev": true, "engines": { "node": ">=18.12.0", diff --git a/package.json b/package.json index 93a0d38..b1d7304 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "devDependencies": { "@prettier/plugin-php": "^0.22.1", "@seamapi/nextlove-sdk-generator": "1.14.17", - "@seamapi/types": "1.317.0", + "@seamapi/types": "1.318.1", "del": "^7.1.0", "prettier": "^3.0.0" } From 0b3f013e66364294c2a981349d64cff68a634a92 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Fri, 20 Dec 2024 03:29:57 +0000 Subject: [PATCH 2/2] ci: Generate code --- src/Objects/AcsEntranceDormakabaCommunityMetadata.php | 6 ++++-- src/Objects/AcsSystemWarnings.php | 7 +++++-- src/Objects/AcsUser.php | 4 ++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/Objects/AcsEntranceDormakabaCommunityMetadata.php b/src/Objects/AcsEntranceDormakabaCommunityMetadata.php index 720c3bd..426eb8d 100644 --- a/src/Objects/AcsEntranceDormakabaCommunityMetadata.php +++ b/src/Objects/AcsEntranceDormakabaCommunityMetadata.php @@ -13,14 +13,16 @@ public static function from_json( return new self( access_point_name: $json->access_point_name, common_area_number: $json->common_area_number ?? null, - inner_access_points_names: $json->inner_access_points_names ?? null + inner_access_points_names: $json->inner_access_points_names ?? null, + lease_ids: $json->lease_ids ?? null ); } public function __construct( public string $access_point_name, public float|null $common_area_number, - public array|null $inner_access_points_names + public array|null $inner_access_points_names, + public array|null $lease_ids ) { } } diff --git a/src/Objects/AcsSystemWarnings.php b/src/Objects/AcsSystemWarnings.php index a7e5eac..3fc3ab1 100644 --- a/src/Objects/AcsSystemWarnings.php +++ b/src/Objects/AcsSystemWarnings.php @@ -12,14 +12,17 @@ public static function from_json(mixed $json): AcsSystemWarnings|null return new self( created_at: $json->created_at, message: $json->message, - warning_code: $json->warning_code + warning_code: $json->warning_code, + misconfigured_acs_entrance_ids: $json->misconfigured_acs_entrance_ids ?? + null ); } public function __construct( public string $created_at, public string $message, - public string $warning_code + public string $warning_code, + public array|null $misconfigured_acs_entrance_ids ) { } } diff --git a/src/Objects/AcsUser.php b/src/Objects/AcsUser.php index 0e4dede..a38aa55 100644 --- a/src/Objects/AcsUser.php +++ b/src/Objects/AcsUser.php @@ -19,7 +19,6 @@ public static function from_json(mixed $json): AcsUser|null $json->errors ?? [] ), is_managed: $json->is_managed, - is_suspended: $json->is_suspended, warnings: array_map( fn($w) => AcsUserWarnings::from_json($w), $json->warnings ?? [] @@ -37,6 +36,7 @@ public static function from_json(mixed $json): AcsUser|null hid_acs_system_id: $json->hid_acs_system_id ?? null, is_latest_desired_state_synced_with_provider: $json->is_latest_desired_state_synced_with_provider ?? null, + is_suspended: $json->is_suspended ?? null, latest_desired_state_synced_with_provider_at: $json->latest_desired_state_synced_with_provider_at ?? null, phone_number: $json->phone_number ?? null, @@ -56,7 +56,6 @@ public function __construct( public string $display_name, public array $errors, public bool $is_managed, - public bool $is_suspended, public array $warnings, public string $workspace_id, public AcsUserAccessSchedule|null $access_schedule, @@ -67,6 +66,7 @@ public function __construct( public string|null $full_name, public string|null $hid_acs_system_id, public bool|null $is_latest_desired_state_synced_with_provider, + public bool|null $is_suspended, public string|null $latest_desired_state_synced_with_provider_at, public string|null $phone_number, public string|null $user_identity_id,