Contentful Personalization & Analytics
    Preparing search index...

    Variable BatchInsightsEventArrayConst

    BatchInsightsEventArray: ZodMiniArray<
        ZodMiniObject<
            {
                events: ZodMiniArray<
                    ZodMiniDiscriminatedUnion<
                        [
                            ZodMiniObject<
                                {
                                    channel: ZodMiniUnion<
                                        readonly [
                                            ZodMiniLiteral<(...)>,
                                            ZodMiniLiteral<(...)>,
                                            ZodMiniLiteral<(...)>,
                                        ],
                                    >;
                                    componentId: ZodMiniString<string>;
                                    componentType: ZodMiniUnion<
                                        readonly [ZodMiniLiteral<(...)>, ZodMiniLiteral<(...)>],
                                    >;
                                    context: ZodMiniObject<
                                        {
                                            app: ZodMiniOptional<(...)>;
                                            campaign: ZodMiniObject<(...), (...)>;
                                            gdpr: ZodMiniObject<(...), (...)>;
                                            library: ZodMiniObject<(...), (...)>;
                                            locale: ZodMiniString<(...)>;
                                            location: ZodMiniOptional<(...)>;
                                            page: ZodMiniOptional<(...)>;
                                            screen: ZodMiniOptional<(...)>;
                                            userAgent: ZodMiniOptional<(...)>;
                                        },
                                        $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 an array of BatchInsightsEvent items.

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