@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.875.0",
3
+ "version": "1.877.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -40694,6 +40694,69 @@ const openapi: OpenAPISpec = {
40694
40694
  'x-title': 'Update an Access Grant',
40695
40695
  },
40696
40696
  },
40697
+ '/access_methods/assign_card': {
40698
+ post: {
40699
+ description:
40700
+ 'Assigns an existing card credential to a card-mode access method, identified by `card_number`.',
40701
+ operationId: 'accessMethodsAssignCardPost',
40702
+ requestBody: {
40703
+ content: {
40704
+ 'application/json': {
40705
+ schema: {
40706
+ properties: {
40707
+ access_method_id: {
40708
+ description:
40709
+ 'ID of the card-mode `access_method` to assign the card to.',
40710
+ format: 'uuid',
40711
+ type: 'string',
40712
+ },
40713
+ card_number: {
40714
+ description:
40715
+ 'Card number of the card credential to assign.',
40716
+ type: 'string',
40717
+ },
40718
+ },
40719
+ required: ['access_method_id', 'card_number'],
40720
+ type: 'object',
40721
+ },
40722
+ },
40723
+ },
40724
+ },
40725
+ responses: {
40726
+ 200: {
40727
+ content: {
40728
+ 'application/json': {
40729
+ schema: {
40730
+ properties: {
40731
+ access_method: {
40732
+ $ref: '#/components/schemas/access_method',
40733
+ },
40734
+ ok: { type: 'boolean' },
40735
+ },
40736
+ required: ['access_method', 'ok'],
40737
+ type: 'object',
40738
+ },
40739
+ },
40740
+ },
40741
+ description: 'OK',
40742
+ },
40743
+ 400: { description: 'Bad Request' },
40744
+ 401: { description: 'Unauthorized' },
40745
+ },
40746
+ security: [
40747
+ { pat_with_workspace: [] },
40748
+ { console_session_with_workspace: [] },
40749
+ { api_key: [] },
40750
+ ],
40751
+ summary: '/access_methods/assign_card',
40752
+ tags: [],
40753
+ 'x-fern-sdk-group-name': ['access_methods'],
40754
+ 'x-fern-sdk-method-name': 'assign_card',
40755
+ 'x-fern-sdk-return-value': 'access_method',
40756
+ 'x-response-key': 'access_method',
40757
+ 'x-title': 'Assign a Card to an Access Method',
40758
+ },
40759
+ },
40697
40760
  '/access_methods/delete': {
40698
40761
  delete: {
40699
40762
  description: 'Deletes an access method.',
@@ -41448,6 +41511,70 @@ const openapi: OpenAPISpec = {
41448
41511
  'x-title': 'List Access Methods',
41449
41512
  },
41450
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
+ },
41451
41578
  '/access_methods/unmanaged/get': {
41452
41579
  get: {
41453
41580
  description: