diff --git a/package-lock.json b/package-lock.json index f5401d4..ec7f568 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.10", - "@seamapi/types": "1.783.0", + "@seamapi/types": "1.785.0", "del": "^7.1.0", "prettier": "^3.2.5" } @@ -535,9 +535,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.783.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.783.0.tgz", - "integrity": "sha512-lDcuQwLtVSoAEE7p2UJYdVJ8w3NdHeD/3LEjtjTQizfd1lClpOtakpSMcblT7NfPgPLWMpCy5DTLu235hLkleA==", + "version": "1.785.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.785.0.tgz", + "integrity": "sha512-TIgTqdahRXW/WnKtK2+fj3y73hfADC3kPcViA4LRnwtvpkihO/LqmysFmdlazweCMDcjQtvmRf8vIP28Q8BppA==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 171538b..229c339 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.10", - "@seamapi/types": "1.783.0", + "@seamapi/types": "1.785.0", "del": "^7.1.0", "prettier": "^3.2.5" } diff --git a/seam/routes/access_codes.py b/seam/routes/access_codes.py index d087e6e..3022086 100644 --- a/seam/routes/access_codes.py +++ b/seam/routes/access_codes.py @@ -175,6 +175,7 @@ def list( self, *, access_code_ids: Optional[List[str]] = None, + access_grant_id: Optional[str] = None, access_method_id: Optional[str] = None, customer_key: Optional[str] = None, device_id: Optional[str] = None, @@ -187,6 +188,8 @@ def list( if access_code_ids is not None: json_payload["access_code_ids"] = access_code_ids + if access_grant_id is not None: + json_payload["access_grant_id"] = access_grant_id if access_method_id is not None: json_payload["access_method_id"] = access_method_id if customer_key is not None: diff --git a/seam/routes/access_grants.py b/seam/routes/access_grants.py index afb6de3..5d635e5 100644 --- a/seam/routes/access_grants.py +++ b/seam/routes/access_grants.py @@ -123,6 +123,7 @@ def get_related( def list( self, *, + access_code_id: Optional[str] = None, access_grant_ids: Optional[List[str]] = None, access_grant_key: Optional[str] = None, acs_entrance_id: Optional[str] = None, @@ -137,6 +138,8 @@ def list( ) -> List[AccessGrant]: json_payload = {} + if access_code_id is not None: + json_payload["access_code_id"] = access_code_id if access_grant_ids is not None: json_payload["access_grant_ids"] = access_grant_ids if access_grant_key is not None: diff --git a/seam/routes/access_methods.py b/seam/routes/access_methods.py index 6731f2f..0d6524b 100644 --- a/seam/routes/access_methods.py +++ b/seam/routes/access_methods.py @@ -96,6 +96,7 @@ def get_related( def list( self, *, + access_code_id: Optional[str] = None, access_grant_id: Optional[str] = None, access_grant_key: Optional[str] = None, acs_entrance_id: Optional[str] = None, @@ -104,6 +105,8 @@ def list( ) -> List[AccessMethod]: json_payload = {} + if access_code_id is not None: + json_payload["access_code_id"] = access_code_id if access_grant_id is not None: json_payload["access_grant_id"] = access_grant_id if access_grant_key is not None: diff --git a/seam/routes/models.py b/seam/routes/models.py index 9907164..a90c86e 100644 --- a/seam/routes/models.py +++ b/seam/routes/models.py @@ -3117,6 +3117,7 @@ def get_related( def list( self, *, + access_code_id: Optional[str] = None, access_grant_ids: Optional[List[str]] = None, access_grant_key: Optional[str] = None, acs_entrance_id: Optional[str] = None, @@ -3194,6 +3195,7 @@ def get_related( def list( self, *, + access_code_id: Optional[str] = None, access_grant_id: Optional[str] = None, access_grant_key: Optional[str] = None, acs_entrance_id: Optional[str] = None, @@ -3523,6 +3525,7 @@ def list( self, *, access_code_ids: Optional[List[str]] = None, + access_grant_id: Optional[str] = None, access_method_id: Optional[str] = None, customer_key: Optional[str] = None, device_id: Optional[str] = None,