Contentful Personalization & Analytics
    Preparing search index...
    BatchInsightsEvent: ZodMiniObject<
        {
            events: ZodMiniArray<
                ZodMiniDiscriminatedUnion<
                    [
                        ZodMiniObject<
                            {
                                channel: ZodMiniUnion<
                                    readonly [
                                        ZodMiniLiteral<"mobile">,
                                        ZodMiniLiteral<"server">,
                                        ZodMiniLiteral<"web">,
                                    ],
                                >;
                                componentId: ZodMiniString<string>;
                                componentType: ZodMiniUnion<
                                    readonly [ZodMiniLiteral<"Entry">, ZodMiniLiteral<"Variable">],
                                >;
                                context: ZodMiniObject<
                                    {
                                        app: ZodMiniOptional<ZodMiniObject<(...), (...)>>;
                                        campaign: ZodMiniObject<
                                            {
                                                content: ...;
                                                medium: ...;
                                                name: ...;
                                                source: ...;
                                                term: ...;
                                            },
                                            $strip,
                                        >;
                                        gdpr: ZodMiniObject<{ isConsentGiven: ... }, $strip>;
                                        library: ZodMiniObject<{ name: ...; version: ... }, $strip>;
                                        locale: ZodMiniString<string>;
                                        location: ZodMiniOptional<ZodMiniObject<(...), (...)>>;
                                        page: ZodMiniOptional<ZodMiniObject<(...), (...)>>;
                                        screen: ZodMiniOptional<ZodMiniObject<(...), (...)>>;
                                        userAgent: ZodMiniOptional<ZodMiniString<(...)>>;
                                    },
                                    $strip,
                                >;
                                experienceId: ZodMiniOptional<ZodMiniString<string>>;
                                messageId: ZodMiniString<string>;
                                originalTimestamp: ZodMiniISODateTime;
                                sentAt: ZodMiniISODateTime;
                                timestamp: ZodMiniISODateTime;
                                type: ZodMiniLiteral<"component">;
                                userId: ZodMiniOptional<ZodMiniString<string>>;
                                variantIndex: ZodMiniNumber<number>;
                            },
                            $strip,
                        >,
                    ],
                    "type",
                >,
            >;
            profile: ZodMiniObject<
                { id: ZodMiniString<string> },
                $catchall<ZodMiniJSONSchema>,
            >;
        },
        $strip,
    > = ...

    Zod schema describing a batched Insights event payload.

    Combines a PartialProfile with one or more Insights events to be sent to the Contentful Insights API.