@seamapi/types 1.884.0 → 1.886.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.
@@ -3,7 +3,7 @@ import { access_method } from '../access-grants/access-method.js';
3
3
  import { common_action_attempt_errors, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
4
4
  const action_type = z
5
5
  .literal('ASSIGN_CREDENTIAL')
6
- .describe('Action attempt to track the status of assigning an existing credential to an access method.');
6
+ .describe('Action attempt to track the status of assigning a pre-registered card credential to an access method.');
7
7
  const credential_not_found_error = z
8
8
  .object({
9
9
  type: z
@@ -18,7 +18,7 @@ const error = z.union([
18
18
  ...common_action_attempt_errors,
19
19
  credential_not_found_error,
20
20
  ]);
21
- const result = access_method.describe('Result of an assignment attempt. If the attempt was successful, includes the updated access method with the assigned credential.');
21
+ const result = access_method.describe('Result of assigning a credential. If successful, includes the updated access method with the assigned credential.');
22
22
  export const assign_credential_action_attempt = z.discriminatedUnion('status', [
23
23
  common_pending_action_attempt
24
24
  .extend({
@@ -1 +1 @@
1
- {"version":3,"file":"assign-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/assign-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAA;AACjE,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,mBAAmB,CAAC;KAC5B,QAAQ,CACP,6FAA6F,CAC9F,CAAA;AAEH,MAAM,0BAA0B,GAAG,CAAC;KACjC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,sBAAsB,CAAC;SAC/B,QAAQ,CACP,+DAA+D,CAChE;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,0DAA0D,CAAC,CAAA;AAEvE,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;IACpB,GAAG,4BAA4B;IAC/B,0BAA0B;CAC3B,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,aAAa,CAAC,QAAQ,CACnC,kIAAkI,CACnI,CAAA;AAED,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC7E,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,wDAAwD,CAAC;IACrE,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,uDAAuD,CAAC;IACpE,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,oDAAoD,CAAC;CAClE,CAAC,CAAA"}
1
+ {"version":3,"file":"assign-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/assign-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAA;AACjE,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,mBAAmB,CAAC;KAC5B,QAAQ,CACP,uGAAuG,CACxG,CAAA;AAEH,MAAM,0BAA0B,GAAG,CAAC;KACjC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,sBAAsB,CAAC;SAC/B,QAAQ,CACP,+DAA+D,CAChE;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,0DAA0D,CAAC,CAAA;AAEvE,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;IACpB,GAAG,4BAA4B;IAC/B,0BAA0B;CAC3B,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,aAAa,CAAC,QAAQ,CACnC,mHAAmH,CACpH,CAAA;AAED,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC7E,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,wDAAwD,CAAC;IACrE,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,uDAAuD,CAAC;IACpE,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,oDAAoD,CAAC;CAClE,CAAC,CAAA"}
@@ -8403,7 +8403,7 @@ const openapi = {
8403
8403
  type: 'string',
8404
8404
  },
8405
8405
  action_type: {
8406
- description: 'Action attempt to track the status of assigning an existing credential to an access method.',
8406
+ description: 'Action attempt to track the status of assigning a pre-registered card credential to an access method.',
8407
8407
  enum: ['ASSIGN_CREDENTIAL'],
8408
8408
  type: 'string',
8409
8409
  },
@@ -8435,7 +8435,7 @@ const openapi = {
8435
8435
  type: 'string',
8436
8436
  },
8437
8437
  action_type: {
8438
- description: 'Action attempt to track the status of assigning an existing credential to an access method.',
8438
+ description: 'Action attempt to track the status of assigning a pre-registered card credential to an access method.',
8439
8439
  enum: ['ASSIGN_CREDENTIAL'],
8440
8440
  type: 'string',
8441
8441
  },
@@ -8444,7 +8444,7 @@ const openapi = {
8444
8444
  nullable: true,
8445
8445
  },
8446
8446
  result: {
8447
- description: 'Result of an assignment attempt. If the attempt was successful, includes the updated access method with the assigned credential.',
8447
+ description: 'Result of assigning a credential. If successful, includes the updated access method with the assigned credential.',
8448
8448
  properties: {
8449
8449
  access_method_id: {
8450
8450
  description: 'ID of the access method.',
@@ -8803,7 +8803,7 @@ const openapi = {
8803
8803
  type: 'string',
8804
8804
  },
8805
8805
  action_type: {
8806
- description: 'Action attempt to track the status of assigning an existing credential to an access method.',
8806
+ description: 'Action attempt to track the status of assigning a pre-registered card credential to an access method.',
8807
8807
  enum: ['ASSIGN_CREDENTIAL'],
8808
8808
  type: 'string',
8809
8809
  },
@@ -37054,7 +37054,7 @@ const openapi = {
37054
37054
  },
37055
37055
  '/access_methods/assign_card': {
37056
37056
  post: {
37057
- description: '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.',
37057
+ description: '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.',
37058
37058
  operationId: 'accessMethodsAssignCardPost',
37059
37059
  requestBody: {
37060
37060
  content: {