Skip to content

Commit 5ddbd42

Browse files
committed
ci: Generate code
1 parent 47c57e8 commit 5ddbd42

3 files changed

Lines changed: 48 additions & 0 deletions

File tree

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)