Skip to content

Commit c163ee9

Browse files
feat(deps-dev): Bump @seamapi/types from 1.347.1 to 1.351.1 in the seam group across 1 directory (#276)
* feat(deps-dev): Bump @seamapi/types in the seam group across 1 directory Bumps the seam group with 1 update in the / directory: [@seamapi/types](https://github.com/seamapi/types). Updates `@seamapi/types` from 1.347.1 to 1.351.1 - [Release notes](https://github.com/seamapi/types/releases) - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json) - [Commits](seamapi/types@v1.347.1...v1.351.1) --- updated-dependencies: - dependency-name: "@seamapi/types" 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 bb6fb8d commit c163ee9

3 files changed

Lines changed: 35 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.22.1",
1515
"@seamapi/nextlove-sdk-generator": "1.15.8",
16-
"@seamapi/types": "1.347.1",
16+
"@seamapi/types": "1.351.1",
1717
"del": "^7.1.0",
1818
"prettier": "^3.0.0"
1919
}

src/SeamClient.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2214,6 +2214,18 @@ public function get(string $bridge_id): void
22142214
inner_object: "bridge"
22152215
);
22162216
}
2217+
2218+
public function list(): void
2219+
{
2220+
$request_payload = [];
2221+
2222+
$this->seam->request(
2223+
"POST",
2224+
"/bridges/list",
2225+
json: (object) $request_payload,
2226+
inner_object: "bridges"
2227+
);
2228+
}
22172229
}
22182230

22192231
class ClientSessionsClient
@@ -3589,6 +3601,24 @@ public function deactivate(string $device_id): void
35893601
);
35903602
}
35913603

3604+
public function get(string $device_id): Phone
3605+
{
3606+
$request_payload = [];
3607+
3608+
if ($device_id !== null) {
3609+
$request_payload["device_id"] = $device_id;
3610+
}
3611+
3612+
$res = $this->seam->request(
3613+
"POST",
3614+
"/phones/get",
3615+
json: (object) $request_payload,
3616+
inner_object: "phone"
3617+
);
3618+
3619+
return Phone::from_json($res);
3620+
}
3621+
35923622
public function list(
35933623
string $acs_credential_id = null,
35943624
string $owner_user_identity_id = null

0 commit comments

Comments
 (0)