@seamapi/types 1.412.0 → 1.414.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.
@@ -14732,6 +14732,10 @@ export interface Routes {
14732
14732
  location_id?: (string | null) | undefined;
14733
14733
  /** ID of the space for which you want to list entrances. */
14734
14734
  space_id?: string | undefined;
14735
+ /** ID of the access grant for which you want to retrieve all entrances. */
14736
+ access_grant_id?: string | undefined;
14737
+ /** ID of the access method for which you want to retrieve all entrances. */
14738
+ access_method_id?: string | undefined;
14735
14739
  };
14736
14740
  formData: {};
14737
14741
  jsonResponse: {
@@ -18870,8 +18874,11 @@ export interface Routes {
18870
18874
  connect_webview_ids?: string[] | undefined;
18871
18875
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) for which you want to create a client session. */
18872
18876
  connected_account_ids?: string[] | undefined;
18873
- /** IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to create a client session. */
18877
+ /** IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.
18878
+ * @deprecated Use `user_identity_id`. */
18874
18879
  user_identity_ids?: string[] | undefined;
18880
+ /** ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to create a client session. */
18881
+ user_identity_id?: string | undefined;
18875
18882
  /** Date and time at which the client session should expire, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
18876
18883
  expires_at?: Date | undefined;
18877
18884
  };
@@ -18898,7 +18905,9 @@ export interface Routes {
18898
18905
  customer_id?: string | undefined;
18899
18906
  connected_account_ids: string[];
18900
18907
  connect_webview_ids: string[];
18908
+ /** deprecated: Use `user_identity_id`. */
18901
18909
  user_identity_ids: string[];
18910
+ user_identity_id?: string | undefined;
18902
18911
  };
18903
18912
  };
18904
18913
  };
@@ -18947,7 +18956,9 @@ export interface Routes {
18947
18956
  customer_id?: string | undefined;
18948
18957
  connected_account_ids: string[];
18949
18958
  connect_webview_ids: string[];
18959
+ /** deprecated: Use `user_identity_id`. */
18950
18960
  user_identity_ids: string[];
18961
+ user_identity_id?: string | undefined;
18951
18962
  };
18952
18963
  };
18953
18964
  };
@@ -18962,8 +18973,11 @@ export interface Routes {
18962
18973
  connect_webview_ids?: string[] | undefined;
18963
18974
  /** IDs of the [connected accounts](https://docs.seam.co/latest/api/connected_accounts) that you want to associate with the client session (or that are already associated with the existing client session). */
18964
18975
  connected_account_ids?: string[] | undefined;
18965
- /** IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session (or that are already associated with the existing client session). */
18976
+ /** IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.
18977
+ * @deprecated Use `user_identity_id`. */
18966
18978
  user_identity_ids?: string[] | undefined;
18979
+ /** ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session (or that are already associated with the existing client session). */
18980
+ user_identity_id?: string | undefined;
18967
18981
  /** Date and time at which the client session should expire (or at which the existing client session expires), in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
18968
18982
  expires_at?: Date | undefined;
18969
18983
  };
@@ -18990,7 +19004,9 @@ export interface Routes {
18990
19004
  customer_id?: string | undefined;
18991
19005
  connected_account_ids: string[];
18992
19006
  connect_webview_ids: string[];
19007
+ /** deprecated: Use `user_identity_id`. */
18993
19008
  user_identity_ids: string[];
19009
+ user_identity_id?: string | undefined;
18994
19010
  };
18995
19011
  };
18996
19012
  };
@@ -19008,8 +19024,11 @@ export interface Routes {
19008
19024
  connected_account_ids?: string[] | undefined;
19009
19025
  /** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) that you want to associate with the client session. */
19010
19026
  connect_webview_ids?: string[] | undefined;
19011
- /** IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session. */
19027
+ /** IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.
19028
+ * @deprecated Use `user_identity_id`. */
19012
19029
  user_identity_ids?: string[] | undefined;
19030
+ /** ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session. */
19031
+ user_identity_id?: string | undefined;
19013
19032
  };
19014
19033
  formData: {};
19015
19034
  jsonResponse: {
@@ -19033,7 +19052,9 @@ export interface Routes {
19033
19052
  customer_id?: string | undefined;
19034
19053
  connected_account_ids: string[];
19035
19054
  connect_webview_ids: string[];
19055
+ /** deprecated: Use `user_identity_id`. */
19036
19056
  user_identity_ids: string[];
19057
+ user_identity_id?: string | undefined;
19037
19058
  };
19038
19059
  };
19039
19060
  };
@@ -19067,7 +19088,9 @@ export interface Routes {
19067
19088
  customer_id?: string | undefined;
19068
19089
  connected_account_ids: string[];
19069
19090
  connect_webview_ids: string[];
19091
+ /** deprecated: Use `user_identity_id`. */
19070
19092
  user_identity_ids: string[];
19093
+ user_identity_id?: string | undefined;
19071
19094
  }>;
19072
19095
  };
19073
19096
  };
@@ -41698,7 +41721,9 @@ export interface Routes {
41698
41721
  customer_id?: string | undefined;
41699
41722
  connected_account_ids: string[];
41700
41723
  connect_webview_ids: string[];
41724
+ /** deprecated: Use `user_identity_id`. */
41701
41725
  user_identity_ids: string[];
41726
+ user_identity_id?: string | undefined;
41702
41727
  };
41703
41728
  };
41704
41729
  };
@@ -41855,8 +41880,6 @@ export interface Routes {
41855
41880
  is_being_activated: boolean;
41856
41881
  };
41857
41882
  acs_credentials: Array<{
41858
- /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
41859
- acs_credential_id: string;
41860
41883
  /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
41861
41884
  acs_user_id?: string | undefined;
41862
41885
  acs_credential_pool_id?: string | undefined;
@@ -41966,6 +41989,7 @@ export interface Routes {
41966
41989
  endpoint_id?: string | undefined;
41967
41990
  } | undefined;
41968
41991
  is_managed: true;
41992
+ acs_credential_id?: string | undefined;
41969
41993
  acs_entrances: Array<{
41970
41994
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
41971
41995
  acs_system_id: string;
@@ -57153,6 +57177,22 @@ export interface Routes {
57153
57177
  created_at: string;
57154
57178
  /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity. */
57155
57179
  workspace_id: string;
57180
+ /** Array of errors associated with the user identity. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
57181
+ errors: Array<{
57182
+ /** Date and time at which Seam created the error. */
57183
+ created_at: string;
57184
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
57185
+ message: string;
57186
+ }>;
57187
+ /** Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
57188
+ warnings: Array<{
57189
+ /** Date and time at which Seam created the warning. */
57190
+ created_at: string;
57191
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
57192
+ message: string;
57193
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
57194
+ warning_code: 'being_deleted';
57195
+ }>;
57156
57196
  };
57157
57197
  };
57158
57198
  };
@@ -57314,6 +57354,22 @@ export interface Routes {
57314
57354
  created_at: string;
57315
57355
  /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity. */
57316
57356
  workspace_id: string;
57357
+ /** Array of errors associated with the user identity. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
57358
+ errors: Array<{
57359
+ /** Date and time at which Seam created the error. */
57360
+ created_at: string;
57361
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
57362
+ message: string;
57363
+ }>;
57364
+ /** Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
57365
+ warnings: Array<{
57366
+ /** Date and time at which Seam created the warning. */
57367
+ created_at: string;
57368
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
57369
+ message: string;
57370
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
57371
+ warning_code: 'being_deleted';
57372
+ }>;
57317
57373
  };
57318
57374
  };
57319
57375
  };
@@ -57357,6 +57413,22 @@ export interface Routes {
57357
57413
  created_at: string;
57358
57414
  /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity. */
57359
57415
  workspace_id: string;
57416
+ /** Array of errors associated with the user identity. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
57417
+ errors: Array<{
57418
+ /** Date and time at which Seam created the error. */
57419
+ created_at: string;
57420
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
57421
+ message: string;
57422
+ }>;
57423
+ /** Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
57424
+ warnings: Array<{
57425
+ /** Date and time at which Seam created the warning. */
57426
+ created_at: string;
57427
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
57428
+ message: string;
57429
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
57430
+ warning_code: 'being_deleted';
57431
+ }>;
57360
57432
  }>;
57361
57433
  };
57362
57434
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.412.0",
3
+ "version": "1.414.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -11,7 +11,10 @@ export const client_session = z.object({
11
11
  customer_id: z.string().uuid().optional(),
12
12
  connected_account_ids: z.array(z.string().uuid()),
13
13
  connect_webview_ids: z.array(z.string().uuid()),
14
- user_identity_ids: z.array(z.string().uuid()),
14
+ user_identity_ids: z
15
+ .array(z.string().uuid())
16
+ .describe('deprecated: Use `user_identity_id`.'),
17
+ user_identity_id: z.string().uuid().optional(),
15
18
  }).describe(`
16
19
  ---
17
20
  route_path: /client_sessions
@@ -7,7 +7,11 @@ import { phone_registration } from './phone-registration.js'
7
7
  const phone_provider_session = z.object({
8
8
  phone_registration,
9
9
  acs_credentials: acs_credential
10
+ .omit({
11
+ acs_credential_id: true,
12
+ })
10
13
  .extend({
14
+ acs_credential_id: z.string().optional(),
11
15
  acs_entrances: acs_entrance.array(),
12
16
  })
13
17
  .array(),
@@ -2,6 +2,56 @@ import { z } from 'zod'
2
2
 
3
3
  import { phone_number } from '../phone-number.js'
4
4
 
5
+ const common_user_identity_error = z.object({
6
+ created_at: z
7
+ .string()
8
+ .datetime()
9
+ .describe('Date and time at which Seam created the error.'),
10
+ message: z
11
+ .string()
12
+ .describe(
13
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
14
+ ),
15
+ })
16
+
17
+ const common_user_identity_warning = z.object({
18
+ created_at: z
19
+ .string()
20
+ .datetime()
21
+ .describe('Date and time at which Seam created the warning.'),
22
+ message: z
23
+ .string()
24
+ .describe(
25
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
26
+ ),
27
+ })
28
+
29
+ const user_identity_being_deleted = common_user_identity_warning
30
+ .extend({
31
+ warning_code: z
32
+ .literal('being_deleted')
33
+ .describe(
34
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
35
+ ),
36
+ })
37
+ .describe('Indicates that the user identity is currently being deleted.')
38
+
39
+ export const user_identity_error_map = z.object({})
40
+
41
+ export type UserIdentityErrorMap = z.infer<typeof user_identity_error_map>
42
+
43
+ const user_identity_warnings = z
44
+ .discriminatedUnion('warning_code', [user_identity_being_deleted])
45
+ .describe('Warnings associated with the user identity.')
46
+
47
+ export const user_identity_warning_map = z.object({
48
+ user_identity_being_deleted: user_identity_being_deleted
49
+ .optional()
50
+ .nullable(),
51
+ })
52
+
53
+ export type UserIdentityWarningMap = z.infer<typeof user_identity_warning_map>
54
+
5
55
  export const user_identity = z.object({
6
56
  user_identity_id: z.string().uuid().describe('ID of the user identity.'),
7
57
  user_identity_key: z
@@ -31,6 +81,16 @@ export const user_identity = z.object({
31
81
  .describe(
32
82
  'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity.',
33
83
  ),
84
+ errors: z
85
+ .array(common_user_identity_error)
86
+ .describe(
87
+ 'Array of errors associated with the user identity. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.',
88
+ ),
89
+ warnings: z
90
+ .array(user_identity_warnings)
91
+ .describe(
92
+ 'Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.',
93
+ ),
34
94
  }).describe(`
35
95
  ---
36
96
  route_path: /user_identities
@@ -7337,7 +7337,9 @@ export default {
7337
7337
  expires_at: { format: 'date-time', type: 'string' },
7338
7338
  token: { type: 'string' },
7339
7339
  user_identifier_key: { nullable: true, type: 'string' },
7340
+ user_identity_id: { format: 'uuid', type: 'string' },
7340
7341
  user_identity_ids: {
7342
+ description: 'deprecated: Use `user_identity_id`.',
7341
7343
  items: { format: 'uuid', type: 'string' },
7342
7344
  type: 'array',
7343
7345
  },
@@ -16432,12 +16434,7 @@ export default {
16432
16434
  enum: ['code', 'card', 'mobile_key'],
16433
16435
  type: 'string',
16434
16436
  },
16435
- acs_credential_id: {
16436
- description:
16437
- 'ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
16438
- format: 'uuid',
16439
- type: 'string',
16440
- },
16437
+ acs_credential_id: { type: 'string' },
16441
16438
  acs_credential_pool_id: {
16442
16439
  format: 'uuid',
16443
16440
  type: 'string',
@@ -16986,7 +16983,6 @@ export default {
16986
16983
  },
16987
16984
  },
16988
16985
  required: [
16989
- 'acs_credential_id',
16990
16986
  'acs_system_id',
16991
16987
  'display_name',
16992
16988
  'access_method',
@@ -20819,6 +20815,27 @@ export default {
20819
20815
  nullable: true,
20820
20816
  type: 'string',
20821
20817
  },
20818
+ errors: {
20819
+ description:
20820
+ 'Array of errors associated with the user identity. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.',
20821
+ items: {
20822
+ properties: {
20823
+ created_at: {
20824
+ description: 'Date and time at which Seam created the error.',
20825
+ format: 'date-time',
20826
+ type: 'string',
20827
+ },
20828
+ message: {
20829
+ description:
20830
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
20831
+ type: 'string',
20832
+ },
20833
+ },
20834
+ required: ['created_at', 'message'],
20835
+ type: 'object',
20836
+ },
20837
+ type: 'array',
20838
+ },
20822
20839
  full_name: { minLength: 1, nullable: true, type: 'string' },
20823
20840
  phone_number: {
20824
20841
  description:
@@ -20837,6 +20854,42 @@ export default {
20837
20854
  nullable: true,
20838
20855
  type: 'string',
20839
20856
  },
20857
+ warnings: {
20858
+ description:
20859
+ 'Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.',
20860
+ items: {
20861
+ description: 'Warnings associated with the user identity.',
20862
+ discriminator: { propertyName: 'warning_code' },
20863
+ oneOf: [
20864
+ {
20865
+ description:
20866
+ 'Indicates that the user identity is currently being deleted.',
20867
+ properties: {
20868
+ created_at: {
20869
+ description:
20870
+ 'Date and time at which Seam created the warning.',
20871
+ format: 'date-time',
20872
+ type: 'string',
20873
+ },
20874
+ message: {
20875
+ description:
20876
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
20877
+ type: 'string',
20878
+ },
20879
+ warning_code: {
20880
+ description:
20881
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
20882
+ enum: ['being_deleted'],
20883
+ type: 'string',
20884
+ },
20885
+ },
20886
+ required: ['created_at', 'message', 'warning_code'],
20887
+ type: 'object',
20888
+ },
20889
+ ],
20890
+ },
20891
+ type: 'array',
20892
+ },
20840
20893
  workspace_id: {
20841
20894
  description:
20842
20895
  'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity.',
@@ -20853,6 +20906,8 @@ export default {
20853
20906
  'full_name',
20854
20907
  'created_at',
20855
20908
  'workspace_id',
20909
+ 'errors',
20910
+ 'warnings',
20856
20911
  ],
20857
20912
  type: 'object',
20858
20913
  'x-route-path': '/user_identities',
@@ -26154,6 +26209,18 @@ export default {
26154
26209
  'application/json': {
26155
26210
  schema: {
26156
26211
  properties: {
26212
+ access_grant_id: {
26213
+ description:
26214
+ 'ID of the access grant for which you want to retrieve all entrances.',
26215
+ format: 'uuid',
26216
+ type: 'string',
26217
+ },
26218
+ access_method_id: {
26219
+ description:
26220
+ 'ID of the access method for which you want to retrieve all entrances.',
26221
+ format: 'uuid',
26222
+ type: 'string',
26223
+ },
26157
26224
  acs_credential_id: {
26158
26225
  description:
26159
26226
  'ID of the credential for which you want to retrieve all entrances.',
@@ -27878,11 +27945,20 @@ export default {
27878
27945
  minLength: 1,
27879
27946
  type: 'string',
27880
27947
  },
27948
+ user_identity_id: {
27949
+ description:
27950
+ 'ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to create a client session.',
27951
+ type: 'string',
27952
+ },
27881
27953
  user_identity_ids: {
27954
+ deprecated: true,
27882
27955
  description:
27883
- 'IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to create a client session.',
27956
+ 'IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.',
27884
27957
  items: { type: 'string' },
27958
+ maxItems: 1,
27959
+ minItems: 1,
27885
27960
  type: 'array',
27961
+ 'x-deprecated': 'Use `user_identity_id`.',
27886
27962
  },
27887
27963
  },
27888
27964
  type: 'object',
@@ -27960,11 +28036,20 @@ export default {
27960
28036
  minLength: 1,
27961
28037
  type: 'string',
27962
28038
  },
28039
+ user_identity_id: {
28040
+ description:
28041
+ 'ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to create a client session.',
28042
+ type: 'string',
28043
+ },
27963
28044
  user_identity_ids: {
28045
+ deprecated: true,
27964
28046
  description:
27965
- 'IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to create a client session.',
28047
+ 'IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.',
27966
28048
  items: { type: 'string' },
28049
+ maxItems: 1,
28050
+ minItems: 1,
27967
28051
  type: 'array',
28052
+ 'x-deprecated': 'Use `user_identity_id`.',
27968
28053
  },
27969
28054
  },
27970
28055
  type: 'object',
@@ -28154,11 +28239,20 @@ export default {
28154
28239
  minLength: 1,
28155
28240
  type: 'string',
28156
28241
  },
28242
+ user_identity_id: {
28243
+ description:
28244
+ 'ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session (or that are already associated with the existing client session).',
28245
+ type: 'string',
28246
+ },
28157
28247
  user_identity_ids: {
28248
+ deprecated: true,
28158
28249
  description:
28159
- 'IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session (or that are already associated with the existing client session).',
28250
+ 'IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.',
28160
28251
  items: { type: 'string' },
28252
+ maxItems: 1,
28253
+ minItems: 1,
28161
28254
  type: 'array',
28255
+ 'x-deprecated': 'Use `user_identity_id`.',
28162
28256
  },
28163
28257
  },
28164
28258
  type: 'object',
@@ -28234,11 +28328,20 @@ export default {
28234
28328
  'Your user ID for the user that you want to associate with the client session.',
28235
28329
  type: 'string',
28236
28330
  },
28331
+ user_identity_id: {
28332
+ description:
28333
+ 'ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.',
28334
+ type: 'string',
28335
+ },
28237
28336
  user_identity_ids: {
28337
+ deprecated: true,
28238
28338
  description:
28239
28339
  'IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.',
28240
28340
  items: { type: 'string' },
28341
+ maxItems: 1,
28342
+ minItems: 1,
28241
28343
  type: 'array',
28344
+ 'x-deprecated': 'Use `user_identity_id`.',
28242
28345
  },
28243
28346
  },
28244
28347
  type: 'object',
@@ -28309,11 +28412,20 @@ export default {
28309
28412
  'Your user ID for the user that you want to associate with the client session.',
28310
28413
  type: 'string',
28311
28414
  },
28415
+ user_identity_id: {
28416
+ description:
28417
+ 'ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.',
28418
+ type: 'string',
28419
+ },
28312
28420
  user_identity_ids: {
28421
+ deprecated: true,
28313
28422
  description:
28314
28423
  'IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.',
28315
28424
  items: { type: 'string' },
28425
+ maxItems: 1,
28426
+ minItems: 1,
28316
28427
  type: 'array',
28428
+ 'x-deprecated': 'Use `user_identity_id`.',
28317
28429
  },
28318
28430
  },
28319
28431
  type: 'object',
@@ -39832,7 +39944,7 @@ export default {
39832
39944
  '/user_identities/delete': {
39833
39945
  post: {
39834
39946
  description:
39835
- 'Deletes a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). To delete a user identity, you must first delete any [credentials](https://docs.seam.co/latest/api/access-control-systems/credentials) and [enrollment automations](https://docs.seam.co/latest/api/user_identities/enrollment_automations/delete) associated with the user identity. You must also deactivate any associated phones.',
39947
+ 'Deletes a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). This deletes the user identity and all associated resources, including any [credentials](https://docs.seam.co/latest/api/access-control-systems/credentials), [acs users](https://docs.seam.co/latest/api/access-control-systems/users) and [client sessions](https://docs.seam.co/latest/api/client_sessions).',
39836
39948
  operationId: 'userIdentitiesDeletePost',
39837
39949
  requestBody: {
39838
39950
  content: {