@seamapi/types 1.876.0 → 1.877.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 +62 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1516 -0
- package/dist/index.cjs +62 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.js +62 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1516 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +64 -0
- package/src/lib/seam/connect/route-types.ts +1768 -0
|
@@ -37312,6 +37312,68 @@ const openapi = {
|
|
|
37312
37312
|
'x-title': 'List Access Methods',
|
|
37313
37313
|
},
|
|
37314
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
|
+
},
|
|
37315
37377
|
'/access_methods/unmanaged/get': {
|
|
37316
37378
|
get: {
|
|
37317
37379
|
description: 'Gets an unmanaged access method (where is_managed = false).',
|