@seamapi/types 1.411.0 → 1.412.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -964,6 +964,26 @@ export default {
964
964
  ],
965
965
  type: 'object',
966
966
  },
967
+ {
968
+ description: 'Lockly lock is not connected to a Wi-Fi bridge.',
969
+ properties: {
970
+ created_at: { format: 'date-time', type: 'string' },
971
+ error_code: {
972
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
973
+ enum: ['lockly_missing_wifi_bridge'],
974
+ type: 'string',
975
+ },
976
+ is_device_error: { enum: [true], type: 'boolean' },
977
+ message: { type: 'string' },
978
+ },
979
+ required: [
980
+ 'message',
981
+ 'is_device_error',
982
+ 'created_at',
983
+ 'error_code',
984
+ ],
985
+ type: 'object',
986
+ },
967
987
  {
968
988
  description: 'Credentials provided were invalid.',
969
989
  properties: {
@@ -1369,6 +1389,149 @@ export default {
1369
1389
  type: 'object',
1370
1390
  'x-route-path': '/access_codes',
1371
1391
  },
1392
+ access_grant: {
1393
+ properties: {
1394
+ access_grant_id: {
1395
+ description: 'ID of the access grant.',
1396
+ format: 'uuid',
1397
+ type: 'string',
1398
+ },
1399
+ access_method_ids: {
1400
+ description: 'IDs of the access methods that were created for this access grant.',
1401
+ items: { format: 'uuid', type: 'string' },
1402
+ type: 'array',
1403
+ },
1404
+ created_at: {
1405
+ description: 'Date and time at which the access grant was created.',
1406
+ format: 'date-time',
1407
+ type: 'string',
1408
+ },
1409
+ display_name: {
1410
+ description: 'Display name of the access grant.',
1411
+ type: 'string',
1412
+ },
1413
+ location_ids: {
1414
+ deprecated: true,
1415
+ items: { format: 'uuid', type: 'string' },
1416
+ type: 'array',
1417
+ 'x-deprecated': 'Use `space_ids`.',
1418
+ },
1419
+ requested_access_methods: {
1420
+ description: 'Access methods that the user requested for this access grant.',
1421
+ items: {
1422
+ properties: {
1423
+ created_access_method_ids: {
1424
+ description: 'IDs of the access methods that were created for this requested access method.',
1425
+ items: { format: 'uuid', type: 'string' },
1426
+ type: 'array',
1427
+ },
1428
+ created_at: {
1429
+ description: 'Date and time at which the requested access method was added to this access grant.',
1430
+ format: 'date-time',
1431
+ type: 'string',
1432
+ },
1433
+ display_name: {
1434
+ description: 'Display name of the access method.',
1435
+ type: 'string',
1436
+ },
1437
+ mode: {
1438
+ description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
1439
+ enum: ['code', 'card', 'mobile_key'],
1440
+ type: 'string',
1441
+ },
1442
+ },
1443
+ required: [
1444
+ 'display_name',
1445
+ 'mode',
1446
+ 'created_at',
1447
+ 'created_access_method_ids',
1448
+ ],
1449
+ type: 'object',
1450
+ },
1451
+ type: 'array',
1452
+ },
1453
+ space_ids: {
1454
+ description: 'IDs of the spaces to which access is being given.',
1455
+ items: { format: 'uuid', type: 'string' },
1456
+ type: 'array',
1457
+ },
1458
+ user_identity_id: {
1459
+ description: 'ID of user identity to which access is being granted.',
1460
+ format: 'uuid',
1461
+ type: 'string',
1462
+ },
1463
+ workspace_id: {
1464
+ description: 'Unique identifier for the Seam workspace associated with the access grant.',
1465
+ format: 'uuid',
1466
+ type: 'string',
1467
+ },
1468
+ },
1469
+ required: [
1470
+ 'workspace_id',
1471
+ 'access_grant_id',
1472
+ 'user_identity_id',
1473
+ 'location_ids',
1474
+ 'space_ids',
1475
+ 'requested_access_methods',
1476
+ 'access_method_ids',
1477
+ 'display_name',
1478
+ 'created_at',
1479
+ ],
1480
+ type: 'object',
1481
+ 'x-draft': 'Early access.',
1482
+ 'x-route-path': '/access_grants',
1483
+ },
1484
+ access_method: {
1485
+ properties: {
1486
+ access_method_id: {
1487
+ description: 'ID of the access method.',
1488
+ format: 'uuid',
1489
+ type: 'string',
1490
+ },
1491
+ created_at: {
1492
+ description: 'Date and time at which the access method was created.',
1493
+ format: 'date-time',
1494
+ type: 'string',
1495
+ },
1496
+ display_name: {
1497
+ description: 'Display name of the access method.',
1498
+ type: 'string',
1499
+ },
1500
+ instant_key_url: {
1501
+ description: 'URL of instant key for mobile key access methods.',
1502
+ type: 'string',
1503
+ },
1504
+ is_card_encoding_required: {
1505
+ description: 'Whether card encoding is required for plastic card access methods.',
1506
+ type: 'boolean',
1507
+ },
1508
+ issued_at: {
1509
+ description: 'Date and time at which the access method was issued.',
1510
+ format: 'date-time',
1511
+ type: 'string',
1512
+ },
1513
+ mode: {
1514
+ description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
1515
+ enum: ['code', 'card', 'mobile_key'],
1516
+ type: 'string',
1517
+ },
1518
+ workspace_id: {
1519
+ description: 'Unique identifier for the Seam workspace associated with the access grant.',
1520
+ format: 'uuid',
1521
+ type: 'string',
1522
+ },
1523
+ },
1524
+ required: [
1525
+ 'workspace_id',
1526
+ 'access_method_id',
1527
+ 'display_name',
1528
+ 'mode',
1529
+ 'created_at',
1530
+ ],
1531
+ type: 'object',
1532
+ 'x-draft': 'Early access.',
1533
+ 'x-route-path': '/access_methods',
1534
+ },
1372
1535
  acs_access_group: {
1373
1536
  description: 'Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.\n\nSome access control systems use [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups), which are sets of users, combined with sets of permissions. These permissions include both the set of areas or assets that the users can access and the schedule during which the users can access these areas or assets. Instead of assigning access rights individually to each access control system user, which can be time-consuming and error-prone, administrators can assign users to an access group, thereby ensuring that the users inherit all the permissions associated with the access group. Using access groups streamlines the process of managing large numbers of access control system users, especially in bigger organizations or complexes.\n\nTo learn whether your access control system supports access groups, see the corresponding [system integration guide](https://docs.seam.co/latest/device-and-system-integration-guides/overview#access-control-systems).',
1374
1537
  properties: {
@@ -7342,6 +7505,26 @@ export default {
7342
7505
  ],
7343
7506
  type: 'object',
7344
7507
  },
7508
+ {
7509
+ description: 'Lockly lock is not connected to a Wi-Fi bridge.',
7510
+ properties: {
7511
+ created_at: { format: 'date-time', type: 'string' },
7512
+ error_code: {
7513
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
7514
+ enum: ['lockly_missing_wifi_bridge'],
7515
+ type: 'string',
7516
+ },
7517
+ is_device_error: { enum: [true], type: 'boolean' },
7518
+ message: { type: 'string' },
7519
+ },
7520
+ required: [
7521
+ 'message',
7522
+ 'is_device_error',
7523
+ 'created_at',
7524
+ 'error_code',
7525
+ ],
7526
+ type: 'object',
7527
+ },
7345
7528
  {
7346
7529
  description: 'Credentials provided were invalid.',
7347
7530
  properties: {
@@ -16445,6 +16628,26 @@ export default {
16445
16628
  ],
16446
16629
  type: 'object',
16447
16630
  },
16631
+ {
16632
+ description: 'Lockly lock is not connected to a Wi-Fi bridge.',
16633
+ properties: {
16634
+ created_at: { format: 'date-time', type: 'string' },
16635
+ error_code: {
16636
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
16637
+ enum: ['lockly_missing_wifi_bridge'],
16638
+ type: 'string',
16639
+ },
16640
+ is_device_error: { enum: [true], type: 'boolean' },
16641
+ message: { type: 'string' },
16642
+ },
16643
+ required: [
16644
+ 'message',
16645
+ 'is_device_error',
16646
+ 'created_at',
16647
+ 'error_code',
16648
+ ],
16649
+ type: 'object',
16650
+ },
16448
16651
  {
16449
16652
  description: 'Credentials provided were invalid.',
16450
16653
  properties: {
@@ -18201,6 +18404,26 @@ export default {
18201
18404
  ],
18202
18405
  type: 'object',
18203
18406
  },
18407
+ {
18408
+ description: 'Lockly lock is not connected to a Wi-Fi bridge.',
18409
+ properties: {
18410
+ created_at: { format: 'date-time', type: 'string' },
18411
+ error_code: {
18412
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
18413
+ enum: ['lockly_missing_wifi_bridge'],
18414
+ type: 'string',
18415
+ },
18416
+ is_device_error: { enum: [true], type: 'boolean' },
18417
+ message: { type: 'string' },
18418
+ },
18419
+ required: [
18420
+ 'message',
18421
+ 'is_device_error',
18422
+ 'created_at',
18423
+ 'error_code',
18424
+ ],
18425
+ type: 'object',
18426
+ },
18204
18427
  {
18205
18428
  description: 'Credentials provided were invalid.',
18206
18429
  properties: {
@@ -20823,98 +21046,7 @@ export default {
20823
21046
  'application/json': {
20824
21047
  schema: {
20825
21048
  properties: {
20826
- access_grant: {
20827
- properties: {
20828
- access_grant_id: {
20829
- description: 'ID of the access grant.',
20830
- format: 'uuid',
20831
- type: 'string',
20832
- },
20833
- access_method_ids: {
20834
- description: 'IDs of the access methods that were created for this access grant.',
20835
- items: { format: 'uuid', type: 'string' },
20836
- type: 'array',
20837
- },
20838
- created_at: {
20839
- description: 'Date and time at which the access grant was created.',
20840
- format: 'date-time',
20841
- type: 'string',
20842
- },
20843
- display_name: {
20844
- description: 'Display name of the access grant.',
20845
- type: 'string',
20846
- },
20847
- location_ids: {
20848
- deprecated: true,
20849
- items: { format: 'uuid', type: 'string' },
20850
- type: 'array',
20851
- 'x-deprecated': 'Use `space_ids`.',
20852
- },
20853
- requested_access_methods: {
20854
- description: 'Access methods that the user requested for this access grant.',
20855
- items: {
20856
- properties: {
20857
- created_access_method_ids: {
20858
- description: 'IDs of the access methods that were created for this requested access method.',
20859
- items: { format: 'uuid', type: 'string' },
20860
- type: 'array',
20861
- },
20862
- created_at: {
20863
- description: 'Date and time at which the requested access method was added to this access grant.',
20864
- format: 'date-time',
20865
- type: 'string',
20866
- },
20867
- display_name: {
20868
- description: 'Display name of the access method.',
20869
- type: 'string',
20870
- },
20871
- mode: {
20872
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
20873
- enum: ['code', 'card', 'mobile_key'],
20874
- type: 'string',
20875
- },
20876
- },
20877
- required: [
20878
- 'display_name',
20879
- 'mode',
20880
- 'created_at',
20881
- 'created_access_method_ids',
20882
- ],
20883
- type: 'object',
20884
- },
20885
- type: 'array',
20886
- },
20887
- space_ids: {
20888
- description: 'IDs of the spaces to which access is being given.',
20889
- items: { format: 'uuid', type: 'string' },
20890
- type: 'array',
20891
- },
20892
- user_identity_id: {
20893
- description: 'ID of user identity to which access is being granted.',
20894
- format: 'uuid',
20895
- type: 'string',
20896
- },
20897
- workspace_id: {
20898
- description: 'Unique identifier for the Seam workspace associated with the access grant.',
20899
- format: 'uuid',
20900
- type: 'string',
20901
- },
20902
- },
20903
- required: [
20904
- 'workspace_id',
20905
- 'access_grant_id',
20906
- 'user_identity_id',
20907
- 'location_ids',
20908
- 'space_ids',
20909
- 'requested_access_methods',
20910
- 'access_method_ids',
20911
- 'display_name',
20912
- 'created_at',
20913
- ],
20914
- type: 'object',
20915
- 'x-draft': 'Early access.',
20916
- 'x-route-path': '/access_grants',
20917
- },
21049
+ access_grant: { $ref: '#/components/schemas/access_grant' },
20918
21050
  ok: { type: 'boolean' },
20919
21051
  },
20920
21052
  required: ['access_grant', 'ok'],
@@ -21022,98 +21154,7 @@ export default {
21022
21154
  'application/json': {
21023
21155
  schema: {
21024
21156
  properties: {
21025
- access_grant: {
21026
- properties: {
21027
- access_grant_id: {
21028
- description: 'ID of the access grant.',
21029
- format: 'uuid',
21030
- type: 'string',
21031
- },
21032
- access_method_ids: {
21033
- description: 'IDs of the access methods that were created for this access grant.',
21034
- items: { format: 'uuid', type: 'string' },
21035
- type: 'array',
21036
- },
21037
- created_at: {
21038
- description: 'Date and time at which the access grant was created.',
21039
- format: 'date-time',
21040
- type: 'string',
21041
- },
21042
- display_name: {
21043
- description: 'Display name of the access grant.',
21044
- type: 'string',
21045
- },
21046
- location_ids: {
21047
- deprecated: true,
21048
- items: { format: 'uuid', type: 'string' },
21049
- type: 'array',
21050
- 'x-deprecated': 'Use `space_ids`.',
21051
- },
21052
- requested_access_methods: {
21053
- description: 'Access methods that the user requested for this access grant.',
21054
- items: {
21055
- properties: {
21056
- created_access_method_ids: {
21057
- description: 'IDs of the access methods that were created for this requested access method.',
21058
- items: { format: 'uuid', type: 'string' },
21059
- type: 'array',
21060
- },
21061
- created_at: {
21062
- description: 'Date and time at which the requested access method was added to this access grant.',
21063
- format: 'date-time',
21064
- type: 'string',
21065
- },
21066
- display_name: {
21067
- description: 'Display name of the access method.',
21068
- type: 'string',
21069
- },
21070
- mode: {
21071
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
21072
- enum: ['code', 'card', 'mobile_key'],
21073
- type: 'string',
21074
- },
21075
- },
21076
- required: [
21077
- 'display_name',
21078
- 'mode',
21079
- 'created_at',
21080
- 'created_access_method_ids',
21081
- ],
21082
- type: 'object',
21083
- },
21084
- type: 'array',
21085
- },
21086
- space_ids: {
21087
- description: 'IDs of the spaces to which access is being given.',
21088
- items: { format: 'uuid', type: 'string' },
21089
- type: 'array',
21090
- },
21091
- user_identity_id: {
21092
- description: 'ID of user identity to which access is being granted.',
21093
- format: 'uuid',
21094
- type: 'string',
21095
- },
21096
- workspace_id: {
21097
- description: 'Unique identifier for the Seam workspace associated with the access grant.',
21098
- format: 'uuid',
21099
- type: 'string',
21100
- },
21101
- },
21102
- required: [
21103
- 'workspace_id',
21104
- 'access_grant_id',
21105
- 'user_identity_id',
21106
- 'location_ids',
21107
- 'space_ids',
21108
- 'requested_access_methods',
21109
- 'access_method_ids',
21110
- 'display_name',
21111
- 'created_at',
21112
- ],
21113
- type: 'object',
21114
- 'x-draft': 'Early access.',
21115
- 'x-route-path': '/access_grants',
21116
- },
21157
+ access_grant: { $ref: '#/components/schemas/access_grant' },
21117
21158
  ok: { type: 'boolean' },
21118
21159
  },
21119
21160
  required: ['access_grant', 'ok'],
@@ -21190,98 +21231,7 @@ export default {
21190
21231
  schema: {
21191
21232
  properties: {
21192
21233
  access_grants: {
21193
- items: {
21194
- properties: {
21195
- access_grant_id: {
21196
- description: 'ID of the access grant.',
21197
- format: 'uuid',
21198
- type: 'string',
21199
- },
21200
- access_method_ids: {
21201
- description: 'IDs of the access methods that were created for this access grant.',
21202
- items: { format: 'uuid', type: 'string' },
21203
- type: 'array',
21204
- },
21205
- created_at: {
21206
- description: 'Date and time at which the access grant was created.',
21207
- format: 'date-time',
21208
- type: 'string',
21209
- },
21210
- display_name: {
21211
- description: 'Display name of the access grant.',
21212
- type: 'string',
21213
- },
21214
- location_ids: {
21215
- deprecated: true,
21216
- items: { format: 'uuid', type: 'string' },
21217
- type: 'array',
21218
- 'x-deprecated': 'Use `space_ids`.',
21219
- },
21220
- requested_access_methods: {
21221
- description: 'Access methods that the user requested for this access grant.',
21222
- items: {
21223
- properties: {
21224
- created_access_method_ids: {
21225
- description: 'IDs of the access methods that were created for this requested access method.',
21226
- items: { format: 'uuid', type: 'string' },
21227
- type: 'array',
21228
- },
21229
- created_at: {
21230
- description: 'Date and time at which the requested access method was added to this access grant.',
21231
- format: 'date-time',
21232
- type: 'string',
21233
- },
21234
- display_name: {
21235
- description: 'Display name of the access method.',
21236
- type: 'string',
21237
- },
21238
- mode: {
21239
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
21240
- enum: ['code', 'card', 'mobile_key'],
21241
- type: 'string',
21242
- },
21243
- },
21244
- required: [
21245
- 'display_name',
21246
- 'mode',
21247
- 'created_at',
21248
- 'created_access_method_ids',
21249
- ],
21250
- type: 'object',
21251
- },
21252
- type: 'array',
21253
- },
21254
- space_ids: {
21255
- description: 'IDs of the spaces to which access is being given.',
21256
- items: { format: 'uuid', type: 'string' },
21257
- type: 'array',
21258
- },
21259
- user_identity_id: {
21260
- description: 'ID of user identity to which access is being granted.',
21261
- format: 'uuid',
21262
- type: 'string',
21263
- },
21264
- workspace_id: {
21265
- description: 'Unique identifier for the Seam workspace associated with the access grant.',
21266
- format: 'uuid',
21267
- type: 'string',
21268
- },
21269
- },
21270
- required: [
21271
- 'workspace_id',
21272
- 'access_grant_id',
21273
- 'user_identity_id',
21274
- 'location_ids',
21275
- 'space_ids',
21276
- 'requested_access_methods',
21277
- 'access_method_ids',
21278
- 'display_name',
21279
- 'created_at',
21280
- ],
21281
- type: 'object',
21282
- 'x-draft': 'Early access.',
21283
- 'x-route-path': '/access_grants',
21284
- },
21234
+ items: { $ref: '#/components/schemas/access_grant' },
21285
21235
  type: 'array',
21286
21236
  },
21287
21237
  ok: { type: 'boolean' },
@@ -21391,55 +21341,7 @@ export default {
21391
21341
  schema: {
21392
21342
  properties: {
21393
21343
  access_method: {
21394
- properties: {
21395
- access_method_id: {
21396
- description: 'ID of the access method.',
21397
- format: 'uuid',
21398
- type: 'string',
21399
- },
21400
- created_at: {
21401
- description: 'Date and time at which the access method was created.',
21402
- format: 'date-time',
21403
- type: 'string',
21404
- },
21405
- display_name: {
21406
- description: 'Display name of the access method.',
21407
- type: 'string',
21408
- },
21409
- instant_key_url: {
21410
- description: 'URL of instant key for mobile key access methods.',
21411
- type: 'string',
21412
- },
21413
- is_card_encoding_required: {
21414
- description: 'Whether card encoding is required for plastic card access methods.',
21415
- type: 'boolean',
21416
- },
21417
- issued_at: {
21418
- description: 'Date and time at which the access method was issued.',
21419
- format: 'date-time',
21420
- type: 'string',
21421
- },
21422
- mode: {
21423
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
21424
- enum: ['code', 'card', 'mobile_key'],
21425
- type: 'string',
21426
- },
21427
- workspace_id: {
21428
- description: 'Unique identifier for the Seam workspace associated with the access grant.',
21429
- format: 'uuid',
21430
- type: 'string',
21431
- },
21432
- },
21433
- required: [
21434
- 'workspace_id',
21435
- 'access_method_id',
21436
- 'display_name',
21437
- 'mode',
21438
- 'created_at',
21439
- ],
21440
- type: 'object',
21441
- 'x-draft': 'Early access.',
21442
- 'x-route-path': '/access_methods',
21344
+ $ref: '#/components/schemas/access_method',
21443
21345
  },
21444
21346
  ok: { type: 'boolean' },
21445
21347
  },
@@ -21496,57 +21398,7 @@ export default {
21496
21398
  schema: {
21497
21399
  properties: {
21498
21400
  access_methods: {
21499
- items: {
21500
- properties: {
21501
- access_method_id: {
21502
- description: 'ID of the access method.',
21503
- format: 'uuid',
21504
- type: 'string',
21505
- },
21506
- created_at: {
21507
- description: 'Date and time at which the access method was created.',
21508
- format: 'date-time',
21509
- type: 'string',
21510
- },
21511
- display_name: {
21512
- description: 'Display name of the access method.',
21513
- type: 'string',
21514
- },
21515
- instant_key_url: {
21516
- description: 'URL of instant key for mobile key access methods.',
21517
- type: 'string',
21518
- },
21519
- is_card_encoding_required: {
21520
- description: 'Whether card encoding is required for plastic card access methods.',
21521
- type: 'boolean',
21522
- },
21523
- issued_at: {
21524
- description: 'Date and time at which the access method was issued.',
21525
- format: 'date-time',
21526
- type: 'string',
21527
- },
21528
- mode: {
21529
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
21530
- enum: ['code', 'card', 'mobile_key'],
21531
- type: 'string',
21532
- },
21533
- workspace_id: {
21534
- description: 'Unique identifier for the Seam workspace associated with the access grant.',
21535
- format: 'uuid',
21536
- type: 'string',
21537
- },
21538
- },
21539
- required: [
21540
- 'workspace_id',
21541
- 'access_method_id',
21542
- 'display_name',
21543
- 'mode',
21544
- 'created_at',
21545
- ],
21546
- type: 'object',
21547
- 'x-draft': 'Early access.',
21548
- 'x-route-path': '/access_methods',
21549
- },
21401
+ items: { $ref: '#/components/schemas/access_method' },
21550
21402
  type: 'array',
21551
21403
  },
21552
21404
  ok: { type: 'boolean' },
@@ -35104,98 +34956,7 @@ export default {
35104
34956
  'application/json': {
35105
34957
  schema: {
35106
34958
  properties: {
35107
- access_grant: {
35108
- properties: {
35109
- access_grant_id: {
35110
- description: 'ID of the access grant.',
35111
- format: 'uuid',
35112
- type: 'string',
35113
- },
35114
- access_method_ids: {
35115
- description: 'IDs of the access methods that were created for this access grant.',
35116
- items: { format: 'uuid', type: 'string' },
35117
- type: 'array',
35118
- },
35119
- created_at: {
35120
- description: 'Date and time at which the access grant was created.',
35121
- format: 'date-time',
35122
- type: 'string',
35123
- },
35124
- display_name: {
35125
- description: 'Display name of the access grant.',
35126
- type: 'string',
35127
- },
35128
- location_ids: {
35129
- deprecated: true,
35130
- items: { format: 'uuid', type: 'string' },
35131
- type: 'array',
35132
- 'x-deprecated': 'Use `space_ids`.',
35133
- },
35134
- requested_access_methods: {
35135
- description: 'Access methods that the user requested for this access grant.',
35136
- items: {
35137
- properties: {
35138
- created_access_method_ids: {
35139
- description: 'IDs of the access methods that were created for this requested access method.',
35140
- items: { format: 'uuid', type: 'string' },
35141
- type: 'array',
35142
- },
35143
- created_at: {
35144
- description: 'Date and time at which the requested access method was added to this access grant.',
35145
- format: 'date-time',
35146
- type: 'string',
35147
- },
35148
- display_name: {
35149
- description: 'Display name of the access method.',
35150
- type: 'string',
35151
- },
35152
- mode: {
35153
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
35154
- enum: ['code', 'card', 'mobile_key'],
35155
- type: 'string',
35156
- },
35157
- },
35158
- required: [
35159
- 'display_name',
35160
- 'mode',
35161
- 'created_at',
35162
- 'created_access_method_ids',
35163
- ],
35164
- type: 'object',
35165
- },
35166
- type: 'array',
35167
- },
35168
- space_ids: {
35169
- description: 'IDs of the spaces to which access is being given.',
35170
- items: { format: 'uuid', type: 'string' },
35171
- type: 'array',
35172
- },
35173
- user_identity_id: {
35174
- description: 'ID of user identity to which access is being granted.',
35175
- format: 'uuid',
35176
- type: 'string',
35177
- },
35178
- workspace_id: {
35179
- description: 'Unique identifier for the Seam workspace associated with the access grant.',
35180
- format: 'uuid',
35181
- type: 'string',
35182
- },
35183
- },
35184
- required: [
35185
- 'workspace_id',
35186
- 'access_grant_id',
35187
- 'user_identity_id',
35188
- 'location_ids',
35189
- 'space_ids',
35190
- 'requested_access_methods',
35191
- 'access_method_ids',
35192
- 'display_name',
35193
- 'created_at',
35194
- ],
35195
- type: 'object',
35196
- 'x-draft': 'Early access.',
35197
- 'x-route-path': '/access_grants',
35198
- },
34959
+ access_grant: { $ref: '#/components/schemas/access_grant' },
35199
34960
  ok: { type: 'boolean' },
35200
34961
  },
35201
34962
  required: ['access_grant', 'ok'],
@@ -35303,98 +35064,7 @@ export default {
35303
35064
  'application/json': {
35304
35065
  schema: {
35305
35066
  properties: {
35306
- access_grant: {
35307
- properties: {
35308
- access_grant_id: {
35309
- description: 'ID of the access grant.',
35310
- format: 'uuid',
35311
- type: 'string',
35312
- },
35313
- access_method_ids: {
35314
- description: 'IDs of the access methods that were created for this access grant.',
35315
- items: { format: 'uuid', type: 'string' },
35316
- type: 'array',
35317
- },
35318
- created_at: {
35319
- description: 'Date and time at which the access grant was created.',
35320
- format: 'date-time',
35321
- type: 'string',
35322
- },
35323
- display_name: {
35324
- description: 'Display name of the access grant.',
35325
- type: 'string',
35326
- },
35327
- location_ids: {
35328
- deprecated: true,
35329
- items: { format: 'uuid', type: 'string' },
35330
- type: 'array',
35331
- 'x-deprecated': 'Use `space_ids`.',
35332
- },
35333
- requested_access_methods: {
35334
- description: 'Access methods that the user requested for this access grant.',
35335
- items: {
35336
- properties: {
35337
- created_access_method_ids: {
35338
- description: 'IDs of the access methods that were created for this requested access method.',
35339
- items: { format: 'uuid', type: 'string' },
35340
- type: 'array',
35341
- },
35342
- created_at: {
35343
- description: 'Date and time at which the requested access method was added to this access grant.',
35344
- format: 'date-time',
35345
- type: 'string',
35346
- },
35347
- display_name: {
35348
- description: 'Display name of the access method.',
35349
- type: 'string',
35350
- },
35351
- mode: {
35352
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
35353
- enum: ['code', 'card', 'mobile_key'],
35354
- type: 'string',
35355
- },
35356
- },
35357
- required: [
35358
- 'display_name',
35359
- 'mode',
35360
- 'created_at',
35361
- 'created_access_method_ids',
35362
- ],
35363
- type: 'object',
35364
- },
35365
- type: 'array',
35366
- },
35367
- space_ids: {
35368
- description: 'IDs of the spaces to which access is being given.',
35369
- items: { format: 'uuid', type: 'string' },
35370
- type: 'array',
35371
- },
35372
- user_identity_id: {
35373
- description: 'ID of user identity to which access is being granted.',
35374
- format: 'uuid',
35375
- type: 'string',
35376
- },
35377
- workspace_id: {
35378
- description: 'Unique identifier for the Seam workspace associated with the access grant.',
35379
- format: 'uuid',
35380
- type: 'string',
35381
- },
35382
- },
35383
- required: [
35384
- 'workspace_id',
35385
- 'access_grant_id',
35386
- 'user_identity_id',
35387
- 'location_ids',
35388
- 'space_ids',
35389
- 'requested_access_methods',
35390
- 'access_method_ids',
35391
- 'display_name',
35392
- 'created_at',
35393
- ],
35394
- type: 'object',
35395
- 'x-draft': 'Early access.',
35396
- 'x-route-path': '/access_grants',
35397
- },
35067
+ access_grant: { $ref: '#/components/schemas/access_grant' },
35398
35068
  ok: { type: 'boolean' },
35399
35069
  },
35400
35070
  required: ['access_grant', 'ok'],
@@ -35471,98 +35141,7 @@ export default {
35471
35141
  schema: {
35472
35142
  properties: {
35473
35143
  access_grants: {
35474
- items: {
35475
- properties: {
35476
- access_grant_id: {
35477
- description: 'ID of the access grant.',
35478
- format: 'uuid',
35479
- type: 'string',
35480
- },
35481
- access_method_ids: {
35482
- description: 'IDs of the access methods that were created for this access grant.',
35483
- items: { format: 'uuid', type: 'string' },
35484
- type: 'array',
35485
- },
35486
- created_at: {
35487
- description: 'Date and time at which the access grant was created.',
35488
- format: 'date-time',
35489
- type: 'string',
35490
- },
35491
- display_name: {
35492
- description: 'Display name of the access grant.',
35493
- type: 'string',
35494
- },
35495
- location_ids: {
35496
- deprecated: true,
35497
- items: { format: 'uuid', type: 'string' },
35498
- type: 'array',
35499
- 'x-deprecated': 'Use `space_ids`.',
35500
- },
35501
- requested_access_methods: {
35502
- description: 'Access methods that the user requested for this access grant.',
35503
- items: {
35504
- properties: {
35505
- created_access_method_ids: {
35506
- description: 'IDs of the access methods that were created for this requested access method.',
35507
- items: { format: 'uuid', type: 'string' },
35508
- type: 'array',
35509
- },
35510
- created_at: {
35511
- description: 'Date and time at which the requested access method was added to this access grant.',
35512
- format: 'date-time',
35513
- type: 'string',
35514
- },
35515
- display_name: {
35516
- description: 'Display name of the access method.',
35517
- type: 'string',
35518
- },
35519
- mode: {
35520
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
35521
- enum: ['code', 'card', 'mobile_key'],
35522
- type: 'string',
35523
- },
35524
- },
35525
- required: [
35526
- 'display_name',
35527
- 'mode',
35528
- 'created_at',
35529
- 'created_access_method_ids',
35530
- ],
35531
- type: 'object',
35532
- },
35533
- type: 'array',
35534
- },
35535
- space_ids: {
35536
- description: 'IDs of the spaces to which access is being given.',
35537
- items: { format: 'uuid', type: 'string' },
35538
- type: 'array',
35539
- },
35540
- user_identity_id: {
35541
- description: 'ID of user identity to which access is being granted.',
35542
- format: 'uuid',
35543
- type: 'string',
35544
- },
35545
- workspace_id: {
35546
- description: 'Unique identifier for the Seam workspace associated with the access grant.',
35547
- format: 'uuid',
35548
- type: 'string',
35549
- },
35550
- },
35551
- required: [
35552
- 'workspace_id',
35553
- 'access_grant_id',
35554
- 'user_identity_id',
35555
- 'location_ids',
35556
- 'space_ids',
35557
- 'requested_access_methods',
35558
- 'access_method_ids',
35559
- 'display_name',
35560
- 'created_at',
35561
- ],
35562
- type: 'object',
35563
- 'x-draft': 'Early access.',
35564
- 'x-route-path': '/access_grants',
35565
- },
35144
+ items: { $ref: '#/components/schemas/access_grant' },
35566
35145
  type: 'array',
35567
35146
  },
35568
35147
  ok: { type: 'boolean' },
@@ -35672,55 +35251,7 @@ export default {
35672
35251
  schema: {
35673
35252
  properties: {
35674
35253
  access_method: {
35675
- properties: {
35676
- access_method_id: {
35677
- description: 'ID of the access method.',
35678
- format: 'uuid',
35679
- type: 'string',
35680
- },
35681
- created_at: {
35682
- description: 'Date and time at which the access method was created.',
35683
- format: 'date-time',
35684
- type: 'string',
35685
- },
35686
- display_name: {
35687
- description: 'Display name of the access method.',
35688
- type: 'string',
35689
- },
35690
- instant_key_url: {
35691
- description: 'URL of instant key for mobile key access methods.',
35692
- type: 'string',
35693
- },
35694
- is_card_encoding_required: {
35695
- description: 'Whether card encoding is required for plastic card access methods.',
35696
- type: 'boolean',
35697
- },
35698
- issued_at: {
35699
- description: 'Date and time at which the access method was issued.',
35700
- format: 'date-time',
35701
- type: 'string',
35702
- },
35703
- mode: {
35704
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
35705
- enum: ['code', 'card', 'mobile_key'],
35706
- type: 'string',
35707
- },
35708
- workspace_id: {
35709
- description: 'Unique identifier for the Seam workspace associated with the access grant.',
35710
- format: 'uuid',
35711
- type: 'string',
35712
- },
35713
- },
35714
- required: [
35715
- 'workspace_id',
35716
- 'access_method_id',
35717
- 'display_name',
35718
- 'mode',
35719
- 'created_at',
35720
- ],
35721
- type: 'object',
35722
- 'x-draft': 'Early access.',
35723
- 'x-route-path': '/access_methods',
35254
+ $ref: '#/components/schemas/access_method',
35724
35255
  },
35725
35256
  ok: { type: 'boolean' },
35726
35257
  },
@@ -35777,57 +35308,7 @@ export default {
35777
35308
  schema: {
35778
35309
  properties: {
35779
35310
  access_methods: {
35780
- items: {
35781
- properties: {
35782
- access_method_id: {
35783
- description: 'ID of the access method.',
35784
- format: 'uuid',
35785
- type: 'string',
35786
- },
35787
- created_at: {
35788
- description: 'Date and time at which the access method was created.',
35789
- format: 'date-time',
35790
- type: 'string',
35791
- },
35792
- display_name: {
35793
- description: 'Display name of the access method.',
35794
- type: 'string',
35795
- },
35796
- instant_key_url: {
35797
- description: 'URL of instant key for mobile key access methods.',
35798
- type: 'string',
35799
- },
35800
- is_card_encoding_required: {
35801
- description: 'Whether card encoding is required for plastic card access methods.',
35802
- type: 'boolean',
35803
- },
35804
- issued_at: {
35805
- description: 'Date and time at which the access method was issued.',
35806
- format: 'date-time',
35807
- type: 'string',
35808
- },
35809
- mode: {
35810
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
35811
- enum: ['code', 'card', 'mobile_key'],
35812
- type: 'string',
35813
- },
35814
- workspace_id: {
35815
- description: 'Unique identifier for the Seam workspace associated with the access grant.',
35816
- format: 'uuid',
35817
- type: 'string',
35818
- },
35819
- },
35820
- required: [
35821
- 'workspace_id',
35822
- 'access_method_id',
35823
- 'display_name',
35824
- 'mode',
35825
- 'created_at',
35826
- ],
35827
- type: 'object',
35828
- 'x-draft': 'Early access.',
35829
- 'x-route-path': '/access_methods',
35830
- },
35311
+ items: { $ref: '#/components/schemas/access_method' },
35831
35312
  type: 'array',
35832
35313
  },
35833
35314
  ok: { type: 'boolean' },