Skip to content

Commit dbdb078

Browse files
feat(deps-dev): bump @seamapi/types from 1.700.0 to 1.703.0 in the seam group (#379)
* 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.700.0 to 1.703.0 - [Release notes](https://github.com/seamapi/types/releases) - [Commits](seamapi/types@v1.700.0...v1.703.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.703.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 12cd6c9 commit dbdb078

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-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.6",
16-
"@seamapi/types": "1.700.0",
16+
"@seamapi/types": "1.703.0",
1717
"del": "^7.1.0",
1818
"prettier": "^3.0.0"
1919
}

src/Objects/Event.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/SeamClient.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,10 +1032,13 @@ public function list(
10321032
?string $acs_entrance_id = null,
10331033
?string $acs_system_id = null,
10341034
?string $customer_key = null,
1035+
?float $limit = null,
10351036
?string $location_id = null,
1037+
?string $page_cursor = null,
10361038
?string $reservation_key = null,
10371039
?string $space_id = null,
10381040
?string $user_identity_id = null,
1041+
?callable $on_response = null,
10391042
): array {
10401043
$request_payload = [];
10411044

@@ -1051,9 +1054,15 @@ public function list(
10511054
if ($customer_key !== null) {
10521055
$request_payload["customer_key"] = $customer_key;
10531056
}
1057+
if ($limit !== null) {
1058+
$request_payload["limit"] = $limit;
1059+
}
10541060
if ($location_id !== null) {
10551061
$request_payload["location_id"] = $location_id;
10561062
}
1063+
if ($page_cursor !== null) {
1064+
$request_payload["page_cursor"] = $page_cursor;
1065+
}
10571066
if ($reservation_key !== null) {
10581067
$request_payload["reservation_key"] = $reservation_key;
10591068
}
@@ -1070,6 +1079,10 @@ public function list(
10701079
json: (object) $request_payload,
10711080
);
10721081

1082+
if ($on_response !== null) {
1083+
$on_response($res);
1084+
}
1085+
10731086
return array_map(
10741087
fn($r) => AccessGrant::from_json($r),
10751088
$res->access_grants,

0 commit comments

Comments
 (0)