/** * Mexico JYS Alert Client Item Model * * Alert client item model for Juegos y Sorteos (Games and Raffles) activity. * Provides BOTH client-side and alert-item-side JYS-specific accessors. */ import type { actividadVulnerable, jys } from "@artu-ai/shared"; import { MexAVAlertClientItem, type MexAVAlertClientItemData } from "../MexAVAlertClientItem"; type TipoAlerta = actividadVulnerable.jys.TipoAlerta; /** * JYS alert client item data */ export type MexJYSAlertClientItemData = MexAVAlertClientItemData & { alertItemScopeData?: { MX?: { actividadVulnerable?: { JYS?: jys.JYSAlertItemData; }; }; [key: string]: unknown; }; }; /** * Mexico JYS Alert Client Item Model. * * Provides typed accessors for both: * - Client-side JYS data * - Alert-item-side JYS data (alertType, amendment, etc.) */ export declare class MexJYSAlertClientItem extends MexAVAlertClientItem { /** * Client-side JYS-specific activity data */ protected get clientJysData(): jys.JYSClientData | undefined; /** * JYS-specific alert item data */ protected get jysData(): jys.JYSAlertItemData | undefined; /** * Alert type code * - "100" for monthly alerts * - Other codes for unusual activity */ get alertType(): TipoAlerta | undefined; /** * Alert description (for unusual activity) * Lives at the AV level: alertItemScopeData.MX.actividadVulnerable.alertDescription */ get alertDescription(): string | undefined; /** * Amendment data for corrections * Lives at the AV level: alertItemScopeData.MX.actividadVulnerable.amendment */ get amendment(): jys.Amendment | undefined; /** * Whether this item is an amendment */ get isAmendment(): boolean; toString(): string; } import type { AlertClientItemModel } from "../../../types"; /** * Check if alert client item is a JYS (Juegos y Sorteos) alert client item */ export declare function isMexJYSAlertClientItem(item: AlertClientItemModel): item is MexJYSAlertClientItem; export {};