@seamapi/types 1.875.0 → 1.877.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 +122 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1643 -0
- package/dist/index.cjs +122 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.js +122 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1643 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +127 -0
- package/src/lib/seam/connect/route-types.ts +1903 -0
|
@@ -36519,6 +36519,66 @@ const openapi = {
|
|
|
36519
36519
|
'x-title': 'Update an Access Grant',
|
|
36520
36520
|
},
|
|
36521
36521
|
},
|
|
36522
|
+
'/access_methods/assign_card': {
|
|
36523
|
+
post: {
|
|
36524
|
+
description: 'Assigns an existing card credential to a card-mode access method, identified by `card_number`.',
|
|
36525
|
+
operationId: 'accessMethodsAssignCardPost',
|
|
36526
|
+
requestBody: {
|
|
36527
|
+
content: {
|
|
36528
|
+
'application/json': {
|
|
36529
|
+
schema: {
|
|
36530
|
+
properties: {
|
|
36531
|
+
access_method_id: {
|
|
36532
|
+
description: 'ID of the card-mode `access_method` to assign the card to.',
|
|
36533
|
+
format: 'uuid',
|
|
36534
|
+
type: 'string',
|
|
36535
|
+
},
|
|
36536
|
+
card_number: {
|
|
36537
|
+
description: 'Card number of the card credential to assign.',
|
|
36538
|
+
type: 'string',
|
|
36539
|
+
},
|
|
36540
|
+
},
|
|
36541
|
+
required: ['access_method_id', 'card_number'],
|
|
36542
|
+
type: 'object',
|
|
36543
|
+
},
|
|
36544
|
+
},
|
|
36545
|
+
},
|
|
36546
|
+
},
|
|
36547
|
+
responses: {
|
|
36548
|
+
200: {
|
|
36549
|
+
content: {
|
|
36550
|
+
'application/json': {
|
|
36551
|
+
schema: {
|
|
36552
|
+
properties: {
|
|
36553
|
+
access_method: {
|
|
36554
|
+
$ref: '#/components/schemas/access_method',
|
|
36555
|
+
},
|
|
36556
|
+
ok: { type: 'boolean' },
|
|
36557
|
+
},
|
|
36558
|
+
required: ['access_method', 'ok'],
|
|
36559
|
+
type: 'object',
|
|
36560
|
+
},
|
|
36561
|
+
},
|
|
36562
|
+
},
|
|
36563
|
+
description: 'OK',
|
|
36564
|
+
},
|
|
36565
|
+
400: { description: 'Bad Request' },
|
|
36566
|
+
401: { description: 'Unauthorized' },
|
|
36567
|
+
},
|
|
36568
|
+
security: [
|
|
36569
|
+
{ pat_with_workspace: [] },
|
|
36570
|
+
{ console_session_with_workspace: [] },
|
|
36571
|
+
{ api_key: [] },
|
|
36572
|
+
],
|
|
36573
|
+
summary: '/access_methods/assign_card',
|
|
36574
|
+
tags: [],
|
|
36575
|
+
'x-fern-sdk-group-name': ['access_methods'],
|
|
36576
|
+
'x-fern-sdk-method-name': 'assign_card',
|
|
36577
|
+
'x-fern-sdk-return-value': 'access_method',
|
|
36578
|
+
'x-response-key': 'access_method',
|
|
36579
|
+
'x-title': 'Assign a Card to an Access Method',
|
|
36580
|
+
},
|
|
36581
|
+
},
|
|
36522
36582
|
'/access_methods/delete': {
|
|
36523
36583
|
delete: {
|
|
36524
36584
|
description: 'Deletes an access method.',
|
|
@@ -37252,6 +37312,68 @@ const openapi = {
|
|
|
37252
37312
|
'x-title': 'List Access Methods',
|
|
37253
37313
|
},
|
|
37254
37314
|
},
|
|
37315
|
+
'/access_methods/unlock_door': {
|
|
37316
|
+
post: {
|
|
37317
|
+
description: 'Remotely unlocks a specified [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) using the cloud key credential associated with an access method. Returns an action attempt that tracks the progress of the unlock operation.',
|
|
37318
|
+
operationId: 'accessMethodsUnlockDoorPost',
|
|
37319
|
+
requestBody: {
|
|
37320
|
+
content: {
|
|
37321
|
+
'application/json': {
|
|
37322
|
+
schema: {
|
|
37323
|
+
properties: {
|
|
37324
|
+
access_method_id: {
|
|
37325
|
+
description: 'ID of the cloud_key `access_method` to use for the unlock operation.',
|
|
37326
|
+
format: 'uuid',
|
|
37327
|
+
type: 'string',
|
|
37328
|
+
},
|
|
37329
|
+
acs_entrance_id: {
|
|
37330
|
+
description: 'ID of the entrance to unlock.',
|
|
37331
|
+
format: 'uuid',
|
|
37332
|
+
type: 'string',
|
|
37333
|
+
},
|
|
37334
|
+
},
|
|
37335
|
+
required: ['access_method_id', 'acs_entrance_id'],
|
|
37336
|
+
type: 'object',
|
|
37337
|
+
},
|
|
37338
|
+
},
|
|
37339
|
+
},
|
|
37340
|
+
},
|
|
37341
|
+
responses: {
|
|
37342
|
+
200: {
|
|
37343
|
+
content: {
|
|
37344
|
+
'application/json': {
|
|
37345
|
+
schema: {
|
|
37346
|
+
properties: {
|
|
37347
|
+
action_attempt: {
|
|
37348
|
+
$ref: '#/components/schemas/action_attempt',
|
|
37349
|
+
},
|
|
37350
|
+
ok: { type: 'boolean' },
|
|
37351
|
+
},
|
|
37352
|
+
required: ['action_attempt', 'ok'],
|
|
37353
|
+
type: 'object',
|
|
37354
|
+
},
|
|
37355
|
+
},
|
|
37356
|
+
},
|
|
37357
|
+
description: 'OK',
|
|
37358
|
+
},
|
|
37359
|
+
400: { description: 'Bad Request' },
|
|
37360
|
+
401: { description: 'Unauthorized' },
|
|
37361
|
+
},
|
|
37362
|
+
security: [
|
|
37363
|
+
{ pat_with_workspace: [] },
|
|
37364
|
+
{ console_session_with_workspace: [] },
|
|
37365
|
+
{ api_key: [] },
|
|
37366
|
+
],
|
|
37367
|
+
summary: '/access_methods/unlock_door',
|
|
37368
|
+
tags: [],
|
|
37369
|
+
'x-action-attempt-type': 'UNLOCK_DOOR',
|
|
37370
|
+
'x-fern-sdk-group-name': ['access_methods'],
|
|
37371
|
+
'x-fern-sdk-method-name': 'unlock_door',
|
|
37372
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
37373
|
+
'x-response-key': 'action_attempt',
|
|
37374
|
+
'x-title': 'Unlock a Door with an Access Method',
|
|
37375
|
+
},
|
|
37376
|
+
},
|
|
37255
37377
|
'/access_methods/unmanaged/get': {
|
|
37256
37378
|
get: {
|
|
37257
37379
|
description: 'Gets an unmanaged access method (where is_managed = false).',
|