@seamapi/types 1.884.0 → 1.885.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.884.0",
3
+ "version": "1.885.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -11,7 +11,7 @@ import {
11
11
  const action_type = z
12
12
  .literal('ASSIGN_CREDENTIAL')
13
13
  .describe(
14
- 'Action attempt to track the status of assigning an existing credential to an access method.',
14
+ 'Action attempt to track the status of assigning a pre-registered card credential to an access method.',
15
15
  )
16
16
 
17
17
  const credential_not_found_error = z
@@ -35,7 +35,7 @@ const error = z.union([
35
35
  ])
36
36
 
37
37
  const result = access_method.describe(
38
- 'Result of an assignment attempt. If the attempt was successful, includes the updated access method with the assigned credential.',
38
+ 'Result of assigning a credential. If successful, includes the updated access method with the assigned credential.',
39
39
  )
40
40
 
41
41
  export const assign_credential_action_attempt = z.discriminatedUnion('status', [
@@ -9609,7 +9609,7 @@ const openapi: OpenAPISpec = {
9609
9609
  },
9610
9610
  action_type: {
9611
9611
  description:
9612
- 'Action attempt to track the status of assigning an existing credential to an access method.',
9612
+ 'Action attempt to track the status of assigning a pre-registered card credential to an access method.',
9613
9613
  enum: ['ASSIGN_CREDENTIAL'],
9614
9614
  type: 'string',
9615
9615
  },
@@ -9645,7 +9645,7 @@ const openapi: OpenAPISpec = {
9645
9645
  },
9646
9646
  action_type: {
9647
9647
  description:
9648
- 'Action attempt to track the status of assigning an existing credential to an access method.',
9648
+ 'Action attempt to track the status of assigning a pre-registered card credential to an access method.',
9649
9649
  enum: ['ASSIGN_CREDENTIAL'],
9650
9650
  type: 'string',
9651
9651
  },
@@ -9656,7 +9656,7 @@ const openapi: OpenAPISpec = {
9656
9656
  },
9657
9657
  result: {
9658
9658
  description:
9659
- 'Result of an assignment attempt. If the attempt was successful, includes the updated access method with the assigned credential.',
9659
+ 'Result of assigning a credential. If successful, includes the updated access method with the assigned credential.',
9660
9660
  properties: {
9661
9661
  access_method_id: {
9662
9662
  description: 'ID of the access method.',
@@ -10062,7 +10062,7 @@ const openapi: OpenAPISpec = {
10062
10062
  },
10063
10063
  action_type: {
10064
10064
  description:
10065
- 'Action attempt to track the status of assigning an existing credential to an access method.',
10065
+ 'Action attempt to track the status of assigning a pre-registered card credential to an access method.',
10066
10066
  enum: ['ASSIGN_CREDENTIAL'],
10067
10067
  type: 'string',
10068
10068
  },
@@ -41304,7 +41304,7 @@ const openapi: OpenAPISpec = {
41304
41304
  '/access_methods/assign_card': {
41305
41305
  post: {
41306
41306
  description:
41307
- 'Assigns a pre-registered card credential to a card-mode access method, identified by `card_number`. Use this endpoint for access systems that use pre-registered cards, where a physical card must be associated with an access method before it can be issued.',
41307
+ 'Assigns a pre-registered card credential, identified by `card_number`, to a card-mode access method. Use this endpoint for access systems that use pre-registered cards, where a physical card must be associated with an access method before it can be used for access. Assigning a card credential also triggers issuance of the access method.',
41308
41308
  operationId: 'accessMethodsAssignCardPost',
41309
41309
  requestBody: {
41310
41310
  content: {