Skip to content

Commit 825ae1a

Browse files
authored
feat: Sync with Seam API via ddea7995ac9ab9c486e86d1e8e5adc6c781fc1cf (#2722)
1 parent c08a966 commit 825ae1a

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

src/lib/seam/connect/openapi.ts

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38185,17 +38185,24 @@ export default {
3818538185
{
3818638186
in: 'query',
3818738187
name: 'access_grant_id',
38188-
required: true,
3818938188
schema: {
3819038189
description: 'ID of Access Grant to list access methods for.',
3819138190
format: 'uuid',
3819238191
type: 'string',
3819338192
},
3819438193
},
38194+
{
38195+
in: 'query',
38196+
name: 'access_grant_key',
38197+
schema: {
38198+
description: 'Key of Access Grant to list access methods for.',
38199+
minLength: 1,
38200+
type: 'string',
38201+
},
38202+
},
3819538203
{
3819638204
in: 'query',
3819738205
name: 'device_id',
38198-
required: false,
3819938206
schema: {
3820038207
description:
3820138208
'ID of the device for which you want to retrieve all access methods.',
@@ -38206,7 +38213,6 @@ export default {
3820638213
{
3820738214
in: 'query',
3820838215
name: 'acs_entrance_id',
38209-
required: false,
3821038216
schema: {
3821138217
description:
3821238218
'ID of the entrance for which you want to retrieve all access methods.',
@@ -38217,7 +38223,6 @@ export default {
3821738223
{
3821838224
in: 'query',
3821938225
name: 'space_id',
38220-
required: false,
3822138226
schema: {
3822238227
description:
3822338228
'ID of the space for which you want to retrieve all access methods.',
@@ -38278,6 +38283,12 @@ export default {
3827838283
format: 'uuid',
3827938284
type: 'string',
3828038285
},
38286+
access_grant_key: {
38287+
description:
38288+
'Key of Access Grant to list access methods for.',
38289+
minLength: 1,
38290+
type: 'string',
38291+
},
3828138292
acs_entrance_id: {
3828238293
description:
3828338294
'ID of the entrance for which you want to retrieve all access methods.',
@@ -38297,7 +38308,6 @@ export default {
3829738308
type: 'string',
3829838309
},
3829938310
},
38300-
required: ['access_grant_id'],
3830138311
type: 'object',
3830238312
},
3830338313
},

src/lib/seam/connect/route-types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19219,7 +19219,9 @@ export type Routes = {
1921919219
jsonBody: {}
1922019220
commonParams: {
1922119221
/** ID of Access Grant to list access methods for. */
19222-
access_grant_id: string
19222+
access_grant_id?: string | undefined
19223+
/** Key of Access Grant to list access methods for. */
19224+
access_grant_key?: string | undefined
1922319225
/** ID of the device for which you want to retrieve all access methods. */
1922419226
device_id?: string | undefined
1922519227
/** ID of the entrance for which you want to retrieve all access methods. */

0 commit comments

Comments
 (0)