From ca51e4b5e8d2f08068000211400f879f1d9f8117 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Dec 2025 09:09:57 +0000 Subject: [PATCH 1/2] feat(deps-dev): bump @seamapi/types in the seam group Bumps the seam group with 1 update: [@seamapi/types](https://github.com/seamapi/types). Updates `@seamapi/types` from 1.673.0 to 1.677.0 - [Release notes](https://github.com/seamapi/types/releases) - [Commits](https://github.com/seamapi/types/compare/v1.673.0...v1.677.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.677.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 53 +++++------------------------------------------ package.json | 2 +- 2 files changed, 6 insertions(+), 49 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4218bfd..d1a92c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.85.1", "@seamapi/nextlove-sdk-generator": "^1.19.6", - "@seamapi/types": "1.673.0", + "@seamapi/types": "1.677.0", "del": "^7.1.0", "prettier": "^3.2.5" } @@ -535,9 +535,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.673.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.673.0.tgz", - "integrity": "sha512-OnqrVBIr1qgw1s7ZA9jQNbt/tV21fUmFx6aOZ2bjI6byUE0vJm7xDDLB4MTCAAUZRefXXi8xyhq2K5zs+8oXgQ==", + "version": "1.677.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.677.0.tgz", + "integrity": "sha512-TbYg+vUgphu8jNNgksjWOHvc1HXEx3vHyx7eTzDaECvjp+RlCsdES0EFgGJ535CsVUxlxfhg+fMlqiQPupPYDw==", "dev": true, "license": "MIT", "engines": { @@ -1387,18 +1387,6 @@ } ] }, - "node_modules/react": { - "version": "19.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-19.2.0.tgz", - "integrity": "sha512-tmbWg6W31tQLeB5cdIBOicJDJRR2KzXsV7uSK9iNfLWQ5bIZfxuPEHp7M8wiHyHnn0DD1i7w3Zmin0FtkrwoCQ==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -1655,42 +1643,11 @@ "integrity": "sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ==", "dev": true, "license": "MIT", + "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } }, - "node_modules/zustand": { - "version": "5.0.9", - "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.9.tgz", - "integrity": "sha512-ALBtUj0AfjJt3uNRQoL1tL2tMvj6Gp/6e39dnfT6uzpelGru8v1tPOGBzayOWbPJvujM8JojDk3E1LxeFisBNg==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "engines": { - "node": ">=12.20.0" - }, - "peerDependencies": { - "@types/react": ">=18.0.0", - "immer": ">=9.0.6", - "react": ">=18.0.0", - "use-sync-external-store": ">=1.2.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "immer": { - "optional": true - }, - "react": { - "optional": true - }, - "use-sync-external-store": { - "optional": true - } - } - }, "node_modules/zustand-hoist": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/zustand-hoist/-/zustand-hoist-2.0.1.tgz", diff --git a/package.json b/package.json index ee867cb..e049df5 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.85.1", "@seamapi/nextlove-sdk-generator": "^1.19.6", - "@seamapi/types": "1.673.0", + "@seamapi/types": "1.677.0", "del": "^7.1.0", "prettier": "^3.2.5" } From 5a713cc7905f12885a9eaf7bf6af4b2460329147 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Mon, 8 Dec 2025 09:10:36 +0000 Subject: [PATCH 2/2] ci: Generate code --- package-lock.json | 45 +++++++++++++++++++++++++++++++++- seam/routes/action_attempts.py | 15 +++++++++++- seam/routes/events.py | 11 ++++++++- seam/routes/models.py | 14 +++++++++-- 4 files changed, 80 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index d1a92c7..efa063b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1387,6 +1387,18 @@ } ] }, + "node_modules/react": { + "version": "19.2.1", + "resolved": "https://registry.npmjs.org/react/-/react-19.2.1.tgz", + "integrity": "sha512-DGrYcCWK7tvYMnWh79yrPHt+vdx9tY+1gPZa7nJQtO/p8bLTDaHp4dzwEhQB7pZ4Xe3ok4XKuEPrVuc+wlpkmw==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -1643,11 +1655,42 @@ "integrity": "sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ==", "dev": true, "license": "MIT", - "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } }, + "node_modules/zustand": { + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.9.tgz", + "integrity": "sha512-ALBtUj0AfjJt3uNRQoL1tL2tMvj6Gp/6e39dnfT6uzpelGru8v1tPOGBzayOWbPJvujM8JojDk3E1LxeFisBNg==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "engines": { + "node": ">=12.20.0" + }, + "peerDependencies": { + "@types/react": ">=18.0.0", + "immer": ">=9.0.6", + "react": ">=18.0.0", + "use-sync-external-store": ">=1.2.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "immer": { + "optional": true + }, + "react": { + "optional": true + }, + "use-sync-external-store": { + "optional": true + } + } + }, "node_modules/zustand-hoist": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/zustand-hoist/-/zustand-hoist-2.0.1.tgz", diff --git a/seam/routes/action_attempts.py b/seam/routes/action_attempts.py index e6f36fd..9be0575 100644 --- a/seam/routes/action_attempts.py +++ b/seam/routes/action_attempts.py @@ -35,11 +35,24 @@ def get( wait_for_action_attempt=wait_for_action_attempt, ) - def list(self, *, action_attempt_ids: List[str]) -> List[ActionAttempt]: + def list( + self, + *, + action_attempt_ids: Optional[List[str]] = None, + device_id: Optional[str] = None, + limit: Optional[int] = None, + page_cursor: Optional[str] = None + ) -> List[ActionAttempt]: json_payload = {} if action_attempt_ids is not None: json_payload["action_attempt_ids"] = action_attempt_ids + if device_id is not None: + json_payload["device_id"] = device_id + if limit is not None: + json_payload["limit"] = limit + if page_cursor is not None: + json_payload["page_cursor"] = page_cursor res = self.client.post("/action_attempts/list", json=json_payload) diff --git a/seam/routes/events.py b/seam/routes/events.py index 3f21258..1f78db3 100644 --- a/seam/routes/events.py +++ b/seam/routes/events.py @@ -33,8 +33,10 @@ def list( *, access_code_id: Optional[str] = None, access_code_ids: Optional[List[str]] = None, + acs_entrance_id: Optional[str] = None, acs_system_id: Optional[str] = None, acs_system_ids: Optional[List[str]] = None, + acs_user_id: Optional[str] = None, between: Optional[List[str]] = None, connect_webview_id: Optional[str] = None, connected_account_id: Optional[str] = None, @@ -46,7 +48,8 @@ def list( event_types: Optional[List[str]] = None, limit: Optional[float] = None, since: Optional[str] = None, - unstable_offset: Optional[float] = None + unstable_offset: Optional[float] = None, + user_identity_id: Optional[str] = None ) -> List[SeamEvent]: json_payload = {} @@ -54,10 +57,14 @@ def list( json_payload["access_code_id"] = access_code_id if access_code_ids is not None: json_payload["access_code_ids"] = access_code_ids + if acs_entrance_id is not None: + json_payload["acs_entrance_id"] = acs_entrance_id if acs_system_id is not None: json_payload["acs_system_id"] = acs_system_id if acs_system_ids is not None: json_payload["acs_system_ids"] = acs_system_ids + if acs_user_id is not None: + json_payload["acs_user_id"] = acs_user_id if between is not None: json_payload["between"] = between if connect_webview_id is not None: @@ -82,6 +89,8 @@ def list( json_payload["since"] = since if unstable_offset is not None: json_payload["unstable_offset"] = unstable_offset + if user_identity_id is not None: + json_payload["user_identity_id"] = user_identity_id res = self.client.post("/events/list", json=json_payload) diff --git a/seam/routes/models.py b/seam/routes/models.py index 17e5837..2354874 100644 --- a/seam/routes/models.py +++ b/seam/routes/models.py @@ -2261,7 +2261,14 @@ def get( raise NotImplementedError() @abc.abstractmethod - def list(self, *, action_attempt_ids: List[str]) -> List[ActionAttempt]: + def list( + self, + *, + action_attempt_ids: Optional[List[str]] = None, + device_id: Optional[str] = None, + limit: Optional[int] = None, + page_cursor: Optional[str] = None + ) -> List[ActionAttempt]: raise NotImplementedError() @@ -2544,8 +2551,10 @@ def list( *, access_code_id: Optional[str] = None, access_code_ids: Optional[List[str]] = None, + acs_entrance_id: Optional[str] = None, acs_system_id: Optional[str] = None, acs_system_ids: Optional[List[str]] = None, + acs_user_id: Optional[str] = None, between: Optional[List[str]] = None, connect_webview_id: Optional[str] = None, connected_account_id: Optional[str] = None, @@ -2557,7 +2566,8 @@ def list( event_types: Optional[List[str]] = None, limit: Optional[float] = None, since: Optional[str] = None, - unstable_offset: Optional[float] = None + unstable_offset: Optional[float] = None, + user_identity_id: Optional[str] = None ) -> List[SeamEvent]: raise NotImplementedError()