diff --git a/lib/seam/routes/clients/customers.rb b/lib/seam/routes/clients/customers.rb index 6e5a29e..7dc0a39 100644 --- a/lib/seam/routes/clients/customers.rb +++ b/lib/seam/routes/clients/customers.rb @@ -8,14 +8,14 @@ def initialize(client:, defaults:) @defaults = defaults end - def create_portal(features: nil, customer_data: nil) - res = @client.post("/customers/create_portal", {features: features, customer_data: customer_data}.compact) + def create_portal(features: nil, is_embedded: nil, customer_data: nil) + res = @client.post("/customers/create_portal", {features: features, is_embedded: is_embedded, customer_data: customer_data}.compact) Seam::Resources::MagicLink.load_from_response(res.body["magic_link"]) end - def push_data(customer_key:, access_grants: nil, bookings: nil, buildings: nil, common_areas: nil, facilities: nil, guests: nil, listings: nil, properties: 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, reservations: reservations, residents: residents, rooms: rooms, spaces: spaces, tenants: tenants, units: units, user_identities: user_identities, users: users}.compact) + 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) nil end diff --git a/package-lock.json b/package-lock.json index 6b226e3..3524e0b 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.18.1", - "@seamapi/types": "1.423.2", + "@seamapi/types": "1.423.4", "del": "^7.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.2.5" @@ -476,9 +476,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.423.2", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.423.2.tgz", - "integrity": "sha512-EfMNHNE0k3Mp+AgjEDzzmnjsvOf7yrt9qG5ZZkjVqaTGsOAYTRjrRMLFz37s8My+evXn8i0Ry4wijhoXKhFviw==", + "version": "1.423.4", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.423.4.tgz", + "integrity": "sha512-cZX6y4LKeijIpaUUBJEvN6fO9MsEevrUHT4oQ2kJx5sm9pNJqUR1RSuBktcNBA6zO/na8hZtGo0NrAJxK5KYQw==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 245dc87..d88c6b2 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.83.2", "@seamapi/nextlove-sdk-generator": "^1.18.1", - "@seamapi/types": "1.423.2", + "@seamapi/types": "1.423.4", "del": "^7.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.2.5"