From 090d99c19bb5df0371fc84d013ff3c73a1a68faa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Jul 2025 08:30:30 +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.446.0 to 1.451.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.446.0...v1.451.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.451.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 aba17bf..41de027 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.446.0", + "@seamapi/types": "1.451.0", "del": "^7.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.2.5" @@ -476,9 +476,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.446.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.446.0.tgz", - "integrity": "sha512-5xQxR4btug8h4SPtpZcQ69g3u0SZbgydAfeSDd2Jq+pW2wQ0E4VrdNOnFajpylCO9xjod0rerLwlHUsELOZ3qw==", + "version": "1.451.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.451.0.tgz", + "integrity": "sha512-AbKuOjHysExffbc58AiXTjKYz0wo7MIlNa0kkiWGmBHTQh2G0CLraJkqhQIGHUkeMi8l1XHR5G/xiyxruMsg+g==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 86acc86..d10330f 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.446.0", + "@seamapi/types": "1.451.0", "del": "^7.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.2.5" From ecb8e5cfad1d2fc71b89796191952e4a79c11d50 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Mon, 14 Jul 2025 08:31:10 +0000 Subject: [PATCH 2/2] ci: Generate code --- lib/seam/routes/clients/connected_accounts.rb | 8 ++++---- lib/seam/routes/clients/spaces.rb | 4 ++-- lib/seam/routes/resources/access_grant.rb | 2 +- lib/seam/routes/resources/access_method.rb | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/seam/routes/clients/connected_accounts.rb b/lib/seam/routes/clients/connected_accounts.rb index e6b133e..f9bda32 100644 --- a/lib/seam/routes/clients/connected_accounts.rb +++ b/lib/seam/routes/clients/connected_accounts.rb @@ -20,8 +20,8 @@ def get(connected_account_id: nil, email: nil) Seam::Resources::ConnectedAccount.load_from_response(res.body["connected_account"]) end - def list(custom_metadata_has: nil, customer_ids: nil, limit: nil, page_cursor: nil, search: nil, user_identifier_key: nil) - res = @client.post("/connected_accounts/list", {custom_metadata_has: custom_metadata_has, customer_ids: customer_ids, limit: limit, page_cursor: page_cursor, search: search, user_identifier_key: user_identifier_key}.compact) + def list(custom_metadata_has: nil, customer_key: nil, limit: nil, page_cursor: nil, search: nil, user_identifier_key: nil) + res = @client.post("/connected_accounts/list", {custom_metadata_has: custom_metadata_has, customer_key: customer_key, limit: limit, page_cursor: page_cursor, search: search, user_identifier_key: user_identifier_key}.compact) Seam::Resources::ConnectedAccount.load_from_response(res.body["connected_accounts"]) end @@ -32,8 +32,8 @@ def sync(connected_account_id:) nil end - def update(connected_account_id:, automatically_manage_new_devices: nil, custom_metadata: nil) - @client.post("/connected_accounts/update", {connected_account_id: connected_account_id, automatically_manage_new_devices: automatically_manage_new_devices, custom_metadata: custom_metadata}.compact) + def update(connected_account_id:, accepted_capabilities: nil, automatically_manage_new_devices: nil, custom_metadata: nil) + @client.post("/connected_accounts/update", {connected_account_id: connected_account_id, accepted_capabilities: accepted_capabilities, automatically_manage_new_devices: automatically_manage_new_devices, custom_metadata: custom_metadata}.compact) nil end diff --git a/lib/seam/routes/clients/spaces.rb b/lib/seam/routes/clients/spaces.rb index 30e65cb..14fb3d1 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(search: nil, space_key: nil) - res = @client.post("/spaces/list", {search: search, space_key: space_key}.compact) + def list(connected_account_id: nil, search: nil, space_key: nil) + res = @client.post("/spaces/list", {connected_account_id: connected_account_id, search: search, space_key: space_key}.compact) Seam::Resources::Space.load_from_response(res.body["spaces"]) end diff --git a/lib/seam/routes/resources/access_grant.rb b/lib/seam/routes/resources/access_grant.rb index 3e5613e..f280c4b 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, :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, :requested_access_methods, :space_ids, :user_identity_id, :workspace_id date_accessor :created_at, :ends_at, :starts_at end diff --git a/lib/seam/routes/resources/access_method.rb b/lib/seam/routes/resources/access_method.rb index 3056036..4aedcbd 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, :code, :display_name, :instant_key_url, :is_encoding_required, :mode, :workspace_id + attr_accessor :access_method_id, :client_session_token, :code, :display_name, :instant_key_url, :is_encoding_required, :mode, :workspace_id date_accessor :created_at, :issued_at end