@seamapi/types 1.399.1 → 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.
@@ -8898,8 +8898,10 @@ export interface Routes {
8898
8898
  commonParams: {
8899
8899
  /** ID of the access group to which you want to add an access system user. */
8900
8900
  acs_access_group_id: string;
8901
- /** ID of the access system user that you want to add to an access group. */
8902
- acs_user_id: string;
8901
+ /** ID of the access system user that you want to add to an access group. You can only provide one of acs_user_id or user_identity_id. */
8902
+ acs_user_id?: string | undefined;
8903
+ /** ID of the desired user identity that you want to add to an access group. 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 access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created. */
8904
+ user_identity_id?: string | undefined;
8903
8905
  };
8904
8906
  formData: {};
8905
8907
  jsonResponse: {};
@@ -9442,8 +9444,10 @@ export interface Routes {
9442
9444
  method: 'PATCH' | 'POST';
9443
9445
  queryParams: {};
9444
9446
  jsonBody: {
9445
- /** ID of the access system user to whom you want to assign a credential. */
9446
- 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;
9447
9451
  /** ID of the credential that you want to assign to an access system user. */
9448
9452
  acs_credential_id: string;
9449
9453
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.399.1",
3
+ "version": "1.401.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -20849,12 +20849,18 @@ export default {
20849
20849
  },
20850
20850
  acs_user_id: {
20851
20851
  description:
20852
- 'ID of the access system user that you want to add to an access group.',
20852
+ 'ID of the access system user that you want to add to an access group. You can only provide one of acs_user_id or user_identity_id.',
20853
+ format: 'uuid',
20854
+ type: 'string',
20855
+ },
20856
+ user_identity_id: {
20857
+ description:
20858
+ 'ID of the desired user identity that you want to add to an access group. 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 access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.',
20853
20859
  format: 'uuid',
20854
20860
  type: 'string',
20855
20861
  },
20856
20862
  },
20857
- required: ['acs_access_group_id', 'acs_user_id'],
20863
+ required: ['acs_access_group_id'],
20858
20864
  type: 'object',
20859
20865
  },
20860
20866
  },
@@ -20905,12 +20911,18 @@ export default {
20905
20911
  },
20906
20912
  acs_user_id: {
20907
20913
  description:
20908
- 'ID of the access system user that you want to add to an access group.',
20914
+ 'ID of the access system user that you want to add to an access group. You can only provide one of acs_user_id or user_identity_id.',
20915
+ format: 'uuid',
20916
+ type: 'string',
20917
+ },
20918
+ user_identity_id: {
20919
+ description:
20920
+ 'ID of the desired user identity that you want to add to an access group. 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 access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.',
20909
20921
  format: 'uuid',
20910
20922
  type: 'string',
20911
20923
  },
20912
20924
  },
20913
- required: ['acs_access_group_id', 'acs_user_id'],
20925
+ required: ['acs_access_group_id'],
20914
20926
  type: 'object',
20915
20927
  },
20916
20928
  },
@@ -21548,12 +21560,18 @@ export default {
21548
21560
  },
21549
21561
  acs_user_id: {
21550
21562
  description:
21551
- '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.',
21552
21570
  format: 'uuid',
21553
21571
  type: 'string',
21554
21572
  },
21555
21573
  },
21556
- required: ['acs_user_id', 'acs_credential_id'],
21574
+ required: ['acs_credential_id'],
21557
21575
  type: 'object',
21558
21576
  },
21559
21577
  },
@@ -21608,12 +21626,18 @@ export default {
21608
21626
  },
21609
21627
  acs_user_id: {
21610
21628
  description:
21611
- '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.',
21612
21636
  format: 'uuid',
21613
21637
  type: 'string',
21614
21638
  },
21615
21639
  },
21616
- required: ['acs_user_id', 'acs_credential_id'],
21640
+ required: ['acs_credential_id'],
21617
21641
  type: 'object',
21618
21642
  },
21619
21643
  },
@@ -10140,8 +10140,10 @@ export interface Routes {
10140
10140
  commonParams: {
10141
10141
  /** ID of the access group to which you want to add an access system user. */
10142
10142
  acs_access_group_id: string
10143
- /** ID of the access system user that you want to add to an access group. */
10144
- acs_user_id: string
10143
+ /** ID of the access system user that you want to add to an access group. You can only provide one of acs_user_id or user_identity_id. */
10144
+ acs_user_id?: string | undefined
10145
+ /** ID of the desired user identity that you want to add to an access group. 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 access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created. */
10146
+ user_identity_id?: string | undefined
10145
10147
  }
10146
10148
  formData: {}
10147
10149
  jsonResponse: {}
@@ -10788,8 +10790,10 @@ export interface Routes {
10788
10790
  method: 'PATCH' | 'POST'
10789
10791
  queryParams: {}
10790
10792
  jsonBody: {
10791
- /** ID of the access system user to whom you want to assign a credential. */
10792
- 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
10793
10797
  /** ID of the credential that you want to assign to an access system user. */
10794
10798
  acs_credential_id: string
10795
10799
  }