Skip to content

Commit 7bafa4d

Browse files
feat(deps-dev): bump @seamapi/types from 1.751.0 to 1.757.0 in the seam group (#405)
* 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.751.0 to 1.757.0 - [Release notes](https://github.com/seamapi/types/releases) - [Commits](seamapi/types@v1.751.0...v1.757.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.757.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: seam ... Signed-off-by: dependabot[bot] <support@github.com> * ci: Generate code --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Seam Bot <seambot@getseam.com>
1 parent 1dc5b19 commit 7bafa4d

File tree

5 files changed

+18
-8
lines changed

5 files changed

+18
-8
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"devDependencies": {
1414
"@prettier/plugin-php": "^0.24.0",
1515
"@seamapi/nextlove-sdk-generator": "^1.19.8",
16-
"@seamapi/types": "1.751.0",
16+
"@seamapi/types": "1.757.0",
1717
"del": "^7.1.0",
1818
"prettier": "^3.0.0"
1919
}

src/Objects/AccessMethod.php

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Objects/UnmanagedAccessCode.php

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/SeamClient.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ public function get_timeline(
460460

461461
public function list(
462462
?array $access_code_ids = null,
463+
?string $access_method_id = null,
463464
?string $customer_key = null,
464465
?string $device_id = null,
465466
?float $limit = null,
@@ -473,6 +474,9 @@ public function list(
473474
if ($access_code_ids !== null) {
474475
$request_payload["access_code_ids"] = $access_code_ids;
475476
}
477+
if ($access_method_id !== null) {
478+
$request_payload["access_method_id"] = $access_method_id;
479+
}
476480
if ($customer_key !== null) {
477481
$request_payload["customer_key"] = $customer_key;
478482
}
@@ -1350,7 +1354,8 @@ public function get_related(
13501354
}
13511355

13521356
public function list(
1353-
string $access_grant_id,
1357+
?string $access_grant_id = null,
1358+
?string $access_grant_key = null,
13541359
?string $acs_entrance_id = null,
13551360
?string $device_id = null,
13561361
?string $space_id = null,
@@ -1360,6 +1365,9 @@ public function list(
13601365
if ($access_grant_id !== null) {
13611366
$request_payload["access_grant_id"] = $access_grant_id;
13621367
}
1368+
if ($access_grant_key !== null) {
1369+
$request_payload["access_grant_key"] = $access_grant_key;
1370+
}
13631371
if ($acs_entrance_id !== null) {
13641372
$request_payload["acs_entrance_id"] = $acs_entrance_id;
13651373
}

0 commit comments

Comments
 (0)