From f74539dde2fefbf6703097503dfd7d6d9b3340a3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Aug 2025 16:28:07 +0000 Subject: [PATCH 1/2] 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.503.0 to 1.506.0 - [Release notes](https://github.com/seamapi/types/releases) - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json) - [Commits](https://github.com/seamapi/types/compare/v1.503.0...v1.506.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.506.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 12fca45..32a3958 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.83.2", "@seamapi/nextlove-sdk-generator": "^1.19.0", - "@seamapi/types": "1.503.0", + "@seamapi/types": "1.506.0", "del": "^7.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.2.5" @@ -476,9 +476,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.503.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.503.0.tgz", - "integrity": "sha512-AkzEGYk0t+PvNj1NnyO37SnnGu5hTLRKIUVZQ5OY+pp1Rm4InVACJo5Y8r7M3zssHD0OqJvLsd6C4M/kxkOZ5A==", + "version": "1.506.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.506.0.tgz", + "integrity": "sha512-8T8ABLdtcx8I7xjjvf92E1L6K6keafYDXUgyzJDQfb6/S8GCEckKTl+Jz0FKqwkq9DdEybmO0UM1L7VJHpRsMw==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index ddb126a..14829ee 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.83.2", "@seamapi/nextlove-sdk-generator": "^1.19.0", - "@seamapi/types": "1.503.0", + "@seamapi/types": "1.506.0", "del": "^7.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.2.5" From 9e20575698910504ce1cd77f82235a9b5f5dc734 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Tue, 5 Aug 2025 16:28:44 +0000 Subject: [PATCH 2/2] ci: Generate code --- lib/seam/routes/clients/customers.rb | 6 ++++++ lib/seam/routes/clients/spaces.rb | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/seam/routes/clients/customers.rb b/lib/seam/routes/clients/customers.rb index 7dc0a39..c049e4f 100644 --- a/lib/seam/routes/clients/customers.rb +++ b/lib/seam/routes/clients/customers.rb @@ -14,6 +14,12 @@ def create_portal(features: nil, is_embedded: nil, customer_data: nil) Seam::Resources::MagicLink.load_from_response(res.body["magic_link"]) end + def delete_data(access_grant_keys: nil, booking_keys: nil, building_keys: nil, common_area_keys: nil, facility_keys: nil, guest_keys: nil, listing_keys: nil, property_keys: nil, property_listing_keys: nil, reservation_keys: nil, resident_keys: nil, room_keys: nil, space_keys: nil, tenant_keys: nil, unit_keys: nil, user_identity_keys: nil, user_keys: nil) + @client.post("/customers/delete_data", {access_grant_keys: access_grant_keys, booking_keys: booking_keys, building_keys: building_keys, common_area_keys: common_area_keys, facility_keys: facility_keys, guest_keys: guest_keys, listing_keys: listing_keys, property_keys: property_keys, property_listing_keys: property_listing_keys, reservation_keys: reservation_keys, resident_keys: resident_keys, room_keys: room_keys, space_keys: space_keys, tenant_keys: tenant_keys, unit_keys: unit_keys, user_identity_keys: user_identity_keys, user_keys: user_keys}.compact) + + nil + end + def push_data(customer_key:, access_grants: nil, bookings: nil, buildings: nil, common_areas: nil, facilities: nil, guests: nil, listings: nil, properties: nil, property_listings: nil, reservations: nil, residents: nil, rooms: nil, spaces: nil, tenants: nil, units: nil, user_identities: nil, users: nil) @client.post("/customers/push_data", {customer_key: customer_key, access_grants: access_grants, bookings: bookings, buildings: buildings, common_areas: common_areas, facilities: facilities, guests: guests, listings: listings, properties: properties, property_listings: property_listings, reservations: reservations, residents: residents, rooms: rooms, spaces: spaces, tenants: tenants, units: units, user_identities: user_identities, users: users}.compact) diff --git a/lib/seam/routes/clients/spaces.rb b/lib/seam/routes/clients/spaces.rb index 80ab0d2..6d9661b 100644 --- a/lib/seam/routes/clients/spaces.rb +++ b/lib/seam/routes/clients/spaces.rb @@ -38,8 +38,8 @@ def get(space_id: nil, space_key: nil) Seam::Resources::Space.load_from_response(res.body["space"]) end - def get_related(space_ids:, exclude: nil, include: nil) - @client.post("/spaces/get_related", {space_ids: space_ids, exclude: exclude, include: include}.compact) + def get_related(exclude: nil, include: nil, space_ids: nil, space_keys: nil) + @client.post("/spaces/get_related", {exclude: exclude, include: include, space_ids: space_ids, space_keys: space_keys}.compact) nil end