Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ export const client_session = z.object({
.describe(
'Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens).',
),
customer_id: z
customer_key: z
.string()
.uuid()
.optional()
.describe(
'Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens).',
'Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens).',
),
connected_account_ids: z
.array(z.string().uuid())
Expand Down
5 changes: 2 additions & 3 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8585,10 +8585,9 @@ export default {
format: 'date-time',
type: 'string',
},
customer_id: {
customer_key: {
description:
'Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens).',
format: 'uuid',
'Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens).',
type: 'string',
},
device_count: {
Expand Down
32 changes: 16 additions & 16 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19128,8 +19128,8 @@ export type Routes = {
user_identifier_key: string | null
/** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
device_count: number
/** Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
customer_id?: string | undefined
/** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
customer_key?: string | undefined
/** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
connected_account_ids: string[]
/** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
Expand Down Expand Up @@ -34882,8 +34882,8 @@ export type Routes = {
user_identifier_key: string | null
/** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
device_count: number
/** Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
customer_id?: string | undefined
/** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
customer_key?: string | undefined
/** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
connected_account_ids: string[]
/** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
Expand Down Expand Up @@ -34945,8 +34945,8 @@ export type Routes = {
user_identifier_key: string | null
/** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
device_count: number
/** Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
customer_id?: string | undefined
/** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
customer_key?: string | undefined
/** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
connected_account_ids: string[]
/** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
Expand Down Expand Up @@ -35005,8 +35005,8 @@ export type Routes = {
user_identifier_key: string | null
/** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
device_count: number
/** Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
customer_id?: string | undefined
/** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
customer_key?: string | undefined
/** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
connected_account_ids: string[]
/** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
Expand Down Expand Up @@ -35065,8 +35065,8 @@ export type Routes = {
user_identifier_key: string | null
/** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
device_count: number
/** Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
customer_id?: string | undefined
/** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
customer_key?: string | undefined
/** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
connected_account_ids: string[]
/** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
Expand Down Expand Up @@ -35113,8 +35113,8 @@ export type Routes = {
user_identifier_key: string | null
/** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
device_count: number
/** Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
customer_id?: string | undefined
/** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
customer_key?: string | undefined
/** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
connected_account_ids: string[]
/** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
Expand Down Expand Up @@ -68814,8 +68814,8 @@ export type Routes = {
user_identifier_key: string | null
/** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
device_count: number
/** Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
customer_id?: string | undefined
/** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
customer_key?: string | undefined
/** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
connected_account_ids: string[]
/** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
Expand Down Expand Up @@ -98079,8 +98079,8 @@ export type Routes = {
user_identifier_key: string | null
/** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
device_count: number
/** Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
customer_id?: string | undefined
/** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
customer_key?: string | undefined
/** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
connected_account_ids: string[]
/** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
Expand Down