@seamapi/types 1.875.0 → 1.876.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.
@@ -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.',