@seamapi/types 1.411.0 → 1.411.1

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.
package/dist/connect.cjs CHANGED
@@ -6539,6 +6539,149 @@ var openapi_default = {
6539
6539
  type: "object",
6540
6540
  "x-route-path": "/access_codes"
6541
6541
  },
6542
+ access_grant: {
6543
+ properties: {
6544
+ access_grant_id: {
6545
+ description: "ID of the access grant.",
6546
+ format: "uuid",
6547
+ type: "string"
6548
+ },
6549
+ access_method_ids: {
6550
+ description: "IDs of the access methods that were created for this access grant.",
6551
+ items: { format: "uuid", type: "string" },
6552
+ type: "array"
6553
+ },
6554
+ created_at: {
6555
+ description: "Date and time at which the access grant was created.",
6556
+ format: "date-time",
6557
+ type: "string"
6558
+ },
6559
+ display_name: {
6560
+ description: "Display name of the access grant.",
6561
+ type: "string"
6562
+ },
6563
+ location_ids: {
6564
+ deprecated: true,
6565
+ items: { format: "uuid", type: "string" },
6566
+ type: "array",
6567
+ "x-deprecated": "Use `space_ids`."
6568
+ },
6569
+ requested_access_methods: {
6570
+ description: "Access methods that the user requested for this access grant.",
6571
+ items: {
6572
+ properties: {
6573
+ created_access_method_ids: {
6574
+ description: "IDs of the access methods that were created for this requested access method.",
6575
+ items: { format: "uuid", type: "string" },
6576
+ type: "array"
6577
+ },
6578
+ created_at: {
6579
+ description: "Date and time at which the requested access method was added to this access grant.",
6580
+ format: "date-time",
6581
+ type: "string"
6582
+ },
6583
+ display_name: {
6584
+ description: "Display name of the access method.",
6585
+ type: "string"
6586
+ },
6587
+ mode: {
6588
+ description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
6589
+ enum: ["code", "card", "mobile_key"],
6590
+ type: "string"
6591
+ }
6592
+ },
6593
+ required: [
6594
+ "display_name",
6595
+ "mode",
6596
+ "created_at",
6597
+ "created_access_method_ids"
6598
+ ],
6599
+ type: "object"
6600
+ },
6601
+ type: "array"
6602
+ },
6603
+ space_ids: {
6604
+ description: "IDs of the spaces to which access is being given.",
6605
+ items: { format: "uuid", type: "string" },
6606
+ type: "array"
6607
+ },
6608
+ user_identity_id: {
6609
+ description: "ID of user identity to which access is being granted.",
6610
+ format: "uuid",
6611
+ type: "string"
6612
+ },
6613
+ workspace_id: {
6614
+ description: "Unique identifier for the Seam workspace associated with the access grant.",
6615
+ format: "uuid",
6616
+ type: "string"
6617
+ }
6618
+ },
6619
+ required: [
6620
+ "workspace_id",
6621
+ "access_grant_id",
6622
+ "user_identity_id",
6623
+ "location_ids",
6624
+ "space_ids",
6625
+ "requested_access_methods",
6626
+ "access_method_ids",
6627
+ "display_name",
6628
+ "created_at"
6629
+ ],
6630
+ type: "object",
6631
+ "x-draft": "Early access.",
6632
+ "x-route-path": "/access_grants"
6633
+ },
6634
+ access_method: {
6635
+ properties: {
6636
+ access_method_id: {
6637
+ description: "ID of the access method.",
6638
+ format: "uuid",
6639
+ type: "string"
6640
+ },
6641
+ created_at: {
6642
+ description: "Date and time at which the access method was created.",
6643
+ format: "date-time",
6644
+ type: "string"
6645
+ },
6646
+ display_name: {
6647
+ description: "Display name of the access method.",
6648
+ type: "string"
6649
+ },
6650
+ instant_key_url: {
6651
+ description: "URL of instant key for mobile key access methods.",
6652
+ type: "string"
6653
+ },
6654
+ is_card_encoding_required: {
6655
+ description: "Whether card encoding is required for plastic card access methods.",
6656
+ type: "boolean"
6657
+ },
6658
+ issued_at: {
6659
+ description: "Date and time at which the access method was issued.",
6660
+ format: "date-time",
6661
+ type: "string"
6662
+ },
6663
+ mode: {
6664
+ description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
6665
+ enum: ["code", "card", "mobile_key"],
6666
+ type: "string"
6667
+ },
6668
+ workspace_id: {
6669
+ description: "Unique identifier for the Seam workspace associated with the access grant.",
6670
+ format: "uuid",
6671
+ type: "string"
6672
+ }
6673
+ },
6674
+ required: [
6675
+ "workspace_id",
6676
+ "access_method_id",
6677
+ "display_name",
6678
+ "mode",
6679
+ "created_at"
6680
+ ],
6681
+ type: "object",
6682
+ "x-draft": "Early access.",
6683
+ "x-route-path": "/access_methods"
6684
+ },
6542
6685
  acs_access_group: {
6543
6686
  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).",
6544
6687
  properties: {
@@ -25993,98 +26136,7 @@ var openapi_default = {
25993
26136
  "application/json": {
25994
26137
  schema: {
25995
26138
  properties: {
25996
- access_grant: {
25997
- properties: {
25998
- access_grant_id: {
25999
- description: "ID of the access grant.",
26000
- format: "uuid",
26001
- type: "string"
26002
- },
26003
- access_method_ids: {
26004
- description: "IDs of the access methods that were created for this access grant.",
26005
- items: { format: "uuid", type: "string" },
26006
- type: "array"
26007
- },
26008
- created_at: {
26009
- description: "Date and time at which the access grant was created.",
26010
- format: "date-time",
26011
- type: "string"
26012
- },
26013
- display_name: {
26014
- description: "Display name of the access grant.",
26015
- type: "string"
26016
- },
26017
- location_ids: {
26018
- deprecated: true,
26019
- items: { format: "uuid", type: "string" },
26020
- type: "array",
26021
- "x-deprecated": "Use `space_ids`."
26022
- },
26023
- requested_access_methods: {
26024
- description: "Access methods that the user requested for this access grant.",
26025
- items: {
26026
- properties: {
26027
- created_access_method_ids: {
26028
- description: "IDs of the access methods that were created for this requested access method.",
26029
- items: { format: "uuid", type: "string" },
26030
- type: "array"
26031
- },
26032
- created_at: {
26033
- description: "Date and time at which the requested access method was added to this access grant.",
26034
- format: "date-time",
26035
- type: "string"
26036
- },
26037
- display_name: {
26038
- description: "Display name of the access method.",
26039
- type: "string"
26040
- },
26041
- mode: {
26042
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
26043
- enum: ["code", "card", "mobile_key"],
26044
- type: "string"
26045
- }
26046
- },
26047
- required: [
26048
- "display_name",
26049
- "mode",
26050
- "created_at",
26051
- "created_access_method_ids"
26052
- ],
26053
- type: "object"
26054
- },
26055
- type: "array"
26056
- },
26057
- space_ids: {
26058
- description: "IDs of the spaces to which access is being given.",
26059
- items: { format: "uuid", type: "string" },
26060
- type: "array"
26061
- },
26062
- user_identity_id: {
26063
- description: "ID of user identity to which access is being granted.",
26064
- format: "uuid",
26065
- type: "string"
26066
- },
26067
- workspace_id: {
26068
- description: "Unique identifier for the Seam workspace associated with the access grant.",
26069
- format: "uuid",
26070
- type: "string"
26071
- }
26072
- },
26073
- required: [
26074
- "workspace_id",
26075
- "access_grant_id",
26076
- "user_identity_id",
26077
- "location_ids",
26078
- "space_ids",
26079
- "requested_access_methods",
26080
- "access_method_ids",
26081
- "display_name",
26082
- "created_at"
26083
- ],
26084
- type: "object",
26085
- "x-draft": "Early access.",
26086
- "x-route-path": "/access_grants"
26087
- },
26139
+ access_grant: { $ref: "#/components/schemas/access_grant" },
26088
26140
  ok: { type: "boolean" }
26089
26141
  },
26090
26142
  required: ["access_grant", "ok"],
@@ -26192,98 +26244,7 @@ var openapi_default = {
26192
26244
  "application/json": {
26193
26245
  schema: {
26194
26246
  properties: {
26195
- access_grant: {
26196
- properties: {
26197
- access_grant_id: {
26198
- description: "ID of the access grant.",
26199
- format: "uuid",
26200
- type: "string"
26201
- },
26202
- access_method_ids: {
26203
- description: "IDs of the access methods that were created for this access grant.",
26204
- items: { format: "uuid", type: "string" },
26205
- type: "array"
26206
- },
26207
- created_at: {
26208
- description: "Date and time at which the access grant was created.",
26209
- format: "date-time",
26210
- type: "string"
26211
- },
26212
- display_name: {
26213
- description: "Display name of the access grant.",
26214
- type: "string"
26215
- },
26216
- location_ids: {
26217
- deprecated: true,
26218
- items: { format: "uuid", type: "string" },
26219
- type: "array",
26220
- "x-deprecated": "Use `space_ids`."
26221
- },
26222
- requested_access_methods: {
26223
- description: "Access methods that the user requested for this access grant.",
26224
- items: {
26225
- properties: {
26226
- created_access_method_ids: {
26227
- description: "IDs of the access methods that were created for this requested access method.",
26228
- items: { format: "uuid", type: "string" },
26229
- type: "array"
26230
- },
26231
- created_at: {
26232
- description: "Date and time at which the requested access method was added to this access grant.",
26233
- format: "date-time",
26234
- type: "string"
26235
- },
26236
- display_name: {
26237
- description: "Display name of the access method.",
26238
- type: "string"
26239
- },
26240
- mode: {
26241
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
26242
- enum: ["code", "card", "mobile_key"],
26243
- type: "string"
26244
- }
26245
- },
26246
- required: [
26247
- "display_name",
26248
- "mode",
26249
- "created_at",
26250
- "created_access_method_ids"
26251
- ],
26252
- type: "object"
26253
- },
26254
- type: "array"
26255
- },
26256
- space_ids: {
26257
- description: "IDs of the spaces to which access is being given.",
26258
- items: { format: "uuid", type: "string" },
26259
- type: "array"
26260
- },
26261
- user_identity_id: {
26262
- description: "ID of user identity to which access is being granted.",
26263
- format: "uuid",
26264
- type: "string"
26265
- },
26266
- workspace_id: {
26267
- description: "Unique identifier for the Seam workspace associated with the access grant.",
26268
- format: "uuid",
26269
- type: "string"
26270
- }
26271
- },
26272
- required: [
26273
- "workspace_id",
26274
- "access_grant_id",
26275
- "user_identity_id",
26276
- "location_ids",
26277
- "space_ids",
26278
- "requested_access_methods",
26279
- "access_method_ids",
26280
- "display_name",
26281
- "created_at"
26282
- ],
26283
- type: "object",
26284
- "x-draft": "Early access.",
26285
- "x-route-path": "/access_grants"
26286
- },
26247
+ access_grant: { $ref: "#/components/schemas/access_grant" },
26287
26248
  ok: { type: "boolean" }
26288
26249
  },
26289
26250
  required: ["access_grant", "ok"],
@@ -26360,98 +26321,7 @@ var openapi_default = {
26360
26321
  schema: {
26361
26322
  properties: {
26362
26323
  access_grants: {
26363
- items: {
26364
- properties: {
26365
- access_grant_id: {
26366
- description: "ID of the access grant.",
26367
- format: "uuid",
26368
- type: "string"
26369
- },
26370
- access_method_ids: {
26371
- description: "IDs of the access methods that were created for this access grant.",
26372
- items: { format: "uuid", type: "string" },
26373
- type: "array"
26374
- },
26375
- created_at: {
26376
- description: "Date and time at which the access grant was created.",
26377
- format: "date-time",
26378
- type: "string"
26379
- },
26380
- display_name: {
26381
- description: "Display name of the access grant.",
26382
- type: "string"
26383
- },
26384
- location_ids: {
26385
- deprecated: true,
26386
- items: { format: "uuid", type: "string" },
26387
- type: "array",
26388
- "x-deprecated": "Use `space_ids`."
26389
- },
26390
- requested_access_methods: {
26391
- description: "Access methods that the user requested for this access grant.",
26392
- items: {
26393
- properties: {
26394
- created_access_method_ids: {
26395
- description: "IDs of the access methods that were created for this requested access method.",
26396
- items: { format: "uuid", type: "string" },
26397
- type: "array"
26398
- },
26399
- created_at: {
26400
- description: "Date and time at which the requested access method was added to this access grant.",
26401
- format: "date-time",
26402
- type: "string"
26403
- },
26404
- display_name: {
26405
- description: "Display name of the access method.",
26406
- type: "string"
26407
- },
26408
- mode: {
26409
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
26410
- enum: ["code", "card", "mobile_key"],
26411
- type: "string"
26412
- }
26413
- },
26414
- required: [
26415
- "display_name",
26416
- "mode",
26417
- "created_at",
26418
- "created_access_method_ids"
26419
- ],
26420
- type: "object"
26421
- },
26422
- type: "array"
26423
- },
26424
- space_ids: {
26425
- description: "IDs of the spaces to which access is being given.",
26426
- items: { format: "uuid", type: "string" },
26427
- type: "array"
26428
- },
26429
- user_identity_id: {
26430
- description: "ID of user identity to which access is being granted.",
26431
- format: "uuid",
26432
- type: "string"
26433
- },
26434
- workspace_id: {
26435
- description: "Unique identifier for the Seam workspace associated with the access grant.",
26436
- format: "uuid",
26437
- type: "string"
26438
- }
26439
- },
26440
- required: [
26441
- "workspace_id",
26442
- "access_grant_id",
26443
- "user_identity_id",
26444
- "location_ids",
26445
- "space_ids",
26446
- "requested_access_methods",
26447
- "access_method_ids",
26448
- "display_name",
26449
- "created_at"
26450
- ],
26451
- type: "object",
26452
- "x-draft": "Early access.",
26453
- "x-route-path": "/access_grants"
26454
- },
26324
+ items: { $ref: "#/components/schemas/access_grant" },
26455
26325
  type: "array"
26456
26326
  },
26457
26327
  ok: { type: "boolean" }
@@ -26561,55 +26431,7 @@ var openapi_default = {
26561
26431
  schema: {
26562
26432
  properties: {
26563
26433
  access_method: {
26564
- properties: {
26565
- access_method_id: {
26566
- description: "ID of the access method.",
26567
- format: "uuid",
26568
- type: "string"
26569
- },
26570
- created_at: {
26571
- description: "Date and time at which the access method was created.",
26572
- format: "date-time",
26573
- type: "string"
26574
- },
26575
- display_name: {
26576
- description: "Display name of the access method.",
26577
- type: "string"
26578
- },
26579
- instant_key_url: {
26580
- description: "URL of instant key for mobile key access methods.",
26581
- type: "string"
26582
- },
26583
- is_card_encoding_required: {
26584
- description: "Whether card encoding is required for plastic card access methods.",
26585
- type: "boolean"
26586
- },
26587
- issued_at: {
26588
- description: "Date and time at which the access method was issued.",
26589
- format: "date-time",
26590
- type: "string"
26591
- },
26592
- mode: {
26593
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
26594
- enum: ["code", "card", "mobile_key"],
26595
- type: "string"
26596
- },
26597
- workspace_id: {
26598
- description: "Unique identifier for the Seam workspace associated with the access grant.",
26599
- format: "uuid",
26600
- type: "string"
26601
- }
26602
- },
26603
- required: [
26604
- "workspace_id",
26605
- "access_method_id",
26606
- "display_name",
26607
- "mode",
26608
- "created_at"
26609
- ],
26610
- type: "object",
26611
- "x-draft": "Early access.",
26612
- "x-route-path": "/access_methods"
26434
+ $ref: "#/components/schemas/access_method"
26613
26435
  },
26614
26436
  ok: { type: "boolean" }
26615
26437
  },
@@ -26666,57 +26488,7 @@ var openapi_default = {
26666
26488
  schema: {
26667
26489
  properties: {
26668
26490
  access_methods: {
26669
- items: {
26670
- properties: {
26671
- access_method_id: {
26672
- description: "ID of the access method.",
26673
- format: "uuid",
26674
- type: "string"
26675
- },
26676
- created_at: {
26677
- description: "Date and time at which the access method was created.",
26678
- format: "date-time",
26679
- type: "string"
26680
- },
26681
- display_name: {
26682
- description: "Display name of the access method.",
26683
- type: "string"
26684
- },
26685
- instant_key_url: {
26686
- description: "URL of instant key for mobile key access methods.",
26687
- type: "string"
26688
- },
26689
- is_card_encoding_required: {
26690
- description: "Whether card encoding is required for plastic card access methods.",
26691
- type: "boolean"
26692
- },
26693
- issued_at: {
26694
- description: "Date and time at which the access method was issued.",
26695
- format: "date-time",
26696
- type: "string"
26697
- },
26698
- mode: {
26699
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
26700
- enum: ["code", "card", "mobile_key"],
26701
- type: "string"
26702
- },
26703
- workspace_id: {
26704
- description: "Unique identifier for the Seam workspace associated with the access grant.",
26705
- format: "uuid",
26706
- type: "string"
26707
- }
26708
- },
26709
- required: [
26710
- "workspace_id",
26711
- "access_method_id",
26712
- "display_name",
26713
- "mode",
26714
- "created_at"
26715
- ],
26716
- type: "object",
26717
- "x-draft": "Early access.",
26718
- "x-route-path": "/access_methods"
26719
- },
26491
+ items: { $ref: "#/components/schemas/access_method" },
26720
26492
  type: "array"
26721
26493
  },
26722
26494
  ok: { type: "boolean" }
@@ -40274,98 +40046,7 @@ var openapi_default = {
40274
40046
  "application/json": {
40275
40047
  schema: {
40276
40048
  properties: {
40277
- access_grant: {
40278
- properties: {
40279
- access_grant_id: {
40280
- description: "ID of the access grant.",
40281
- format: "uuid",
40282
- type: "string"
40283
- },
40284
- access_method_ids: {
40285
- description: "IDs of the access methods that were created for this access grant.",
40286
- items: { format: "uuid", type: "string" },
40287
- type: "array"
40288
- },
40289
- created_at: {
40290
- description: "Date and time at which the access grant was created.",
40291
- format: "date-time",
40292
- type: "string"
40293
- },
40294
- display_name: {
40295
- description: "Display name of the access grant.",
40296
- type: "string"
40297
- },
40298
- location_ids: {
40299
- deprecated: true,
40300
- items: { format: "uuid", type: "string" },
40301
- type: "array",
40302
- "x-deprecated": "Use `space_ids`."
40303
- },
40304
- requested_access_methods: {
40305
- description: "Access methods that the user requested for this access grant.",
40306
- items: {
40307
- properties: {
40308
- created_access_method_ids: {
40309
- description: "IDs of the access methods that were created for this requested access method.",
40310
- items: { format: "uuid", type: "string" },
40311
- type: "array"
40312
- },
40313
- created_at: {
40314
- description: "Date and time at which the requested access method was added to this access grant.",
40315
- format: "date-time",
40316
- type: "string"
40317
- },
40318
- display_name: {
40319
- description: "Display name of the access method.",
40320
- type: "string"
40321
- },
40322
- mode: {
40323
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
40324
- enum: ["code", "card", "mobile_key"],
40325
- type: "string"
40326
- }
40327
- },
40328
- required: [
40329
- "display_name",
40330
- "mode",
40331
- "created_at",
40332
- "created_access_method_ids"
40333
- ],
40334
- type: "object"
40335
- },
40336
- type: "array"
40337
- },
40338
- space_ids: {
40339
- description: "IDs of the spaces to which access is being given.",
40340
- items: { format: "uuid", type: "string" },
40341
- type: "array"
40342
- },
40343
- user_identity_id: {
40344
- description: "ID of user identity to which access is being granted.",
40345
- format: "uuid",
40346
- type: "string"
40347
- },
40348
- workspace_id: {
40349
- description: "Unique identifier for the Seam workspace associated with the access grant.",
40350
- format: "uuid",
40351
- type: "string"
40352
- }
40353
- },
40354
- required: [
40355
- "workspace_id",
40356
- "access_grant_id",
40357
- "user_identity_id",
40358
- "location_ids",
40359
- "space_ids",
40360
- "requested_access_methods",
40361
- "access_method_ids",
40362
- "display_name",
40363
- "created_at"
40364
- ],
40365
- type: "object",
40366
- "x-draft": "Early access.",
40367
- "x-route-path": "/access_grants"
40368
- },
40049
+ access_grant: { $ref: "#/components/schemas/access_grant" },
40369
40050
  ok: { type: "boolean" }
40370
40051
  },
40371
40052
  required: ["access_grant", "ok"],
@@ -40473,98 +40154,7 @@ var openapi_default = {
40473
40154
  "application/json": {
40474
40155
  schema: {
40475
40156
  properties: {
40476
- access_grant: {
40477
- properties: {
40478
- access_grant_id: {
40479
- description: "ID of the access grant.",
40480
- format: "uuid",
40481
- type: "string"
40482
- },
40483
- access_method_ids: {
40484
- description: "IDs of the access methods that were created for this access grant.",
40485
- items: { format: "uuid", type: "string" },
40486
- type: "array"
40487
- },
40488
- created_at: {
40489
- description: "Date and time at which the access grant was created.",
40490
- format: "date-time",
40491
- type: "string"
40492
- },
40493
- display_name: {
40494
- description: "Display name of the access grant.",
40495
- type: "string"
40496
- },
40497
- location_ids: {
40498
- deprecated: true,
40499
- items: { format: "uuid", type: "string" },
40500
- type: "array",
40501
- "x-deprecated": "Use `space_ids`."
40502
- },
40503
- requested_access_methods: {
40504
- description: "Access methods that the user requested for this access grant.",
40505
- items: {
40506
- properties: {
40507
- created_access_method_ids: {
40508
- description: "IDs of the access methods that were created for this requested access method.",
40509
- items: { format: "uuid", type: "string" },
40510
- type: "array"
40511
- },
40512
- created_at: {
40513
- description: "Date and time at which the requested access method was added to this access grant.",
40514
- format: "date-time",
40515
- type: "string"
40516
- },
40517
- display_name: {
40518
- description: "Display name of the access method.",
40519
- type: "string"
40520
- },
40521
- mode: {
40522
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
40523
- enum: ["code", "card", "mobile_key"],
40524
- type: "string"
40525
- }
40526
- },
40527
- required: [
40528
- "display_name",
40529
- "mode",
40530
- "created_at",
40531
- "created_access_method_ids"
40532
- ],
40533
- type: "object"
40534
- },
40535
- type: "array"
40536
- },
40537
- space_ids: {
40538
- description: "IDs of the spaces to which access is being given.",
40539
- items: { format: "uuid", type: "string" },
40540
- type: "array"
40541
- },
40542
- user_identity_id: {
40543
- description: "ID of user identity to which access is being granted.",
40544
- format: "uuid",
40545
- type: "string"
40546
- },
40547
- workspace_id: {
40548
- description: "Unique identifier for the Seam workspace associated with the access grant.",
40549
- format: "uuid",
40550
- type: "string"
40551
- }
40552
- },
40553
- required: [
40554
- "workspace_id",
40555
- "access_grant_id",
40556
- "user_identity_id",
40557
- "location_ids",
40558
- "space_ids",
40559
- "requested_access_methods",
40560
- "access_method_ids",
40561
- "display_name",
40562
- "created_at"
40563
- ],
40564
- type: "object",
40565
- "x-draft": "Early access.",
40566
- "x-route-path": "/access_grants"
40567
- },
40157
+ access_grant: { $ref: "#/components/schemas/access_grant" },
40568
40158
  ok: { type: "boolean" }
40569
40159
  },
40570
40160
  required: ["access_grant", "ok"],
@@ -40641,98 +40231,7 @@ var openapi_default = {
40641
40231
  schema: {
40642
40232
  properties: {
40643
40233
  access_grants: {
40644
- items: {
40645
- properties: {
40646
- access_grant_id: {
40647
- description: "ID of the access grant.",
40648
- format: "uuid",
40649
- type: "string"
40650
- },
40651
- access_method_ids: {
40652
- description: "IDs of the access methods that were created for this access grant.",
40653
- items: { format: "uuid", type: "string" },
40654
- type: "array"
40655
- },
40656
- created_at: {
40657
- description: "Date and time at which the access grant was created.",
40658
- format: "date-time",
40659
- type: "string"
40660
- },
40661
- display_name: {
40662
- description: "Display name of the access grant.",
40663
- type: "string"
40664
- },
40665
- location_ids: {
40666
- deprecated: true,
40667
- items: { format: "uuid", type: "string" },
40668
- type: "array",
40669
- "x-deprecated": "Use `space_ids`."
40670
- },
40671
- requested_access_methods: {
40672
- description: "Access methods that the user requested for this access grant.",
40673
- items: {
40674
- properties: {
40675
- created_access_method_ids: {
40676
- description: "IDs of the access methods that were created for this requested access method.",
40677
- items: { format: "uuid", type: "string" },
40678
- type: "array"
40679
- },
40680
- created_at: {
40681
- description: "Date and time at which the requested access method was added to this access grant.",
40682
- format: "date-time",
40683
- type: "string"
40684
- },
40685
- display_name: {
40686
- description: "Display name of the access method.",
40687
- type: "string"
40688
- },
40689
- mode: {
40690
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
40691
- enum: ["code", "card", "mobile_key"],
40692
- type: "string"
40693
- }
40694
- },
40695
- required: [
40696
- "display_name",
40697
- "mode",
40698
- "created_at",
40699
- "created_access_method_ids"
40700
- ],
40701
- type: "object"
40702
- },
40703
- type: "array"
40704
- },
40705
- space_ids: {
40706
- description: "IDs of the spaces to which access is being given.",
40707
- items: { format: "uuid", type: "string" },
40708
- type: "array"
40709
- },
40710
- user_identity_id: {
40711
- description: "ID of user identity to which access is being granted.",
40712
- format: "uuid",
40713
- type: "string"
40714
- },
40715
- workspace_id: {
40716
- description: "Unique identifier for the Seam workspace associated with the access grant.",
40717
- format: "uuid",
40718
- type: "string"
40719
- }
40720
- },
40721
- required: [
40722
- "workspace_id",
40723
- "access_grant_id",
40724
- "user_identity_id",
40725
- "location_ids",
40726
- "space_ids",
40727
- "requested_access_methods",
40728
- "access_method_ids",
40729
- "display_name",
40730
- "created_at"
40731
- ],
40732
- type: "object",
40733
- "x-draft": "Early access.",
40734
- "x-route-path": "/access_grants"
40735
- },
40234
+ items: { $ref: "#/components/schemas/access_grant" },
40736
40235
  type: "array"
40737
40236
  },
40738
40237
  ok: { type: "boolean" }
@@ -40842,55 +40341,7 @@ var openapi_default = {
40842
40341
  schema: {
40843
40342
  properties: {
40844
40343
  access_method: {
40845
- properties: {
40846
- access_method_id: {
40847
- description: "ID of the access method.",
40848
- format: "uuid",
40849
- type: "string"
40850
- },
40851
- created_at: {
40852
- description: "Date and time at which the access method was created.",
40853
- format: "date-time",
40854
- type: "string"
40855
- },
40856
- display_name: {
40857
- description: "Display name of the access method.",
40858
- type: "string"
40859
- },
40860
- instant_key_url: {
40861
- description: "URL of instant key for mobile key access methods.",
40862
- type: "string"
40863
- },
40864
- is_card_encoding_required: {
40865
- description: "Whether card encoding is required for plastic card access methods.",
40866
- type: "boolean"
40867
- },
40868
- issued_at: {
40869
- description: "Date and time at which the access method was issued.",
40870
- format: "date-time",
40871
- type: "string"
40872
- },
40873
- mode: {
40874
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
40875
- enum: ["code", "card", "mobile_key"],
40876
- type: "string"
40877
- },
40878
- workspace_id: {
40879
- description: "Unique identifier for the Seam workspace associated with the access grant.",
40880
- format: "uuid",
40881
- type: "string"
40882
- }
40883
- },
40884
- required: [
40885
- "workspace_id",
40886
- "access_method_id",
40887
- "display_name",
40888
- "mode",
40889
- "created_at"
40890
- ],
40891
- type: "object",
40892
- "x-draft": "Early access.",
40893
- "x-route-path": "/access_methods"
40344
+ $ref: "#/components/schemas/access_method"
40894
40345
  },
40895
40346
  ok: { type: "boolean" }
40896
40347
  },
@@ -40947,57 +40398,7 @@ var openapi_default = {
40947
40398
  schema: {
40948
40399
  properties: {
40949
40400
  access_methods: {
40950
- items: {
40951
- properties: {
40952
- access_method_id: {
40953
- description: "ID of the access method.",
40954
- format: "uuid",
40955
- type: "string"
40956
- },
40957
- created_at: {
40958
- description: "Date and time at which the access method was created.",
40959
- format: "date-time",
40960
- type: "string"
40961
- },
40962
- display_name: {
40963
- description: "Display name of the access method.",
40964
- type: "string"
40965
- },
40966
- instant_key_url: {
40967
- description: "URL of instant key for mobile key access methods.",
40968
- type: "string"
40969
- },
40970
- is_card_encoding_required: {
40971
- description: "Whether card encoding is required for plastic card access methods.",
40972
- type: "boolean"
40973
- },
40974
- issued_at: {
40975
- description: "Date and time at which the access method was issued.",
40976
- format: "date-time",
40977
- type: "string"
40978
- },
40979
- mode: {
40980
- description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
40981
- enum: ["code", "card", "mobile_key"],
40982
- type: "string"
40983
- },
40984
- workspace_id: {
40985
- description: "Unique identifier for the Seam workspace associated with the access grant.",
40986
- format: "uuid",
40987
- type: "string"
40988
- }
40989
- },
40990
- required: [
40991
- "workspace_id",
40992
- "access_method_id",
40993
- "display_name",
40994
- "mode",
40995
- "created_at"
40996
- ],
40997
- type: "object",
40998
- "x-draft": "Early access.",
40999
- "x-route-path": "/access_methods"
41000
- },
40401
+ items: { $ref: "#/components/schemas/access_method" },
41001
40402
  type: "array"
41002
40403
  },
41003
40404
  ok: { type: "boolean" }