interface UserProfile {
    customProperties?: Record<string, string[]>;
    demographic?: {
        appVersion?: string;
        locale?: string;
        make?: string;
        model?: string;
        modelVersion?: string;
        platform?: string;
        platformVersion?: string;
        timezone?: string;
    };
    email?: string;
    location?: {
        city?: string;
        country?: string;
        latitude?: number;
        longitude?: number;
        postalCode?: string;
        region?: string;
    };
    metrics?: Record<string, number>;
    name?: string;
    plan?: string;
}

Properties

customProperties?: Record<string, string[]>
demographic?: {
    appVersion?: string;
    locale?: string;
    make?: string;
    model?: string;
    modelVersion?: string;
    platform?: string;
    platformVersion?: string;
    timezone?: string;
}

Type declaration

  • Optional appVersion?: string
  • Optional locale?: string
  • Optional make?: string
  • Optional model?: string
  • Optional modelVersion?: string
  • Optional platform?: string
  • Optional platformVersion?: string
  • Optional timezone?: string
email?: string
location?: {
    city?: string;
    country?: string;
    latitude?: number;
    longitude?: number;
    postalCode?: string;
    region?: string;
}

Type declaration

  • Optional city?: string
  • Optional country?: string
  • Optional latitude?: number
  • Optional longitude?: number
  • Optional postalCode?: string
  • Optional region?: string
metrics?: Record<string, number>
name?: string
plan?: string