diff --git a/package-lock.json b/package-lock.json index 8a9e074..1a600f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.86.0", "@seamapi/nextlove-sdk-generator": "^1.19.6", - "@seamapi/types": "1.700.0", + "@seamapi/types": "1.703.0", "del": "^7.1.0", "prettier": "^3.2.5" } @@ -535,9 +535,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.700.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.700.0.tgz", - "integrity": "sha512-EnuGUjBRtPaL/b/Smessj5O1SZNtBBycVHReWF75eC9hC9GhaLCJvbrF9e1tr+OP7Y5vDm4e4wotwMUFuSJEHQ==", + "version": "1.703.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.703.0.tgz", + "integrity": "sha512-iDZ+RYChXpttg+tUGZi6hnRNJen2QRLVZpFXYcbx51GuANJDLoVI7l0VIazlLoPHDIJt850ot8YUO7SIfbhicw==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 71eee97..04660c3 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.86.0", "@seamapi/nextlove-sdk-generator": "^1.19.6", - "@seamapi/types": "1.700.0", + "@seamapi/types": "1.703.0", "del": "^7.1.0", "prettier": "^3.2.5" } diff --git a/seam/routes/access_grants.py b/seam/routes/access_grants.py index 9b3dd64..a75bc57 100644 --- a/seam/routes/access_grants.py +++ b/seam/routes/access_grants.py @@ -124,7 +124,9 @@ def list( acs_entrance_id: Optional[str] = None, acs_system_id: Optional[str] = None, customer_key: Optional[str] = None, + limit: Optional[float] = None, location_id: Optional[str] = None, + page_cursor: Optional[str] = None, reservation_key: Optional[str] = None, space_id: Optional[str] = None, user_identity_id: Optional[str] = None @@ -139,8 +141,12 @@ def list( json_payload["acs_system_id"] = acs_system_id if customer_key is not None: json_payload["customer_key"] = customer_key + if limit is not None: + json_payload["limit"] = limit if location_id is not None: json_payload["location_id"] = location_id + if page_cursor is not None: + json_payload["page_cursor"] = page_cursor if reservation_key is not None: json_payload["reservation_key"] = reservation_key if space_id is not None: diff --git a/seam/routes/models.py b/seam/routes/models.py index 3d8a444..454788d 100644 --- a/seam/routes/models.py +++ b/seam/routes/models.py @@ -997,6 +997,7 @@ class SeamEvent: access_grant_key: str ends_at: str starts_at: str + error_message: str access_grant_ids: List[str] access_grant_keys: List[str] access_method_id: str @@ -1071,6 +1072,7 @@ def from_dict(d: Dict[str, Any]): access_grant_key=d.get("access_grant_key", None), ends_at=d.get("ends_at", None), starts_at=d.get("starts_at", None), + error_message=d.get("error_message", None), access_grant_ids=d.get("access_grant_ids", None), access_grant_keys=d.get("access_grant_keys", None), access_method_id=d.get("access_method_id", None), @@ -3032,7 +3034,9 @@ def list( acs_entrance_id: Optional[str] = None, acs_system_id: Optional[str] = None, customer_key: Optional[str] = None, + limit: Optional[float] = None, location_id: Optional[str] = None, + page_cursor: Optional[str] = None, reservation_key: Optional[str] = None, space_id: Optional[str] = None, user_identity_id: Optional[str] = None