Membrane SDK - v0.29.2
    Preparing search index...

    Variable ExternalEventPullTelemetryConst

    ExternalEventPullTelemetry: ZodObject<
        {
            pullId: ZodString;
            subscriptionId: ZodString;
            connectionId: ZodOptional<ZodString>;
            strategy: ZodEnum<
                {
                    unknown: "unknown";
                    "custom-pull": "custom-pull";
                    "full-scan": "full-scan";
                    "pull-latest-records": "pull-latest-records";
                    skipped: "skipped";
                },
            >;
            eventType: ZodOptional<ZodString>;
            collectionKey: ZodOptional<ZodString>;
            startedAt: ZodString;
            finishedAt: ZodString;
            emittedEventCount: ZodNumber;
            emittedEvents: ZodArray<
                ZodObject<
                    { type: ZodString; recordId: ZodOptional<ZodString> },
                    $strip,
                >,
            >;
            notes: ZodArray<ZodString>;
            fullScan: ZodOptional<
                ZodObject<
                    {
                        totalRecords: ZodNumber;
                        totalPages: ZodNumber;
                        previousSnapshotId: ZodOptional<ZodString>;
                        previousSnapshotRecordCount: ZodOptional<ZodNumber>;
                        previousSnapshotMissing: ZodBoolean;
                        newSnapshotId: ZodOptional<ZodString>;
                        isBaseline: ZodBoolean;
                    },
                    $strip,
                >,
            >;
            pullLatest: ZodOptional<
                ZodObject<
                    {
                        stateBefore: ZodOptional<
                            ZodObject<
                                { id: ZodOptional<ZodString>; datetime: ZodOptional<ZodString> },
                                $strip,
                            >,
                        >;
                        stateAfter: ZodOptional<
                            ZodObject<
                                { id: ZodOptional<ZodString>; datetime: ZodOptional<ZodString> },
                                $strip,
                            >,
                        >;
                        pagesScanned: ZodNumber;
                        scannedRecords: ZodArray<
                            ZodObject<
                                { id: ZodString; datetime: ZodOptional<ZodString> },
                                $strip,
                            >,
                        >;
                        newRecordIds: ZodArray<ZodString>;
                        isBaseline: ZodBoolean;
                    },
                    $strip,
                >,
            >;
        },
        $strip,
    > = ...

    Per-pull diagnostic telemetry: a self-contained record of what a single event pull observed and why it did or did not emit events. Persisted to the TMP bucket and pointed to by ExternalEventPull.telemetryUri, so troubleshooting a missing/unexpected event needs no reconstruction from raw snapshots. For full scans, the observed record set is referenced via fullScan.newSnapshotId (the full-sync snapshot) rather than duplicated here, keeping the artifact small even for large collections.