import type * as ElevenLabs from "../index"; export interface User { /** The unique identifier of the user. */ userId: string; /** Details of the user's subscription. */ subscription: ElevenLabs.SubscriptionResponse; /** Whether the user is new. This field is deprecated and will be removed in the future. Use 'created_at' instead. */ isNewUser: boolean; /** The API key of the user. */ xiApiKey?: string; /** This field is deprecated and will be removed in a future major version. Instead use subscription.trust_on_invoice_creation. */ canUseDelayedPaymentMethods: boolean; /** Whether the user's onboarding is completed. */ isOnboardingCompleted: boolean; /** Whether the user's onboarding checklist is completed. */ isOnboardingChecklistCompleted: boolean; /** Whether to show compliance terms (ToS, Privacy Policy, biometric consent) during onboarding. Set for users signing up from the marketing site. */ showComplianceTerms?: boolean; /** First name of the user. */ firstName?: string; /** Whether the user's API key is hashed. */ isApiKeyHashed?: boolean; /** The preview of the user's API key. */ xiApiKeyPreview?: string; /** The referral link code of the user. */ referralLinkCode?: string; /** The Partnerstack partner default link of the user. */ partnerstackPartnerDefaultLink?: string; /** The unix timestamp of the user's creation. 0 if the user was created before the unix timestamp was added. */ createdAt: number; /** The seat type of the user. */ seatType: ElevenLabs.SeatType; }