Skip to content

Commit f8245c0

Browse files
feat(deps-dev): bump @seamapi/types from 1.811.0 to 1.818.0 in the seam group (#434)
* 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.811.0 to 1.818.0 - [Release notes](https://github.com/seamapi/types/releases) - [Commits](seamapi/types@v1.811.0...v1.818.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.818.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 e6671d2 commit f8245c0

5 files changed

Lines changed: 53 additions & 5 deletions

File tree

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

src/Objects/AccessGrantWarnings.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/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: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3239,6 +3239,7 @@ public function list(
32393239
mixed $limit = null,
32403240
?string $page_cursor = null,
32413241
?string $search = null,
3242+
?string $space_id = null,
32423243
?string $user_identifier_key = null,
32433244
?callable $on_response = null,
32443245
): array {
@@ -3259,6 +3260,9 @@ public function list(
32593260
if ($search !== null) {
32603261
$request_payload["search"] = $search;
32613262
}
3263+
if ($space_id !== null) {
3264+
$request_payload["space_id"] = $space_id;
3265+
}
32623266
if ($user_identifier_key !== null) {
32633267
$request_payload["user_identifier_key"] = $user_identifier_key;
32643268
}
@@ -4935,6 +4939,26 @@ public function add_acs_entrances(
49354939
);
49364940
}
49374941

4942+
public function add_connected_account(
4943+
string $connected_account_id,
4944+
string $space_id,
4945+
): void {
4946+
$request_payload = [];
4947+
4948+
if ($connected_account_id !== null) {
4949+
$request_payload["connected_account_id"] = $connected_account_id;
4950+
}
4951+
if ($space_id !== null) {
4952+
$request_payload["space_id"] = $space_id;
4953+
}
4954+
4955+
$this->seam->request(
4956+
"POST",
4957+
"/spaces/add_connected_account",
4958+
json: (object) $request_payload,
4959+
);
4960+
}
4961+
49384962
public function add_devices(array $device_ids, string $space_id): void
49394963
{
49404964
$request_payload = [];
@@ -5117,6 +5141,26 @@ public function remove_acs_entrances(
51175141
);
51185142
}
51195143

5144+
public function remove_connected_account(
5145+
string $connected_account_id,
5146+
string $space_id,
5147+
): void {
5148+
$request_payload = [];
5149+
5150+
if ($connected_account_id !== null) {
5151+
$request_payload["connected_account_id"] = $connected_account_id;
5152+
}
5153+
if ($space_id !== null) {
5154+
$request_payload["space_id"] = $space_id;
5155+
}
5156+
5157+
$this->seam->request(
5158+
"POST",
5159+
"/spaces/remove_connected_account",
5160+
json: (object) $request_payload,
5161+
);
5162+
}
5163+
51205164
public function remove_devices(array $device_ids, string $space_id): void
51215165
{
51225166
$request_payload = [];

0 commit comments

Comments
 (0)