You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lib/seam/connect/openapi.ts
+24-8Lines changed: 24 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -32406,7 +32406,7 @@ export default {
32406
32406
'/access_codes/list': {
32407
32407
get: {
32408
32408
description:
32409
-
'Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, or `access_method_id`.',
32409
+
'Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
32410
32410
operationId: 'accessCodesListGet',
32411
32411
parameters: [
32412
32412
{
@@ -32423,7 +32423,7 @@ export default {
32423
32423
name: 'device_id',
32424
32424
schema: {
32425
32425
description:
32426
-
'ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
32426
+
'ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
32427
32427
format: 'uuid',
32428
32428
type: 'string',
32429
32429
},
@@ -32433,7 +32433,7 @@ export default {
32433
32433
name: 'access_code_ids',
32434
32434
schema: {
32435
32435
description:
32436
-
'IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
32436
+
'IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
32437
32437
items: { format: 'uuid', type: 'string' },
32438
32438
type: 'array',
32439
32439
},
@@ -32443,7 +32443,17 @@ export default {
32443
32443
name: 'access_method_id',
32444
32444
schema: {
32445
32445
description:
32446
-
'ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
32446
+
'ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
32447
+
format: 'uuid',
32448
+
type: 'string',
32449
+
},
32450
+
},
32451
+
{
32452
+
in: 'query',
32453
+
name: 'access_grant_id',
32454
+
schema: {
32455
+
description:
32456
+
'ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
32447
32457
format: 'uuid',
32448
32458
type: 'string',
32449
32459
},
@@ -32529,7 +32539,7 @@ export default {
32529
32539
},
32530
32540
post: {
32531
32541
description:
32532
-
'Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, or `access_method_id`.',
32542
+
'Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
32533
32543
operationId: 'accessCodesListPost',
32534
32544
requestBody: {
32535
32545
content: {
@@ -32538,13 +32548,19 @@ export default {
32538
32548
properties: {
32539
32549
access_code_ids: {
32540
32550
description:
32541
-
'IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
32551
+
'IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
32542
32552
items: { format: 'uuid', type: 'string' },
32543
32553
type: 'array',
32544
32554
},
32555
+
access_grant_id: {
32556
+
description:
32557
+
'ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
32558
+
format: 'uuid',
32559
+
type: 'string',
32560
+
},
32545
32561
access_method_id: {
32546
32562
description:
32547
-
'ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
32563
+
'ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
32548
32564
format: 'uuid',
32549
32565
type: 'string',
32550
32566
},
@@ -32555,7 +32571,7 @@ export default {
32555
32571
},
32556
32572
device_id: {
32557
32573
description:
32558
-
'ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
32574
+
'ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
Copy file name to clipboardExpand all lines: src/lib/seam/connect/route-types.ts
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5023,12 +5023,14 @@ export type Routes = {
5023
5023
commonParams: {
5024
5024
/** Customer key for which you want to list access codes. */
5025
5025
customer_key?: string | undefined
5026
-
/** ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`. */
5026
+
/** ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`. */
5027
5027
device_id?: string | undefined
5028
-
/** IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`. */
5028
+
/** IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`. */
5029
5029
access_code_ids?: string[] | undefined
5030
-
/** ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`. */
5030
+
/** ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`. */
5031
5031
access_method_id?: string | undefined
5032
+
/** ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`. */
5033
+
access_grant_id?: string | undefined
5032
5034
/** Your user ID for the user by which to filter access codes. */
5033
5035
user_identifier_key?: string | undefined
5034
5036
/** Numerical limit on the number of access codes to return. */
0 commit comments