@seamapi/types 1.397.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.
@@ -9197,7 +9197,9 @@ export interface Routes {
9197
9197
  /** ID of the desired access group. */
9198
9198
  acs_access_group_id: string;
9199
9199
  /** ID of the desired user. */
9200
- acs_user_id: string;
9200
+ acs_user_id?: string | undefined;
9201
+ /** ID of the desired user identity. */
9202
+ user_identity_id?: string | undefined;
9201
9203
  };
9202
9204
  formData: {};
9203
9205
  jsonResponse: {};
@@ -9483,8 +9485,12 @@ export interface Routes {
9483
9485
  commonParams: {
9484
9486
  /** ACS system ID of the credential manager for the new credential. */
9485
9487
  credential_manager_acs_system_id?: string | undefined;
9486
- /** ID of the ACS user to whom the new credential belongs. */
9487
- 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;
9488
9494
  /** Access method for the new credential. Supported values: `code`, `card`, `mobile_key`. */
9489
9495
  access_method: 'code' | 'card' | 'mobile_key';
9490
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.397.0",
3
+ "version": "1.399.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -21165,8 +21165,13 @@ export default {
21165
21165
  format: 'uuid',
21166
21166
  type: 'string',
21167
21167
  },
21168
+ user_identity_id: {
21169
+ description: 'ID of the desired user identity.',
21170
+ format: 'uuid',
21171
+ type: 'string',
21172
+ },
21168
21173
  },
21169
- required: ['acs_access_group_id', 'acs_user_id'],
21174
+ required: ['acs_access_group_id'],
21170
21175
  type: 'object',
21171
21176
  },
21172
21177
  },
@@ -21583,9 +21588,15 @@ export default {
21583
21588
  enum: ['code', 'card', 'mobile_key'],
21584
21589
  type: 'string',
21585
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
+ },
21586
21597
  acs_user_id: {
21587
21598
  description:
21588
- '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`.',
21589
21600
  format: 'uuid',
21590
21601
  type: 'string',
21591
21602
  },
@@ -21649,6 +21660,12 @@ export default {
21649
21660
  format: 'date-time',
21650
21661
  type: 'string',
21651
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
+ },
21652
21669
  visionline_metadata: {
21653
21670
  description:
21654
21671
  'Visionline-specific metadata for the new credential.',
@@ -21687,7 +21704,7 @@ export default {
21687
21704
  type: 'object',
21688
21705
  },
21689
21706
  },
21690
- required: ['acs_user_id', 'access_method'],
21707
+ required: ['access_method'],
21691
21708
  type: 'object',
21692
21709
  },
21693
21710
  },
@@ -10519,7 +10519,9 @@ export interface Routes {
10519
10519
  /** ID of the desired access group. */
10520
10520
  acs_access_group_id: string
10521
10521
  /** ID of the desired user. */
10522
- acs_user_id: string
10522
+ acs_user_id?: string | undefined
10523
+ /** ID of the desired user identity. */
10524
+ user_identity_id?: string | undefined
10523
10525
  }
10524
10526
  formData: {}
10525
10527
  jsonResponse: {}
@@ -10855,8 +10857,12 @@ export interface Routes {
10855
10857
  commonParams: {
10856
10858
  /** ACS system ID of the credential manager for the new credential. */
10857
10859
  credential_manager_acs_system_id?: string | undefined
10858
- /** ID of the ACS user to whom the new credential belongs. */
10859
- 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
10860
10866
  /** Access method for the new credential. Supported values: `code`, `card`, `mobile_key`. */
10861
10867
  access_method: 'code' | 'card' | 'mobile_key'
10862
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). */