From e0409cd6d0325aba08bf4992a25c35f23e845cb5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 15 Jul 2025 07:58:21 +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.451.0 to 1.452.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.451.0...v1.452.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.452.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 41de0275..e80e9c87 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.451.0", + "@seamapi/types": "1.452.0", "del": "^7.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.2.5" @@ -476,9 +476,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.451.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.451.0.tgz", - "integrity": "sha512-AbKuOjHysExffbc58AiXTjKYz0wo7MIlNa0kkiWGmBHTQh2G0CLraJkqhQIGHUkeMi8l1XHR5G/xiyxruMsg+g==", + "version": "1.452.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.452.0.tgz", + "integrity": "sha512-xgc9eGIypTDUVpYVLTwGyEOb/xMpe9PwolrcPx7D7yhdc+LrUS8h9OuErcaXYMpLVAOmdgIpF4SoDuDkrrRVxA==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index d10330fd..c4e80b6d 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.451.0", + "@seamapi/types": "1.452.0", "del": "^7.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.2.5" From 98885f2bd33665c4cf30155018a764c2dfd8d30c Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Tue, 15 Jul 2025 07:58:56 +0000 Subject: [PATCH 2/2] ci: Generate code --- lib/seam/routes/clients/access_grants.rb | 8 ++++---- lib/seam/routes/clients/spaces.rb | 4 ++-- lib/seam/routes/resources/access_grant.rb | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/seam/routes/clients/access_grants.rb b/lib/seam/routes/clients/access_grants.rb index 8b3d5452..5bed148e 100644 --- a/lib/seam/routes/clients/access_grants.rb +++ b/lib/seam/routes/clients/access_grants.rb @@ -8,8 +8,8 @@ def initialize(client:, defaults:) @defaults = defaults end - def create(requested_access_methods:, user_identity_id: nil, user_identity: nil, access_grant_key: nil, acs_entrance_ids: nil, device_ids: nil, ends_at: nil, location: nil, location_ids: nil, space_ids: nil, starts_at: nil) - res = @client.post("/access_grants/create", {requested_access_methods: requested_access_methods, user_identity_id: user_identity_id, user_identity: user_identity, access_grant_key: access_grant_key, acs_entrance_ids: acs_entrance_ids, device_ids: device_ids, ends_at: ends_at, location: location, location_ids: location_ids, space_ids: space_ids, starts_at: starts_at}.compact) + def create(requested_access_methods:, user_identity_id: nil, user_identity: nil, access_grant_key: nil, acs_entrance_ids: nil, device_ids: nil, ends_at: nil, location: nil, location_ids: nil, name: nil, space_ids: nil, starts_at: nil) + res = @client.post("/access_grants/create", {requested_access_methods: requested_access_methods, user_identity_id: user_identity_id, user_identity: user_identity, access_grant_key: access_grant_key, acs_entrance_ids: acs_entrance_ids, device_ids: device_ids, ends_at: ends_at, location: location, location_ids: location_ids, name: name, space_ids: space_ids, starts_at: starts_at}.compact) Seam::Resources::AccessGrant.load_from_response(res.body["access_grant"]) end @@ -32,8 +32,8 @@ def list(access_grant_key: nil, acs_entrance_id: nil, acs_system_id: nil, locati Seam::Resources::AccessGrant.load_from_response(res.body["access_grants"]) end - def update(access_grant_id:, ends_at: nil, starts_at: nil) - @client.post("/access_grants/update", {access_grant_id: access_grant_id, ends_at: ends_at, starts_at: starts_at}.compact) + def update(access_grant_id:, ends_at: nil, name: nil, starts_at: nil) + @client.post("/access_grants/update", {access_grant_id: access_grant_id, ends_at: ends_at, name: name, starts_at: starts_at}.compact) nil end diff --git a/lib/seam/routes/clients/spaces.rb b/lib/seam/routes/clients/spaces.rb index 14fb3d1b..80ab0d21 100644 --- a/lib/seam/routes/clients/spaces.rb +++ b/lib/seam/routes/clients/spaces.rb @@ -62,8 +62,8 @@ def remove_devices(device_ids:, space_id:) nil end - def update(space_id:, name: nil) - res = @client.post("/spaces/update", {space_id: space_id, name: name}.compact) + def update(acs_entrance_ids: nil, device_ids: nil, name: nil, space_id: nil, space_key: nil) + res = @client.post("/spaces/update", {acs_entrance_ids: acs_entrance_ids, device_ids: device_ids, name: name, space_id: space_id, space_key: space_key}.compact) Seam::Resources::Space.load_from_response(res.body["space"]) end diff --git a/lib/seam/routes/resources/access_grant.rb b/lib/seam/routes/resources/access_grant.rb index f280c4b2..49ac5fe8 100644 --- a/lib/seam/routes/resources/access_grant.rb +++ b/lib/seam/routes/resources/access_grant.rb @@ -3,7 +3,7 @@ module Seam module Resources class AccessGrant < BaseResource - attr_accessor :access_grant_id, :access_grant_key, :access_method_ids, :client_session_token, :display_name, :instant_key_url, :location_ids, :requested_access_methods, :space_ids, :user_identity_id, :workspace_id + attr_accessor :access_grant_id, :access_grant_key, :access_method_ids, :client_session_token, :display_name, :instant_key_url, :location_ids, :name, :requested_access_methods, :space_ids, :user_identity_id, :workspace_id date_accessor :created_at, :ends_at, :starts_at end