Skip to content

Commit 728f940

Browse files
authored
Merge pull request #200 from seamapi/dependabot/npm_and_yarn/seam-321d2e508e
feat(deps-dev): Bump @seamapi/types from 1.267.0 to 1.272.0 in the seam group
2 parents 03a9bd4 + 2077e9d commit 728f940

File tree

4 files changed

+12
-18
lines changed

4 files changed

+12
-18
lines changed

package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

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

src/Objects/DeviceNestMetadata.php

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/SeamClient.php

+5-13
Original file line numberDiff line numberDiff line change
@@ -1399,18 +1399,14 @@ public function __construct(SeamClient $seam)
13991399
}
14001400

14011401
public function encode_card(
1402-
string $acs_system_id = null,
1403-
string $device_name = null,
1404-
string $device_id = null,
1402+
string $acs_credential_id,
1403+
string $device_id,
14051404
bool $wait_for_action_attempt = true
14061405
): ActionAttempt {
14071406
$request_payload = [];
14081407

1409-
if ($acs_system_id !== null) {
1410-
$request_payload["acs_system_id"] = $acs_system_id;
1411-
}
1412-
if ($device_name !== null) {
1413-
$request_payload["device_name"] = $device_name;
1408+
if ($acs_credential_id !== null) {
1409+
$request_payload["acs_credential_id"] = $acs_credential_id;
14141410
}
14151411
if ($device_id !== null) {
14161412
$request_payload["device_id"] = $device_id;
@@ -1463,18 +1459,14 @@ public function list(
14631459

14641460
public function scan_card(
14651461
string $acs_system_id,
1466-
string $device_name = null,
1467-
string $device_id = null,
1462+
string $device_id,
14681463
bool $wait_for_action_attempt = true
14691464
): ActionAttempt {
14701465
$request_payload = [];
14711466

14721467
if ($acs_system_id !== null) {
14731468
$request_payload["acs_system_id"] = $acs_system_id;
14741469
}
1475-
if ($device_name !== null) {
1476-
$request_payload["device_name"] = $device_name;
1477-
}
14781470
if ($device_id !== null) {
14791471
$request_payload["device_id"] = $device_id;
14801472
}

0 commit comments

Comments
 (0)