@seamapi/types 1.379.0 → 1.380.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.
- package/dist/connect.cjs +404 -34
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +533 -51
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +8 -13
- package/lib/seam/connect/models/access-grants/access-grant.js +4 -4
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +6 -3
- package/lib/seam/connect/models/access-grants/access-method.js +4 -2
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/access-grants/requested-access-method.d.ts +18 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.js +19 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +0 -5
- package/lib/seam/connect/models/devices/device-metadata.js +0 -1
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +0 -7
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +0 -5
- package/lib/seam/connect/models/events/acs/credentials.js +2 -1
- package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +415 -16
- package/lib/seam/connect/openapi.js +401 -31
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +118 -23
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +4 -4
- package/src/lib/seam/connect/models/access-grants/access-method.ts +6 -2
- package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +25 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +0 -1
- package/src/lib/seam/connect/models/events/acs/credentials.ts +2 -1
- package/src/lib/seam/connect/openapi.ts +429 -33
- package/src/lib/seam/connect/route-types.ts +123 -30
|
@@ -7936,20 +7936,11 @@ export default {
|
|
|
7936
7936
|
},
|
|
7937
7937
|
schlage_metadata: {
|
|
7938
7938
|
properties: {
|
|
7939
|
-
access_code_length: {
|
|
7940
|
-
format: 'float',
|
|
7941
|
-
nullable: true,
|
|
7942
|
-
type: 'number',
|
|
7943
|
-
},
|
|
7944
7939
|
device_id: { type: 'string' },
|
|
7945
7940
|
device_name: { type: 'string' },
|
|
7946
7941
|
model: { type: 'string' },
|
|
7947
7942
|
},
|
|
7948
|
-
required: [
|
|
7949
|
-
'device_id',
|
|
7950
|
-
'device_name',
|
|
7951
|
-
'access_code_length',
|
|
7952
|
-
],
|
|
7943
|
+
required: ['device_id', 'device_name'],
|
|
7953
7944
|
type: 'object',
|
|
7954
7945
|
},
|
|
7955
7946
|
seam_bridge_metadata: {
|
|
@@ -10404,7 +10395,7 @@ export default {
|
|
|
10404
10395
|
},
|
|
10405
10396
|
{
|
|
10406
10397
|
description:
|
|
10407
|
-
'An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was invalidated.',
|
|
10398
|
+
'An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was invalidated. That is, the credential cannot be used anymore.',
|
|
10408
10399
|
properties: {
|
|
10409
10400
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
10410
10401
|
acs_system_id: {
|
|
@@ -30088,6 +30079,7 @@ export default {
|
|
|
30088
30079
|
type: 'string',
|
|
30089
30080
|
},
|
|
30090
30081
|
},
|
|
30082
|
+
required: ['user_identity_id'],
|
|
30091
30083
|
type: 'object',
|
|
30092
30084
|
},
|
|
30093
30085
|
{
|
|
@@ -30116,9 +30108,9 @@ export default {
|
|
|
30116
30108
|
},
|
|
30117
30109
|
},
|
|
30118
30110
|
type: 'object',
|
|
30119
|
-
'x-route-path': '/user_identities',
|
|
30120
30111
|
},
|
|
30121
30112
|
},
|
|
30113
|
+
required: ['user_identity'],
|
|
30122
30114
|
type: 'object',
|
|
30123
30115
|
},
|
|
30124
30116
|
],
|
|
@@ -30201,19 +30193,30 @@ export default {
|
|
|
30201
30193
|
format: 'uuid',
|
|
30202
30194
|
type: 'string',
|
|
30203
30195
|
},
|
|
30204
|
-
|
|
30196
|
+
created_at: {
|
|
30205
30197
|
description:
|
|
30206
|
-
'
|
|
30198
|
+
'Date and time at which the access grant was created.',
|
|
30199
|
+
format: 'date-time',
|
|
30200
|
+
type: 'string',
|
|
30201
|
+
},
|
|
30202
|
+
display_name: {
|
|
30203
|
+
description: 'Display name of the access grant.',
|
|
30204
|
+
type: 'string',
|
|
30205
|
+
},
|
|
30206
|
+
location_ids: {
|
|
30207
|
+
description:
|
|
30208
|
+
'IDs of the locations to which access is being given.',
|
|
30209
|
+
items: { format: 'uuid', type: 'string' },
|
|
30210
|
+
type: 'array',
|
|
30211
|
+
},
|
|
30212
|
+
requested_access_methods: {
|
|
30213
|
+
description:
|
|
30214
|
+
'Access methods that the user requested for this access grant.',
|
|
30207
30215
|
items: {
|
|
30208
30216
|
properties: {
|
|
30209
|
-
access_method_key: {
|
|
30210
|
-
description:
|
|
30211
|
-
'Key for the access method - unique within an access grant.',
|
|
30212
|
-
type: 'string',
|
|
30213
|
-
},
|
|
30214
30217
|
created_at: {
|
|
30215
30218
|
description:
|
|
30216
|
-
'Date and time at which the access method was
|
|
30219
|
+
'Date and time at which the requested access method was added to this access grant.',
|
|
30217
30220
|
format: 'date-time',
|
|
30218
30221
|
type: 'string',
|
|
30219
30222
|
},
|
|
@@ -30222,32 +30225,116 @@ export default {
|
|
|
30222
30225
|
'Display name of the access method.',
|
|
30223
30226
|
type: 'string',
|
|
30224
30227
|
},
|
|
30225
|
-
issued_at: {
|
|
30226
|
-
description:
|
|
30227
|
-
'Date and time at which the access method was issued.',
|
|
30228
|
-
format: 'date-time',
|
|
30229
|
-
nullable: true,
|
|
30230
|
-
type: 'string',
|
|
30231
|
-
},
|
|
30232
30228
|
mode: {
|
|
30233
30229
|
description:
|
|
30234
30230
|
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
30235
30231
|
enum: ['code', 'card', 'mobile_key'],
|
|
30236
30232
|
type: 'string',
|
|
30237
30233
|
},
|
|
30234
|
+
provisioned_access_method_ids: {
|
|
30235
|
+
description:
|
|
30236
|
+
'IDs of the locations to which access is being given.',
|
|
30237
|
+
items: { format: 'uuid', type: 'string' },
|
|
30238
|
+
type: 'array',
|
|
30239
|
+
},
|
|
30238
30240
|
},
|
|
30239
30241
|
required: [
|
|
30240
|
-
'access_method_key',
|
|
30241
30242
|
'display_name',
|
|
30242
30243
|
'mode',
|
|
30243
30244
|
'created_at',
|
|
30244
|
-
'
|
|
30245
|
+
'provisioned_access_method_ids',
|
|
30245
30246
|
],
|
|
30246
30247
|
type: 'object',
|
|
30247
30248
|
'x-undocumented': 'Unreleased.',
|
|
30248
30249
|
},
|
|
30249
30250
|
type: 'array',
|
|
30250
30251
|
},
|
|
30252
|
+
user_identity_id: {
|
|
30253
|
+
description:
|
|
30254
|
+
'ID of user identity to which access is being granted.',
|
|
30255
|
+
format: 'uuid',
|
|
30256
|
+
type: 'string',
|
|
30257
|
+
},
|
|
30258
|
+
workspace_id: {
|
|
30259
|
+
description:
|
|
30260
|
+
'Unique identifier for the Seam workspace associated with the access grant.',
|
|
30261
|
+
format: 'uuid',
|
|
30262
|
+
type: 'string',
|
|
30263
|
+
},
|
|
30264
|
+
},
|
|
30265
|
+
required: [
|
|
30266
|
+
'workspace_id',
|
|
30267
|
+
'access_grant_id',
|
|
30268
|
+
'user_identity_id',
|
|
30269
|
+
'location_ids',
|
|
30270
|
+
'requested_access_methods',
|
|
30271
|
+
'display_name',
|
|
30272
|
+
'created_at',
|
|
30273
|
+
],
|
|
30274
|
+
type: 'object',
|
|
30275
|
+
'x-undocumented': 'Unreleased.',
|
|
30276
|
+
},
|
|
30277
|
+
ok: { type: 'boolean' },
|
|
30278
|
+
},
|
|
30279
|
+
required: ['access_grant', 'ok'],
|
|
30280
|
+
type: 'object',
|
|
30281
|
+
},
|
|
30282
|
+
},
|
|
30283
|
+
},
|
|
30284
|
+
description: 'OK',
|
|
30285
|
+
},
|
|
30286
|
+
400: { description: 'Bad Request' },
|
|
30287
|
+
401: { description: 'Unauthorized' },
|
|
30288
|
+
},
|
|
30289
|
+
security: [
|
|
30290
|
+
{ pat_with_workspace: [] },
|
|
30291
|
+
{ console_session_with_workspace: [] },
|
|
30292
|
+
{ api_key: [] },
|
|
30293
|
+
],
|
|
30294
|
+
summary: '/unstable_access_grants/create',
|
|
30295
|
+
tags: [],
|
|
30296
|
+
'x-fern-sdk-group-name': ['unstable_access_grants'],
|
|
30297
|
+
'x-fern-sdk-method-name': 'create',
|
|
30298
|
+
'x-fern-sdk-return-value': 'access_grant',
|
|
30299
|
+
'x-response-key': 'access_grant',
|
|
30300
|
+
'x-title': 'Create an Access Grant',
|
|
30301
|
+
'x-undocumented': 'Unreleased.',
|
|
30302
|
+
},
|
|
30303
|
+
},
|
|
30304
|
+
'/unstable_access_grants/get': {
|
|
30305
|
+
post: {
|
|
30306
|
+
description: 'Get an access grant.',
|
|
30307
|
+
operationId: 'unstableAccessGrantsGetPost',
|
|
30308
|
+
requestBody: {
|
|
30309
|
+
content: {
|
|
30310
|
+
'application/json': {
|
|
30311
|
+
schema: {
|
|
30312
|
+
properties: {
|
|
30313
|
+
access_grant_id: {
|
|
30314
|
+
description: 'ID of access grant to get.',
|
|
30315
|
+
format: 'uuid',
|
|
30316
|
+
type: 'string',
|
|
30317
|
+
},
|
|
30318
|
+
},
|
|
30319
|
+
required: ['access_grant_id'],
|
|
30320
|
+
type: 'object',
|
|
30321
|
+
},
|
|
30322
|
+
},
|
|
30323
|
+
},
|
|
30324
|
+
},
|
|
30325
|
+
responses: {
|
|
30326
|
+
200: {
|
|
30327
|
+
content: {
|
|
30328
|
+
'application/json': {
|
|
30329
|
+
schema: {
|
|
30330
|
+
properties: {
|
|
30331
|
+
access_grant: {
|
|
30332
|
+
properties: {
|
|
30333
|
+
access_grant_id: {
|
|
30334
|
+
description: 'ID of the access grant.',
|
|
30335
|
+
format: 'uuid',
|
|
30336
|
+
type: 'string',
|
|
30337
|
+
},
|
|
30251
30338
|
created_at: {
|
|
30252
30339
|
description:
|
|
30253
30340
|
'Date and time at which the access grant was created.',
|
|
@@ -30264,6 +30351,46 @@ export default {
|
|
|
30264
30351
|
items: { format: 'uuid', type: 'string' },
|
|
30265
30352
|
type: 'array',
|
|
30266
30353
|
},
|
|
30354
|
+
requested_access_methods: {
|
|
30355
|
+
description:
|
|
30356
|
+
'Access methods that the user requested for this access grant.',
|
|
30357
|
+
items: {
|
|
30358
|
+
properties: {
|
|
30359
|
+
created_at: {
|
|
30360
|
+
description:
|
|
30361
|
+
'Date and time at which the requested access method was added to this access grant.',
|
|
30362
|
+
format: 'date-time',
|
|
30363
|
+
type: 'string',
|
|
30364
|
+
},
|
|
30365
|
+
display_name: {
|
|
30366
|
+
description:
|
|
30367
|
+
'Display name of the access method.',
|
|
30368
|
+
type: 'string',
|
|
30369
|
+
},
|
|
30370
|
+
mode: {
|
|
30371
|
+
description:
|
|
30372
|
+
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
30373
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
30374
|
+
type: 'string',
|
|
30375
|
+
},
|
|
30376
|
+
provisioned_access_method_ids: {
|
|
30377
|
+
description:
|
|
30378
|
+
'IDs of the locations to which access is being given.',
|
|
30379
|
+
items: { format: 'uuid', type: 'string' },
|
|
30380
|
+
type: 'array',
|
|
30381
|
+
},
|
|
30382
|
+
},
|
|
30383
|
+
required: [
|
|
30384
|
+
'display_name',
|
|
30385
|
+
'mode',
|
|
30386
|
+
'created_at',
|
|
30387
|
+
'provisioned_access_method_ids',
|
|
30388
|
+
],
|
|
30389
|
+
type: 'object',
|
|
30390
|
+
'x-undocumented': 'Unreleased.',
|
|
30391
|
+
},
|
|
30392
|
+
type: 'array',
|
|
30393
|
+
},
|
|
30267
30394
|
user_identity_id: {
|
|
30268
30395
|
description:
|
|
30269
30396
|
'ID of user identity to which access is being granted.',
|
|
@@ -30282,7 +30409,7 @@ export default {
|
|
|
30282
30409
|
'access_grant_id',
|
|
30283
30410
|
'user_identity_id',
|
|
30284
30411
|
'location_ids',
|
|
30285
|
-
'
|
|
30412
|
+
'requested_access_methods',
|
|
30286
30413
|
'display_name',
|
|
30287
30414
|
'created_at',
|
|
30288
30415
|
],
|
|
@@ -30306,13 +30433,282 @@ export default {
|
|
|
30306
30433
|
{ console_session_with_workspace: [] },
|
|
30307
30434
|
{ api_key: [] },
|
|
30308
30435
|
],
|
|
30309
|
-
summary: '/unstable_access_grants/
|
|
30436
|
+
summary: '/unstable_access_grants/get',
|
|
30310
30437
|
tags: [],
|
|
30311
30438
|
'x-fern-sdk-group-name': ['unstable_access_grants'],
|
|
30312
|
-
'x-fern-sdk-method-name': '
|
|
30439
|
+
'x-fern-sdk-method-name': 'get',
|
|
30313
30440
|
'x-fern-sdk-return-value': 'access_grant',
|
|
30314
30441
|
'x-response-key': 'access_grant',
|
|
30315
|
-
'x-title': '
|
|
30442
|
+
'x-title': 'Get an Access Grant',
|
|
30443
|
+
'x-undocumented': 'Unreleased.',
|
|
30444
|
+
},
|
|
30445
|
+
},
|
|
30446
|
+
'/unstable_access_grants/list': {
|
|
30447
|
+
post: {
|
|
30448
|
+
description: 'Get an access grant.',
|
|
30449
|
+
operationId: 'unstableAccessGrantsListPost',
|
|
30450
|
+
requestBody: {
|
|
30451
|
+
content: {
|
|
30452
|
+
'application/json': {
|
|
30453
|
+
schema: {
|
|
30454
|
+
properties: {
|
|
30455
|
+
acs_entrance_id: {
|
|
30456
|
+
description:
|
|
30457
|
+
'ID of entrance to filter list of access grants by.',
|
|
30458
|
+
format: 'uuid',
|
|
30459
|
+
type: 'string',
|
|
30460
|
+
},
|
|
30461
|
+
acs_system_id: {
|
|
30462
|
+
description:
|
|
30463
|
+
'ID of system to filter list of access grants by.',
|
|
30464
|
+
format: 'uuid',
|
|
30465
|
+
type: 'string',
|
|
30466
|
+
},
|
|
30467
|
+
location_id: {
|
|
30468
|
+
description:
|
|
30469
|
+
'ID of location to filter list of access grants by.',
|
|
30470
|
+
format: 'uuid',
|
|
30471
|
+
type: 'string',
|
|
30472
|
+
},
|
|
30473
|
+
user_identity_id: {
|
|
30474
|
+
description:
|
|
30475
|
+
'ID of user identity to filter list of access grants by.',
|
|
30476
|
+
format: 'uuid',
|
|
30477
|
+
type: 'string',
|
|
30478
|
+
},
|
|
30479
|
+
},
|
|
30480
|
+
type: 'object',
|
|
30481
|
+
},
|
|
30482
|
+
},
|
|
30483
|
+
},
|
|
30484
|
+
},
|
|
30485
|
+
responses: {
|
|
30486
|
+
200: {
|
|
30487
|
+
content: {
|
|
30488
|
+
'application/json': {
|
|
30489
|
+
schema: {
|
|
30490
|
+
properties: {
|
|
30491
|
+
access_grants: {
|
|
30492
|
+
items: {
|
|
30493
|
+
properties: {
|
|
30494
|
+
access_grant_id: {
|
|
30495
|
+
description: 'ID of the access grant.',
|
|
30496
|
+
format: 'uuid',
|
|
30497
|
+
type: 'string',
|
|
30498
|
+
},
|
|
30499
|
+
created_at: {
|
|
30500
|
+
description:
|
|
30501
|
+
'Date and time at which the access grant was created.',
|
|
30502
|
+
format: 'date-time',
|
|
30503
|
+
type: 'string',
|
|
30504
|
+
},
|
|
30505
|
+
display_name: {
|
|
30506
|
+
description: 'Display name of the access grant.',
|
|
30507
|
+
type: 'string',
|
|
30508
|
+
},
|
|
30509
|
+
location_ids: {
|
|
30510
|
+
description:
|
|
30511
|
+
'IDs of the locations to which access is being given.',
|
|
30512
|
+
items: { format: 'uuid', type: 'string' },
|
|
30513
|
+
type: 'array',
|
|
30514
|
+
},
|
|
30515
|
+
requested_access_methods: {
|
|
30516
|
+
description:
|
|
30517
|
+
'Access methods that the user requested for this access grant.',
|
|
30518
|
+
items: {
|
|
30519
|
+
properties: {
|
|
30520
|
+
created_at: {
|
|
30521
|
+
description:
|
|
30522
|
+
'Date and time at which the requested access method was added to this access grant.',
|
|
30523
|
+
format: 'date-time',
|
|
30524
|
+
type: 'string',
|
|
30525
|
+
},
|
|
30526
|
+
display_name: {
|
|
30527
|
+
description:
|
|
30528
|
+
'Display name of the access method.',
|
|
30529
|
+
type: 'string',
|
|
30530
|
+
},
|
|
30531
|
+
mode: {
|
|
30532
|
+
description:
|
|
30533
|
+
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
30534
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
30535
|
+
type: 'string',
|
|
30536
|
+
},
|
|
30537
|
+
provisioned_access_method_ids: {
|
|
30538
|
+
description:
|
|
30539
|
+
'IDs of the locations to which access is being given.',
|
|
30540
|
+
items: { format: 'uuid', type: 'string' },
|
|
30541
|
+
type: 'array',
|
|
30542
|
+
},
|
|
30543
|
+
},
|
|
30544
|
+
required: [
|
|
30545
|
+
'display_name',
|
|
30546
|
+
'mode',
|
|
30547
|
+
'created_at',
|
|
30548
|
+
'provisioned_access_method_ids',
|
|
30549
|
+
],
|
|
30550
|
+
type: 'object',
|
|
30551
|
+
'x-undocumented': 'Unreleased.',
|
|
30552
|
+
},
|
|
30553
|
+
type: 'array',
|
|
30554
|
+
},
|
|
30555
|
+
user_identity_id: {
|
|
30556
|
+
description:
|
|
30557
|
+
'ID of user identity to which access is being granted.',
|
|
30558
|
+
format: 'uuid',
|
|
30559
|
+
type: 'string',
|
|
30560
|
+
},
|
|
30561
|
+
workspace_id: {
|
|
30562
|
+
description:
|
|
30563
|
+
'Unique identifier for the Seam workspace associated with the access grant.',
|
|
30564
|
+
format: 'uuid',
|
|
30565
|
+
type: 'string',
|
|
30566
|
+
},
|
|
30567
|
+
},
|
|
30568
|
+
required: [
|
|
30569
|
+
'workspace_id',
|
|
30570
|
+
'access_grant_id',
|
|
30571
|
+
'user_identity_id',
|
|
30572
|
+
'location_ids',
|
|
30573
|
+
'requested_access_methods',
|
|
30574
|
+
'display_name',
|
|
30575
|
+
'created_at',
|
|
30576
|
+
],
|
|
30577
|
+
type: 'object',
|
|
30578
|
+
'x-undocumented': 'Unreleased.',
|
|
30579
|
+
},
|
|
30580
|
+
type: 'array',
|
|
30581
|
+
},
|
|
30582
|
+
ok: { type: 'boolean' },
|
|
30583
|
+
},
|
|
30584
|
+
required: ['access_grants', 'ok'],
|
|
30585
|
+
type: 'object',
|
|
30586
|
+
},
|
|
30587
|
+
},
|
|
30588
|
+
},
|
|
30589
|
+
description: 'OK',
|
|
30590
|
+
},
|
|
30591
|
+
400: { description: 'Bad Request' },
|
|
30592
|
+
401: { description: 'Unauthorized' },
|
|
30593
|
+
},
|
|
30594
|
+
security: [
|
|
30595
|
+
{ pat_with_workspace: [] },
|
|
30596
|
+
{ console_session_with_workspace: [] },
|
|
30597
|
+
{ api_key: [] },
|
|
30598
|
+
],
|
|
30599
|
+
summary: '/unstable_access_grants/list',
|
|
30600
|
+
tags: [],
|
|
30601
|
+
'x-fern-sdk-group-name': ['unstable_access_grants'],
|
|
30602
|
+
'x-fern-sdk-method-name': 'list',
|
|
30603
|
+
'x-fern-sdk-return-value': 'access_grants',
|
|
30604
|
+
'x-response-key': 'access_grants',
|
|
30605
|
+
'x-title': 'List Access Grants',
|
|
30606
|
+
'x-undocumented': 'Unreleased.',
|
|
30607
|
+
},
|
|
30608
|
+
},
|
|
30609
|
+
'/unstable_access_grants/list_access_methods': {
|
|
30610
|
+
post: {
|
|
30611
|
+
description: 'List all access methods for an access grant.',
|
|
30612
|
+
operationId: 'unstableAccessGrantsListAccessMethodsPost',
|
|
30613
|
+
requestBody: {
|
|
30614
|
+
content: {
|
|
30615
|
+
'application/json': {
|
|
30616
|
+
schema: {
|
|
30617
|
+
properties: {
|
|
30618
|
+
access_grant_id: {
|
|
30619
|
+
description:
|
|
30620
|
+
'ID of access grant to list access methods for.',
|
|
30621
|
+
format: 'uuid',
|
|
30622
|
+
type: 'string',
|
|
30623
|
+
},
|
|
30624
|
+
},
|
|
30625
|
+
required: ['access_grant_id'],
|
|
30626
|
+
type: 'object',
|
|
30627
|
+
},
|
|
30628
|
+
},
|
|
30629
|
+
},
|
|
30630
|
+
},
|
|
30631
|
+
responses: {
|
|
30632
|
+
200: {
|
|
30633
|
+
content: {
|
|
30634
|
+
'application/json': {
|
|
30635
|
+
schema: {
|
|
30636
|
+
properties: {
|
|
30637
|
+
access_methods: {
|
|
30638
|
+
items: {
|
|
30639
|
+
properties: {
|
|
30640
|
+
access_method_id: {
|
|
30641
|
+
description: 'ID of the access method.',
|
|
30642
|
+
format: 'uuid',
|
|
30643
|
+
type: 'string',
|
|
30644
|
+
},
|
|
30645
|
+
created_at: {
|
|
30646
|
+
description:
|
|
30647
|
+
'Date and time at which the access method was created.',
|
|
30648
|
+
format: 'date-time',
|
|
30649
|
+
type: 'string',
|
|
30650
|
+
},
|
|
30651
|
+
display_name: {
|
|
30652
|
+
description: 'Display name of the access method.',
|
|
30653
|
+
type: 'string',
|
|
30654
|
+
},
|
|
30655
|
+
issued_at: {
|
|
30656
|
+
description:
|
|
30657
|
+
'Date and time at which the access method was issued.',
|
|
30658
|
+
format: 'date-time',
|
|
30659
|
+
nullable: true,
|
|
30660
|
+
type: 'string',
|
|
30661
|
+
},
|
|
30662
|
+
mode: {
|
|
30663
|
+
description:
|
|
30664
|
+
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
30665
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
30666
|
+
type: 'string',
|
|
30667
|
+
},
|
|
30668
|
+
workspace_id: {
|
|
30669
|
+
description:
|
|
30670
|
+
'Unique identifier for the Seam workspace associated with the access grant.',
|
|
30671
|
+
format: 'uuid',
|
|
30672
|
+
type: 'string',
|
|
30673
|
+
},
|
|
30674
|
+
},
|
|
30675
|
+
required: [
|
|
30676
|
+
'workspace_id',
|
|
30677
|
+
'access_method_id',
|
|
30678
|
+
'display_name',
|
|
30679
|
+
'mode',
|
|
30680
|
+
'created_at',
|
|
30681
|
+
'issued_at',
|
|
30682
|
+
],
|
|
30683
|
+
type: 'object',
|
|
30684
|
+
'x-undocumented': 'Unreleased.',
|
|
30685
|
+
},
|
|
30686
|
+
type: 'array',
|
|
30687
|
+
},
|
|
30688
|
+
ok: { type: 'boolean' },
|
|
30689
|
+
},
|
|
30690
|
+
required: ['access_methods', 'ok'],
|
|
30691
|
+
type: 'object',
|
|
30692
|
+
},
|
|
30693
|
+
},
|
|
30694
|
+
},
|
|
30695
|
+
description: 'OK',
|
|
30696
|
+
},
|
|
30697
|
+
400: { description: 'Bad Request' },
|
|
30698
|
+
401: { description: 'Unauthorized' },
|
|
30699
|
+
},
|
|
30700
|
+
security: [
|
|
30701
|
+
{ pat_with_workspace: [] },
|
|
30702
|
+
{ console_session_with_workspace: [] },
|
|
30703
|
+
{ api_key: [] },
|
|
30704
|
+
],
|
|
30705
|
+
summary: '/unstable_access_grants/list_access_methods',
|
|
30706
|
+
tags: [],
|
|
30707
|
+
'x-fern-sdk-group-name': ['unstable_access_grants'],
|
|
30708
|
+
'x-fern-sdk-method-name': 'list_access_methods',
|
|
30709
|
+
'x-fern-sdk-return-value': 'access_methods',
|
|
30710
|
+
'x-response-key': 'access_methods',
|
|
30711
|
+
'x-title': 'Get the Access Methods for an Access Grant',
|
|
30316
30712
|
'x-undocumented': 'Unreleased.',
|
|
30317
30713
|
},
|
|
30318
30714
|
},
|