diff --git a/package-lock.json b/package-lock.json index 4a747db6..b4b6f6b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@seamapi/blueprint": "^1.12.0", "@seamapi/fake-seam-connect": "2.0.6", "@seamapi/smith": "^1.1.0", - "@seamapi/types": "1.1092.0", + "@seamapi/types": "1.1096.0", "change-case": "^5.4.4", "execa": "^10.0.1", "prettier": "^3.9.6" @@ -882,9 +882,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.1092.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1092.0.tgz", - "integrity": "sha512-99Wi8sSk4RZ2g9/iRJiONtIp9Hc/c2Xe5SeIIacbwxKbqkpmiTi8tQO0+M2qGXVzYuoO3xM/lBkEy4kUAhe/Ew==", + "version": "1.1096.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.1096.0.tgz", + "integrity": "sha512-JMfk6KOq/U7l3InqXZRKLDrZ+OM/5Vfc+kaeZfkWwXPchBKn7nKBiJgEHQJ6V1BIycelFX+qsUXDju3XHoVN+g==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 35ac71a1..01ac6c32 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@seamapi/blueprint": "^1.12.0", "@seamapi/fake-seam-connect": "2.0.6", "@seamapi/smith": "^1.1.0", - "@seamapi/types": "1.1092.0", + "@seamapi/types": "1.1096.0", "change-case": "^5.4.4", "execa": "^10.0.1", "prettier": "^3.9.6" diff --git a/src/Routes/CustomersClient.php b/src/Routes/CustomersClient.php index 01c276d4..c9d13956 100644 --- a/src/Routes/CustomersClient.php +++ b/src/Routes/CustomersClient.php @@ -4,6 +4,7 @@ use GuzzleHttp\ClientInterface; use Seam\Http\Body; +use Seam\NullValue; use Seam\Resources\CustomerPortal; class CustomersClient @@ -223,6 +224,7 @@ public function delete_data( * @param list|\stdClass> $bookings List of bookings. * @param list|\stdClass> $buildings List of buildings. * @param list|\stdClass> $common_areas List of shared common areas. + * @param string|NullValue $customization_profile_id ID of the customization profile to use for this customer. Access grants that automations create for this customer use this profile. Pass `null` to remove the customer's customization profile. * @param list|\stdClass> $facilities List of gym or fitness facilities. * @param list|\stdClass> $guests List of guests. * @param list|\stdClass> $listings List of property listings. @@ -246,6 +248,7 @@ public function push_data( ?array $bookings = null, ?array $buildings = null, ?array $common_areas = null, + string|NullValue|null $customization_profile_id = null, ?array $facilities = null, ?array $guests = null, ?array $listings = null, @@ -277,6 +280,11 @@ public function push_data( if ($common_areas !== null) { $request_payload["common_areas"] = $common_areas; } + if ($customization_profile_id !== null) { + $request_payload[ + "customization_profile_id" + ] = $customization_profile_id; + } if ($facilities !== null) { $request_payload["facilities"] = $facilities; }