diff --git a/package-lock.json b/package-lock.json index b4482e0..70c0942 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.537.0", + "@seamapi/types": "1.542.0", "del": "^7.1.0", "prettier": "^3.2.5" } @@ -475,9 +475,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.537.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.537.0.tgz", - "integrity": "sha512-s19xPh5gEC1wkALaG1KZkaaiFH1rTJ+5NujA/87dTZWylfAasKniLZHPMdhO6Di9NRkntIk2i8G97dTm+iegNw==", + "version": "1.542.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.542.0.tgz", + "integrity": "sha512-s7jHbPj0h5SUAPibKVOdh8EJlp4zKqWm19w1vZRtEXtCT6sOGkUzZL4V4jnlI6Gp5DSXUprgi3UfMNYM4x7QoQ==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index f9dcd11..ac1d60d 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.537.0", + "@seamapi/types": "1.542.0", "del": "^7.1.0", "prettier": "^3.2.5" } diff --git a/seam/routes/access_codes.py b/seam/routes/access_codes.py index b0d9ace..e305d73 100644 --- a/seam/routes/access_codes.py +++ b/seam/routes/access_codes.py @@ -201,7 +201,7 @@ def list( self, *, access_code_ids: Optional[List[str]] = None, - customer_ids: Optional[List[str]] = None, + customer_key: Optional[str] = None, device_id: Optional[str] = None, limit: Optional[float] = None, page_cursor: Optional[str] = None, @@ -211,8 +211,8 @@ def list( if access_code_ids is not None: json_payload["access_code_ids"] = access_code_ids - if customer_ids is not None: - json_payload["customer_ids"] = customer_ids + if customer_key is not None: + json_payload["customer_key"] = customer_key if device_id is not None: json_payload["device_id"] = device_id if limit is not None: diff --git a/seam/routes/models.py b/seam/routes/models.py index a758e90..e7b323e 100644 --- a/seam/routes/models.py +++ b/seam/routes/models.py @@ -880,6 +880,7 @@ class SeamEvent: acs_access_group_id: str client_session_id: str connect_webview_id: str + customer_key: str action_attempt_id: str action_type: str status: str @@ -942,6 +943,7 @@ def from_dict(d: Dict[str, Any]): acs_access_group_id=d.get("acs_access_group_id", None), client_session_id=d.get("client_session_id", None), connect_webview_id=d.get("connect_webview_id", None), + customer_key=d.get("customer_key", None), action_attempt_id=d.get("action_attempt_id", None), action_type=d.get("action_type", None), status=d.get("status", None), @@ -3062,7 +3064,7 @@ def list( self, *, access_code_ids: Optional[List[str]] = None, - customer_ids: Optional[List[str]] = None, + customer_key: Optional[str] = None, device_id: Optional[str] = None, limit: Optional[float] = None, page_cursor: Optional[str] = None,