@lynxflow/seo-engine 2.8.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/NOTICE +18 -0
- package/README.md +78 -10
- package/bin/lynx-audit +338 -0
- package/dist/ab-experiments-engine.d.ts +55 -0
- package/dist/ab-testing-bandit.d.ts +51 -0
- package/dist/ab-testing-engine.d.ts +70 -0
- package/dist/ab-testing-sequential.d.ts +59 -0
- package/dist/ab-testing-significance.d.ts +67 -0
- package/dist/account-centric-abm.d.ts +73 -0
- package/dist/ad-cost-roas.d.ts +120 -0
- package/dist/ad-intelligence-cro.d.ts +41 -9
- package/dist/ad-matrix-multiplier.d.ts +36 -0
- package/dist/ad-remix-engine.d.ts +79 -0
- package/dist/advanced-retention.d.ts +77 -0
- package/dist/advanced-segmentation.d.ts +117 -0
- package/dist/aeo-geo-engine.d.ts +366 -0
- package/dist/agent-skills-registry.d.ts +29 -0
- package/dist/agent-ux-scorer.d.ts +53 -0
- package/dist/agentic-ads-guardrails.d.ts +94 -0
- package/dist/agentic-browsing-auditor.d.ts +65 -0
- package/dist/ai-bots-log-analyzer.d.ts +6 -2
- package/dist/ai-citation-auditor.d.ts +40 -0
- package/dist/ai-citation-tracker.d.ts +53 -0
- package/dist/ai-copilot-client.d.ts +1 -0
- package/dist/ai-safety-auditor.d.ts +67 -0
- package/dist/ai-targeting-translator.d.ts +24 -0
- package/dist/ai-visibility-tracker.d.ts +70 -0
- package/dist/alerting-thresholds.d.ts +63 -0
- package/dist/analytics/active-dwell-time-calculator.d.ts +59 -0
- package/dist/analytics/ad-audience-sync-engine.d.ts +69 -0
- package/dist/analytics/adaptive-event-sampler.d.ts +44 -0
- package/dist/analytics/ai-agents-tracker.d.ts +63 -0
- package/dist/analytics/ai-generated-search-snippet-synthesizer.d.ts +45 -0
- package/dist/analytics/ai-overviews-citation-passage-relevance-auditor.d.ts +35 -0
- package/dist/analytics/ai-providers-tracker.d.ts +63 -0
- package/dist/analytics/ai-sov.d.ts +21 -0
- package/dist/analytics/alerts-engine.d.ts +24 -0
- package/dist/analytics/anchor-text-diversity-auditor.d.ts +64 -0
- package/dist/analytics/anchor-text-optimization-distribution-analyzer.d.ts +49 -0
- package/dist/analytics/api-playground-generator.d.ts +56 -0
- package/dist/analytics/api-rate-limit-quota-shield.d.ts +60 -0
- package/dist/analytics/attribution-markov-chain-engine.d.ts +48 -0
- package/dist/analytics/attribution.d.ts +8 -0
- package/dist/analytics/automated-analytics-report-renderer.d.ts +71 -0
- package/dist/analytics/b2b-group-analytics-engine.d.ts +64 -0
- package/dist/analytics/bandwidth-calculator.d.ts +34 -0
- package/dist/analytics/batch-export-scheduler.d.ts +82 -0
- package/dist/analytics/behavioral-cohort-analyzer.d.ts +68 -0
- package/dist/analytics/bofu-quick-wins-opportunity-scorer.d.ts +60 -0
- package/dist/analytics/bot-crawl-frequency-predictor.d.ts +61 -0
- package/dist/analytics/bot-signal-bitmask-decoder.d.ts +60 -0
- package/dist/analytics/bot-simulation-diff-auditor.d.ts +59 -0
- package/dist/analytics/breadcrumb-list-microdata-schema-parity-validator.d.ts +45 -0
- package/dist/analytics/broken-image-detector.d.ts +36 -0
- package/dist/analytics/brotli-zstd-compression-efficiency-auditor.d.ts +43 -0
- package/dist/analytics/calendar-heatmap-engine.d.ts +41 -0
- package/dist/analytics/canary-flag-guardrail-engine.d.ts +80 -0
- package/dist/analytics/canonical-integrity-engine.d.ts +51 -0
- package/dist/analytics/canonical-loop-cluster-detector.d.ts +48 -0
- package/dist/analytics/canvas-replay-capture.d.ts +41 -0
- package/dist/analytics/captcha-gate-verifier.d.ts +66 -0
- package/dist/analytics/cart-abandonment-analyzer.d.ts +80 -0
- package/dist/analytics/cdn-edge-cache-hit-ratio-forecaster.d.ts +43 -0
- package/dist/analytics/cdn-edge-routing-latency-analyzer.d.ts +62 -0
- package/dist/analytics/channel-grouping.d.ts +47 -0
- package/dist/analytics/churn-risk-calculator.d.ts +73 -0
- package/dist/analytics/client-error-tracker.d.ts +83 -0
- package/dist/analytics/client-side-hydration-mismatch-differ.d.ts +41 -0
- package/dist/analytics/client-side-memory-leak-dom-detached-nodes-auditor.d.ts +36 -0
- package/dist/analytics/client-side-page-speed-metrics-summary-aggregator.d.ts +56 -0
- package/dist/analytics/client-side-replay-rage-click-aggregator.d.ts +57 -0
- package/dist/analytics/code-canvas-pipeline.d.ts +50 -0
- package/dist/analytics/cohort-ltv-payback-engine.d.ts +68 -0
- package/dist/analytics/cohort-set-algebra-engine.d.ts +107 -0
- package/dist/analytics/cohorts-retention-engine.d.ts +24 -0
- package/dist/analytics/competitor-ad-transparency-inspector.d.ts +89 -0
- package/dist/analytics/constructed-styles-engine.d.ts +34 -0
- package/dist/analytics/content-decay-audit-engine.d.ts +64 -0
- package/dist/analytics/content-interaction-tracker.d.ts +60 -0
- package/dist/analytics/content-keyword-cannibalization-matrix.d.ts +50 -0
- package/dist/analytics/content-readability-flesch-kincaid-engine.d.ts +40 -0
- package/dist/analytics/content-security-policy-directive-violation-auditor.d.ts +28 -0
- package/dist/analytics/content-security-policy-frame-ancestors-clickjacking-auditor.d.ts +30 -0
- package/dist/analytics/conversion-funnel-latency-sensitivity-scorer.d.ts +57 -0
- package/dist/analytics/conversion-path-length-engine.d.ts +62 -0
- package/dist/analytics/cookie-consent-compliance-auditor.d.ts +73 -0
- package/dist/analytics/core-web-vitals-cumulative-tbt-trend-forecaster.d.ts +40 -0
- package/dist/analytics/core-web-vitals-interaction-event-debouncer.d.ts +39 -0
- package/dist/analytics/core-web-vitals-interaction-input-delay-breakdown-profiler.d.ts +40 -0
- package/dist/analytics/core-web-vitals-interaction-target-dom-element-pinpointer.d.ts +41 -0
- package/dist/analytics/core-web-vitals-interaction-timeline-tracer.d.ts +42 -0
- package/dist/analytics/core-web-vitals-lcp-sub-part-waterfall-profiler.d.ts +45 -0
- package/dist/analytics/core-web-vitals-presentation-delay-breakdown-profiler.d.ts +34 -0
- package/dist/analytics/core-web-vitals-ttfb-diagnostic-auditor.d.ts +60 -0
- package/dist/analytics/correlation-analyzer.d.ts +30 -0
- package/dist/analytics/crawl-budget-priority-queue-forecaster.d.ts +39 -0
- package/dist/analytics/crawl-budget-waste-auditor.d.ts +64 -0
- package/dist/analytics/crawl-depth-click-distance-auditor.d.ts +52 -0
- package/dist/analytics/crawl-log-cross-correlation-engine.d.ts +85 -0
- package/dist/analytics/cross-domain-linker.d.ts +50 -0
- package/dist/analytics/crux.d.ts +9 -0
- package/dist/analytics/css-rules-mutation-tracker.d.ts +28 -0
- package/dist/analytics/cumulative-layout-shift-target-element-clusterer.d.ts +57 -0
- package/dist/analytics/currency-converter.d.ts +37 -0
- package/dist/analytics/custom-alerts-engine.d.ts +37 -0
- package/dist/analytics/custom-variables-engine.d.ts +30 -0
- package/dist/analytics/customer-lifetime-value-survival-engine.d.ts +53 -0
- package/dist/analytics/customer-ltv-modeler.d.ts +80 -0
- package/dist/analytics/dashboard-rss-widget.d.ts +110 -0
- package/dist/analytics/data-retention-lifecycle-manager.d.ts +81 -0
- package/dist/analytics/data-staleness-sentinel.d.ts +37 -0
- package/dist/analytics/device-detector-cache.d.ts +39 -0
- package/dist/analytics/device-hardware-engine.d.ts +34 -0
- package/dist/analytics/disavow-file-format-syntax-validator.d.ts +32 -0
- package/dist/analytics/domain-connect-dns.d.ts +50 -0
- package/dist/analytics/domain-connect-provisioner.d.ts +74 -0
- package/dist/analytics/duplicate-title-meta-description-cluster-matrix.d.ts +40 -0
- package/dist/analytics/dynamic-render-cloaking-detector.d.ts +45 -0
- package/dist/analytics/ecommerce-merchandise-funnel-auditor.d.ts +60 -0
- package/dist/analytics/engagement-matrix-analyzer.d.ts +72 -0
- package/dist/analytics/event-match-quality.d.ts +53 -0
- package/dist/analytics/event-transformation-runtime.d.ts +76 -0
- package/dist/analytics/events.d.ts +24 -0
- package/dist/analytics/excessive-dom-depth-node-count-auditor.d.ts +47 -0
- package/dist/analytics/experiment-running-time-calculator.d.ts +53 -0
- package/dist/analytics/experiment-sample-size-sequential-testing-engine.d.ts +46 -0
- package/dist/analytics/exports.d.ts +2 -0
- package/dist/analytics/facet-url-combinatorial-trap-auditor.d.ts +45 -0
- package/dist/analytics/feature-flag-dormancy-auditor.d.ts +59 -0
- package/dist/analytics/feature-flag-evaluator.d.ts +49 -0
- package/dist/analytics/flag-blast-radius-simulator.d.ts +61 -0
- package/dist/analytics/font-display-cls-layout-shift-auditor.d.ts +51 -0
- package/dist/analytics/font-loading-observer.d.ts +37 -0
- package/dist/analytics/font-preload-unused-bandwidth-waste-auditor.d.ts +40 -0
- package/dist/analytics/font-subsetting-unicode-range-optimizer.d.ts +41 -0
- package/dist/analytics/form-input-friction-tracker.d.ts +38 -0
- package/dist/analytics/frustration-analyzer.d.ts +117 -0
- package/dist/analytics/frustration-signals-engine.d.ts +88 -0
- package/dist/analytics/funnel-velocity-engine.d.ts +55 -0
- package/dist/analytics/funnels.d.ts +22 -0
- package/dist/analytics/ga4-data-transpiler.d.ts +96 -0
- package/dist/analytics/ga4-historical-importer.d.ts +48 -0
- package/dist/analytics/goal-pacing-tracker.d.ts +44 -0
- package/dist/analytics/google-update-impact-analyzer.d.ts +85 -0
- package/dist/analytics/heading-hierarchy-outline-validator.d.ts +47 -0
- package/dist/analytics/heatmap-density-rasterizer.d.ts +57 -0
- package/dist/analytics/holt-winters-forecast-engine.d.ts +61 -0
- package/dist/analytics/hreflang-integrity-engine.d.ts +61 -0
- package/dist/analytics/hreflang-regional-x-default-cascade-resolver.d.ts +29 -0
- package/dist/analytics/hreflang-return-tag-reciprocity-auditor.d.ts +40 -0
- package/dist/analytics/html-doctype-declaration-legacy-syntax-auditor.d.ts +24 -0
- package/dist/analytics/html-entity-encoding-double-escaping-auditor.d.ts +36 -0
- package/dist/analytics/html-lang-directionality-bidi-auditor.d.ts +39 -0
- package/dist/analytics/html-microformat-hcard-hcalendar-auditor.d.ts +34 -0
- package/dist/analytics/html-text-contrast-accessibility-a11y-auditor.d.ts +47 -0
- package/dist/analytics/http-header-security-seo-audit-engine.d.ts +61 -0
- package/dist/analytics/http-strict-transport-security-preload-auditor.d.ts +40 -0
- package/dist/analytics/http2-server-push-deprecation-early-hints-auditor.d.ts +36 -0
- package/dist/analytics/identity-graph-stitching-engine.d.ts +66 -0
- package/dist/analytics/identity-ip-bucket.d.ts +25 -0
- package/dist/analytics/image-format-density-responsive-optimizer.d.ts +46 -0
- package/dist/analytics/in-page-overlay-mapper.d.ts +47 -0
- package/dist/analytics/index.d.ts +35 -0
- package/dist/analytics/indexnow-instant-indexation-submitter.d.ts +46 -0
- package/dist/analytics/indexnow-instant-submission-protocol-auditor.d.ts +33 -0
- package/dist/analytics/infinite-scroll-virtualized-list-seo-auditor.d.ts +41 -0
- package/dist/analytics/internal-link-anchor-nofollow-equity-leak-auditor.d.ts +37 -0
- package/dist/analytics/internal-link-pagerank-auditor.d.ts +62 -0
- package/dist/analytics/internal-search-query-intelligence.d.ts +82 -0
- package/dist/analytics/internal-search-zero-result-spelling-correction-suggester.d.ts +36 -0
- package/dist/analytics/interrupted-time-series-engine.d.ts +64 -0
- package/dist/analytics/intranet-measurable-engine.d.ts +33 -0
- package/dist/analytics/js-hydration-drift-auditor.d.ts +63 -0
- package/dist/analytics/json-ld-local-business-geo-shape-validator.d.ts +55 -0
- package/dist/analytics/keyword-cannibalization-resolver.d.ts +50 -0
- package/dist/analytics/kmeans-persona-discovery-engine.d.ts +57 -0
- package/dist/analytics/lcp-preload-responsive-image-candidate-picker.d.ts +54 -0
- package/dist/analytics/ld-json-graph-nesting-resolver.d.ts +53 -0
- package/dist/analytics/lfa.d.ts +24 -0
- package/dist/analytics/live-funnel-dropoff-alert-engine.d.ts +64 -0
- package/dist/analytics/log-file-search-engine-ip-reverse-dns-verifier.d.ts +35 -0
- package/dist/analytics/logfile-bot-anomaly-detector.d.ts +62 -0
- package/dist/analytics/long-animation-task-tracker.d.ts +45 -0
- package/dist/analytics/long-task-tracker.d.ts +41 -0
- package/dist/analytics/market-basket-association-engine.d.ts +64 -0
- package/dist/analytics/markov-attribution-engine.d.ts +62 -0
- package/dist/analytics/measurement-protocol-validator.d.ts +64 -0
- package/dist/analytics/meta-robots-unavailable-after-header-auditor.d.ts +29 -0
- package/dist/analytics/metric-driver-analyzer.d.ts +41 -0
- package/dist/analytics/metric-formula-engine.d.ts +47 -0
- package/dist/analytics/mixed-content-http-resource-passive-active-auditor.d.ts +39 -0
- package/dist/analytics/mobile-replay-sanitizer.d.ts +37 -0
- package/dist/analytics/mobile-symbolizer.d.ts +57 -0
- package/dist/analytics/monitor.d.ts +11 -0
- package/dist/analytics/movers-and-shakers-detector.d.ts +48 -0
- package/dist/analytics/multi-armed-bandit-allocator.d.ts +59 -0
- package/dist/analytics/multi-attribution-engine.d.ts +23 -0
- package/dist/analytics/multi-domain-hreflang-cluster-graph.d.ts +61 -0
- package/dist/analytics/multi-funnel-engine.d.ts +38 -0
- package/dist/analytics/multi-site-rollup-engine.d.ts +58 -0
- package/dist/analytics/multi-tab-session-sync.d.ts +41 -0
- package/dist/analytics/navigation-menu-depth-click-proximity-auditor.d.ts +41 -0
- package/dist/analytics/navigation-timing-engine.d.ts +64 -0
- package/dist/analytics/network-information-tracker.d.ts +40 -0
- package/dist/analytics/network-sanitizer.d.ts +53 -0
- package/dist/analytics/network-waterfall-analyzer.d.ts +54 -0
- package/dist/analytics/offline-event-reconciler.d.ts +55 -0
- package/dist/analytics/open-graph-social-card-auditor.d.ts +61 -0
- package/dist/analytics/opengraph-twitter-card-image-dimension-auditor.d.ts +43 -0
- package/dist/analytics/orphan-page-rescue-linker.d.ts +66 -0
- package/dist/analytics/page-lifecycle-tracker.d.ts +29 -0
- package/dist/analytics/pagination-infinite-scroll-auditor.d.ts +67 -0
- package/dist/analytics/parameterized-query-engine.d.ts +43 -0
- package/dist/analytics/predictive-lead-scorer.d.ts +73 -0
- package/dist/analytics/privacy-manager-engine.d.ts +34 -0
- package/dist/analytics/product-tour-telemetry.d.ts +59 -0
- package/dist/analytics/proof-of-work-gatekeeper.d.ts +50 -0
- package/dist/analytics/propensity-scorer-ga4.d.ts +58 -0
- package/dist/analytics/proxy-adblock-bypasser.d.ts +36 -0
- package/dist/analytics/pseo-pattern-rollup.d.ts +64 -0
- package/dist/analytics/public-dashboard-manager.d.ts +56 -0
- package/dist/analytics/query-canvas-graph.d.ts +101 -0
- package/dist/analytics/realtime-concurrency-monitor.d.ts +59 -0
- package/dist/analytics/redirect-chain-shortcut-optimizer.d.ts +61 -0
- package/dist/analytics/referrer-spam-detector.d.ts +60 -0
- package/dist/analytics/release-vitals-correlator.d.ts +59 -0
- package/dist/analytics/replay-annotation-engine.d.ts +50 -0
- package/dist/analytics/replay-audio-track-sync.d.ts +64 -0
- package/dist/analytics/replay-timeline-reconstructor.d.ts +71 -0
- package/dist/analytics/resource-hint-speculation-rules-optimizer.d.ts +43 -0
- package/dist/analytics/resource-timing-engine.d.ts +53 -0
- package/dist/analytics/resource-timing-transfer-size-discrepancy-auditor.d.ts +39 -0
- package/dist/analytics/responsive-search-ad-creative-builder.d.ts +71 -0
- package/dist/analytics/retention-curve-fitting-engine.d.ts +53 -0
- package/dist/analytics/retention.d.ts +6 -0
- package/dist/analytics/rfm-segmentation-engine.d.ts +60 -0
- package/dist/analytics/robots-txt-parity-compiler.d.ts +70 -0
- package/dist/analytics/robots-txt-x-robots-tag-header-conflict-auditor.d.ts +38 -0
- package/dist/analytics/rollup-aggregator.d.ts +65 -0
- package/dist/analytics/rss-atom-feed-syndication-discoverability-auditor.d.ts +45 -0
- package/dist/analytics/rss-widget-feed.d.ts +75 -0
- package/dist/analytics/rum.d.ts +12 -0
- package/dist/analytics/scheduled-reports-engine.d.ts +41 -0
- package/dist/analytics/schema-discrepancy-validator.d.ts +79 -0
- package/dist/analytics/schema-graph-auditor.d.ts +59 -0
- package/dist/analytics/schema-org-course-educational-credential-auditor.d.ts +81 -0
- package/dist/analytics/schema-org-recipe-nutritional-information-validator.d.ts +95 -0
- package/dist/analytics/screen-resolution-engine.d.ts +55 -0
- package/dist/analytics/search-engine-bot-ip-range-geo-location-auditor.d.ts +44 -0
- package/dist/analytics/search-engine-organic-cpc-cannibalization-arbitrage-auditor.d.ts +53 -0
- package/dist/analytics/search-engine-sitemap-image-extension-auditor.d.ts +37 -0
- package/dist/analytics/search-engine-sitemap-news-extension-auditor.d.ts +38 -0
- package/dist/analytics/segment-tree-compiler.d.ts +34 -0
- package/dist/analytics/semantic-metric-validator.d.ts +84 -0
- package/dist/analytics/seo-content-thinness-readability-score-synthesizer.d.ts +40 -0
- package/dist/analytics/seo-split-test-engine.d.ts +83 -0
- package/dist/analytics/serp-ai-overview-citation-auditor.d.ts +64 -0
- package/dist/analytics/serp-intent-congruence-auditor.d.ts +54 -0
- package/dist/analytics/serp-rank-cpc-opportunity-matrix.d.ts +50 -0
- package/dist/analytics/serp-rank-distribution-decay-matrix.d.ts +64 -0
- package/dist/analytics/serp-snippet-faq-accordion-eligibility-scorer.d.ts +40 -0
- package/dist/analytics/serp-snippet-opportunity-hunter.d.ts +58 -0
- package/dist/analytics/serp-snippet-pixel-truncation-estimator.d.ts +39 -0
- package/dist/analytics/serp-volatility-sensor.d.ts +56 -0
- package/dist/analytics/server-timing-header-metrics-decomposer.d.ts +26 -0
- package/dist/analytics/session-issue-classifier.d.ts +82 -0
- package/dist/analytics/session-playlist-orchestrator.d.ts +46 -0
- package/dist/analytics/session-replay-live-assist.d.ts +70 -0
- package/dist/analytics/session-replay-privacy-masker.d.ts +36 -0
- package/dist/analytics/session-similarity-matcher.d.ts +39 -0
- package/dist/analytics/sessionizer.d.ts +47 -0
- package/dist/analytics/sessions.d.ts +2 -0
- package/dist/analytics/shapley-attribution-engine.d.ts +55 -0
- package/dist/analytics/site-health-analyzer.d.ts +76 -0
- package/dist/analytics/site-registry-auditor.d.ts +42 -0
- package/dist/analytics/sitemap-health-auditor.d.ts +61 -0
- package/dist/analytics/sites-manager-engine.d.ts +39 -0
- package/dist/analytics/soft-404-thin-content-scorer.d.ts +33 -0
- package/dist/analytics/sourcemap-symbolizer.d.ts +47 -0
- package/dist/analytics/speculation-rules-prerender-candidate-auditor.d.ts +38 -0
- package/dist/analytics/squarified-treemap-engine.d.ts +37 -0
- package/dist/analytics/ssr-streaming-ttfb-flush-auditor.d.ts +45 -0
- package/dist/analytics/standalone-replay-exporter.d.ts +45 -0
- package/dist/analytics/state-mutation-recorder.d.ts +42 -0
- package/dist/analytics/statistical-anomaly-detector.d.ts +66 -0
- package/dist/analytics/stickiness-engine.d.ts +47 -0
- package/dist/analytics/sticky-user-id.d.ts +31 -0
- package/dist/analytics/structured-data-merchant-return-policy-auditor.d.ts +38 -0
- package/dist/analytics/structured-data-rich-results-eligibility-auditor.d.ts +43 -0
- package/dist/analytics/structured-data-validation-aggregate-score-synthesizer.d.ts +43 -0
- package/dist/analytics/subresource-integrity-cdn-tampering-auditor.d.ts +41 -0
- package/dist/analytics/survey-branching-engine.d.ts +45 -0
- package/dist/analytics/survey-sentiment-driver-analyzer.d.ts +62 -0
- package/dist/analytics/tag-trigger-evaluator.d.ts +91 -0
- package/dist/analytics/tasks-timetable-manager.d.ts +62 -0
- package/dist/analytics/text-selection-tracker.d.ts +66 -0
- package/dist/analytics/third-party-script-cpu-execution-profiler.d.ts +50 -0
- package/dist/analytics/third-party-tracker-cname-cloaking-auditor.d.ts +35 -0
- package/dist/analytics/time-series-forecaster.d.ts +81 -0
- package/dist/analytics/timeseries-transform-engine.d.ts +32 -0
- package/dist/analytics/topical-authority-cluster-graph.d.ts +76 -0
- package/dist/analytics/tracker-install-verifier.d.ts +35 -0
- package/dist/analytics/tracking-plan-drift-detector.d.ts +71 -0
- package/dist/analytics/tracking-proxy-config.d.ts +48 -0
- package/dist/analytics/transitions-matrix-calculator.d.ts +66 -0
- package/dist/analytics/types.d.ts +77 -0
- package/dist/analytics/unified.d.ts +56 -0
- package/dist/analytics/user-feedback-engine.d.ts +79 -0
- package/dist/analytics/user-flow-aggregator.d.ts +67 -0
- package/dist/analytics/user-flow-dropoff-sunburst-engine.d.ts +61 -0
- package/dist/analytics/user-journey-sankey-engine.d.ts +79 -0
- package/dist/analytics/user-language-engine.d.ts +48 -0
- package/dist/analytics/user-lifecycle-analyzer.d.ts +46 -0
- package/dist/analytics/utm-inference-engine.d.ts +42 -0
- package/dist/analytics/video-object-schema-key-moments-scorer.d.ts +52 -0
- package/dist/analytics/viewport-meta-mobile-scalability-auditor.d.ts +35 -0
- package/dist/analytics/visit-time-analyzer.d.ts +49 -0
- package/dist/analytics/visit-time-distribution.d.ts +49 -0
- package/dist/analytics/visitor-interest-engine.d.ts +44 -0
- package/dist/analytics/visual-element-heatmap-mapper.d.ts +59 -0
- package/dist/analytics/web-animations-recorder.d.ts +98 -0
- package/dist/analytics/web-vital-cls-attribution-profiler.d.ts +76 -0
- package/dist/analytics/web-vital-inp-attribution-profiler.d.ts +79 -0
- package/dist/analytics/web-vital-interaction-to-next-paint-event-target-decomposer.d.ts +49 -0
- package/dist/analytics/web-vital-lcp-attribution-profiler.d.ts +77 -0
- package/dist/analytics/web-vitals-attribution-engine.d.ts +103 -0
- package/dist/analytics/web-vitals-fcp-speed-index-auditor.d.ts +48 -0
- package/dist/analytics/web-vitals-tbt-loaf-auditor.d.ts +54 -0
- package/dist/analytics/web-worker-offscreen-canvas-performance-auditor.d.ts +37 -0
- package/dist/analytics/webapp-manifest-pwa-installability-auditor.d.ts +41 -0
- package/dist/analytics/webhooks-engine.d.ts +41 -0
- package/dist/analytics/xml-sitemap-index-paginator-splitter.d.ts +44 -0
- package/dist/analytics/xml-sitemap-video-extension-auditor.d.ts +42 -0
- package/dist/analytics-client.d.ts +87 -1
- package/dist/analytics-import.d.ts +49 -0
- package/dist/analytics-plan-generator.d.ts +57 -0
- package/dist/analytics-query-agent.d.ts +21 -0
- package/dist/analytics-tagging-plan.d.ts +130 -0
- package/dist/anti-adblock/stealth-proxy-generator.d.ts +49 -0
- package/dist/api-playground-catalog.d.ts +34 -0
- package/dist/article-autopilot-orchestrator.d.ts +90 -0
- package/dist/attentive-sync-engine.d.ts +25 -0
- package/dist/attribution-model.d.ts +52 -0
- package/dist/audit-log.d.ts +76 -0
- package/dist/audit-scoring-engine.d.ts +48 -0
- package/dist/autonomous-audit-engine.d.ts +104 -0
- package/dist/autonomous-site-assets-generator.d.ts +37 -0
- package/dist/backlinks-client.d.ts +102 -8
- package/dist/backlinks-store.d.ts +115 -0
- package/dist/bandit-optimizer.d.ts +87 -0
- package/dist/bi-enterprise-suite.d.ts +278 -0
- package/dist/boards/rollup.d.ts +19 -0
- package/dist/boards-rollup.d.ts +97 -0
- package/dist/bookmarks-importer.d.ts +29 -0
- package/dist/bulk-seo-orchestrator.d.ts +51 -0
- package/dist/catalogs/ar.json +223 -0
- package/dist/catalogs/de.json +223 -0
- package/dist/catalogs/es.json +223 -0
- package/dist/catalogs/fr.json +398 -0
- package/dist/catalogs/id.json +223 -0
- package/dist/catalogs/it.json +223 -0
- package/dist/catalogs/ja.json +223 -0
- package/dist/catalogs/ko.json +223 -0
- package/dist/catalogs/nl.json +223 -0
- package/dist/catalogs/pl.json +1146 -0
- package/dist/catalogs/pt.json +223 -0
- package/dist/catalogs/ru.json +223 -0
- package/dist/catalogs/sv.json +223 -0
- package/dist/catalogs/tr.json +223 -0
- package/dist/catalogs/vi.json +223 -0
- package/dist/catalogs/zh.json +223 -0
- package/dist/cdp-pipelines.d.ts +44 -0
- package/dist/chart-annotations.d.ts +26 -0
- package/dist/chart-plan/__tests__/chart-types-cases.d.ts +11 -0
- package/dist/chart-plan/__tests__/static-viz-cases.d.ts +11 -0
- package/dist/chart-plan/__tests__/svg-normalize.d.ts +25 -0
- package/dist/chart-plan/dataset.d.ts +25 -0
- package/dist/chart-plan/geometry/bar.d.ts +13 -0
- package/dist/chart-plan/geometry/boxplot.d.ts +70 -0
- package/dist/chart-plan/geometry/cartesian/axes.d.ts +53 -0
- package/dist/chart-plan/geometry/cartesian/layout.d.ts +47 -0
- package/dist/chart-plan/geometry/cartesian/scales.d.ts +46 -0
- package/dist/chart-plan/geometry/cartesian/series.d.ts +33 -0
- package/dist/chart-plan/geometry/choropleth.d.ts +44 -0
- package/dist/chart-plan/geometry/combo.d.ts +34 -0
- package/dist/chart-plan/geometry/funnel.d.ts +60 -0
- package/dist/chart-plan/geometry/gauge-segmented.d.ts +58 -0
- package/dist/chart-plan/geometry/gauge.d.ts +12 -0
- package/dist/chart-plan/geometry/index.d.ts +44 -0
- package/dist/chart-plan/geometry/legend.d.ts +66 -0
- package/dist/chart-plan/geometry/pie.d.ts +28 -0
- package/dist/chart-plan/geometry/progress-bar.d.ts +46 -0
- package/dist/chart-plan/geometry/sankey.d.ts +90 -0
- package/dist/chart-plan/geometry/scatter.d.ts +61 -0
- package/dist/chart-plan/geometry/scorecard.d.ts +11 -0
- package/dist/chart-plan/geometry/sparkline.d.ts +10 -0
- package/dist/chart-plan/geometry/text.d.ts +25 -0
- package/dist/chart-plan/geometry/treemap.d.ts +51 -0
- package/dist/chart-plan/geometry/trend.d.ts +32 -0
- package/dist/chart-plan/geometry/waterfall.d.ts +51 -0
- package/dist/chart-plan/port/color.d.ts +27 -0
- package/dist/chart-plan/port/constants.d.ts +8 -0
- package/dist/chart-plan/port/numbers.d.ts +24 -0
- package/dist/chart-plan/port/text.d.ts +27 -0
- package/dist/chart-plan/renderers/svg.d.ts +11 -0
- package/dist/chart-plan/types.d.ts +134 -0
- package/dist/citation-verifier.d.ts +53 -0
- package/dist/cli.d.ts +89 -0
- package/dist/cli.js +65518 -0
- package/dist/clickhouse/client.d.ts +21 -0
- package/dist/clickhouse/index.d.ts +2 -0
- package/dist/clickhouse/migrate-cli.d.ts +1 -0
- package/dist/clickhouse/migrate.d.ts +6 -0
- package/dist/clickhouse/migrations/001_raw_events.sql +14 -0
- package/dist/clickhouse/migrations/002_analytics.sql +10 -0
- package/dist/clickhouse/migrations/003_crawl.sql +12 -0
- package/dist/clickhouse/migrations/004_rank.sql +11 -0
- package/dist/clickhouse/migrations/005_backlink.sql +12 -0
- package/dist/clickhouse/migrations/006_mv_hourly.sql +11 -0
- package/dist/clickhouse/migrations/007_pulse_mv_hourly.sql +26 -0
- package/dist/clickhouse/migrations/008_pulse_events_codec.sql +34 -0
- package/dist/clickhouse-functions.d.ts +141 -0
- package/dist/cluster-generator.d.ts +103 -0
- package/dist/cms-publication-client.d.ts +108 -0
- package/dist/competitor-backlink-import.d.ts +54 -0
- package/dist/competitor-insights.d.ts +35 -0
- package/dist/competitor-pages-generator.d.ts +60 -0
- package/dist/content-ai-arsenal.d.ts +1 -1
- package/dist/content-freshness.d.ts +48 -0
- package/dist/content-humanizer.d.ts +46 -0
- package/dist/content-prune-matrix.d.ts +49 -0
- package/dist/content-repurposer.d.ts +90 -0
- package/dist/content-writer.d.ts +43 -0
- package/dist/contextual-auto-linker.d.ts +39 -0
- package/dist/contextual-internal-linker.d.ts +48 -0
- package/dist/conversion-funnel-calculator.d.ts +37 -0
- package/dist/conversion-tracking-generator.d.ts +61 -0
- package/dist/conversions-api.d.ts +136 -0
- package/dist/copy-frameworks-master.d.ts +2 -2
- package/dist/crawl-api-enricher.d.ts +110 -0
- package/dist/crawl-config-profile.d.ts +55 -0
- package/dist/crawl-diff-engine.d.ts +69 -0
- package/dist/crawler/native-crawler.d.ts +179 -0
- package/dist/crawler/native-parser.d.ts +68 -0
- package/dist/crawler-retry-policy.d.ts +18 -0
- package/dist/cro-bayesian-calculator.d.ts +74 -0
- package/dist/cro-copywriting-engine.d.ts +2 -2
- package/dist/cro-heuristic-auditor.d.ts +44 -0
- package/dist/cro-industry-benchmarks.d.ts +76 -0
- package/dist/cro-revenue-attribution-engine.d.ts +53 -0
- package/dist/cro-variant-ai-engine.d.ts +37 -0
- package/dist/cross-filter.d.ts +82 -0
- package/dist/crosslink-scorer.d.ts +1 -1
- package/dist/custom-dimensions.d.ts +58 -0
- package/dist/data-lifecycle-manager.d.ts +121 -0
- package/dist/dataforseo-ai-tracking-client.d.ts +182 -0
- package/dist/dataforseo-business-client.d.ts +191 -0
- package/dist/dataforseo-cost-model.d.ts +126 -0
- package/dist/dataforseo-google-ads-client.d.ts +107 -0
- package/dist/dataforseo-labs-client.d.ts +296 -0
- package/dist/dataforseo-llm-mentions-client.d.ts +213 -0
- package/dist/dataforseo-transport.d.ts +156 -0
- package/dist/dataset-matrix-architect.d.ts +125 -0
- package/dist/datasets/index.d.ts +1 -0
- package/dist/datasets/inferColumnTypes.d.ts +32 -0
- package/dist/deep-crawl-importer.d.ts +120 -0
- package/dist/deep-crawler-auditor.d.ts +185 -0
- package/dist/deep-data-audit.d.ts +134 -0
- package/dist/destinations/destination-circuit-breaker.d.ts +63 -0
- package/dist/destinations/destination-erasure-cascade.d.ts +66 -0
- package/dist/destinations/destination-router.d.ts +45 -0
- package/dist/destinations/object-storage.d.ts +43 -0
- package/dist/destinations/warehouse-schema-generator.d.ts +61 -0
- package/dist/device-detection.d.ts +50 -0
- package/dist/documents-transforms.d.ts +41 -0
- package/dist/domain-heritage-checker.d.ts +41 -0
- package/dist/domain-telemetry.d.ts +101 -0
- package/dist/dragonfly-client.d.ts +221 -0
- package/dist/drill-down.d.ts +41 -0
- package/dist/dynamic-seo-mcp-tools.d.ts +155 -0
- package/dist/ecommerce-offer-ladder.d.ts +43 -0
- package/dist/embed-facade-generator.d.ts +64 -0
- package/dist/embeddable-seo-widget.d.ts +1 -1
- package/dist/engine-compat.d.ts +80 -0
- package/dist/engine.d.ts +4 -0
- package/dist/error-tracking.d.ts +20 -0
- package/dist/event-taxonomy.d.ts +39 -0
- package/dist/executive-report-generator.d.ts +59 -0
- package/dist/experiment-assignment.d.ts +34 -0
- package/dist/experiment-framework.d.ts +85 -0
- package/dist/expired-domain-valuator.d.ts +44 -0
- package/dist/exporters/branded-analytics-report.d.ts +90 -0
- package/dist/exporters/excel-action-tracker.d.ts +32 -0
- package/dist/exporters/html-pdf-report.d.ts +35 -0
- package/dist/exporters/markdown-report.d.ts +13 -0
- package/dist/extended-schemas.d.ts +92 -2
- package/dist/flag-decision.d.ts +72 -0
- package/dist/flag-dependency.d.ts +40 -0
- package/dist/flag-override.d.ts +52 -0
- package/dist/flag-release-schedule.d.ts +34 -0
- package/dist/flow-framework-engine.d.ts +25 -0
- package/dist/free-public-tools.d.ts +1 -1
- package/dist/funnel-builder.d.ts +114 -0
- package/dist/g17-live-metrics.d.ts +37 -0
- package/dist/g18-attribution-advanced.d.ts +18 -0
- package/dist/g19-heatmap-rum.d.ts +14 -0
- package/dist/g20-public-status-advanced.d.ts +19 -0
- package/dist/g21-audit-trail.d.ts +35 -0
- package/dist/g22-segment-builder.d.ts +23 -0
- package/dist/g23-funnel-builder.d.ts +37 -0
- package/dist/g24-advanced-sql-engine.d.ts +46 -0
- package/dist/g25-edge-latency.d.ts +2 -0
- package/dist/g26-turnstile-advanced.d.ts +18 -0
- package/dist/g27-third-party-profiles.d.ts +9 -0
- package/dist/g28-live-metrics-advanced.d.ts +25 -0
- package/dist/g29-segment-analysis.d.ts +20 -0
- package/dist/g30-geo-embedding.d.ts +27 -0
- package/dist/g31-identity-resolver.d.ts +27 -0
- package/dist/ga4-gsc-mcp-tools.d.ts +187 -0
- package/dist/gamified-cro-engine.d.ts +62 -0
- package/dist/gbp-client.d.ts +203 -0
- package/dist/geo-badge-generator.d.ts +27 -0
- package/dist/geo-cdn-waf-auditor.d.ts +37 -0
- package/dist/geo-ci-formatter.d.ts +50 -0
- package/dist/geo-citability-scorer.d.ts +77 -0
- package/dist/geo-competitive-narrative.d.ts +76 -0
- package/dist/geo-content-decay.d.ts +27 -0
- package/dist/geo-context-window.d.ts +30 -0
- package/dist/geo-diff-engine.d.ts +60 -0
- package/dist/geo-factual-accuracy-auditor.d.ts +40 -0
- package/dist/geo-fixer.d.ts +36 -0
- package/dist/geo-grid-rank-tracker.d.ts +54 -0
- package/dist/geo-hallucination-bait.d.ts +30 -0
- package/dist/geo-instruction-auditor.d.ts +37 -0
- package/dist/geo-js-auditor.d.ts +25 -0
- package/dist/geo-multi-turn-persistence.d.ts +55 -0
- package/dist/geo-multimodal-auditor.d.ts +33 -0
- package/dist/geo-negative-signals.d.ts +49 -0
- package/dist/geo-page-intent-mapper.d.ts +46 -0
- package/dist/geo-perception-extractor.d.ts +50 -0
- package/dist/geo-platform-auditor.d.ts +82 -0
- package/dist/geo-prompt-injection-detector.d.ts +25 -0
- package/dist/geo-score-calculator.d.ts +214 -0
- package/dist/geo-semantic-coherence.d.ts +36 -0
- package/dist/geo-semantic-drift-detector.d.ts +34 -0
- package/dist/geo-site-scaffolding.d.ts +71 -0
- package/dist/geo-topical-authority-cluster.d.ts +44 -0
- package/dist/geo-topical-authority.d.ts +42 -0
- package/dist/geo-trust-stack.d.ts +45 -0
- package/dist/geo-webmcp-auditor.d.ts +33 -0
- package/dist/geoip.d.ts +61 -0
- package/dist/google-ai-readiness-auditor.d.ts +77 -0
- package/dist/google-policy-sentinel.d.ts +68 -0
- package/dist/gorgias-sync-engine.d.ts +47 -0
- package/dist/governance/schema-discovery.d.ts +37 -0
- package/dist/governance/tracking-plan.d.ts +79 -0
- package/dist/gsc-auto-sync-scheduler.d.ts +80 -0
- package/dist/gsc-disavow-export-engine.d.ts +45 -0
- package/dist/headings-outline-engine.d.ts +37 -0
- package/dist/heatmap-rum.d.ts +67 -0
- package/dist/html-diff-engine.d.ts +44 -0
- package/dist/html-snapshot-replay.d.ts +47 -0
- package/dist/humanity-ai-scrubber.d.ts +77 -3
- package/dist/i18n/index.d.ts +1 -0
- package/dist/i18n/translator.d.ts +71 -0
- package/dist/identity-resolver.d.ts +162 -0
- package/dist/image-cwv-auditor.d.ts +59 -0
- package/dist/image-geo-exif-enricher.d.ts +68 -0
- package/dist/impact-analysis.d.ts +85 -0
- package/dist/index.d.ts +782 -7
- package/dist/index.js +217403 -10597
- package/dist/index.mjs +217403 -10597
- package/dist/indexnow-client.d.ts +33 -1
- package/dist/information-gain-scorer.d.ts +36 -0
- package/dist/instant-matrix-search.d.ts +1 -1
- package/dist/integrations/cloudflare-browser-renderer.d.ts +100 -0
- package/dist/integrations/dataforseo-audit-client.d.ts +152 -0
- package/dist/integrations/linkwarden-connector.d.ts +72 -0
- package/dist/integrations/pagespeed-client.d.ts +61 -0
- package/dist/internal-link-graph-engine.d.ts +120 -0
- package/dist/international-seo-auditor.d.ts +91 -0
- package/dist/inventory-scarcity-engine.d.ts +30 -0
- package/dist/iptc-media-validator.d.ts +30 -0
- package/dist/isr-cache-manager.d.ts +4 -2
- package/dist/jev-qualifier.d.ts +129 -0
- package/dist/jobs/retry-queue.d.ts +19 -0
- package/dist/kafka-producer.d.ts +48 -0
- package/dist/keyword-advanced-catalog.d.ts +59 -0
- package/dist/keyword-analytics-engine.d.ts +119 -0
- package/dist/keyword-bundle-orchestrator.d.ts +44 -0
- package/dist/keyword-cost-estimator.d.ts +45 -0
- package/dist/keyword-export-engine.d.ts +52 -0
- package/dist/keyword-market-validator.d.ts +35 -0
- package/dist/keyword-merger.d.ts +81 -0
- package/dist/keyword-permutator.d.ts +0 -1
- package/dist/keyword-session-manager.d.ts +84 -0
- package/dist/keyword-trend-sparkline.d.ts +55 -0
- package/dist/keywords/cannibalization.d.ts +15 -0
- package/dist/klaviyo-sync-engine.d.ts +75 -0
- package/dist/knowledge-graph-linker.d.ts +31 -1
- package/dist/kvi-opportunity-calculator.d.ts +61 -0
- package/dist/lago-token-meter.d.ts +4 -0
- package/dist/lcp-subparts-analyzer.d.ts +56 -0
- package/dist/links/backlinks-gap.d.ts +31 -0
- package/dist/links/competitors-import.d.ts +17 -0
- package/dist/links/opportunities.d.ts +20 -0
- package/dist/links-matrix-exporter.d.ts +31 -0
- package/dist/live-ai-citation-tester.d.ts +95 -0
- package/dist/live-co-browsing.d.ts +135 -0
- package/dist/live-metrics-advanced.d.ts +60 -0
- package/dist/llm-content-cleaner.d.ts +28 -1
- package/dist/llms-txt-generator.d.ts +42 -0
- package/dist/local-geogrid-simulator.d.ts +48 -0
- package/dist/local-seo-importer.d.ts +143 -0
- package/dist/local-seo-review-intelligence.d.ts +62 -0
- package/dist/longform-article-planner.d.ts +37 -0
- package/dist/lql/compiler.d.ts +2 -0
- package/dist/lql/index.d.ts +4 -0
- package/dist/lql/streaming.d.ts +8 -0
- package/dist/lql/types.d.ts +54 -0
- package/dist/lql/validator.d.ts +2 -0
- package/dist/lylql/compiler.d.ts +2 -0
- package/dist/lylql/index.d.ts +27 -0
- package/dist/lylql/lql-types.d.ts +43 -0
- package/dist/lylql/streaming.d.ts +1 -0
- package/dist/lylql/types.d.ts +3 -0
- package/dist/lylql/validator.d.ts +4 -0
- package/dist/lynx-agent-readiness-auditor.d.ts +89 -0
- package/dist/lynx-pulse-prism-engine.d.ts +70 -0
- package/dist/mailchimp-sync-engine.d.ts +50 -0
- package/dist/marketing-council-engine.d.ts +94 -0
- package/dist/marketing-skills-engine.d.ts +56 -1
- package/dist/marketplace-price-intelligence.d.ts +75 -0
- package/dist/master-audit-orchestrator.d.ts +118 -0
- package/dist/master-marketing-engine.d.ts +1 -1
- package/dist/matrix-engine.d.ts +87 -2
- package/dist/mbql/compiler.d.ts +2 -0
- package/dist/mbql/index.d.ts +4 -0
- package/dist/mbql/streaming.d.ts +8 -0
- package/dist/mbql/types.d.ts +54 -0
- package/dist/mbql/validator.d.ts +2 -0
- package/dist/mcp-seo-server.d.ts +11 -1
- package/dist/mcp-seo-server.js +100293 -0
- package/dist/meta-ad-library-intelligence.d.ts +91 -0
- package/dist/metric-glossary.d.ts +48 -0
- package/dist/mobile-event-queue.d.ts +68 -0
- package/dist/monolith-inliner.d.ts +20 -0
- package/dist/multi-source-attribution.d.ts +59 -0
- package/dist/multi-touch-attribution.d.ts +50 -0
- package/dist/nango-integration.d.ts +99 -0
- package/dist/nap-consistency-checker.d.ts +60 -0
- package/dist/narrative-validator.d.ts +38 -0
- package/dist/near-duplicate-detector.d.ts +84 -0
- package/dist/network-intelligence.d.ts +37 -0
- package/dist/ngram-density-analyzer.d.ts +1 -1
- package/dist/nl-to-sql-engine.d.ts +99 -0
- package/dist/omnisend-sync-engine.d.ts +31 -0
- package/dist/openreplay-adapted/clickmap-adapted.d.ts +17 -0
- package/dist/openreplay-adapted/console-adapted.d.ts +13 -0
- package/dist/openreplay-adapted/exception-adapted.d.ts +18 -0
- package/dist/openreplay-adapted/feature-flags-adapted.d.ts +20 -0
- package/dist/openreplay-adapted/input-adapted.d.ts +16 -0
- package/dist/openreplay-adapted/integrations-adapted.d.ts +29 -0
- package/dist/openreplay-adapted/mouse-adapted.d.ts +19 -0
- package/dist/openreplay-adapted/network-adapted.d.ts +28 -0
- package/dist/openreplay-adapted/performance-adapted.d.ts +16 -0
- package/dist/openreplay-adapted/sourcemap-uploader-adapted.d.ts +22 -0
- package/dist/openreplay-adapted/sourcemapreader-adapted.d.ts +22 -0
- package/dist/openreplay-adapted/state-adapted.d.ts +20 -0
- package/dist/openserp-client.d.ts +48 -0
- package/dist/page-delivery-auditor.d.ts +31 -0
- package/dist/page-snapshotter.d.ts +41 -0
- package/dist/parasite-seo-detector.d.ts +59 -0
- package/dist/period-compare.d.ts +34 -0
- package/dist/persistent-page-store.d.ts +129 -0
- package/dist/pipeline/dlq-manager.d.ts +99 -0
- package/dist/pipeline/event-deduplication.d.ts +59 -0
- package/dist/pipeline/event-replay.d.ts +40 -0
- package/dist/pipeline/event-sampler.d.ts +37 -0
- package/dist/pipeline/event-transform-pipeline.d.ts +89 -0
- package/dist/pipeline/event-watermark-reorderer.d.ts +50 -0
- package/dist/pipeline/payload-compressor.d.ts +20 -0
- package/dist/plugin/custom-dimensions-plugin.d.ts +24 -0
- package/dist/plugin/device-detection-plugin.d.ts +23 -0
- package/dist/plugin/event-bus.d.ts +47 -0
- package/dist/plugin/geoip-plugin.d.ts +25 -0
- package/dist/plugin/heatmap-plugin.d.ts +23 -0
- package/dist/plugin/index.d.ts +6 -0
- package/dist/plugin/manager.d.ts +27 -0
- package/dist/plugin/rum-plugin.d.ts +25 -0
- package/dist/plugin/types.d.ts +33 -0
- package/dist/plugin/user-id-plugin.d.ts +25 -0
- package/dist/plugins/account-analytics/index.d.ts +39 -0
- package/dist/plugins/actions/index.d.ts +68 -0
- package/dist/plugins/activity-log/index.d.ts +58 -0
- package/dist/plugins/ai-agents/index.d.ts +75 -0
- package/dist/plugins/analytics-notebooks/index.d.ts +86 -0
- package/dist/plugins/annotations/index.d.ts +46 -0
- package/dist/plugins/anonymous-tracking/index.d.ts +41 -0
- package/dist/plugins/approvals/index.d.ts +96 -0
- package/dist/plugins/archiving-metrics/index.d.ts +98 -0
- package/dist/plugins/assist-cobrowse/index.d.ts +60 -0
- package/dist/plugins/automated-workflows/index.d.ts +63 -0
- package/dist/plugins/bandwidth/index.d.ts +53 -0
- package/dist/plugins/batch-exports/index.d.ts +95 -0
- package/dist/plugins/bot-tracking/index.d.ts +68 -0
- package/dist/plugins/bulk-tracking/index.d.ts +48 -0
- package/dist/plugins/clips-highlights/index.d.ts +75 -0
- package/dist/plugins/cohort-retention/index.d.ts +43 -0
- package/dist/plugins/consent-analytics/consent-analytics.d.ts +64 -0
- package/dist/plugins/consent-analytics/index.d.ts +1 -0
- package/dist/plugins/content-treemap/index.d.ts +52 -0
- package/dist/plugins/contents/index.d.ts +42 -0
- package/dist/plugins/correlation-analysis/index.d.ts +43 -0
- package/dist/plugins/custom-alerts/index.d.ts +22 -0
- package/dist/plugins/custom-dimensions/index.d.ts +38 -0
- package/dist/plugins/custom-js-tracker/index.d.ts +49 -0
- package/dist/plugins/custom-variables/index.d.ts +57 -0
- package/dist/plugins/dashboard-presets/dashboard-presets.d.ts +51 -0
- package/dist/plugins/dashboard-presets/index.d.ts +1 -0
- package/dist/plugins/dashboard-widgets/index.d.ts +55 -0
- package/dist/plugins/data-quality/index.d.ts +57 -0
- package/dist/plugins/data-warehouse/index.d.ts +100 -0
- package/dist/plugins/db-stats/index.d.ts +75 -0
- package/dist/plugins/device-plugins/index.d.ts +73 -0
- package/dist/plugins/devices-detection/index.d.ts +39 -0
- package/dist/plugins/early-access-features/index.d.ts +51 -0
- package/dist/plugins/ecommerce/index.d.ts +52 -0
- package/dist/plugins/error-tracking/index.d.ts +101 -0
- package/dist/plugins/event-simulator/index.d.ts +53 -0
- package/dist/plugins/event-usage-budgets/index.d.ts +60 -0
- package/dist/plugins/events/index.d.ts +72 -0
- package/dist/plugins/experiments/index.d.ts +87 -0
- package/dist/plugins/feedback/index.d.ts +47 -0
- package/dist/plugins/form-analytics/index.d.ts +53 -0
- package/dist/plugins/geoip/index.d.ts +50 -0
- package/dist/plugins/geoip-updater/index.d.ts +97 -0
- package/dist/plugins/goals/index.d.ts +85 -0
- package/dist/plugins/group-analytics/index.d.ts +65 -0
- package/dist/plugins/heartbeat/index.d.ts +50 -0
- package/dist/plugins/heatmap-scrollmap/index.d.ts +63 -0
- package/dist/plugins/hog-functions/index.d.ts +88 -0
- package/dist/plugins/ingestion-warnings/index.d.ts +80 -0
- package/dist/plugins/insights/index.d.ts +47 -0
- package/dist/plugins/intranet-measurable/index.d.ts +36 -0
- package/dist/plugins/js-tracker-install-check/index.d.ts +62 -0
- package/dist/plugins/language-distribution/index.d.ts +46 -0
- package/dist/plugins/leads/index.d.ts +118 -0
- package/dist/plugins/live/index.d.ts +71 -0
- package/dist/plugins/live-debugger/index.d.ts +100 -0
- package/dist/plugins/live-detailed/index.d.ts +44 -0
- package/dist/plugins/llm-observability/index.d.ts +91 -0
- package/dist/plugins/log-viewer/index.d.ts +59 -0
- package/dist/plugins/marketing-campaigns/index.d.ts +63 -0
- package/dist/plugins/media-analytics/index.d.ts +60 -0
- package/dist/plugins/mobile-app-measurable/index.d.ts +80 -0
- package/dist/plugins/mobile-messaging/index.d.ts +84 -0
- package/dist/plugins/multi-sites/index.d.ts +45 -0
- package/dist/plugins/overlay/index.d.ts +48 -0
- package/dist/plugins/page-performance/index.d.ts +30 -0
- package/dist/plugins/privacy-manager/index.d.ts +108 -0
- package/dist/plugins/product-tours/index.d.ts +58 -0
- package/dist/plugins/provider/index.d.ts +53 -0
- package/dist/plugins/query-cost-profiler/index.d.ts +1 -0
- package/dist/plugins/query-cost-profiler/query-cost-profiler.d.ts +67 -0
- package/dist/plugins/queued-tracking/index.d.ts +57 -0
- package/dist/plugins/real-time-usage/index.d.ts +67 -0
- package/dist/plugins/referrer-brand-enricher/index.d.ts +1 -0
- package/dist/plugins/referrer-brand-enricher/referrer-brand-enricher.d.ts +59 -0
- package/dist/plugins/referrers/index.d.ts +14 -0
- package/dist/plugins/referrers-complet/index.d.ts +52 -0
- package/dist/plugins/registry.d.ts +112 -0
- package/dist/plugins/replay/index.d.ts +64 -0
- package/dist/plugins/replay-vision/index.d.ts +45 -0
- package/dist/plugins/resolution/index.d.ts +49 -0
- package/dist/plugins/resource-transfer/index.d.ts +95 -0
- package/dist/plugins/revenue-analytics/index.d.ts +73 -0
- package/dist/plugins/scheduled-reports/index.d.ts +71 -0
- package/dist/plugins/security-info/index.d.ts +58 -0
- package/dist/plugins/segment-editor/index.d.ts +73 -0
- package/dist/plugins/site-search/index.d.ts +55 -0
- package/dist/plugins/smart-alerts-anomaly/index.d.ts +61 -0
- package/dist/plugins/sql-cohort/index.d.ts +73 -0
- package/dist/plugins/surveys/index.d.ts +97 -0
- package/dist/plugins/system-diagnostics/index.d.ts +65 -0
- package/dist/plugins/tag-manager/container.d.ts +98 -0
- package/dist/plugins/tag-manager/evaluate.d.ts +63 -0
- package/dist/plugins/tag-manager/export.d.ts +62 -0
- package/dist/plugins/tag-manager/index.d.ts +104 -0
- package/dist/plugins/tag-manager/runtime.d.ts +75 -0
- package/dist/plugins/tag-manager/templates.d.ts +87 -0
- package/dist/plugins/tasks-timetable/index.d.ts +46 -0
- package/dist/plugins/taxonomy-dictionary/index.d.ts +60 -0
- package/dist/plugins/theme/index.d.ts +83 -0
- package/dist/plugins/tracking-spam-prevention/index.d.ts +29 -0
- package/dist/plugins/traffic-shield/index.d.ts +1 -0
- package/dist/plugins/traffic-shield/traffic-shield.d.ts +64 -0
- package/dist/plugins/transitions/index.d.ts +69 -0
- package/dist/plugins/two-factor-auth/index.d.ts +59 -0
- package/dist/plugins/user-country-map/index.d.ts +49 -0
- package/dist/plugins/user-id/index.d.ts +32 -0
- package/dist/plugins/user-language/index.d.ts +13 -0
- package/dist/plugins/user-paths/index.d.ts +60 -0
- package/dist/plugins/users-manager/index.d.ts +69 -0
- package/dist/plugins/visit-frequency/index.d.ts +49 -0
- package/dist/plugins/visit-time/index.d.ts +50 -0
- package/dist/plugins/visitor-interest/index.d.ts +77 -0
- package/dist/plugins/visits-summary/index.d.ts +64 -0
- package/dist/plugins/weekly-traffic/index.d.ts +1 -0
- package/dist/plugins/weekly-traffic/weekly-traffic.d.ts +75 -0
- package/dist/plugins/widgetize/index.d.ts +55 -0
- package/dist/postscript-sync-engine.d.ts +35 -0
- package/dist/privacy/network-replay-sanitizer.d.ts +42 -0
- package/dist/privacy/privacy-sanitizer.d.ts +51 -0
- package/dist/privacy-tracker-generator.d.ts +81 -0
- package/dist/privacy-visitor-hasher.d.ts +62 -0
- package/dist/product-analytics.d.ts +51 -0
- package/dist/product-health-analyzer.d.ts +86 -0
- package/dist/product-usage-analytics.d.ts +46 -0
- package/dist/profiles/behavioral-cohort.d.ts +59 -0
- package/dist/profiles/customer-360.d.ts +39 -0
- package/dist/providers/firecrawl-provider.d.ts +30 -0
- package/dist/providers/firecrawl.d.ts +33 -0
- package/dist/providers/profound-provider.d.ts +28 -0
- package/dist/providers/profound.d.ts +30 -0
- package/dist/providers/search-provider.d.ts +9 -0
- package/dist/providers/seranking-provider.d.ts +29 -0
- package/dist/providers/seranking.d.ts +32 -0
- package/dist/pseo-cli.d.ts +9 -0
- package/dist/pseo-feasibility-scorer.d.ts +44 -0
- package/dist/pseo-geo-citability-booster.d.ts +75 -0
- package/dist/pseo-preflight-gate.d.ts +73 -0
- package/dist/pseo-publisher-bridge.d.ts +59 -0
- package/dist/pseo-quality-circuit-breaker.d.ts +60 -0
- package/dist/public-page-interactive.d.ts +77 -0
- package/dist/public-status-pages.d.ts +61 -0
- package/dist/pulse-remote-config.d.ts +36 -0
- package/dist/pulse-shield-engine.d.ts +76 -0
- package/dist/pulse-telemetry.d.ts +77 -0
- package/dist/rank-math-parity.d.ts +2 -2
- package/dist/rbac-granular.d.ts +47 -0
- package/dist/reader-cleaner.d.ts +40 -0
- package/dist/real-user-monitoring.d.ts +93 -0
- package/dist/real-volume-indexability-gate.d.ts +37 -0
- package/dist/realtime-visitors.d.ts +87 -0
- package/dist/regex-redirect-engine.d.ts +75 -0
- package/dist/report-builder.d.ts +79 -0
- package/dist/resource-hub-generator.d.ts +44 -0
- package/dist/reverse-etl/audience-sync.d.ts +76 -0
- package/dist/rich-results-validator.d.ts +54 -0
- package/dist/rivo-sync-engine.d.ts +33 -0
- package/dist/robots-policy.d.ts +54 -0
- package/dist/robots-txt-simulator.d.ts +94 -0
- package/dist/robots-unified.d.ts +132 -0
- package/dist/row-column-ls.d.ts +64 -0
- package/dist/rss-syndication-feed.d.ts +1 -1
- package/dist/rules/checks-runner.d.ts +17 -0
- package/dist/rules/search-central-catalog.d.ts +43 -0
- package/dist/rum-metrics.d.ts +20 -0
- package/dist/saved-segments.d.ts +38 -0
- package/dist/scheduled-reports.d.ts +42 -0
- package/dist/schema-builder.d.ts +14 -0
- package/dist/screaming-frog-importer.d.ts +109 -0
- package/dist/sdk/lynx-mobile-replay.d.ts +129 -0
- package/dist/sdk/lynx-mobile-sdk.d.ts +152 -0
- package/dist/sdk/lynx-node-sdk.d.ts +138 -0
- package/dist/sdk/react-native/lynx-react-native.d.ts +88 -0
- package/dist/sea-seo-bridge-engine.d.ts +121 -0
- package/dist/selfhost-extensions.d.ts +57 -0
- package/dist/semantic/agent-schema.d.ts +322 -0
- package/dist/semantic/cache.d.ts +91 -0
- package/dist/semantic/catalog/seo-models.d.ts +2 -0
- package/dist/semantic/catalog/seo-models.fixtures.d.ts +17 -0
- package/dist/semantic/chart-suggestion.d.ts +23 -0
- package/dist/semantic/compiler.d.ts +69 -0
- package/dist/semantic/diagnostics.d.ts +62 -0
- package/dist/semantic/dialects/bigquery.d.ts +2 -0
- package/dist/semantic/dialects/clickhouse.d.ts +2 -0
- package/dist/semantic/dialects/features.d.ts +10 -0
- package/dist/semantic/dialects/index.d.ts +10 -0
- package/dist/semantic/dialects/postgres.d.ts +2 -0
- package/dist/semantic/dialects/redshift.d.ts +2 -0
- package/dist/semantic/dialects/registry.d.ts +31 -0
- package/dist/semantic/dialects/snowflake.d.ts +2 -0
- package/dist/semantic/dialects/sqlite.d.ts +2 -0
- package/dist/semantic/dialects/types.d.ts +118 -0
- package/dist/semantic/eval-memory.d.ts +41 -0
- package/dist/semantic/expr-json.d.ts +6 -0
- package/dist/semantic/expr.d.ts +59 -0
- package/dist/semantic/filters/coerce.d.ts +54 -0
- package/dist/semantic/filters/evaluate.d.ts +27 -0
- package/dist/semantic/filters/operators.d.ts +55 -0
- package/dist/semantic/filters/types.d.ts +79 -0
- package/dist/semantic/hogql-transpiler.d.ts +49 -0
- package/dist/semantic/metadata.d.ts +139 -0
- package/dist/semantic/parameters/filter-parameter.d.ts +19 -0
- package/dist/semantic/parameters/json.d.ts +11 -0
- package/dist/semantic/parameters/resolve.d.ts +26 -0
- package/dist/semantic/parameters/types.d.ts +23 -0
- package/dist/semantic/parameters/values.d.ts +60 -0
- package/dist/semantic/periods/period-filter.d.ts +32 -0
- package/dist/semantic/periods/relative.d.ts +86 -0
- package/dist/semantic/pipeline.d.ts +197 -0
- package/dist/semantic/pivot-powerset.d.ts +31 -0
- package/dist/semantic/pivot.d.ts +58 -0
- package/dist/semantic/primitives.d.ts +23 -0
- package/dist/semantic/question.d.ts +71 -0
- package/dist/semantic/registry.d.ts +31 -0
- package/dist/semantic/sandbox.d.ts +132 -0
- package/dist/semantic/schema-registry.d.ts +65 -0
- package/dist/semantic/schema-validator.d.ts +16 -0
- package/dist/semantic/schemas/expr.schemas.d.ts +1 -0
- package/dist/semantic/schemas/index.d.ts +4 -0
- package/dist/semantic/schemas/pipeline.schemas.d.ts +1 -0
- package/dist/semantic/schemas/query.schemas.d.ts +1 -0
- package/dist/semantic/schemas/semantic-query.schemas.d.ts +1 -0
- package/dist/semantic/serialization.d.ts +356 -0
- package/dist/semantic/sql-ast-builder.d.ts +45 -0
- package/dist/semantic/sql-ast.d.ts +155 -0
- package/dist/semantic/sql-formatter.d.ts +12 -0
- package/dist/semantic/sql-guard.d.ts +28 -0
- package/dist/semantic/sql-lex.d.ts +31 -0
- package/dist/semantic/sql-snippets.d.ts +39 -0
- package/dist/semantic/streaming.d.ts +54 -0
- package/dist/semantic/timezone.d.ts +24 -0
- package/dist/semantic/transforms/dag.d.ts +43 -0
- package/dist/semantic/types.d.ts +199 -0
- package/dist/semantic/vocabulary.d.ts +10 -0
- package/dist/semantic-auditor.d.ts +51 -0
- package/dist/sendlane-sync-engine.d.ts +32 -0
- package/dist/seo-chart-spec.d.ts +63 -0
- package/dist/seo-diagram-generator.d.ts +86 -0
- package/dist/seo-drift-comparator.d.ts +82 -0
- package/dist/seo-metric-registry.d.ts +86 -0
- package/dist/seo-opportunities-decay.d.ts +1 -1
- package/dist/seo-opportunity-prioritizer.d.ts +53 -15
- package/dist/seo-quadrant-analyzer.d.ts +133 -0
- package/dist/seo-query-builder.d.ts +70 -0
- package/dist/seo-spelling-grammar-auditor.d.ts +42 -0
- package/dist/serp/serp-features.d.ts +10 -0
- package/dist/serp/serp-history.d.ts +21 -0
- package/dist/serp-alert-dispatcher.d.ts +119 -0
- package/dist/serp-client.d.ts +193 -21
- package/dist/serp-features-scorer.d.ts +43 -0
- package/dist/serp-retry-queue.d.ts +50 -0
- package/dist/server-log-parser.d.ts +56 -0
- package/dist/session-replay-adapted.d.ts +27 -0
- package/dist/session-replay-recorder.d.ts +53 -0
- package/dist/shopify-autopilot-bridge.d.ts +69 -0
- package/dist/shopify-discount-engine.d.ts +51 -0
- package/dist/shopify-seo-connector.d.ts +80 -0
- package/dist/short-links.d.ts +59 -0
- package/dist/shortlinks/shortlinks.d.ts +14 -0
- package/dist/site-crawler.d.ts +221 -11
- package/dist/sitemap-chunk-partitioner.d.ts +62 -0
- package/dist/slug-engine.d.ts +6 -0
- package/dist/sms-compliance-engine.d.ts +47 -0
- package/dist/social-ad-creative-intelligence.d.ts +65 -0
- package/dist/social-article-carousel-generator.d.ts +63 -0
- package/dist/social-community-insights.d.ts +30 -2
- package/dist/social-growth-suite.d.ts +12 -2
- package/dist/social-serp-preview-simulator.d.ts +87 -0
- package/dist/spintax-permutator.d.ts +47 -0
- package/dist/sql-engine-advanced.d.ts +476 -0
- package/dist/sql-query-builder.d.ts +23 -0
- package/dist/static-viz-renderer.d.ts +30 -0
- package/dist/strategic-roadmap-generator.d.ts +34 -0
- package/dist/supercocon-hierarchy-architect.d.ts +73 -0
- package/dist/survey-builder.d.ts +59 -0
- package/dist/sxo-experience-optimizer.d.ts +51 -0
- package/dist/technical-rules-auditor.d.ts +37 -6
- package/dist/telemetry-doctor.d.ts +97 -0
- package/dist/timelines/projection.d.ts +69 -0
- package/dist/timelines/visibility.d.ts +80 -0
- package/dist/tools/log-analytics-importer.d.ts +82 -0
- package/dist/tracker-adapted/clickmap-adapted.d.ts +33 -0
- package/dist/tracker-adapted/cohort-builder-adapted.d.ts +25 -0
- package/dist/tracker-adapted/console-adapted.d.ts +10 -0
- package/dist/tracker-adapted/exception-adapted.d.ts +35 -0
- package/dist/tracker-adapted/feature-flags-adapted.d.ts +23 -0
- package/dist/tracker-adapted/input-adapted.d.ts +37 -0
- package/dist/tracker-adapted/integrations-adapted.d.ts +157 -0
- package/dist/tracker-adapted/mixpanel-adapted.d.ts +19 -0
- package/dist/tracker-adapted/ml-alerts-adapted.d.ts +24 -0
- package/dist/tracker-adapted/mouse-adapted.d.ts +16 -0
- package/dist/tracker-adapted/network-adapted.d.ts +25 -0
- package/dist/tracker-adapted/offline-resilient-queue.d.ts +66 -0
- package/dist/tracker-adapted/performance-adapted.d.ts +13 -0
- package/dist/tracker-adapted/sourcemap-uploader-adapted.d.ts +19 -0
- package/dist/tracker-adapted/sourcemapreader-adapted.d.ts +19 -0
- package/dist/tracker-adapted/state-adapted.d.ts +17 -0
- package/dist/traffic-attribution.d.ts +39 -0
- package/dist/traffic-valuation-engine.d.ts +68 -0
- package/dist/types.d.ts +3 -3
- package/dist/ucp-validator.d.ts +67 -0
- package/dist/unified-hybrid-scorer.d.ts +86 -0
- package/dist/universal-seo-bridge.d.ts +174 -0
- package/dist/urlytics-engine.d.ts +0 -1
- package/dist/user-agent-parser.d.ts +25 -0
- package/dist/user-id-tracking.d.ts +74 -0
- package/dist/user-journeys-advanced.d.ts +30 -0
- package/dist/user-journeys.d.ts +19 -0
- package/dist/user-traits.d.ts +15 -0
- package/dist/utm-conventions.d.ts +37 -0
- package/dist/video-seo-metadata-optimizer.d.ts +54 -0
- package/dist/video-youtube-analyzer.d.ts +11 -0
- package/dist/wayback-client.d.ts +36 -0
- package/dist/webhook-service.d.ts +98 -0
- package/dist/webhooks-dispatcher.d.ts +178 -0
- package/dist/weekly-report.d.ts +40 -0
- package/dist/white-label-exports.d.ts +50 -0
- package/dist/word-frequency-analyzer.d.ts +48 -0
- package/dist/xlsx-workbook.d.ts +15 -0
- package/dist/xray-dashboard.d.ts +76 -0
- package/dist/yoast-parity.d.ts +86 -5
- package/dist/yoast-schema-graph.d.ts +39 -0
- package/dist/yoast-variable-replacer.d.ts +34 -0
- package/dist/yotpo-sync-engine.d.ts +28 -0
- package/dist/youtube-api-client.d.ts +139 -0
- package/package.json +32 -8
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RevenueAnalytics Plugin — LynxSEO Engine
|
|
3
|
+
*
|
|
4
|
+
* Parité fonctionnelle :
|
|
5
|
+
* - PostHog Platform : Revenue Analytics (MRR, ARR, Expansion vs Churn, LTV, CAC, NRR, cohortes de revenus)
|
|
6
|
+
* - Matomo Advanced Ecommerce : Attribution financière des conversions par canal de référencement (SEO Organique vs Payant)
|
|
7
|
+
*
|
|
8
|
+
* Licence : AGPL-3.0-or-later
|
|
9
|
+
*/
|
|
10
|
+
import type { LynxSeoPlugin, PluginContext, PluginEvent, PluginManifest } from "../../plugin";
|
|
11
|
+
export type TransactionType = "new" | "renewal" | "upgrade" | "churn" | "refund";
|
|
12
|
+
export interface RevenueTransaction {
|
|
13
|
+
id: string;
|
|
14
|
+
siteId: string;
|
|
15
|
+
customerId: string;
|
|
16
|
+
amountUsd: number;
|
|
17
|
+
type: TransactionType;
|
|
18
|
+
plan: string;
|
|
19
|
+
channel: string;
|
|
20
|
+
channelName: string;
|
|
21
|
+
timestamp: string;
|
|
22
|
+
}
|
|
23
|
+
export interface ChannelRevenueBreakdown {
|
|
24
|
+
channel: string;
|
|
25
|
+
channelName: string;
|
|
26
|
+
totalRevenueUsd: number;
|
|
27
|
+
transactionsCount: number;
|
|
28
|
+
customersCount: number;
|
|
29
|
+
avgOrderValueUsd: number;
|
|
30
|
+
sharePercent: number;
|
|
31
|
+
}
|
|
32
|
+
export interface RevenueAnalyticsReport {
|
|
33
|
+
siteId: string;
|
|
34
|
+
period: string;
|
|
35
|
+
mrr: number;
|
|
36
|
+
arr: number;
|
|
37
|
+
totalRevenue: number;
|
|
38
|
+
netNewMrr: number;
|
|
39
|
+
expansionMrr: number;
|
|
40
|
+
churnedMrr: number;
|
|
41
|
+
ltvUsd: number;
|
|
42
|
+
cacUsd: number;
|
|
43
|
+
ltvCacRatio: number;
|
|
44
|
+
nrrPercent: number;
|
|
45
|
+
revenueByChannel: ChannelRevenueBreakdown[];
|
|
46
|
+
topPlans: Array<{
|
|
47
|
+
plan: string;
|
|
48
|
+
mrr: number;
|
|
49
|
+
customersCount: number;
|
|
50
|
+
}>;
|
|
51
|
+
recentTransactions: RevenueTransaction[];
|
|
52
|
+
}
|
|
53
|
+
export interface RecordTransactionInput {
|
|
54
|
+
customerId: string;
|
|
55
|
+
amountUsd: number;
|
|
56
|
+
type?: TransactionType;
|
|
57
|
+
plan?: string;
|
|
58
|
+
channel?: string;
|
|
59
|
+
}
|
|
60
|
+
export declare class RevenueAnalyticsPlugin implements LynxSeoPlugin {
|
|
61
|
+
readonly manifest: PluginManifest;
|
|
62
|
+
private context?;
|
|
63
|
+
private transactionsBySite;
|
|
64
|
+
enable(ctx: PluginContext): void;
|
|
65
|
+
onEvent(event: PluginEvent): void;
|
|
66
|
+
private resolveChannelName;
|
|
67
|
+
recordTransaction(siteId: string, input: RecordTransactionInput): RevenueTransaction;
|
|
68
|
+
getStats(siteId: string): RevenueAnalyticsReport;
|
|
69
|
+
getReport(siteId: string, options?: {
|
|
70
|
+
period?: string;
|
|
71
|
+
}): RevenueAnalyticsReport;
|
|
72
|
+
private getDefaultReport;
|
|
73
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LynxSEO - Scheduled Reports Plugin
|
|
3
|
+
* Rapports planifiés par email (jour/semaine/mois), formats PDF/HTML, gestion des destinataires.
|
|
4
|
+
* Inspiré de Matomo ScheduledReports (GPLv3 / AGPLv3 compatible).
|
|
5
|
+
*/
|
|
6
|
+
import { LynxSeoPlugin, type PluginManifest, type PluginContext, type PluginEvent } from "../../plugin/types";
|
|
7
|
+
export interface ScheduledReport {
|
|
8
|
+
id: string;
|
|
9
|
+
siteId: string;
|
|
10
|
+
name: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
format: "pdf" | "html" | "csv";
|
|
13
|
+
frequency: "hourly" | "daily" | "weekly" | "monthly";
|
|
14
|
+
recipients: string[];
|
|
15
|
+
lastSent?: string;
|
|
16
|
+
nextRun?: string;
|
|
17
|
+
active: boolean;
|
|
18
|
+
createdAt: string;
|
|
19
|
+
updatedAt: string;
|
|
20
|
+
}
|
|
21
|
+
export interface ScheduledReportJob {
|
|
22
|
+
reportId: string;
|
|
23
|
+
siteId: string;
|
|
24
|
+
runAt: string;
|
|
25
|
+
}
|
|
26
|
+
export declare class ScheduledReportsService {
|
|
27
|
+
private reports;
|
|
28
|
+
private jobs;
|
|
29
|
+
createReport(report: Omit<ScheduledReport, "id" | "createdAt" | "updatedAt"> & {
|
|
30
|
+
id?: string;
|
|
31
|
+
}): ScheduledReport;
|
|
32
|
+
getReport(reportId: string): ScheduledReport | undefined;
|
|
33
|
+
listReports(siteId?: string): ScheduledReport[];
|
|
34
|
+
updateReport(reportId: string, patch: Partial<ScheduledReport>): ScheduledReport | undefined;
|
|
35
|
+
deleteReport(reportId: string): boolean;
|
|
36
|
+
setActive(reportId: string, active: boolean): ScheduledReport | undefined;
|
|
37
|
+
getJobs(): ScheduledReportJob[];
|
|
38
|
+
markSent(reportId: string): void;
|
|
39
|
+
private computeNextRun;
|
|
40
|
+
private scheduleJob;
|
|
41
|
+
getDueJobs(now?: string): ScheduledReportJob[];
|
|
42
|
+
reset(): void;
|
|
43
|
+
}
|
|
44
|
+
export declare class ScheduledReportsPlugin implements LynxSeoPlugin {
|
|
45
|
+
readonly manifest: PluginManifest;
|
|
46
|
+
private service;
|
|
47
|
+
private ctx?;
|
|
48
|
+
enable(_ctx: PluginContext): Promise<void>;
|
|
49
|
+
disable(): Promise<void>;
|
|
50
|
+
onEvent(_event: PluginEvent): Promise<void>;
|
|
51
|
+
/** Crée un rapport planifié. */
|
|
52
|
+
createReport(report: Omit<ScheduledReport, "id" | "createdAt" | "updatedAt"> & {
|
|
53
|
+
id?: string;
|
|
54
|
+
}): ScheduledReport;
|
|
55
|
+
/** Liste les rapports (optionnellement filtrés par site). */
|
|
56
|
+
listReports(siteId?: string): ScheduledReport[];
|
|
57
|
+
/** Met à jour un rapport. */
|
|
58
|
+
updateReport(reportId: string, patch: Partial<ScheduledReport>): ScheduledReport | undefined;
|
|
59
|
+
/** Supprime un rapport. */
|
|
60
|
+
deleteReport(reportId: string): boolean;
|
|
61
|
+
/** Active/désactive un rapport. */
|
|
62
|
+
setActive(reportId: string, active: boolean): ScheduledReport | undefined;
|
|
63
|
+
/** Récupère les jobs à exécuter maintenant. */
|
|
64
|
+
getDueJobs(now?: string): ScheduledReportJob[];
|
|
65
|
+
/** Marque un rapport comme envoyé. */
|
|
66
|
+
markSent(reportId: string): void;
|
|
67
|
+
/** Récupère le service (pour les tests / intégration). */
|
|
68
|
+
getService(): ScheduledReportsService;
|
|
69
|
+
reset(): void;
|
|
70
|
+
}
|
|
71
|
+
export default ScheduledReportsPlugin;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SecurityInfo Plugin — LynxSEO Engine
|
|
3
|
+
*
|
|
4
|
+
* Parité fonctionnelle :
|
|
5
|
+
* - Matomo Core : Plugin SecurityInfo (audit des en-têtes HTTP, sécurisation des cookies, exposition, TLS)
|
|
6
|
+
* - PostHog Platform : Security & Access Control audit (masquage PII, conformité GDPR, rate-limiting, Turnstile)
|
|
7
|
+
*
|
|
8
|
+
* Licence : AGPL-3.0-or-later
|
|
9
|
+
*/
|
|
10
|
+
import type { LynxSeoPlugin, PluginContext, PluginEvent, PluginManifest } from "../../plugin";
|
|
11
|
+
export type SecurityCheckStatus = "pass" | "warn" | "fail";
|
|
12
|
+
export type SecuritySeverity = "low" | "medium" | "high" | "critical";
|
|
13
|
+
export interface SecurityCheckResult {
|
|
14
|
+
id: string;
|
|
15
|
+
category: "http_headers" | "authentication" | "data_privacy" | "abuse_prevention" | "gdpr_compliance";
|
|
16
|
+
title: string;
|
|
17
|
+
status: SecurityCheckStatus;
|
|
18
|
+
severity: SecuritySeverity;
|
|
19
|
+
scoreImpact: number;
|
|
20
|
+
message: string;
|
|
21
|
+
remediation?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface SecurityInfoReport {
|
|
24
|
+
overallScore: number;
|
|
25
|
+
grade: "A+" | "A" | "B" | "C" | "D" | "F";
|
|
26
|
+
summary: {
|
|
27
|
+
totalChecks: number;
|
|
28
|
+
passed: number;
|
|
29
|
+
warnings: number;
|
|
30
|
+
failed: number;
|
|
31
|
+
};
|
|
32
|
+
checks: SecurityCheckResult[];
|
|
33
|
+
authModeDetected: string;
|
|
34
|
+
turnstileEnabled: boolean;
|
|
35
|
+
gdprSignatureActive: boolean;
|
|
36
|
+
auditedAt: string;
|
|
37
|
+
}
|
|
38
|
+
export declare class SecurityInfoPlugin implements LynxSeoPlugin {
|
|
39
|
+
readonly manifest: PluginManifest;
|
|
40
|
+
enable(_ctx: PluginContext): Promise<void>;
|
|
41
|
+
onEvent(_event: PluginEvent): Promise<void>;
|
|
42
|
+
auditHeaders(headers: Record<string, string>): SecurityCheckResult[];
|
|
43
|
+
auditAuthMode(authMode: string): SecurityCheckResult;
|
|
44
|
+
auditPiiAndGdpr(options: {
|
|
45
|
+
ipAnonymization: boolean;
|
|
46
|
+
replayTextMasking: boolean;
|
|
47
|
+
turnstileActive: boolean;
|
|
48
|
+
gdprHmacSigned: boolean;
|
|
49
|
+
}): SecurityCheckResult[];
|
|
50
|
+
getReport(options?: {
|
|
51
|
+
headers?: Record<string, string>;
|
|
52
|
+
authMode?: string;
|
|
53
|
+
ipAnonymization?: boolean;
|
|
54
|
+
replayTextMasking?: boolean;
|
|
55
|
+
turnstileActive?: boolean;
|
|
56
|
+
gdprHmacSigned?: boolean;
|
|
57
|
+
}): SecurityInfoReport;
|
|
58
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LynxSEO - Segment Editor Plugin
|
|
3
|
+
* Inspiré de Matomo SegmentEditor (GPLv3 / AGPLv3 compatible).
|
|
4
|
+
*
|
|
5
|
+
* Édition de segments nommés : création, mise à jour, suppression, favoris et
|
|
6
|
+
* évaluation d'un segment contre des visiteurs.
|
|
7
|
+
*/
|
|
8
|
+
import { LynxSeoPlugin, type PluginManifest, type PluginContext, type PluginEvent } from "../../plugin/types";
|
|
9
|
+
export type SegmentOperator = "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "in" | "contains";
|
|
10
|
+
export interface SegmentCondition {
|
|
11
|
+
field: string;
|
|
12
|
+
operator: SegmentOperator;
|
|
13
|
+
value: unknown;
|
|
14
|
+
}
|
|
15
|
+
export interface SegmentDefinition {
|
|
16
|
+
id: string;
|
|
17
|
+
siteId: string;
|
|
18
|
+
name: string;
|
|
19
|
+
definition: string;
|
|
20
|
+
conditions: SegmentCondition[];
|
|
21
|
+
starred: boolean;
|
|
22
|
+
/** Segment automatique non supprimable (ex: "Visiteurs de retour"). */
|
|
23
|
+
autoArchive?: boolean;
|
|
24
|
+
createdAt: string;
|
|
25
|
+
updatedAt: string;
|
|
26
|
+
}
|
|
27
|
+
export interface SegmentInput {
|
|
28
|
+
name: string;
|
|
29
|
+
conditions: SegmentCondition[];
|
|
30
|
+
definition?: string;
|
|
31
|
+
starred?: boolean;
|
|
32
|
+
autoArchive?: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface SegmentEvaluation {
|
|
35
|
+
segmentId: string;
|
|
36
|
+
matched: number;
|
|
37
|
+
total: number;
|
|
38
|
+
matchRate: number;
|
|
39
|
+
}
|
|
40
|
+
/** Longueur maximale du nom d'un segment (contrôle d'unicité Matomo). */
|
|
41
|
+
export declare const MAX_SEGMENT_NAME_LENGTH = 255;
|
|
42
|
+
/** Toutes les conditions doivent être vraies (ET logique, comme Matomo Segment). */
|
|
43
|
+
export declare function matchesSegment(segment: SegmentDefinition, visitor: Record<string, unknown>): boolean;
|
|
44
|
+
export declare class SegmentEditorPlugin implements LynxSeoPlugin {
|
|
45
|
+
readonly manifest: PluginManifest;
|
|
46
|
+
private ctx?;
|
|
47
|
+
private segments;
|
|
48
|
+
private sequence;
|
|
49
|
+
enable(ctx: PluginContext): Promise<void>;
|
|
50
|
+
/** Matomo SegmentEditor.add. */
|
|
51
|
+
add(siteId: string, input: SegmentInput): SegmentDefinition;
|
|
52
|
+
/** Matomo SegmentEditor.update. */
|
|
53
|
+
update(siteId: string, id: string, patch: Partial<SegmentInput>): SegmentDefinition | null;
|
|
54
|
+
/** Matomo SegmentEditor.delete — refuse les segments auto-archivés. */
|
|
55
|
+
delete(siteId: string, id: string): boolean;
|
|
56
|
+
/** Matomo SegmentEditor.star / unstar. */
|
|
57
|
+
toggleStar(siteId: string, id: string, starred?: boolean): SegmentDefinition | null;
|
|
58
|
+
/** Matomo SegmentEditor.get. */
|
|
59
|
+
get(siteId: string, id: string): SegmentDefinition | null;
|
|
60
|
+
/** Matomo SegmentEditor.getAll. */
|
|
61
|
+
getAll(siteId: string): SegmentDefinition[];
|
|
62
|
+
/** Matomo SegmentEditor.getSegmentData : évaluation sur un jeu de visiteurs. */
|
|
63
|
+
getSegmentData(siteId: string, id: string, visitors: Record<string, unknown>[]): SegmentEvaluation | null;
|
|
64
|
+
/** Filtre direct par identifiant de segment. */
|
|
65
|
+
filter(siteId: string, id: string, visitors: Record<string, unknown>[]): Record<string, unknown>[];
|
|
66
|
+
reset(siteId: string): void;
|
|
67
|
+
disable(): Promise<void>;
|
|
68
|
+
onEvent(_event: PluginEvent): Promise<void>;
|
|
69
|
+
private findById;
|
|
70
|
+
/** Représentation textuelle type Matomo : "countryCode==fr;deviceType==smartphone". */
|
|
71
|
+
private serialize;
|
|
72
|
+
}
|
|
73
|
+
export default SegmentEditorPlugin;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SiteSearchIntelligence Plugin — LynxSEO Engine
|
|
3
|
+
*
|
|
4
|
+
* Parité fonctionnelle :
|
|
5
|
+
* - Matomo Core : Plugin Actions/SiteSearch (Mots-clés de recherche interne, catégories, pages sans résultat, taux de clics post-recherche)
|
|
6
|
+
* - PostHog Platform : Taxonomic Search Intent & Keyword Discovery
|
|
7
|
+
* - LynxSEO Extension : Générateur d'opportunités de contenu SEO & pSEO basé sur les recherches internes infructueuses (Zero-Result Searches)
|
|
8
|
+
*
|
|
9
|
+
* Licence : AGPL-3.0-or-later
|
|
10
|
+
*/
|
|
11
|
+
import type { LynxSeoPlugin, PluginContext, PluginEvent, PluginManifest } from "../../plugin";
|
|
12
|
+
export interface SearchQueryRecord {
|
|
13
|
+
query: string;
|
|
14
|
+
category?: string;
|
|
15
|
+
resultsCount: number;
|
|
16
|
+
hitsCount: number;
|
|
17
|
+
uniqueUsersCount: number;
|
|
18
|
+
lastSearchedAt: string;
|
|
19
|
+
noResultRate: number;
|
|
20
|
+
intentType: "informational" | "transactional" | "navigational" | "investigational";
|
|
21
|
+
}
|
|
22
|
+
export interface SiteSearchIntelligenceReport {
|
|
23
|
+
siteId: string;
|
|
24
|
+
period: string;
|
|
25
|
+
totalSearches: number;
|
|
26
|
+
uniqueSearchQueriesCount: number;
|
|
27
|
+
zeroResultSearchesCount: number;
|
|
28
|
+
zeroResultPercentage: number;
|
|
29
|
+
searchPenetrationRate: number;
|
|
30
|
+
topQueries: SearchQueryRecord[];
|
|
31
|
+
zeroResultQueries: SearchQueryRecord[];
|
|
32
|
+
contentGapRecommendations: Array<{
|
|
33
|
+
suggestedKeyword: string;
|
|
34
|
+
searchesCount: number;
|
|
35
|
+
recommendedTopic: string;
|
|
36
|
+
urgency: "high" | "medium" | "low";
|
|
37
|
+
}>;
|
|
38
|
+
}
|
|
39
|
+
export declare class SiteSearchIntelligencePlugin implements LynxSeoPlugin {
|
|
40
|
+
readonly manifest: PluginManifest;
|
|
41
|
+
private context?;
|
|
42
|
+
private searchesBySite;
|
|
43
|
+
private totalVisitsBySite;
|
|
44
|
+
enable(ctx: PluginContext): void;
|
|
45
|
+
onEvent(event: PluginEvent): void;
|
|
46
|
+
recordSearch(siteId: string, query: string, category?: string, resultsCount?: number, userId?: string, timestamp?: string): void;
|
|
47
|
+
getStats(siteId: string): SiteSearchIntelligenceReport;
|
|
48
|
+
getReport(siteId: string, options?: {
|
|
49
|
+
limit?: number;
|
|
50
|
+
minHits?: number;
|
|
51
|
+
}): SiteSearchIntelligenceReport;
|
|
52
|
+
private classifySearchIntent;
|
|
53
|
+
private generateContentGaps;
|
|
54
|
+
private getDefaultReport;
|
|
55
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { LynxSeoPlugin, PluginManifest, PluginContext } from "../../plugin/types";
|
|
2
|
+
export type AnomalyMetric = "error_rate" | "latency_p95" | "traffic_drop" | "bounce_rate_spike" | "conversion_drop";
|
|
3
|
+
export type IncidentSeverity = "critical" | "warning" | "info";
|
|
4
|
+
export interface AnomalyRule {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
metric: AnomalyMetric;
|
|
8
|
+
sensitivity: "low" | "medium" | "high";
|
|
9
|
+
enabled: boolean;
|
|
10
|
+
notificationChannels: ("email" | "slack" | "webhook")[];
|
|
11
|
+
createdAt: string;
|
|
12
|
+
}
|
|
13
|
+
export interface AnomalyIncident {
|
|
14
|
+
id: string;
|
|
15
|
+
ruleId: string;
|
|
16
|
+
ruleName: string;
|
|
17
|
+
metric: AnomalyMetric;
|
|
18
|
+
severity: IncidentSeverity;
|
|
19
|
+
observedValue: number;
|
|
20
|
+
expectedRange: {
|
|
21
|
+
min: number;
|
|
22
|
+
max: number;
|
|
23
|
+
};
|
|
24
|
+
deviationPercent: number;
|
|
25
|
+
status: "active" | "acknowledged" | "resolved";
|
|
26
|
+
detectedAt: string;
|
|
27
|
+
resolvedAt?: string;
|
|
28
|
+
rootCauseCandidate?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface SmartAlertsReport {
|
|
31
|
+
projectId: string;
|
|
32
|
+
generatedAt: string;
|
|
33
|
+
summary: {
|
|
34
|
+
activeIncidentsCount: number;
|
|
35
|
+
criticalCount: number;
|
|
36
|
+
resolvedLast24hCount: number;
|
|
37
|
+
monitoredRulesCount: number;
|
|
38
|
+
};
|
|
39
|
+
rules: AnomalyRule[];
|
|
40
|
+
incidents: AnomalyIncident[];
|
|
41
|
+
}
|
|
42
|
+
export declare class SmartAlertsAnomalyPlugin implements LynxSeoPlugin {
|
|
43
|
+
manifest: PluginManifest;
|
|
44
|
+
private rules;
|
|
45
|
+
private incidents;
|
|
46
|
+
constructor();
|
|
47
|
+
private seedDefaults;
|
|
48
|
+
init(_context: PluginContext): Promise<void>;
|
|
49
|
+
getReport(projectId: string): SmartAlertsReport;
|
|
50
|
+
detectAnomaly(metric: AnomalyMetric, currentVal: number, historicalValues: number[]): {
|
|
51
|
+
isAnomaly: boolean;
|
|
52
|
+
zScore: number;
|
|
53
|
+
expectedRange: {
|
|
54
|
+
min: number;
|
|
55
|
+
max: number;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
addRule(rule: Omit<AnomalyRule, "id" | "createdAt">): AnomalyRule;
|
|
59
|
+
toggleRule(ruleId: string, enabled: boolean): boolean;
|
|
60
|
+
updateIncidentStatus(incidentId: string, status: "acknowledged" | "resolved"): AnomalyIncident | null;
|
|
61
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LynxSEO - SqlCohort Plugin (côté moteur)
|
|
3
|
+
* Validation et agrégation des requêtes SQL construites côté client par le
|
|
4
|
+
* Query Builder (`apps/lynx-seo/src/db/sql-query-builder.ts`). Le moteur ne
|
|
5
|
+
* duplique PAS le générateur SQL : il valide la structure, borne les LIMIT,
|
|
6
|
+
* dédoublonne les filtres et garde un journal par site pour l'audit.
|
|
7
|
+
*/
|
|
8
|
+
import { LynxSeoPlugin, type PluginManifest, type PluginContext, type PluginEvent } from "../../plugin/types";
|
|
9
|
+
export type SqlAggregation = "count" | "count_distinct" | "sum" | "avg" | "min" | "max";
|
|
10
|
+
export type SqlGranularity = "second" | "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
11
|
+
/** Miroir du `QueryFilter` côté app (8 opérateurs, same shape). */
|
|
12
|
+
export interface PluginQueryFilter {
|
|
13
|
+
field: string;
|
|
14
|
+
operator: "equals" | "not_equals" | "greater_than" | "less_than" | "contains" | "not_contains" | "in" | "not_in";
|
|
15
|
+
value: string | number | string[] | number[];
|
|
16
|
+
logic?: "AND" | "OR";
|
|
17
|
+
}
|
|
18
|
+
/** Miroir du `CohortDefinition` côté app. */
|
|
19
|
+
export interface PluginCohortDefinition {
|
|
20
|
+
name: string;
|
|
21
|
+
condition: PluginQueryFilter;
|
|
22
|
+
period: "day" | "week" | "month";
|
|
23
|
+
metric: "retention" | "conversion" | "revenue" | "engagement";
|
|
24
|
+
}
|
|
25
|
+
export interface BuiltCohortQuery {
|
|
26
|
+
sql: string;
|
|
27
|
+
aggregation: SqlAggregation;
|
|
28
|
+
timeColumn?: string;
|
|
29
|
+
granularity?: SqlGranularity;
|
|
30
|
+
cohort?: PluginCohortDefinition;
|
|
31
|
+
}
|
|
32
|
+
export interface SqlCohortIssue {
|
|
33
|
+
field: "sql" | "aggregation" | "granularity" | "cohort" | "filters";
|
|
34
|
+
message: string;
|
|
35
|
+
}
|
|
36
|
+
export interface SqlCohortRecord {
|
|
37
|
+
id: string;
|
|
38
|
+
siteId: string;
|
|
39
|
+
createdAt: string;
|
|
40
|
+
query: BuiltCohortQuery;
|
|
41
|
+
}
|
|
42
|
+
export declare class SqlCohortService {
|
|
43
|
+
private records;
|
|
44
|
+
private sequence;
|
|
45
|
+
/**
|
|
46
|
+
* Valide une requête construite côté client. Retourne la liste des
|
|
47
|
+
* problèmes ; une liste vide signifie « exécutable ».
|
|
48
|
+
*/
|
|
49
|
+
validate(query: BuiltCohortQuery): SqlCohortIssue[];
|
|
50
|
+
/** Valide puis journalise une requête. Lève si invalide. */
|
|
51
|
+
submit(siteId: string, query: BuiltCohortQuery): SqlCohortRecord;
|
|
52
|
+
list(siteId?: string): SqlCohortRecord[];
|
|
53
|
+
get(recordId: string): SqlCohortRecord | undefined;
|
|
54
|
+
delete(recordId: string): boolean;
|
|
55
|
+
count(siteId?: string): number;
|
|
56
|
+
clear(): void;
|
|
57
|
+
}
|
|
58
|
+
export declare class SqlCohortPlugin implements LynxSeoPlugin {
|
|
59
|
+
readonly manifest: PluginManifest;
|
|
60
|
+
private service;
|
|
61
|
+
private ctx?;
|
|
62
|
+
enable(ctx: PluginContext): Promise<void>;
|
|
63
|
+
disable(): Promise<void>;
|
|
64
|
+
onEvent(event: PluginEvent): Promise<void>;
|
|
65
|
+
validate(query: BuiltCohortQuery): SqlCohortIssue[];
|
|
66
|
+
submit(siteId: string, query: BuiltCohortQuery): SqlCohortRecord;
|
|
67
|
+
list(siteId?: string): SqlCohortRecord[];
|
|
68
|
+
get(recordId: string): SqlCohortRecord | undefined;
|
|
69
|
+
delete(recordId: string): boolean;
|
|
70
|
+
count(siteId?: string): number;
|
|
71
|
+
reset(): void;
|
|
72
|
+
}
|
|
73
|
+
export default SqlCohortPlugin;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LynxSEO - Surveys Plugin (côté moteur)
|
|
3
|
+
* Définition des enquêtes et agrégation des réponses collectées par le
|
|
4
|
+
* tracker. Complète `src/survey-builder.ts` (rendu widget) et le store Pulse
|
|
5
|
+
* de l'app (PulseSurveyContract) : ici la couverture est la couche plugin
|
|
6
|
+
* branchée sur le bus d'événements.
|
|
7
|
+
*/
|
|
8
|
+
import { LynxSeoPlugin, type PluginManifest, type PluginContext, type PluginEvent } from "../../plugin/types";
|
|
9
|
+
export type SurveyPluginTriggerMode = "page_view" | "exit_intent" | "event" | "scroll_depth" | "page_views" | "manual";
|
|
10
|
+
export interface SurveyPluginQuestion {
|
|
11
|
+
id: string;
|
|
12
|
+
type: "text" | "scale" | "choice" | "nps";
|
|
13
|
+
label: string;
|
|
14
|
+
required: boolean;
|
|
15
|
+
options?: string[];
|
|
16
|
+
}
|
|
17
|
+
export interface SurveyPluginDefinition {
|
|
18
|
+
id: string;
|
|
19
|
+
siteId: string;
|
|
20
|
+
title: string;
|
|
21
|
+
description?: string;
|
|
22
|
+
status: "draft" | "running" | "paused";
|
|
23
|
+
trigger: SurveyPluginTriggerMode;
|
|
24
|
+
/** Nom d'événement attendu quand `trigger` vaut `event` (`*` = tous). */
|
|
25
|
+
triggerEvent?: string;
|
|
26
|
+
/** Seuil de défilement en pourcentage pour `scroll_depth`. */
|
|
27
|
+
scrollDepthPercent: number;
|
|
28
|
+
/** Pages vues dans la session avant affichage pour `page_views`. */
|
|
29
|
+
minPageViews: number;
|
|
30
|
+
questions: SurveyPluginQuestion[];
|
|
31
|
+
createdAt: string;
|
|
32
|
+
}
|
|
33
|
+
export interface SurveyPluginAnswer {
|
|
34
|
+
questionId: string;
|
|
35
|
+
value: string | number;
|
|
36
|
+
}
|
|
37
|
+
export interface SurveyPluginResponse {
|
|
38
|
+
id: string;
|
|
39
|
+
siteId: string;
|
|
40
|
+
surveyId: string;
|
|
41
|
+
visitorId?: string;
|
|
42
|
+
sessionId?: string;
|
|
43
|
+
pageUrl?: string;
|
|
44
|
+
answers: SurveyPluginAnswer[];
|
|
45
|
+
submittedAt: string;
|
|
46
|
+
}
|
|
47
|
+
export interface SurveyPluginStats {
|
|
48
|
+
surveyId: string;
|
|
49
|
+
responses: number;
|
|
50
|
+
/** Par question : moyenne pour scale/nps, distribution pour choice. */
|
|
51
|
+
perQuestion: Array<{
|
|
52
|
+
questionId: string;
|
|
53
|
+
type: SurveyPluginQuestion["type"];
|
|
54
|
+
average: number | null;
|
|
55
|
+
distribution: Record<string, number>;
|
|
56
|
+
}>;
|
|
57
|
+
}
|
|
58
|
+
export declare class SurveysService {
|
|
59
|
+
private surveys;
|
|
60
|
+
private responses;
|
|
61
|
+
private sequence;
|
|
62
|
+
create(input: Omit<SurveyPluginDefinition, "createdAt" | "status" | "scrollDepthPercent" | "minPageViews"> & Partial<Pick<SurveyPluginDefinition, "status" | "scrollDepthPercent" | "minPageViews" | "createdAt">>): SurveyPluginDefinition;
|
|
63
|
+
get(surveyId: string): SurveyPluginDefinition | undefined;
|
|
64
|
+
list(siteId?: string): SurveyPluginDefinition[];
|
|
65
|
+
update(surveyId: string, patch: Partial<Omit<SurveyPluginDefinition, "id" | "siteId" | "createdAt">>): SurveyPluginDefinition;
|
|
66
|
+
delete(surveyId: string): boolean;
|
|
67
|
+
record(siteId: string, input: Omit<SurveyPluginResponse, "id" | "siteId" | "submittedAt"> & {
|
|
68
|
+
id?: string;
|
|
69
|
+
submittedAt?: string;
|
|
70
|
+
}): SurveyPluginResponse;
|
|
71
|
+
responsesFor(surveyId: string): SurveyPluginResponse[];
|
|
72
|
+
count(surveyId: string): number;
|
|
73
|
+
stats(surveyId: string): SurveyPluginStats;
|
|
74
|
+
clear(): void;
|
|
75
|
+
}
|
|
76
|
+
export declare class SurveysPlugin implements LynxSeoPlugin {
|
|
77
|
+
readonly manifest: PluginManifest;
|
|
78
|
+
private service;
|
|
79
|
+
private ctx?;
|
|
80
|
+
enable(ctx: PluginContext): Promise<void>;
|
|
81
|
+
disable(): Promise<void>;
|
|
82
|
+
onEvent(event: PluginEvent): Promise<void>;
|
|
83
|
+
create(input: Omit<SurveyPluginDefinition, "createdAt" | "status" | "scrollDepthPercent" | "minPageViews"> & Partial<Pick<SurveyPluginDefinition, "status" | "scrollDepthPercent" | "minPageViews" | "createdAt">>): SurveyPluginDefinition;
|
|
84
|
+
get(surveyId: string): SurveyPluginDefinition | undefined;
|
|
85
|
+
list(siteId?: string): SurveyPluginDefinition[];
|
|
86
|
+
update(surveyId: string, patch: Partial<Omit<SurveyPluginDefinition, "id" | "siteId" | "createdAt">>): SurveyPluginDefinition;
|
|
87
|
+
delete(surveyId: string): boolean;
|
|
88
|
+
record(siteId: string, input: Omit<SurveyPluginResponse, "id" | "siteId" | "submittedAt"> & {
|
|
89
|
+
id?: string;
|
|
90
|
+
submittedAt?: string;
|
|
91
|
+
}): SurveyPluginResponse;
|
|
92
|
+
responsesFor(surveyId: string): SurveyPluginResponse[];
|
|
93
|
+
count(surveyId: string): number;
|
|
94
|
+
stats(surveyId: string): SurveyPluginStats;
|
|
95
|
+
reset(): void;
|
|
96
|
+
}
|
|
97
|
+
export default SurveysPlugin;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SystemDiagnostics Plugin — LynxSEO Engine
|
|
3
|
+
*
|
|
4
|
+
* Parité fonctionnelle :
|
|
5
|
+
* - Matomo Core : Plugin Diagnostics (System Check, Server Check, Database Integrity, Cron checks)
|
|
6
|
+
* - PostHog Platform : Instance Status / Preflight Checks (Async migrations, Redis queues, ClickHouse health)
|
|
7
|
+
*
|
|
8
|
+
* Licence : AGPL-3.0-or-later
|
|
9
|
+
*/
|
|
10
|
+
import type { LynxSeoPlugin, PluginContext, PluginEvent, PluginManifest } from "../../plugin";
|
|
11
|
+
export type DiagnosticStatus = "healthy" | "warning" | "critical";
|
|
12
|
+
export interface DiagnosticCheckItem {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
category: "database" | "event_bus" | "runtime" | "storage" | "security_network";
|
|
16
|
+
status: DiagnosticStatus;
|
|
17
|
+
value: string;
|
|
18
|
+
expected: string;
|
|
19
|
+
latencyMs?: number;
|
|
20
|
+
message: string;
|
|
21
|
+
remediation?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface SystemHealthReport {
|
|
24
|
+
overallStatus: DiagnosticStatus;
|
|
25
|
+
healthScore: number;
|
|
26
|
+
summary: {
|
|
27
|
+
totalChecks: number;
|
|
28
|
+
healthy: number;
|
|
29
|
+
warnings: number;
|
|
30
|
+
critical: number;
|
|
31
|
+
};
|
|
32
|
+
checks: DiagnosticCheckItem[];
|
|
33
|
+
environment: {
|
|
34
|
+
runtime: "edge_cloudflare" | "node_server" | "hybrid";
|
|
35
|
+
timestamp: string;
|
|
36
|
+
uptimeSeconds: number;
|
|
37
|
+
memoryAllocatedMb?: number;
|
|
38
|
+
};
|
|
39
|
+
recommendations: string[];
|
|
40
|
+
}
|
|
41
|
+
export interface DiagnosticOptions {
|
|
42
|
+
d1Available?: boolean;
|
|
43
|
+
d1LatencyMs?: number;
|
|
44
|
+
hyperdriveAvailable?: boolean;
|
|
45
|
+
hyperdriveLatencyMs?: number;
|
|
46
|
+
clickhouseAvailable?: boolean;
|
|
47
|
+
clickhouseLatencyMs?: number;
|
|
48
|
+
redisStreamsAvailable?: boolean;
|
|
49
|
+
redisLatencyMs?: number;
|
|
50
|
+
pendingEventsCount?: number;
|
|
51
|
+
r2StorageBound?: boolean;
|
|
52
|
+
kvDistributedLocksBound?: boolean;
|
|
53
|
+
authMode?: string;
|
|
54
|
+
httpsActive?: boolean;
|
|
55
|
+
runtime?: "edge_cloudflare" | "node_server" | "hybrid";
|
|
56
|
+
}
|
|
57
|
+
export declare class SystemDiagnosticsPlugin implements LynxSeoPlugin {
|
|
58
|
+
readonly manifest: PluginManifest;
|
|
59
|
+
enable(_ctx: PluginContext): Promise<void>;
|
|
60
|
+
onEvent(_event: PluginEvent): Promise<void>;
|
|
61
|
+
/**
|
|
62
|
+
* Exécute une suite de diagnostics complets sur l'infrastructure Pulse / LynxSEO
|
|
63
|
+
*/
|
|
64
|
+
runDiagnostics(opts?: DiagnosticOptions): SystemHealthReport;
|
|
65
|
+
}
|