@seamapi/types 1.400.0 → 1.401.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.
@@ -9444,8 +9444,10 @@ export interface Routes {
9444
9444
  method: 'PATCH' | 'POST';
9445
9445
  queryParams: {};
9446
9446
  jsonBody: {
9447
- /** ID of the access system user to whom you want to assign a credential. */
9448
- acs_user_id: string;
9447
+ /** ID of the access system user to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_id. */
9448
+ acs_user_id?: string | undefined;
9449
+ /** ID of the user identity to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_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. */
9450
+ user_identity_id?: string | undefined;
9449
9451
  /** ID of the credential that you want to assign to an access system user. */
9450
9452
  acs_credential_id: string;
9451
9453
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.400.0",
3
+ "version": "1.401.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -21560,12 +21560,18 @@ export default {
21560
21560
  },
21561
21561
  acs_user_id: {
21562
21562
  description:
21563
- 'ID of the access system user to whom you want to assign a credential.',
21563
+ 'ID of the access system user to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_id.',
21564
+ format: 'uuid',
21565
+ type: 'string',
21566
+ },
21567
+ user_identity_id: {
21568
+ description:
21569
+ 'ID of the user identity to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_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.',
21564
21570
  format: 'uuid',
21565
21571
  type: 'string',
21566
21572
  },
21567
21573
  },
21568
- required: ['acs_user_id', 'acs_credential_id'],
21574
+ required: ['acs_credential_id'],
21569
21575
  type: 'object',
21570
21576
  },
21571
21577
  },
@@ -21620,12 +21626,18 @@ export default {
21620
21626
  },
21621
21627
  acs_user_id: {
21622
21628
  description:
21623
- 'ID of the access system user to whom you want to assign a credential.',
21629
+ 'ID of the access system user to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_id.',
21630
+ format: 'uuid',
21631
+ type: 'string',
21632
+ },
21633
+ user_identity_id: {
21634
+ description:
21635
+ 'ID of the user identity to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_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.',
21624
21636
  format: 'uuid',
21625
21637
  type: 'string',
21626
21638
  },
21627
21639
  },
21628
- required: ['acs_user_id', 'acs_credential_id'],
21640
+ required: ['acs_credential_id'],
21629
21641
  type: 'object',
21630
21642
  },
21631
21643
  },
@@ -10790,8 +10790,10 @@ export interface Routes {
10790
10790
  method: 'PATCH' | 'POST'
10791
10791
  queryParams: {}
10792
10792
  jsonBody: {
10793
- /** ID of the access system user to whom you want to assign a credential. */
10794
- acs_user_id: string
10793
+ /** ID of the access system user to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_id. */
10794
+ acs_user_id?: string | undefined
10795
+ /** ID of the user identity to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_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. */
10796
+ user_identity_id?: string | undefined
10795
10797
  /** ID of the credential that you want to assign to an access system user. */
10796
10798
  acs_credential_id: string
10797
10799
  }