diff --git a/lib/seam/routes/clients/access_grants.rb b/lib/seam/routes/clients/access_grants.rb index a0e5e2b..d974348 100644 --- a/lib/seam/routes/clients/access_grants.rb +++ b/lib/seam/routes/clients/access_grants.rb @@ -36,8 +36,8 @@ def get_related(access_grant_ids: nil, access_grant_keys: nil, exclude: nil, inc Seam::Resources::Batch.load_from_response(res.body["batch"]) end - def list(access_code_id: nil, access_grant_ids: nil, access_grant_key: nil, acs_entrance_id: nil, acs_system_id: nil, customer_key: nil, limit: nil, location_id: nil, page_cursor: nil, reservation_key: nil, space_id: nil, user_identity_id: nil) - res = @client.post("/access_grants/list", {access_code_id: access_code_id, access_grant_ids: access_grant_ids, access_grant_key: access_grant_key, acs_entrance_id: acs_entrance_id, acs_system_id: acs_system_id, customer_key: customer_key, limit: limit, location_id: location_id, page_cursor: page_cursor, reservation_key: reservation_key, space_id: space_id, user_identity_id: user_identity_id}.compact) + def list(access_code_id: nil, access_grant_ids: nil, access_grant_key: nil, acs_entrance_id: nil, acs_system_id: nil, customer_key: nil, device_id: nil, limit: nil, location_id: nil, page_cursor: nil, reservation_key: nil, space_id: nil, user_identity_id: nil) + res = @client.post("/access_grants/list", {access_code_id: access_code_id, access_grant_ids: access_grant_ids, access_grant_key: access_grant_key, acs_entrance_id: acs_entrance_id, acs_system_id: acs_system_id, customer_key: customer_key, device_id: device_id, limit: limit, location_id: location_id, page_cursor: page_cursor, reservation_key: reservation_key, space_id: space_id, user_identity_id: user_identity_id}.compact) Seam::Resources::AccessGrant.load_from_response(res.body["access_grants"]) end diff --git a/lib/seam/routes/clients/connected_accounts.rb b/lib/seam/routes/clients/connected_accounts.rb index 75d6a28..2806fec 100644 --- a/lib/seam/routes/clients/connected_accounts.rb +++ b/lib/seam/routes/clients/connected_accounts.rb @@ -36,8 +36,8 @@ def sync(connected_account_id:) nil end - def update(connected_account_id:, accepted_capabilities: nil, automatically_manage_new_devices: nil, custom_metadata: nil, customer_key: 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, customer_key: customer_key}.compact) + def update(connected_account_id:, accepted_capabilities: nil, automatically_manage_new_devices: nil, custom_metadata: nil, customer_key: nil, display_name: 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, customer_key: customer_key, display_name: display_name}.compact) nil end diff --git a/lib/seam/routes/resources/connected_account.rb b/lib/seam/routes/resources/connected_account.rb index f03243e..b5fa303 100644 --- a/lib/seam/routes/resources/connected_account.rb +++ b/lib/seam/routes/resources/connected_account.rb @@ -3,7 +3,7 @@ module Seam module Resources class ConnectedAccount < BaseResource - attr_accessor :accepted_capabilities, :account_type, :account_type_display_name, :automatically_manage_new_devices, :connected_account_id, :custom_metadata, :customer_key, :default_checkin_time, :default_checkout_time, :display_name, :image_url, :time_zone, :user_identifier + attr_accessor :accepted_capabilities, :account_type, :account_type_display_name, :automatically_manage_new_devices, :connected_account_id, :custom_metadata, :customer_key, :default_checkin_time, :default_checkout_time, :display_name, :ical_feed_origin, :ical_url, :image_url, :time_zone, :user_identifier date_accessor :created_at diff --git a/package-lock.json b/package-lock.json index 698baad..8b5ff9c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.86.0", "@seamapi/nextlove-sdk-generator": "^1.19.10", - "@seamapi/types": "1.853.0", + "@seamapi/types": "1.865.0", "del": "^7.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.2.5" @@ -536,9 +536,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.853.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.853.0.tgz", - "integrity": "sha512-Rmwm6M5TGPuMSLZwIsX7EDzgY/aCmvo51ZkZkxBVeMAQgOiMPWKahDClQKcstr268IGoGe6PD8gJBH2W2rgdTw==", + "version": "1.865.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.865.0.tgz", + "integrity": "sha512-8V79X+pLwmlHcIfsUQurNa+0u04L43N71/Xu4Cy4UEA/jR1YZqBBaHJLgNQ/26hlELvFD0HxZ+BOekR3NhU1aw==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 4471d80..84d1f93 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@seamapi/fake-seam-connect": "1.86.0", "@seamapi/nextlove-sdk-generator": "^1.19.10", - "@seamapi/types": "1.853.0", + "@seamapi/types": "1.865.0", "del": "^7.1.0", "markdown-toc": "^1.2.0", "prettier": "^3.2.5"