@seamapi/types 1.412.0 → 1.413.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.
@@ -18870,8 +18870,11 @@ export interface Routes {
18870
18870
  connect_webview_ids?: string[] | undefined;
18871
18871
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) for which you want to create a client session. */
18872
18872
  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. */
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) that you want to associate with the client session.
18874
+ * @deprecated Use `user_identity_id`. */
18874
18875
  user_identity_ids?: string[] | undefined;
18876
+ /** 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. */
18877
+ user_identity_id?: string | undefined;
18875
18878
  /** 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
18879
  expires_at?: Date | undefined;
18877
18880
  };
@@ -18898,7 +18901,9 @@ export interface Routes {
18898
18901
  customer_id?: string | undefined;
18899
18902
  connected_account_ids: string[];
18900
18903
  connect_webview_ids: string[];
18904
+ /** deprecated: Use `user_identity_id`. */
18901
18905
  user_identity_ids: string[];
18906
+ user_identity_id?: string | undefined;
18902
18907
  };
18903
18908
  };
18904
18909
  };
@@ -18947,7 +18952,9 @@ export interface Routes {
18947
18952
  customer_id?: string | undefined;
18948
18953
  connected_account_ids: string[];
18949
18954
  connect_webview_ids: string[];
18955
+ /** deprecated: Use `user_identity_id`. */
18950
18956
  user_identity_ids: string[];
18957
+ user_identity_id?: string | undefined;
18951
18958
  };
18952
18959
  };
18953
18960
  };
@@ -18962,8 +18969,11 @@ export interface Routes {
18962
18969
  connect_webview_ids?: string[] | undefined;
18963
18970
  /** 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
18971
  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). */
18972
+ /** 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.
18973
+ * @deprecated Use `user_identity_id`. */
18966
18974
  user_identity_ids?: string[] | undefined;
18975
+ /** 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). */
18976
+ user_identity_id?: string | undefined;
18967
18977
  /** 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
18978
  expires_at?: Date | undefined;
18969
18979
  };
@@ -18990,7 +19000,9 @@ export interface Routes {
18990
19000
  customer_id?: string | undefined;
18991
19001
  connected_account_ids: string[];
18992
19002
  connect_webview_ids: string[];
19003
+ /** deprecated: Use `user_identity_id`. */
18993
19004
  user_identity_ids: string[];
19005
+ user_identity_id?: string | undefined;
18994
19006
  };
18995
19007
  };
18996
19008
  };
@@ -19008,8 +19020,11 @@ export interface Routes {
19008
19020
  connected_account_ids?: string[] | undefined;
19009
19021
  /** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) that you want to associate with the client session. */
19010
19022
  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. */
19023
+ /** 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.
19024
+ * @deprecated Use `user_identity_id`. */
19012
19025
  user_identity_ids?: string[] | undefined;
19026
+ /** 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. */
19027
+ user_identity_id?: string | undefined;
19013
19028
  };
19014
19029
  formData: {};
19015
19030
  jsonResponse: {
@@ -19033,7 +19048,9 @@ export interface Routes {
19033
19048
  customer_id?: string | undefined;
19034
19049
  connected_account_ids: string[];
19035
19050
  connect_webview_ids: string[];
19051
+ /** deprecated: Use `user_identity_id`. */
19036
19052
  user_identity_ids: string[];
19053
+ user_identity_id?: string | undefined;
19037
19054
  };
19038
19055
  };
19039
19056
  };
@@ -19067,7 +19084,9 @@ export interface Routes {
19067
19084
  customer_id?: string | undefined;
19068
19085
  connected_account_ids: string[];
19069
19086
  connect_webview_ids: string[];
19087
+ /** deprecated: Use `user_identity_id`. */
19070
19088
  user_identity_ids: string[];
19089
+ user_identity_id?: string | undefined;
19071
19090
  }>;
19072
19091
  };
19073
19092
  };
@@ -41698,7 +41717,9 @@ export interface Routes {
41698
41717
  customer_id?: string | undefined;
41699
41718
  connected_account_ids: string[];
41700
41719
  connect_webview_ids: string[];
41720
+ /** deprecated: Use `user_identity_id`. */
41701
41721
  user_identity_ids: string[];
41722
+ user_identity_id?: string | undefined;
41702
41723
  };
41703
41724
  };
41704
41725
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.412.0",
3
+ "version": "1.413.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
@@ -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
  },
@@ -27878,11 +27880,20 @@ export default {
27878
27880
  minLength: 1,
27879
27881
  type: 'string',
27880
27882
  },
27883
+ user_identity_id: {
27884
+ description:
27885
+ '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.',
27886
+ type: 'string',
27887
+ },
27881
27888
  user_identity_ids: {
27889
+ deprecated: true,
27882
27890
  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.',
27891
+ '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
27892
  items: { type: 'string' },
27893
+ maxItems: 1,
27894
+ minItems: 1,
27885
27895
  type: 'array',
27896
+ 'x-deprecated': 'Use `user_identity_id`.',
27886
27897
  },
27887
27898
  },
27888
27899
  type: 'object',
@@ -27960,11 +27971,20 @@ export default {
27960
27971
  minLength: 1,
27961
27972
  type: 'string',
27962
27973
  },
27974
+ user_identity_id: {
27975
+ description:
27976
+ '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.',
27977
+ type: 'string',
27978
+ },
27963
27979
  user_identity_ids: {
27980
+ deprecated: true,
27964
27981
  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.',
27982
+ '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
27983
  items: { type: 'string' },
27984
+ maxItems: 1,
27985
+ minItems: 1,
27967
27986
  type: 'array',
27987
+ 'x-deprecated': 'Use `user_identity_id`.',
27968
27988
  },
27969
27989
  },
27970
27990
  type: 'object',
@@ -28154,11 +28174,20 @@ export default {
28154
28174
  minLength: 1,
28155
28175
  type: 'string',
28156
28176
  },
28177
+ user_identity_id: {
28178
+ description:
28179
+ '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).',
28180
+ type: 'string',
28181
+ },
28157
28182
  user_identity_ids: {
28183
+ deprecated: true,
28158
28184
  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).',
28185
+ '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
28186
  items: { type: 'string' },
28187
+ maxItems: 1,
28188
+ minItems: 1,
28161
28189
  type: 'array',
28190
+ 'x-deprecated': 'Use `user_identity_id`.',
28162
28191
  },
28163
28192
  },
28164
28193
  type: 'object',
@@ -28234,11 +28263,20 @@ export default {
28234
28263
  'Your user ID for the user that you want to associate with the client session.',
28235
28264
  type: 'string',
28236
28265
  },
28266
+ user_identity_id: {
28267
+ description:
28268
+ '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.',
28269
+ type: 'string',
28270
+ },
28237
28271
  user_identity_ids: {
28272
+ deprecated: true,
28238
28273
  description:
28239
28274
  '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
28275
  items: { type: 'string' },
28276
+ maxItems: 1,
28277
+ minItems: 1,
28241
28278
  type: 'array',
28279
+ 'x-deprecated': 'Use `user_identity_id`.',
28242
28280
  },
28243
28281
  },
28244
28282
  type: 'object',
@@ -28309,11 +28347,20 @@ export default {
28309
28347
  'Your user ID for the user that you want to associate with the client session.',
28310
28348
  type: 'string',
28311
28349
  },
28350
+ user_identity_id: {
28351
+ description:
28352
+ '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.',
28353
+ type: 'string',
28354
+ },
28312
28355
  user_identity_ids: {
28356
+ deprecated: true,
28313
28357
  description:
28314
28358
  '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
28359
  items: { type: 'string' },
28360
+ maxItems: 1,
28361
+ minItems: 1,
28316
28362
  type: 'array',
28363
+ 'x-deprecated': 'Use `user_identity_id`.',
28317
28364
  },
28318
28365
  },
28319
28366
  type: 'object',
@@ -21862,8 +21862,11 @@ export interface Routes {
21862
21862
  connect_webview_ids?: string[] | undefined
21863
21863
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) for which you want to create a client session. */
21864
21864
  connected_account_ids?: string[] | undefined
21865
- /** 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. */
21865
+ /** 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.
21866
+ * @deprecated Use `user_identity_id`. */
21866
21867
  user_identity_ids?: string[] | undefined
21868
+ /** 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. */
21869
+ user_identity_id?: string | undefined
21867
21870
  /** 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. */
21868
21871
  expires_at?: Date | undefined
21869
21872
  }
@@ -21890,7 +21893,9 @@ export interface Routes {
21890
21893
  customer_id?: string | undefined
21891
21894
  connected_account_ids: string[]
21892
21895
  connect_webview_ids: string[]
21896
+ /** deprecated: Use `user_identity_id`. */
21893
21897
  user_identity_ids: string[]
21898
+ user_identity_id?: string | undefined
21894
21899
  }
21895
21900
  }
21896
21901
  }
@@ -21939,7 +21944,9 @@ export interface Routes {
21939
21944
  customer_id?: string | undefined
21940
21945
  connected_account_ids: string[]
21941
21946
  connect_webview_ids: string[]
21947
+ /** deprecated: Use `user_identity_id`. */
21942
21948
  user_identity_ids: string[]
21949
+ user_identity_id?: string | undefined
21943
21950
  }
21944
21951
  }
21945
21952
  }
@@ -21954,8 +21961,11 @@ export interface Routes {
21954
21961
  connect_webview_ids?: string[] | undefined
21955
21962
  /** 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). */
21956
21963
  connected_account_ids?: string[] | undefined
21957
- /** 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). */
21964
+ /** 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.
21965
+ * @deprecated Use `user_identity_id`. */
21958
21966
  user_identity_ids?: string[] | undefined
21967
+ /** 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). */
21968
+ user_identity_id?: string | undefined
21959
21969
  /** 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. */
21960
21970
  expires_at?: Date | undefined
21961
21971
  }
@@ -21982,7 +21992,9 @@ export interface Routes {
21982
21992
  customer_id?: string | undefined
21983
21993
  connected_account_ids: string[]
21984
21994
  connect_webview_ids: string[]
21995
+ /** deprecated: Use `user_identity_id`. */
21985
21996
  user_identity_ids: string[]
21997
+ user_identity_id?: string | undefined
21986
21998
  }
21987
21999
  }
21988
22000
  }
@@ -22000,8 +22012,11 @@ export interface Routes {
22000
22012
  connected_account_ids?: string[] | undefined
22001
22013
  /** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) that you want to associate with the client session. */
22002
22014
  connect_webview_ids?: string[] | undefined
22003
- /** 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. */
22015
+ /** 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.
22016
+ * @deprecated Use `user_identity_id`. */
22004
22017
  user_identity_ids?: string[] | undefined
22018
+ /** 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. */
22019
+ user_identity_id?: string | undefined
22005
22020
  }
22006
22021
  formData: {}
22007
22022
  jsonResponse: {
@@ -22025,7 +22040,9 @@ export interface Routes {
22025
22040
  customer_id?: string | undefined
22026
22041
  connected_account_ids: string[]
22027
22042
  connect_webview_ids: string[]
22043
+ /** deprecated: Use `user_identity_id`. */
22028
22044
  user_identity_ids: string[]
22045
+ user_identity_id?: string | undefined
22029
22046
  }
22030
22047
  }
22031
22048
  }
@@ -22059,7 +22076,9 @@ export interface Routes {
22059
22076
  customer_id?: string | undefined
22060
22077
  connected_account_ids: string[]
22061
22078
  connect_webview_ids: string[]
22079
+ /** deprecated: Use `user_identity_id`. */
22062
22080
  user_identity_ids: string[]
22081
+ user_identity_id?: string | undefined
22063
22082
  }>
22064
22083
  }
22065
22084
  }
@@ -49120,7 +49139,9 @@ export interface Routes {
49120
49139
  customer_id?: string | undefined
49121
49140
  connected_account_ids: string[]
49122
49141
  connect_webview_ids: string[]
49142
+ /** deprecated: Use `user_identity_id`. */
49123
49143
  user_identity_ids: string[]
49144
+ user_identity_id?: string | undefined
49124
49145
  }
49125
49146
  }
49126
49147
  }