From b4536553178f1a92b9fe368d4a531f1d6a9776b3 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Tue, 17 Mar 2026 23:14:46 +0000 Subject: [PATCH] feat: Sync with Seam API via ddea7995ac9ab9c486e86d1e8e5adc6c781fc1cf --- src/lib/seam/connect/openapi.ts | 20 +++++++++++++++----- src/lib/seam/connect/route-types.ts | 4 +++- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 25cf8b9c..fb651778 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -38185,17 +38185,24 @@ export default { { in: 'query', name: 'access_grant_id', - required: true, schema: { description: 'ID of Access Grant to list access methods for.', format: 'uuid', type: 'string', }, }, + { + in: 'query', + name: 'access_grant_key', + schema: { + description: 'Key of Access Grant to list access methods for.', + minLength: 1, + type: 'string', + }, + }, { in: 'query', name: 'device_id', - required: false, schema: { description: 'ID of the device for which you want to retrieve all access methods.', @@ -38206,7 +38213,6 @@ export default { { in: 'query', name: 'acs_entrance_id', - required: false, schema: { description: 'ID of the entrance for which you want to retrieve all access methods.', @@ -38217,7 +38223,6 @@ export default { { in: 'query', name: 'space_id', - required: false, schema: { description: 'ID of the space for which you want to retrieve all access methods.', @@ -38278,6 +38283,12 @@ export default { format: 'uuid', type: 'string', }, + access_grant_key: { + description: + 'Key of Access Grant to list access methods for.', + minLength: 1, + type: 'string', + }, acs_entrance_id: { description: 'ID of the entrance for which you want to retrieve all access methods.', @@ -38297,7 +38308,6 @@ export default { type: 'string', }, }, - required: ['access_grant_id'], type: 'object', }, }, diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 126505ac..b8612404 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -19219,7 +19219,9 @@ export type Routes = { jsonBody: {} commonParams: { /** ID of Access Grant to list access methods for. */ - access_grant_id: string + access_grant_id?: string | undefined + /** Key of Access Grant to list access methods for. */ + access_grant_key?: string | undefined /** ID of the device for which you want to retrieve all access methods. */ device_id?: string | undefined /** ID of the entrance for which you want to retrieve all access methods. */