@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.
package/dist/connect.cjs CHANGED
@@ -3893,7 +3893,8 @@ var client_session = zod.z.object({
3893
3893
  customer_id: zod.z.string().uuid().optional(),
3894
3894
  connected_account_ids: zod.z.array(zod.z.string().uuid()),
3895
3895
  connect_webview_ids: zod.z.array(zod.z.string().uuid()),
3896
- user_identity_ids: zod.z.array(zod.z.string().uuid())
3896
+ user_identity_ids: zod.z.array(zod.z.string().uuid()).describe("deprecated: Use `user_identity_id`."),
3897
+ user_identity_id: zod.z.string().uuid().optional()
3897
3898
  }).describe(`
3898
3899
  ---
3899
3900
  route_path: /client_sessions
@@ -11772,7 +11773,9 @@ var openapi_default = {
11772
11773
  expires_at: { format: "date-time", type: "string" },
11773
11774
  token: { type: "string" },
11774
11775
  user_identifier_key: { nullable: true, type: "string" },
11776
+ user_identity_id: { format: "uuid", type: "string" },
11775
11777
  user_identity_ids: {
11778
+ description: "deprecated: Use `user_identity_id`.",
11776
11779
  items: { format: "uuid", type: "string" },
11777
11780
  type: "array"
11778
11781
  },
@@ -30752,10 +30755,18 @@ var openapi_default = {
30752
30755
  minLength: 1,
30753
30756
  type: "string"
30754
30757
  },
30758
+ user_identity_id: {
30759
+ description: "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.",
30760
+ type: "string"
30761
+ },
30755
30762
  user_identity_ids: {
30756
- description: "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.",
30763
+ deprecated: true,
30764
+ description: "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.",
30757
30765
  items: { type: "string" },
30758
- type: "array"
30766
+ maxItems: 1,
30767
+ minItems: 1,
30768
+ type: "array",
30769
+ "x-deprecated": "Use `user_identity_id`."
30759
30770
  }
30760
30771
  },
30761
30772
  type: "object"
@@ -30828,10 +30839,18 @@ var openapi_default = {
30828
30839
  minLength: 1,
30829
30840
  type: "string"
30830
30841
  },
30842
+ user_identity_id: {
30843
+ description: "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.",
30844
+ type: "string"
30845
+ },
30831
30846
  user_identity_ids: {
30832
- description: "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.",
30847
+ deprecated: true,
30848
+ description: "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.",
30833
30849
  items: { type: "string" },
30834
- type: "array"
30850
+ maxItems: 1,
30851
+ minItems: 1,
30852
+ type: "array",
30853
+ "x-deprecated": "Use `user_identity_id`."
30835
30854
  }
30836
30855
  },
30837
30856
  type: "object"
@@ -31011,10 +31030,18 @@ var openapi_default = {
31011
31030
  minLength: 1,
31012
31031
  type: "string"
31013
31032
  },
31033
+ user_identity_id: {
31034
+ description: "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).",
31035
+ type: "string"
31036
+ },
31014
31037
  user_identity_ids: {
31015
- description: "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).",
31038
+ deprecated: true,
31039
+ description: "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.",
31016
31040
  items: { type: "string" },
31017
- type: "array"
31041
+ maxItems: 1,
31042
+ minItems: 1,
31043
+ type: "array",
31044
+ "x-deprecated": "Use `user_identity_id`."
31018
31045
  }
31019
31046
  },
31020
31047
  type: "object"
@@ -31085,10 +31112,18 @@ var openapi_default = {
31085
31112
  description: "Your user ID for the user that you want to associate with the client session.",
31086
31113
  type: "string"
31087
31114
  },
31115
+ user_identity_id: {
31116
+ description: "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.",
31117
+ type: "string"
31118
+ },
31088
31119
  user_identity_ids: {
31120
+ deprecated: true,
31089
31121
  description: "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.",
31090
31122
  items: { type: "string" },
31091
- type: "array"
31123
+ maxItems: 1,
31124
+ minItems: 1,
31125
+ type: "array",
31126
+ "x-deprecated": "Use `user_identity_id`."
31092
31127
  }
31093
31128
  },
31094
31129
  type: "object"
@@ -31154,10 +31189,18 @@ var openapi_default = {
31154
31189
  description: "Your user ID for the user that you want to associate with the client session.",
31155
31190
  type: "string"
31156
31191
  },
31192
+ user_identity_id: {
31193
+ description: "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.",
31194
+ type: "string"
31195
+ },
31157
31196
  user_identity_ids: {
31197
+ deprecated: true,
31158
31198
  description: "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.",
31159
31199
  items: { type: "string" },
31160
- type: "array"
31200
+ maxItems: 1,
31201
+ minItems: 1,
31202
+ type: "array",
31203
+ "x-deprecated": "Use `user_identity_id`."
31161
31204
  }
31162
31205
  },
31163
31206
  type: "object"