Skip to content

Commit ed9862f

Browse files
dependabot[bot]seambotandrii-balitskyi
authored
feat(deps-dev): Bump @seamapi/types from 1.587.0 to 1.591.0 in the seam group (#329)
* 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.587.0 to 1.591.0 - [Release notes](https://github.com/seamapi/types/releases) - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json) - [Commits](seamapi/types@v1.587.0...v1.591.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.591.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 * Test workflow actions/checkout@v4 update * Generator 1.19.4 update * 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> Co-authored-by: Andrii Balitskyi <10balian10@gmail.com>
1 parent ac96f8b commit ed9862f

File tree

5 files changed

+23
-11
lines changed

5 files changed

+23
-11
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout
10-
uses: actions/checkout@v2
10+
uses: actions/checkout@v4
1111
- name: Setup PHP
1212
uses: shivammathur/setup-php@v2
1313
with:

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
},
1313
"devDependencies": {
1414
"@prettier/plugin-php": "^0.24.0",
15-
"@seamapi/nextlove-sdk-generator": "^1.19.1",
16-
"@seamapi/types": "1.587.0",
15+
"@seamapi/nextlove-sdk-generator": "^1.19.4",
16+
"@seamapi/types": "1.591.0",
1717
"del": "^7.1.0",
1818
"prettier": "^3.0.0"
1919
}

src/Objects/Space.php

Lines changed: 4 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: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3111,6 +3111,7 @@ public function update(
31113111
?array $accepted_capabilities = null,
31123112
?bool $automatically_manage_new_devices = null,
31133113
mixed $custom_metadata = null,
3114+
?string $customer_key = null,
31143115
): void {
31153116
$request_payload = [];
31163117

@@ -3128,6 +3129,9 @@ public function update(
31283129
if ($custom_metadata !== null) {
31293130
$request_payload["custom_metadata"] = $custom_metadata;
31303131
}
3132+
if ($customer_key !== null) {
3133+
$request_payload["customer_key"] = $customer_key;
3134+
}
31313135

31323136
$this->seam->request(
31333137
"POST",
@@ -3274,6 +3278,7 @@ public function push_data(
32743278
?array $reservations = null,
32753279
?array $residents = null,
32763280
?array $rooms = null,
3281+
?array $sites = null,
32773282
?array $spaces = null,
32783283
?array $tenants = null,
32793284
?array $units = null,
@@ -3321,6 +3326,9 @@ public function push_data(
33213326
if ($rooms !== null) {
33223327
$request_payload["rooms"] = $rooms;
33233328
}
3329+
if ($sites !== null) {
3330+
$request_payload["sites"] = $sites;
3331+
}
33243332
if ($spaces !== null) {
33253333
$request_payload["spaces"] = $spaces;
33263334
}

0 commit comments

Comments
 (0)