@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
|
@@ -7199,20 +7199,11 @@ export default {
|
|
|
7199
7199
|
},
|
|
7200
7200
|
schlage_metadata: {
|
|
7201
7201
|
properties: {
|
|
7202
|
-
access_code_length: {
|
|
7203
|
-
format: 'float',
|
|
7204
|
-
nullable: true,
|
|
7205
|
-
type: 'number',
|
|
7206
|
-
},
|
|
7207
7202
|
device_id: { type: 'string' },
|
|
7208
7203
|
device_name: { type: 'string' },
|
|
7209
7204
|
model: { type: 'string' },
|
|
7210
7205
|
},
|
|
7211
|
-
required: [
|
|
7212
|
-
'device_id',
|
|
7213
|
-
'device_name',
|
|
7214
|
-
'access_code_length',
|
|
7215
|
-
],
|
|
7206
|
+
required: ['device_id', 'device_name'],
|
|
7216
7207
|
type: 'object',
|
|
7217
7208
|
},
|
|
7218
7209
|
seam_bridge_metadata: {
|
|
@@ -9472,7 +9463,7 @@ export default {
|
|
|
9472
9463
|
'x-route-path': '/acs/credentials',
|
|
9473
9464
|
},
|
|
9474
9465
|
{
|
|
9475
|
-
description: 'An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was invalidated.',
|
|
9466
|
+
description: 'An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was invalidated. That is, the credential cannot be used anymore.',
|
|
9476
9467
|
properties: {
|
|
9477
9468
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
9478
9469
|
acs_system_id: {
|
|
@@ -28062,6 +28053,7 @@ export default {
|
|
|
28062
28053
|
type: 'string',
|
|
28063
28054
|
},
|
|
28064
28055
|
},
|
|
28056
|
+
required: ['user_identity_id'],
|
|
28065
28057
|
type: 'object',
|
|
28066
28058
|
},
|
|
28067
28059
|
{
|
|
@@ -28087,9 +28079,9 @@ export default {
|
|
|
28087
28079
|
},
|
|
28088
28080
|
},
|
|
28089
28081
|
type: 'object',
|
|
28090
|
-
'x-route-path': '/user_identities',
|
|
28091
28082
|
},
|
|
28092
28083
|
},
|
|
28084
|
+
required: ['user_identity'],
|
|
28093
28085
|
type: 'object',
|
|
28094
28086
|
},
|
|
28095
28087
|
],
|
|
@@ -28165,16 +28157,26 @@ export default {
|
|
|
28165
28157
|
format: 'uuid',
|
|
28166
28158
|
type: 'string',
|
|
28167
28159
|
},
|
|
28168
|
-
|
|
28169
|
-
description: '
|
|
28160
|
+
created_at: {
|
|
28161
|
+
description: 'Date and time at which the access grant was created.',
|
|
28162
|
+
format: 'date-time',
|
|
28163
|
+
type: 'string',
|
|
28164
|
+
},
|
|
28165
|
+
display_name: {
|
|
28166
|
+
description: 'Display name of the access grant.',
|
|
28167
|
+
type: 'string',
|
|
28168
|
+
},
|
|
28169
|
+
location_ids: {
|
|
28170
|
+
description: 'IDs of the locations to which access is being given.',
|
|
28171
|
+
items: { format: 'uuid', type: 'string' },
|
|
28172
|
+
type: 'array',
|
|
28173
|
+
},
|
|
28174
|
+
requested_access_methods: {
|
|
28175
|
+
description: 'Access methods that the user requested for this access grant.',
|
|
28170
28176
|
items: {
|
|
28171
28177
|
properties: {
|
|
28172
|
-
access_method_key: {
|
|
28173
|
-
description: 'Key for the access method - unique within an access grant.',
|
|
28174
|
-
type: 'string',
|
|
28175
|
-
},
|
|
28176
28178
|
created_at: {
|
|
28177
|
-
description: 'Date and time at which the access method was
|
|
28179
|
+
description: 'Date and time at which the requested access method was added to this access grant.',
|
|
28178
28180
|
format: 'date-time',
|
|
28179
28181
|
type: 'string',
|
|
28180
28182
|
},
|
|
@@ -28182,30 +28184,112 @@ export default {
|
|
|
28182
28184
|
description: 'Display name of the access method.',
|
|
28183
28185
|
type: 'string',
|
|
28184
28186
|
},
|
|
28185
|
-
issued_at: {
|
|
28186
|
-
description: 'Date and time at which the access method was issued.',
|
|
28187
|
-
format: 'date-time',
|
|
28188
|
-
nullable: true,
|
|
28189
|
-
type: 'string',
|
|
28190
|
-
},
|
|
28191
28187
|
mode: {
|
|
28192
28188
|
description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
28193
28189
|
enum: ['code', 'card', 'mobile_key'],
|
|
28194
28190
|
type: 'string',
|
|
28195
28191
|
},
|
|
28192
|
+
provisioned_access_method_ids: {
|
|
28193
|
+
description: 'IDs of the locations to which access is being given.',
|
|
28194
|
+
items: { format: 'uuid', type: 'string' },
|
|
28195
|
+
type: 'array',
|
|
28196
|
+
},
|
|
28196
28197
|
},
|
|
28197
28198
|
required: [
|
|
28198
|
-
'access_method_key',
|
|
28199
28199
|
'display_name',
|
|
28200
28200
|
'mode',
|
|
28201
28201
|
'created_at',
|
|
28202
|
-
'
|
|
28202
|
+
'provisioned_access_method_ids',
|
|
28203
28203
|
],
|
|
28204
28204
|
type: 'object',
|
|
28205
28205
|
'x-undocumented': 'Unreleased.',
|
|
28206
28206
|
},
|
|
28207
28207
|
type: 'array',
|
|
28208
28208
|
},
|
|
28209
|
+
user_identity_id: {
|
|
28210
|
+
description: 'ID of user identity to which access is being granted.',
|
|
28211
|
+
format: 'uuid',
|
|
28212
|
+
type: 'string',
|
|
28213
|
+
},
|
|
28214
|
+
workspace_id: {
|
|
28215
|
+
description: 'Unique identifier for the Seam workspace associated with the access grant.',
|
|
28216
|
+
format: 'uuid',
|
|
28217
|
+
type: 'string',
|
|
28218
|
+
},
|
|
28219
|
+
},
|
|
28220
|
+
required: [
|
|
28221
|
+
'workspace_id',
|
|
28222
|
+
'access_grant_id',
|
|
28223
|
+
'user_identity_id',
|
|
28224
|
+
'location_ids',
|
|
28225
|
+
'requested_access_methods',
|
|
28226
|
+
'display_name',
|
|
28227
|
+
'created_at',
|
|
28228
|
+
],
|
|
28229
|
+
type: 'object',
|
|
28230
|
+
'x-undocumented': 'Unreleased.',
|
|
28231
|
+
},
|
|
28232
|
+
ok: { type: 'boolean' },
|
|
28233
|
+
},
|
|
28234
|
+
required: ['access_grant', 'ok'],
|
|
28235
|
+
type: 'object',
|
|
28236
|
+
},
|
|
28237
|
+
},
|
|
28238
|
+
},
|
|
28239
|
+
description: 'OK',
|
|
28240
|
+
},
|
|
28241
|
+
400: { description: 'Bad Request' },
|
|
28242
|
+
401: { description: 'Unauthorized' },
|
|
28243
|
+
},
|
|
28244
|
+
security: [
|
|
28245
|
+
{ pat_with_workspace: [] },
|
|
28246
|
+
{ console_session_with_workspace: [] },
|
|
28247
|
+
{ api_key: [] },
|
|
28248
|
+
],
|
|
28249
|
+
summary: '/unstable_access_grants/create',
|
|
28250
|
+
tags: [],
|
|
28251
|
+
'x-fern-sdk-group-name': ['unstable_access_grants'],
|
|
28252
|
+
'x-fern-sdk-method-name': 'create',
|
|
28253
|
+
'x-fern-sdk-return-value': 'access_grant',
|
|
28254
|
+
'x-response-key': 'access_grant',
|
|
28255
|
+
'x-title': 'Create an Access Grant',
|
|
28256
|
+
'x-undocumented': 'Unreleased.',
|
|
28257
|
+
},
|
|
28258
|
+
},
|
|
28259
|
+
'/unstable_access_grants/get': {
|
|
28260
|
+
post: {
|
|
28261
|
+
description: 'Get an access grant.',
|
|
28262
|
+
operationId: 'unstableAccessGrantsGetPost',
|
|
28263
|
+
requestBody: {
|
|
28264
|
+
content: {
|
|
28265
|
+
'application/json': {
|
|
28266
|
+
schema: {
|
|
28267
|
+
properties: {
|
|
28268
|
+
access_grant_id: {
|
|
28269
|
+
description: 'ID of access grant to get.',
|
|
28270
|
+
format: 'uuid',
|
|
28271
|
+
type: 'string',
|
|
28272
|
+
},
|
|
28273
|
+
},
|
|
28274
|
+
required: ['access_grant_id'],
|
|
28275
|
+
type: 'object',
|
|
28276
|
+
},
|
|
28277
|
+
},
|
|
28278
|
+
},
|
|
28279
|
+
},
|
|
28280
|
+
responses: {
|
|
28281
|
+
200: {
|
|
28282
|
+
content: {
|
|
28283
|
+
'application/json': {
|
|
28284
|
+
schema: {
|
|
28285
|
+
properties: {
|
|
28286
|
+
access_grant: {
|
|
28287
|
+
properties: {
|
|
28288
|
+
access_grant_id: {
|
|
28289
|
+
description: 'ID of the access grant.',
|
|
28290
|
+
format: 'uuid',
|
|
28291
|
+
type: 'string',
|
|
28292
|
+
},
|
|
28209
28293
|
created_at: {
|
|
28210
28294
|
description: 'Date and time at which the access grant was created.',
|
|
28211
28295
|
format: 'date-time',
|
|
@@ -28220,6 +28304,41 @@ export default {
|
|
|
28220
28304
|
items: { format: 'uuid', type: 'string' },
|
|
28221
28305
|
type: 'array',
|
|
28222
28306
|
},
|
|
28307
|
+
requested_access_methods: {
|
|
28308
|
+
description: 'Access methods that the user requested for this access grant.',
|
|
28309
|
+
items: {
|
|
28310
|
+
properties: {
|
|
28311
|
+
created_at: {
|
|
28312
|
+
description: 'Date and time at which the requested access method was added to this access grant.',
|
|
28313
|
+
format: 'date-time',
|
|
28314
|
+
type: 'string',
|
|
28315
|
+
},
|
|
28316
|
+
display_name: {
|
|
28317
|
+
description: 'Display name of the access method.',
|
|
28318
|
+
type: 'string',
|
|
28319
|
+
},
|
|
28320
|
+
mode: {
|
|
28321
|
+
description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
28322
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
28323
|
+
type: 'string',
|
|
28324
|
+
},
|
|
28325
|
+
provisioned_access_method_ids: {
|
|
28326
|
+
description: 'IDs of the locations to which access is being given.',
|
|
28327
|
+
items: { format: 'uuid', type: 'string' },
|
|
28328
|
+
type: 'array',
|
|
28329
|
+
},
|
|
28330
|
+
},
|
|
28331
|
+
required: [
|
|
28332
|
+
'display_name',
|
|
28333
|
+
'mode',
|
|
28334
|
+
'created_at',
|
|
28335
|
+
'provisioned_access_method_ids',
|
|
28336
|
+
],
|
|
28337
|
+
type: 'object',
|
|
28338
|
+
'x-undocumented': 'Unreleased.',
|
|
28339
|
+
},
|
|
28340
|
+
type: 'array',
|
|
28341
|
+
},
|
|
28223
28342
|
user_identity_id: {
|
|
28224
28343
|
description: 'ID of user identity to which access is being granted.',
|
|
28225
28344
|
format: 'uuid',
|
|
@@ -28236,7 +28355,7 @@ export default {
|
|
|
28236
28355
|
'access_grant_id',
|
|
28237
28356
|
'user_identity_id',
|
|
28238
28357
|
'location_ids',
|
|
28239
|
-
'
|
|
28358
|
+
'requested_access_methods',
|
|
28240
28359
|
'display_name',
|
|
28241
28360
|
'created_at',
|
|
28242
28361
|
],
|
|
@@ -28260,13 +28379,264 @@ export default {
|
|
|
28260
28379
|
{ console_session_with_workspace: [] },
|
|
28261
28380
|
{ api_key: [] },
|
|
28262
28381
|
],
|
|
28263
|
-
summary: '/unstable_access_grants/
|
|
28382
|
+
summary: '/unstable_access_grants/get',
|
|
28264
28383
|
tags: [],
|
|
28265
28384
|
'x-fern-sdk-group-name': ['unstable_access_grants'],
|
|
28266
|
-
'x-fern-sdk-method-name': '
|
|
28385
|
+
'x-fern-sdk-method-name': 'get',
|
|
28267
28386
|
'x-fern-sdk-return-value': 'access_grant',
|
|
28268
28387
|
'x-response-key': 'access_grant',
|
|
28269
|
-
'x-title': '
|
|
28388
|
+
'x-title': 'Get an Access Grant',
|
|
28389
|
+
'x-undocumented': 'Unreleased.',
|
|
28390
|
+
},
|
|
28391
|
+
},
|
|
28392
|
+
'/unstable_access_grants/list': {
|
|
28393
|
+
post: {
|
|
28394
|
+
description: 'Get an access grant.',
|
|
28395
|
+
operationId: 'unstableAccessGrantsListPost',
|
|
28396
|
+
requestBody: {
|
|
28397
|
+
content: {
|
|
28398
|
+
'application/json': {
|
|
28399
|
+
schema: {
|
|
28400
|
+
properties: {
|
|
28401
|
+
acs_entrance_id: {
|
|
28402
|
+
description: 'ID of entrance to filter list of access grants by.',
|
|
28403
|
+
format: 'uuid',
|
|
28404
|
+
type: 'string',
|
|
28405
|
+
},
|
|
28406
|
+
acs_system_id: {
|
|
28407
|
+
description: 'ID of system to filter list of access grants by.',
|
|
28408
|
+
format: 'uuid',
|
|
28409
|
+
type: 'string',
|
|
28410
|
+
},
|
|
28411
|
+
location_id: {
|
|
28412
|
+
description: 'ID of location to filter list of access grants by.',
|
|
28413
|
+
format: 'uuid',
|
|
28414
|
+
type: 'string',
|
|
28415
|
+
},
|
|
28416
|
+
user_identity_id: {
|
|
28417
|
+
description: 'ID of user identity to filter list of access grants by.',
|
|
28418
|
+
format: 'uuid',
|
|
28419
|
+
type: 'string',
|
|
28420
|
+
},
|
|
28421
|
+
},
|
|
28422
|
+
type: 'object',
|
|
28423
|
+
},
|
|
28424
|
+
},
|
|
28425
|
+
},
|
|
28426
|
+
},
|
|
28427
|
+
responses: {
|
|
28428
|
+
200: {
|
|
28429
|
+
content: {
|
|
28430
|
+
'application/json': {
|
|
28431
|
+
schema: {
|
|
28432
|
+
properties: {
|
|
28433
|
+
access_grants: {
|
|
28434
|
+
items: {
|
|
28435
|
+
properties: {
|
|
28436
|
+
access_grant_id: {
|
|
28437
|
+
description: 'ID of the access grant.',
|
|
28438
|
+
format: 'uuid',
|
|
28439
|
+
type: 'string',
|
|
28440
|
+
},
|
|
28441
|
+
created_at: {
|
|
28442
|
+
description: 'Date and time at which the access grant was created.',
|
|
28443
|
+
format: 'date-time',
|
|
28444
|
+
type: 'string',
|
|
28445
|
+
},
|
|
28446
|
+
display_name: {
|
|
28447
|
+
description: 'Display name of the access grant.',
|
|
28448
|
+
type: 'string',
|
|
28449
|
+
},
|
|
28450
|
+
location_ids: {
|
|
28451
|
+
description: 'IDs of the locations to which access is being given.',
|
|
28452
|
+
items: { format: 'uuid', type: 'string' },
|
|
28453
|
+
type: 'array',
|
|
28454
|
+
},
|
|
28455
|
+
requested_access_methods: {
|
|
28456
|
+
description: 'Access methods that the user requested for this access grant.',
|
|
28457
|
+
items: {
|
|
28458
|
+
properties: {
|
|
28459
|
+
created_at: {
|
|
28460
|
+
description: 'Date and time at which the requested access method was added to this access grant.',
|
|
28461
|
+
format: 'date-time',
|
|
28462
|
+
type: 'string',
|
|
28463
|
+
},
|
|
28464
|
+
display_name: {
|
|
28465
|
+
description: 'Display name of the access method.',
|
|
28466
|
+
type: 'string',
|
|
28467
|
+
},
|
|
28468
|
+
mode: {
|
|
28469
|
+
description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
28470
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
28471
|
+
type: 'string',
|
|
28472
|
+
},
|
|
28473
|
+
provisioned_access_method_ids: {
|
|
28474
|
+
description: 'IDs of the locations to which access is being given.',
|
|
28475
|
+
items: { format: 'uuid', type: 'string' },
|
|
28476
|
+
type: 'array',
|
|
28477
|
+
},
|
|
28478
|
+
},
|
|
28479
|
+
required: [
|
|
28480
|
+
'display_name',
|
|
28481
|
+
'mode',
|
|
28482
|
+
'created_at',
|
|
28483
|
+
'provisioned_access_method_ids',
|
|
28484
|
+
],
|
|
28485
|
+
type: 'object',
|
|
28486
|
+
'x-undocumented': 'Unreleased.',
|
|
28487
|
+
},
|
|
28488
|
+
type: 'array',
|
|
28489
|
+
},
|
|
28490
|
+
user_identity_id: {
|
|
28491
|
+
description: 'ID of user identity to which access is being granted.',
|
|
28492
|
+
format: 'uuid',
|
|
28493
|
+
type: 'string',
|
|
28494
|
+
},
|
|
28495
|
+
workspace_id: {
|
|
28496
|
+
description: 'Unique identifier for the Seam workspace associated with the access grant.',
|
|
28497
|
+
format: 'uuid',
|
|
28498
|
+
type: 'string',
|
|
28499
|
+
},
|
|
28500
|
+
},
|
|
28501
|
+
required: [
|
|
28502
|
+
'workspace_id',
|
|
28503
|
+
'access_grant_id',
|
|
28504
|
+
'user_identity_id',
|
|
28505
|
+
'location_ids',
|
|
28506
|
+
'requested_access_methods',
|
|
28507
|
+
'display_name',
|
|
28508
|
+
'created_at',
|
|
28509
|
+
],
|
|
28510
|
+
type: 'object',
|
|
28511
|
+
'x-undocumented': 'Unreleased.',
|
|
28512
|
+
},
|
|
28513
|
+
type: 'array',
|
|
28514
|
+
},
|
|
28515
|
+
ok: { type: 'boolean' },
|
|
28516
|
+
},
|
|
28517
|
+
required: ['access_grants', 'ok'],
|
|
28518
|
+
type: 'object',
|
|
28519
|
+
},
|
|
28520
|
+
},
|
|
28521
|
+
},
|
|
28522
|
+
description: 'OK',
|
|
28523
|
+
},
|
|
28524
|
+
400: { description: 'Bad Request' },
|
|
28525
|
+
401: { description: 'Unauthorized' },
|
|
28526
|
+
},
|
|
28527
|
+
security: [
|
|
28528
|
+
{ pat_with_workspace: [] },
|
|
28529
|
+
{ console_session_with_workspace: [] },
|
|
28530
|
+
{ api_key: [] },
|
|
28531
|
+
],
|
|
28532
|
+
summary: '/unstable_access_grants/list',
|
|
28533
|
+
tags: [],
|
|
28534
|
+
'x-fern-sdk-group-name': ['unstable_access_grants'],
|
|
28535
|
+
'x-fern-sdk-method-name': 'list',
|
|
28536
|
+
'x-fern-sdk-return-value': 'access_grants',
|
|
28537
|
+
'x-response-key': 'access_grants',
|
|
28538
|
+
'x-title': 'List Access Grants',
|
|
28539
|
+
'x-undocumented': 'Unreleased.',
|
|
28540
|
+
},
|
|
28541
|
+
},
|
|
28542
|
+
'/unstable_access_grants/list_access_methods': {
|
|
28543
|
+
post: {
|
|
28544
|
+
description: 'List all access methods for an access grant.',
|
|
28545
|
+
operationId: 'unstableAccessGrantsListAccessMethodsPost',
|
|
28546
|
+
requestBody: {
|
|
28547
|
+
content: {
|
|
28548
|
+
'application/json': {
|
|
28549
|
+
schema: {
|
|
28550
|
+
properties: {
|
|
28551
|
+
access_grant_id: {
|
|
28552
|
+
description: 'ID of access grant to list access methods for.',
|
|
28553
|
+
format: 'uuid',
|
|
28554
|
+
type: 'string',
|
|
28555
|
+
},
|
|
28556
|
+
},
|
|
28557
|
+
required: ['access_grant_id'],
|
|
28558
|
+
type: 'object',
|
|
28559
|
+
},
|
|
28560
|
+
},
|
|
28561
|
+
},
|
|
28562
|
+
},
|
|
28563
|
+
responses: {
|
|
28564
|
+
200: {
|
|
28565
|
+
content: {
|
|
28566
|
+
'application/json': {
|
|
28567
|
+
schema: {
|
|
28568
|
+
properties: {
|
|
28569
|
+
access_methods: {
|
|
28570
|
+
items: {
|
|
28571
|
+
properties: {
|
|
28572
|
+
access_method_id: {
|
|
28573
|
+
description: 'ID of the access method.',
|
|
28574
|
+
format: 'uuid',
|
|
28575
|
+
type: 'string',
|
|
28576
|
+
},
|
|
28577
|
+
created_at: {
|
|
28578
|
+
description: 'Date and time at which the access method was created.',
|
|
28579
|
+
format: 'date-time',
|
|
28580
|
+
type: 'string',
|
|
28581
|
+
},
|
|
28582
|
+
display_name: {
|
|
28583
|
+
description: 'Display name of the access method.',
|
|
28584
|
+
type: 'string',
|
|
28585
|
+
},
|
|
28586
|
+
issued_at: {
|
|
28587
|
+
description: 'Date and time at which the access method was issued.',
|
|
28588
|
+
format: 'date-time',
|
|
28589
|
+
nullable: true,
|
|
28590
|
+
type: 'string',
|
|
28591
|
+
},
|
|
28592
|
+
mode: {
|
|
28593
|
+
description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
28594
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
28595
|
+
type: 'string',
|
|
28596
|
+
},
|
|
28597
|
+
workspace_id: {
|
|
28598
|
+
description: 'Unique identifier for the Seam workspace associated with the access grant.',
|
|
28599
|
+
format: 'uuid',
|
|
28600
|
+
type: 'string',
|
|
28601
|
+
},
|
|
28602
|
+
},
|
|
28603
|
+
required: [
|
|
28604
|
+
'workspace_id',
|
|
28605
|
+
'access_method_id',
|
|
28606
|
+
'display_name',
|
|
28607
|
+
'mode',
|
|
28608
|
+
'created_at',
|
|
28609
|
+
'issued_at',
|
|
28610
|
+
],
|
|
28611
|
+
type: 'object',
|
|
28612
|
+
'x-undocumented': 'Unreleased.',
|
|
28613
|
+
},
|
|
28614
|
+
type: 'array',
|
|
28615
|
+
},
|
|
28616
|
+
ok: { type: 'boolean' },
|
|
28617
|
+
},
|
|
28618
|
+
required: ['access_methods', 'ok'],
|
|
28619
|
+
type: 'object',
|
|
28620
|
+
},
|
|
28621
|
+
},
|
|
28622
|
+
},
|
|
28623
|
+
description: 'OK',
|
|
28624
|
+
},
|
|
28625
|
+
400: { description: 'Bad Request' },
|
|
28626
|
+
401: { description: 'Unauthorized' },
|
|
28627
|
+
},
|
|
28628
|
+
security: [
|
|
28629
|
+
{ pat_with_workspace: [] },
|
|
28630
|
+
{ console_session_with_workspace: [] },
|
|
28631
|
+
{ api_key: [] },
|
|
28632
|
+
],
|
|
28633
|
+
summary: '/unstable_access_grants/list_access_methods',
|
|
28634
|
+
tags: [],
|
|
28635
|
+
'x-fern-sdk-group-name': ['unstable_access_grants'],
|
|
28636
|
+
'x-fern-sdk-method-name': 'list_access_methods',
|
|
28637
|
+
'x-fern-sdk-return-value': 'access_methods',
|
|
28638
|
+
'x-response-key': 'access_methods',
|
|
28639
|
+
'x-title': 'Get the Access Methods for an Access Grant',
|
|
28270
28640
|
'x-undocumented': 'Unreleased.',
|
|
28271
28641
|
},
|
|
28272
28642
|
},
|