diff --git a/package-lock.json b/package-lock.json index 9e5acde..548583e 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.705.0", + "@seamapi/types": "1.707.0", "del": "^7.1.0", "prettier": "^3.2.5" } @@ -535,9 +535,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.705.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.705.0.tgz", - "integrity": "sha512-fRemo8t9NYWHd/pQL+SffM7iZNDTvsx2B7jcXQzD79PS98wZIf33TSaKafOO550Qm1fer+8GoX8PK2/6+tabiw==", + "version": "1.707.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.707.0.tgz", + "integrity": "sha512-LRzRD9YSzX4yTqhYCbhVHSXg6eGZQNxdz5+F0woSD+W7Wpwbnjc/qsLpykPo2DkABn5RDg5YEOXsiqsFQf2CBg==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index cf172a4..32eedf8 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.705.0", + "@seamapi/types": "1.707.0", "del": "^7.1.0", "prettier": "^3.2.5" } diff --git a/seam/routes/access_grants.py b/seam/routes/access_grants.py index a75bc57..e5509f7 100644 --- a/seam/routes/access_grants.py +++ b/seam/routes/access_grants.py @@ -120,6 +120,7 @@ def get_related( def list( self, *, + access_grant_id: Optional[str] = None, access_grant_key: Optional[str] = None, acs_entrance_id: Optional[str] = None, acs_system_id: Optional[str] = None, @@ -133,6 +134,8 @@ def list( ) -> List[AccessGrant]: json_payload = {} + if access_grant_id is not None: + json_payload["access_grant_id"] = access_grant_id if access_grant_key is not None: json_payload["access_grant_key"] = access_grant_key if acs_entrance_id is not None: diff --git a/seam/routes/models.py b/seam/routes/models.py index 0770bcc..f073567 100644 --- a/seam/routes/models.py +++ b/seam/routes/models.py @@ -3045,6 +3045,7 @@ def get_related( def list( self, *, + access_grant_id: Optional[str] = None, access_grant_key: Optional[str] = None, acs_entrance_id: Optional[str] = None, acs_system_id: Optional[str] = None,