Contentful Personalization & Analytics
    Preparing search index...
    BatchInsightsEventArray: ZodMiniArray<
        ZodMiniObject<
            {
                events: ZodMiniArray<
                    ZodMiniDiscriminatedUnion<
                        [
                            ZodMiniObject<
                                {
                                    anonymousId: ZodMiniOptional<ZodMiniString<string>>;
                                    channel: ZodMiniUnion<
                                        readonly [
                                            ZodMiniLiteral<(...)>,
                                            ZodMiniLiteral<(...)>,
                                            ZodMiniLiteral<(...)>,
                                        ],
                                    >;
                                    componentId: ZodMiniString<string>;
                                    componentType: ZodMiniOptional<
                                        ZodMiniUnion<readonly [(...), (...)]>,
                                    >;
                                    context: ZodMiniObject<
                                        {
                                            app: ZodMiniOptional<(...)>;
                                            campaign: ZodMiniObject<(...), (...)>;
                                            gdpr: ZodMiniOptional<(...)>;
                                            library: ZodMiniObject<(...), (...)>;
                                            locale: ZodMiniOptional<(...)>;
                                            location: ZodMiniOptional<(...)>;
                                            page: ZodMiniOptional<(...)>;
                                            screen: ZodMiniOptional<(...)>;
                                            userAgent: ZodMiniOptional<(...)>;
                                        },
                                        $strip,
                                    >;
                                    experienceId: ZodMiniOptional<ZodMiniString<string>>;
                                    messageId: ZodMiniString<string>;
                                    originalTimestamp: ZodMiniString<string>;
                                    sentAt: ZodMiniString<string>;
                                    timestamp: ZodMiniString<string>;
                                    type: ZodMiniLiteral<"component">;
                                    userId: ZodMiniOptional<ZodMiniString<string>>;
                                    variantIndex: ZodMiniOptional<ZodMiniNumber<number>>;
                                    viewDurationMs: ZodMiniOptional<ZodMiniNumber<number>>;
                                    viewId: ZodMiniOptional<ZodMiniString<string>>;
                                },
                                $strip,
                            >,
                            ZodMiniObject<
                                {
                                    anonymousId: ZodMiniOptional<ZodMiniString<string>>;
                                    channel: ZodMiniUnion<
                                        readonly [
                                            ZodMiniLiteral<(...)>,
                                            ZodMiniLiteral<(...)>,
                                            ZodMiniLiteral<(...)>,
                                        ],
                                    >;
                                    componentId: ZodMiniString<string>;
                                    componentType: ZodMiniOptional<
                                        ZodMiniUnion<readonly [(...), (...)]>,
                                    >;
                                    context: ZodMiniObject<
                                        {
                                            app: ZodMiniOptional<(...)>;
                                            campaign: ZodMiniObject<(...), (...)>;
                                            gdpr: ZodMiniOptional<(...)>;
                                            library: ZodMiniObject<(...), (...)>;
                                            locale: ZodMiniOptional<(...)>;
                                            location: ZodMiniOptional<(...)>;
                                            page: ZodMiniOptional<(...)>;
                                            screen: ZodMiniOptional<(...)>;
                                            userAgent: ZodMiniOptional<(...)>;
                                        },
                                        $strip,
                                    >;
                                    experienceId: ZodMiniOptional<ZodMiniString<string>>;
                                    messageId: ZodMiniString<string>;
                                    originalTimestamp: ZodMiniString<string>;
                                    sentAt: ZodMiniString<string>;
                                    timestamp: ZodMiniString<string>;
                                    type: ZodMiniLiteral<"component_click">;
                                    userId: ZodMiniOptional<ZodMiniString<string>>;
                                    variantIndex: ZodMiniOptional<ZodMiniNumber<number>>;
                                },
                                $strip,
                            >,
                            ZodMiniObject<
                                {
                                    anonymousId: ZodMiniOptional<ZodMiniString<string>>;
                                    channel: ZodMiniUnion<
                                        readonly [
                                            ZodMiniLiteral<(...)>,
                                            ZodMiniLiteral<(...)>,
                                            ZodMiniLiteral<(...)>,
                                        ],
                                    >;
                                    componentId: ZodMiniString<string>;
                                    componentType: ZodMiniOptional<
                                        ZodMiniUnion<readonly [(...), (...)]>,
                                    >;
                                    context: ZodMiniObject<
                                        {
                                            app: ZodMiniOptional<(...)>;
                                            campaign: ZodMiniObject<(...), (...)>;
                                            gdpr: ZodMiniOptional<(...)>;
                                            library: ZodMiniObject<(...), (...)>;
                                            locale: ZodMiniOptional<(...)>;
                                            location: ZodMiniOptional<(...)>;
                                            page: ZodMiniOptional<(...)>;
                                            screen: ZodMiniOptional<(...)>;
                                            userAgent: ZodMiniOptional<(...)>;
                                        },
                                        $strip,
                                    >;
                                    experienceId: ZodMiniOptional<ZodMiniString<string>>;
                                    hoverDurationMs: ZodMiniNumber<number>;
                                    hoverId: ZodMiniString<string>;
                                    messageId: ZodMiniString<string>;
                                    originalTimestamp: ZodMiniString<string>;
                                    sentAt: ZodMiniString<string>;
                                    timestamp: ZodMiniString<string>;
                                    type: ZodMiniLiteral<"component_hover">;
                                    userId: ZodMiniOptional<ZodMiniString<string>>;
                                    variantIndex: ZodMiniOptional<ZodMiniNumber<number>>;
                                },
                                $strip,
                            >,
                        ],
                        "type",
                    >,
                >;
                profile: ZodMiniObject<
                    {
                        audiences: ZodMiniArray<ZodMiniString<string>>;
                        id: ZodMiniString<string>;
                        jurisdiction: ZodMiniOptional<ZodMiniEnum<{ EU: "EU"; US: "US" }>>;
                        location: ZodMiniObject<
                            {
                                city: ZodMiniOptional<ZodMiniString<string>>;
                                continent: ZodMiniOptional<ZodMiniString<string>>;
                                coordinates: ZodMiniOptional<
                                    ZodMiniObject<
                                        {
                                            latitude: ZodMiniNumber<(...)>;
                                            longitude: ZodMiniNumber<(...)>;
                                        },
                                        $strip,
                                    >,
                                >;
                                country: ZodMiniOptional<ZodMiniString<string>>;
                                countryCode: ZodMiniOptional<ZodMiniString<string>>;
                                postalCode: ZodMiniOptional<ZodMiniString<string>>;
                                region: ZodMiniOptional<ZodMiniString<string>>;
                                regionCode: ZodMiniOptional<ZodMiniString<string>>;
                                timezone: ZodMiniOptional<ZodMiniString<string>>;
                            },
                            $strip,
                        >;
                        random: ZodMiniNumber<number>;
                        session: ZodMiniObject<
                            {
                                activeSessionLength: ZodMiniNumber<number>;
                                averageSessionLength: ZodMiniNumber<number>;
                                count: ZodMiniNumber<number>;
                                id: ZodMiniOptional<ZodMiniString<string>>;
                                isReturningVisitor: ZodMiniBoolean<boolean>;
                                landingPage: ZodMiniObject<
                                    {
                                        path: ZodMiniString<string>;
                                        query: ZodMiniRecord<ZodMiniString<(...)>, ZodMiniUnion<(...)>>;
                                        referrer: ZodMiniString<string>;
                                        search: ZodMiniString<string>;
                                        title: ZodMiniOptional<ZodMiniString<(...)>>;
                                        url: ZodMiniString<string>;
                                    },
                                    $catchall<ZodMiniJSONSchema>,
                                >;
                            },
                            $strip,
                        >;
                        stableId: ZodMiniString<string>;
                        traits: ZodMiniRecord<ZodMiniString<string>, ZodMiniJSONSchema>;
                    },
                    $strip,
                >;
            },
            $strip,
        >,
    > = ...

    Zod schema describing an array of BatchInsightsEvent items.

    Useful when sending multiple profile/event batches in a single request.