@@ -30528,21 +30528,6 @@ export default {
30528
30528
},
30529
30529
{
30530
30530
properties: {
30531
- desired_access_methods: {
30532
- items: {
30533
- properties: {
30534
- mode: {
30535
- description:
30536
- 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
30537
- enum: ['code', 'card', 'mobile_key'],
30538
- type: 'string',
30539
- },
30540
- },
30541
- required: ['mode'],
30542
- type: 'object',
30543
- },
30544
- type: 'array',
30545
- },
30546
30531
ends_at: {
30547
30532
description:
30548
30533
'Date and time at which the validity of the new grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.',
@@ -30567,6 +30552,10 @@ export default {
30567
30552
items: { format: 'uuid', type: 'string' },
30568
30553
type: 'array',
30569
30554
},
30555
+ name: {
30556
+ description: 'Name of the location.',
30557
+ type: 'string',
30558
+ },
30570
30559
},
30571
30560
type: 'object',
30572
30561
},
@@ -30576,14 +30565,29 @@ export default {
30576
30565
items: { format: 'uuid', type: 'string' },
30577
30566
type: 'array',
30578
30567
},
30568
+ requested_access_methods: {
30569
+ items: {
30570
+ properties: {
30571
+ mode: {
30572
+ description:
30573
+ 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
30574
+ enum: ['code', 'card', 'mobile_key'],
30575
+ type: 'string',
30576
+ },
30577
+ },
30578
+ required: ['mode'],
30579
+ type: 'object',
30580
+ },
30581
+ type: 'array',
30582
+ },
30579
30583
starts_at: {
30580
30584
description:
30581
30585
'Date and time at which the validity of the new grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
30582
30586
format: 'date-time',
30583
30587
type: 'string',
30584
30588
},
30585
30589
},
30586
- required: ['desired_access_methods '],
30590
+ required: ['requested_access_methods '],
30587
30591
type: 'object',
30588
30592
},
30589
30593
],
0 commit comments