@seamapi/types 1.398.0 → 1.399.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.
@@ -9485,8 +9485,12 @@ export interface Routes {
9485
9485
  commonParams: {
9486
9486
  /** ACS system ID of the credential manager for the new credential. */
9487
9487
  credential_manager_acs_system_id?: string | undefined;
9488
- /** ID of the ACS user to whom the new credential belongs. */
9489
- acs_user_id: string;
9488
+ /** ID of the ACS user to whom the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`. */
9489
+ acs_user_id?: string | undefined;
9490
+ /** ID of the user identity to whom the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`. If the ACS system contains an ACS user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the credential belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created. */
9491
+ user_identity_id?: string | undefined;
9492
+ /** ID of the ACS system to which the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`. */
9493
+ acs_system_id?: string | undefined;
9490
9494
  /** Access method for the new credential. Supported values: `code`, `card`, `mobile_key`. */
9491
9495
  access_method: 'code' | 'card' | 'mobile_key';
9492
9496
  /** Access (PIN) code for the new credential. There may be manufacturer-specific code restrictions. For details, see the applicable [device or system integration guide](https://docs.seam.co/latest/device-and-system-integration-guides/overview). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.398.0",
3
+ "version": "1.399.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -21588,9 +21588,15 @@ export default {
21588
21588
  enum: ['code', 'card', 'mobile_key'],
21589
21589
  type: 'string',
21590
21590
  },
21591
+ acs_system_id: {
21592
+ description:
21593
+ 'ID of the ACS system to which the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`.',
21594
+ format: 'uuid',
21595
+ type: 'string',
21596
+ },
21591
21597
  acs_user_id: {
21592
21598
  description:
21593
- 'ID of the ACS user to whom the new credential belongs.',
21599
+ 'ID of the ACS user to whom the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`.',
21594
21600
  format: 'uuid',
21595
21601
  type: 'string',
21596
21602
  },
@@ -21654,6 +21660,12 @@ export default {
21654
21660
  format: 'date-time',
21655
21661
  type: 'string',
21656
21662
  },
21663
+ user_identity_id: {
21664
+ description:
21665
+ 'ID of the user identity to whom the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`. If the ACS system contains an ACS user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the credential belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.',
21666
+ format: 'uuid',
21667
+ type: 'string',
21668
+ },
21657
21669
  visionline_metadata: {
21658
21670
  description:
21659
21671
  'Visionline-specific metadata for the new credential.',
@@ -21692,7 +21704,7 @@ export default {
21692
21704
  type: 'object',
21693
21705
  },
21694
21706
  },
21695
- required: ['acs_user_id', 'access_method'],
21707
+ required: ['access_method'],
21696
21708
  type: 'object',
21697
21709
  },
21698
21710
  },
@@ -10857,8 +10857,12 @@ export interface Routes {
10857
10857
  commonParams: {
10858
10858
  /** ACS system ID of the credential manager for the new credential. */
10859
10859
  credential_manager_acs_system_id?: string | undefined
10860
- /** ID of the ACS user to whom the new credential belongs. */
10861
- acs_user_id: string
10860
+ /** ID of the ACS user to whom the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`. */
10861
+ acs_user_id?: string | undefined
10862
+ /** ID of the user identity to whom the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`. If the ACS system contains an ACS user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the credential belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created. */
10863
+ user_identity_id?: string | undefined
10864
+ /** ID of the ACS system to which the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`. */
10865
+ acs_system_id?: string | undefined
10862
10866
  /** Access method for the new credential. Supported values: `code`, `card`, `mobile_key`. */
10863
10867
  access_method: 'code' | 'card' | 'mobile_key'
10864
10868
  /** Access (PIN) code for the new credential. There may be manufacturer-specific code restrictions. For details, see the applicable [device or system integration guide](https://docs.seam.co/latest/device-and-system-integration-guides/overview). */