@seamapi/types 1.876.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.876.0",
3
+ "version": "1.877.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -41511,6 +41511,70 @@ const openapi: OpenAPISpec = {
41511
41511
  'x-title': 'List Access Methods',
41512
41512
  },
41513
41513
  },
41514
+ '/access_methods/unlock_door': {
41515
+ post: {
41516
+ description:
41517
+ '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.',
41518
+ operationId: 'accessMethodsUnlockDoorPost',
41519
+ requestBody: {
41520
+ content: {
41521
+ 'application/json': {
41522
+ schema: {
41523
+ properties: {
41524
+ access_method_id: {
41525
+ description:
41526
+ 'ID of the cloud_key `access_method` to use for the unlock operation.',
41527
+ format: 'uuid',
41528
+ type: 'string',
41529
+ },
41530
+ acs_entrance_id: {
41531
+ description: 'ID of the entrance to unlock.',
41532
+ format: 'uuid',
41533
+ type: 'string',
41534
+ },
41535
+ },
41536
+ required: ['access_method_id', 'acs_entrance_id'],
41537
+ type: 'object',
41538
+ },
41539
+ },
41540
+ },
41541
+ },
41542
+ responses: {
41543
+ 200: {
41544
+ content: {
41545
+ 'application/json': {
41546
+ schema: {
41547
+ properties: {
41548
+ action_attempt: {
41549
+ $ref: '#/components/schemas/action_attempt',
41550
+ },
41551
+ ok: { type: 'boolean' },
41552
+ },
41553
+ required: ['action_attempt', 'ok'],
41554
+ type: 'object',
41555
+ },
41556
+ },
41557
+ },
41558
+ description: 'OK',
41559
+ },
41560
+ 400: { description: 'Bad Request' },
41561
+ 401: { description: 'Unauthorized' },
41562
+ },
41563
+ security: [
41564
+ { pat_with_workspace: [] },
41565
+ { console_session_with_workspace: [] },
41566
+ { api_key: [] },
41567
+ ],
41568
+ summary: '/access_methods/unlock_door',
41569
+ tags: [],
41570
+ 'x-action-attempt-type': 'UNLOCK_DOOR',
41571
+ 'x-fern-sdk-group-name': ['access_methods'],
41572
+ 'x-fern-sdk-method-name': 'unlock_door',
41573
+ 'x-fern-sdk-return-value': 'action_attempt',
41574
+ 'x-response-key': 'action_attempt',
41575
+ 'x-title': 'Unlock a Door with an Access Method',
41576
+ },
41577
+ },
41514
41578
  '/access_methods/unmanaged/get': {
41515
41579
  get: {
41516
41580
  description: