Skip to content

Commit ec82ec0

Browse files
feat(deps-dev): bump @seamapi/types from 1.783.0 to 1.785.0 in the seam group (#423)
* 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.783.0 to 1.785.0 - [Release notes](https://github.com/seamapi/types/releases) - [Commits](seamapi/types@v1.783.0...v1.785.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.785.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 c43e064 commit ec82ec0

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
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.10",
16-
"@seamapi/types": "1.783.0",
16+
"@seamapi/types": "1.785.0",
1717
"del": "^7.1.0",
1818
"prettier": "^3.0.0"
1919
}

src/SeamClient.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ public function get(
420420

421421
public function list(
422422
?array $access_code_ids = null,
423+
?string $access_grant_id = null,
423424
?string $access_method_id = null,
424425
?string $customer_key = null,
425426
?string $device_id = null,
@@ -434,6 +435,9 @@ public function list(
434435
if ($access_code_ids !== null) {
435436
$request_payload["access_code_ids"] = $access_code_ids;
436437
}
438+
if ($access_grant_id !== null) {
439+
$request_payload["access_grant_id"] = $access_grant_id;
440+
}
437441
if ($access_method_id !== null) {
438442
$request_payload["access_method_id"] = $access_method_id;
439443
}
@@ -999,6 +1003,7 @@ public function get_related(
9991003
}
10001004

10011005
public function list(
1006+
?string $access_code_id = null,
10021007
?array $access_grant_ids = null,
10031008
?string $access_grant_key = null,
10041009
?string $acs_entrance_id = null,
@@ -1014,6 +1019,9 @@ public function list(
10141019
): array {
10151020
$request_payload = [];
10161021

1022+
if ($access_code_id !== null) {
1023+
$request_payload["access_code_id"] = $access_code_id;
1024+
}
10171025
if ($access_grant_ids !== null) {
10181026
$request_payload["access_grant_ids"] = $access_grant_ids;
10191027
}
@@ -1316,6 +1324,7 @@ public function get_related(
13161324
}
13171325

13181326
public function list(
1327+
?string $access_code_id = null,
13191328
?string $access_grant_id = null,
13201329
?string $access_grant_key = null,
13211330
?string $acs_entrance_id = null,
@@ -1324,6 +1333,9 @@ public function list(
13241333
): array {
13251334
$request_payload = [];
13261335

1336+
if ($access_code_id !== null) {
1337+
$request_payload["access_code_id"] = $access_code_id;
1338+
}
13271339
if ($access_grant_id !== null) {
13281340
$request_payload["access_grant_id"] = $access_grant_id;
13291341
}

0 commit comments

Comments
 (0)