diff --git a/package-lock.json b/package-lock.json index bc78824..951af5d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.83.1", "@seamapi/nextlove-sdk-generator": "^1.18.1", - "@seamapi/types": "1.414.2", + "@seamapi/types": "1.416.1", "del": "^7.1.0", "prettier": "^3.2.5" } @@ -475,9 +475,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.414.2", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.414.2.tgz", - "integrity": "sha512-QWTHKz+I3JePDpia2mDeWMI9ATEVjWD8lXZwSp1rqDbOrS4CWWrYDEU4TxWP4wdmI2XpffyDE/Xnaqn/gFvdeQ==", + "version": "1.416.1", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.416.1.tgz", + "integrity": "sha512-hRAzL2H7U+Op8bxkx4qx0d5HvvbZAvH2/ZuqHNJQfAplhPCazHm3T6JtNqTAC69R2KT8f1wwhtB8GHS98nUP3Q==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 97317b8..e933c9c 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.83.1", "@seamapi/nextlove-sdk-generator": "^1.18.1", - "@seamapi/types": "1.414.2", + "@seamapi/types": "1.416.1", "del": "^7.1.0", "prettier": "^3.2.5" } diff --git a/seam/routes/connect_webviews.py b/seam/routes/connect_webviews.py index 28bf117..e014982 100644 --- a/seam/routes/connect_webviews.py +++ b/seam/routes/connect_webviews.py @@ -77,6 +77,7 @@ def list( custom_metadata_has: Optional[Dict[str, Any]] = None, customer_ids: Optional[List[str]] = None, limit: Optional[float] = None, + page_cursor: Optional[str] = None, user_identifier_key: Optional[str] = None ) -> List[ConnectWebview]: json_payload = {} @@ -87,6 +88,8 @@ def list( json_payload["customer_ids"] = customer_ids if limit is not None: json_payload["limit"] = limit + if page_cursor is not None: + json_payload["page_cursor"] = page_cursor if user_identifier_key is not None: json_payload["user_identifier_key"] = user_identifier_key diff --git a/seam/routes/models.py b/seam/routes/models.py index df97c1a..505420f 100644 --- a/seam/routes/models.py +++ b/seam/routes/models.py @@ -607,6 +607,7 @@ class ConnectedAccount: connected_account_id: str created_at: str custom_metadata: Dict[str, Any] + customer_key: str errors: List[Dict[str, Any]] user_identifier: Dict[str, Any] warnings: List[Dict[str, Any]] @@ -622,6 +623,7 @@ def from_dict(d: Dict[str, Any]): connected_account_id=d.get("connected_account_id", None), created_at=d.get("created_at", None), custom_metadata=DeepAttrDict(d.get("custom_metadata", None)), + customer_key=d.get("customer_key", None), errors=d.get("errors", None), user_identifier=DeepAttrDict(d.get("user_identifier", None)), warnings=d.get("warnings", None), @@ -2083,6 +2085,7 @@ def list( custom_metadata_has: Optional[Dict[str, Any]] = None, customer_ids: Optional[List[str]] = None, limit: Optional[float] = None, + page_cursor: Optional[str] = None, user_identifier_key: Optional[str] = None ) -> List[ConnectWebview]: raise NotImplementedError()