Add page-view analytics, product counters, SSL expiry, and business renewal.

Auto-count storefront page views with 6-month event retention and lifetime counters, track product visit/cart/sale stats, persist SSL cert expiry with daily probes, and support owner titles plus annual contract renewal.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-26 10:13:06 +03:30
co-authored by Cursor
parent 6cd0b009ef
commit 92601ae729
39 changed files with 1013 additions and 198 deletions
@@ -1,6 +1,7 @@
import {
ArrayMinSize,
IsArray,
IsDateString,
IsInt,
IsOptional,
IsPositive,
@@ -53,4 +54,9 @@ export class UpdateBusinessDto {
@IsInt()
@IsPositive()
oldBusinessId?: number | null;
@IsOptional()
@ValidateIf((_, value) => value !== null)
@IsDateString()
annualRenewalAt?: string | null;
}