diff --git a/package-lock.json b/package-lock.json index df11da1..b1c525b 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.6", - "@seamapi/types": "1.703.0", + "@seamapi/types": "1.704.0", "del": "^7.1.0", "prettier": "^3.0.0" } @@ -456,9 +456,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.703.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.703.0.tgz", - "integrity": "sha512-iDZ+RYChXpttg+tUGZi6hnRNJen2QRLVZpFXYcbx51GuANJDLoVI7l0VIazlLoPHDIJt850ot8YUO7SIfbhicw==", + "version": "1.704.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.704.0.tgz", + "integrity": "sha512-5O4I6y43skMjIj/Gtnjpqob+t0KZGB4/Q2nWPdu/tZDqHeNVpi0G2CwFfvsxxJTWB5TVqE4pfBS5JV5nLBz2yA==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 3675262..3194b4e 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "devDependencies": { "@prettier/plugin-php": "^0.24.0", "@seamapi/nextlove-sdk-generator": "^1.19.6", - "@seamapi/types": "1.703.0", + "@seamapi/types": "1.704.0", "del": "^7.1.0", "prettier": "^3.0.0" } diff --git a/src/SeamClient.php b/src/SeamClient.php index 8c3c2af..c0404ca 100644 --- a/src/SeamClient.php +++ b/src/SeamClient.php @@ -4023,6 +4023,13 @@ public function get( public function list( ?string $access_code_id = null, ?array $access_code_ids = null, + ?string $access_grant_id = null, + ?array $access_grant_ids = null, + ?string $access_method_id = null, + ?array $access_method_ids = null, + ?string $acs_access_group_id = null, + ?string $acs_credential_id = null, + ?string $acs_encoder_id = null, ?string $acs_entrance_id = null, ?string $acs_system_id = null, ?array $acs_system_ids = null, @@ -4038,6 +4045,8 @@ public function list( ?array $event_types = null, ?float $limit = null, ?string $since = null, + ?string $space_id = null, + ?array $space_ids = null, ?float $unstable_offset = null, ?string $user_identity_id = null, ): array { @@ -4049,6 +4058,27 @@ public function list( if ($access_code_ids !== null) { $request_payload["access_code_ids"] = $access_code_ids; } + if ($access_grant_id !== null) { + $request_payload["access_grant_id"] = $access_grant_id; + } + if ($access_grant_ids !== null) { + $request_payload["access_grant_ids"] = $access_grant_ids; + } + if ($access_method_id !== null) { + $request_payload["access_method_id"] = $access_method_id; + } + if ($access_method_ids !== null) { + $request_payload["access_method_ids"] = $access_method_ids; + } + if ($acs_access_group_id !== null) { + $request_payload["acs_access_group_id"] = $acs_access_group_id; + } + if ($acs_credential_id !== null) { + $request_payload["acs_credential_id"] = $acs_credential_id; + } + if ($acs_encoder_id !== null) { + $request_payload["acs_encoder_id"] = $acs_encoder_id; + } if ($acs_entrance_id !== null) { $request_payload["acs_entrance_id"] = $acs_entrance_id; } @@ -4094,6 +4124,12 @@ public function list( if ($since !== null) { $request_payload["since"] = $since; } + if ($space_id !== null) { + $request_payload["space_id"] = $space_id; + } + if ($space_ids !== null) { + $request_payload["space_ids"] = $space_ids; + } if ($unstable_offset !== null) { $request_payload["unstable_offset"] = $unstable_offset; }