From afa5688fe4b20f63de0e2db6d065651211633701 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 9 Jul 2025 06:27:40 +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.439.0 to 1.442.0 - [Release notes](https://github.com/seamapi/types/releases) - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json) - [Commits](https://github.com/seamapi/types/compare/v1.439.0...v1.442.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.442.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 9 +++++---- package.json | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 93acf64..98787bf 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.18.1", - "@seamapi/types": "1.439.0", + "@seamapi/types": "1.442.0", "del": "^7.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.2.5" @@ -476,10 +476,11 @@ } }, "node_modules/@seamapi/types": { - "version": "1.439.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.439.0.tgz", - "integrity": "sha512-QFzo0jLtB2CIkm26K0tMhPNbeF+qxyAWGyhRufTUKcbIE5sYoi025f2nAkssBxOWH8uf18pTaH326igBt08Wew==", + "version": "1.442.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.442.0.tgz", + "integrity": "sha512-9pNxizBTsSqXTAEAEU3mhV10+kZ8Pbt825/+crQ+BSnOFVelI+8za6bZmSYPI93HpKjTcYvNxCQcMSd9Kr4rrA==", "dev": true, + "license": "MIT", "engines": { "node": ">=18.12.0", "npm": ">= 9.0.0" diff --git a/package.json b/package.json index 1e2cbbc..503bf68 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.83.2", "@seamapi/nextlove-sdk-generator": "^1.18.1", - "@seamapi/types": "1.439.0", + "@seamapi/types": "1.442.0", "del": "^7.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.2.5" From ce6cbaf0fbc93160e44a95b694d1ba38ed63d008 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Wed, 9 Jul 2025 06:28:14 +0000 Subject: [PATCH 2/2] ci: Generate code --- lib/seam/routes/clients/acs_entrances.rb | 4 ++-- lib/seam/routes/clients/spaces.rb | 4 ++-- lib/seam/routes/resources/access_method.rb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/seam/routes/clients/acs_entrances.rb b/lib/seam/routes/clients/acs_entrances.rb index 13592b5..0746b5c 100644 --- a/lib/seam/routes/clients/acs_entrances.rb +++ b/lib/seam/routes/clients/acs_entrances.rb @@ -20,8 +20,8 @@ def grant_access(acs_entrance_id:, acs_user_id: nil, user_identity_id: nil) nil end - def list(access_grant_id: nil, access_method_id: nil, acs_credential_id: nil, acs_entrance_ids: nil, acs_system_id: nil, connected_account_id: nil, location_id: nil, space_id: nil) - res = @client.post("/acs/entrances/list", {access_grant_id: access_grant_id, access_method_id: access_method_id, acs_credential_id: acs_credential_id, acs_entrance_ids: acs_entrance_ids, acs_system_id: acs_system_id, connected_account_id: connected_account_id, location_id: location_id, space_id: space_id}.compact) + def list(access_grant_id: nil, access_method_id: nil, acs_credential_id: nil, acs_entrance_ids: nil, acs_system_id: nil, connected_account_id: nil, location_id: nil, search: nil, space_id: nil) + res = @client.post("/acs/entrances/list", {access_grant_id: access_grant_id, access_method_id: access_method_id, acs_credential_id: acs_credential_id, acs_entrance_ids: acs_entrance_ids, acs_system_id: acs_system_id, connected_account_id: connected_account_id, location_id: location_id, search: search, space_id: space_id}.compact) Seam::Resources::AcsEntrance.load_from_response(res.body["acs_entrances"]) end diff --git a/lib/seam/routes/clients/spaces.rb b/lib/seam/routes/clients/spaces.rb index a2a6c24..f8a5ea5 100644 --- a/lib/seam/routes/clients/spaces.rb +++ b/lib/seam/routes/clients/spaces.rb @@ -44,8 +44,8 @@ def get_related(space_ids:, exclude: nil, include: nil) nil end - def list - res = @client.post("/spaces/list") + def list(search: nil) + res = @client.post("/spaces/list", {search: search}.compact) Seam::Resources::Space.load_from_response(res.body["spaces"]) end diff --git a/lib/seam/routes/resources/access_method.rb b/lib/seam/routes/resources/access_method.rb index 65a1618..3056036 100644 --- a/lib/seam/routes/resources/access_method.rb +++ b/lib/seam/routes/resources/access_method.rb @@ -3,7 +3,7 @@ module Seam module Resources class AccessMethod < BaseResource - attr_accessor :access_method_id, :display_name, :instant_key_url, :is_encoding_required, :mode, :workspace_id + attr_accessor :access_method_id, :code, :display_name, :instant_key_url, :is_encoding_required, :mode, :workspace_id date_accessor :created_at, :issued_at end