diff --git a/package-lock.json b/package-lock.json index 690306d5..97ab8aff 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.523.0", + "@seamapi/types": "1.528.0", "del": "^7.1.0", "prettier": "^3.2.5" } @@ -475,9 +475,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.523.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.523.0.tgz", - "integrity": "sha512-gWLcniihr5k3wrD+/XPxEqvljEEcMwAsSFSesLEZRH3djgioZ/+HQ+gL2Ekhk5Eb+mzbHDi+VxItt1t4GeayiA==", + "version": "1.528.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.528.0.tgz", + "integrity": "sha512-ch3p5EvZqSbCW4hpye2SRvWO8rR+lhNKPaYlQYKmqKkfDt9qOvSZX962dt+f2GXHSHHF7Gk31NXIb3JOhxKG5g==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 634184a0..8be06acd 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.523.0", + "@seamapi/types": "1.528.0", "del": "^7.1.0", "prettier": "^3.2.5" } diff --git a/seam/routes/customers.py b/seam/routes/customers.py index a8841739..c0e50da7 100644 --- a/seam/routes/customers.py +++ b/seam/routes/customers.py @@ -35,6 +35,7 @@ def delete_data( booking_keys: Optional[List[str]] = None, building_keys: Optional[List[str]] = None, common_area_keys: Optional[List[str]] = None, + customer_keys: Optional[List[str]] = None, facility_keys: Optional[List[str]] = None, guest_keys: Optional[List[str]] = None, listing_keys: Optional[List[str]] = None, @@ -59,6 +60,8 @@ def delete_data( json_payload["building_keys"] = building_keys if common_area_keys is not None: json_payload["common_area_keys"] = common_area_keys + if customer_keys is not None: + json_payload["customer_keys"] = customer_keys if facility_keys is not None: json_payload["facility_keys"] = facility_keys if guest_keys is not None: diff --git a/seam/routes/models.py b/seam/routes/models.py index ac80e6fa..e8024463 100644 --- a/seam/routes/models.py +++ b/seam/routes/models.py @@ -711,6 +711,7 @@ class Device: can_simulate_disconnection: bool can_simulate_hub_connection: bool can_simulate_hub_disconnection: bool + can_simulate_paid_subscription: bool can_simulate_removal: bool can_turn_off_hvac: bool can_unlock_with_code: bool @@ -750,6 +751,9 @@ def from_dict(d: Dict[str, Any]): can_simulate_hub_disconnection=d.get( "can_simulate_hub_disconnection", None ), + can_simulate_paid_subscription=d.get( + "can_simulate_paid_subscription", None + ), can_simulate_removal=d.get("can_simulate_removal", None), can_turn_off_hvac=d.get("can_turn_off_hvac", None), can_unlock_with_code=d.get("can_unlock_with_code", None), @@ -784,6 +788,7 @@ class DeviceProvider: can_simulate_disconnection: bool can_simulate_hub_connection: bool can_simulate_hub_disconnection: bool + can_simulate_paid_subscription: bool can_simulate_removal: bool can_turn_off_hvac: bool can_unlock_with_code: bool @@ -813,6 +818,9 @@ def from_dict(d: Dict[str, Any]): can_simulate_hub_disconnection=d.get( "can_simulate_hub_disconnection", None ), + can_simulate_paid_subscription=d.get( + "can_simulate_paid_subscription", None + ), can_simulate_removal=d.get("can_simulate_removal", None), can_turn_off_hvac=d.get("can_turn_off_hvac", None), can_unlock_with_code=d.get("can_unlock_with_code", None), @@ -1409,6 +1417,7 @@ class UnmanagedDevice: can_simulate_disconnection: bool can_simulate_hub_connection: bool can_simulate_hub_disconnection: bool + can_simulate_paid_subscription: bool can_simulate_removal: bool can_turn_off_hvac: bool can_unlock_with_code: bool @@ -1445,6 +1454,9 @@ def from_dict(d: Dict[str, Any]): can_simulate_hub_disconnection=d.get( "can_simulate_hub_disconnection", None ), + can_simulate_paid_subscription=d.get( + "can_simulate_paid_subscription", None + ), can_simulate_removal=d.get("can_simulate_removal", None), can_turn_off_hvac=d.get("can_turn_off_hvac", None), can_unlock_with_code=d.get("can_unlock_with_code", None), @@ -2294,6 +2306,7 @@ def delete_data( booking_keys: Optional[List[str]] = None, building_keys: Optional[List[str]] = None, common_area_keys: Optional[List[str]] = None, + customer_keys: Optional[List[str]] = None, facility_keys: Optional[List[str]] = None, guest_keys: Optional[List[str]] = None, listing_keys: Optional[List[str]] = None,