/** * Mexico TSC Alert Transaction Item Model * * Alert transaction item model for Tarjetas de Servicio y Credito (Service and Credit Cards) activity. * Provides BOTH transaction-side TSC getters (from MexTSCTransaction) * and alert-item-side TSC getters. */ import type { actividadVulnerable, tsc } from "@artu-ai/shared"; import { MexAVAlertTransactionItem, type MexAVAlertTransactionItemData } from "../MexAVAlertTransactionItem"; type TipoAlerta = actividadVulnerable.tsc.TipoAlerta; /** * TSC alert transaction item data */ export interface MexTSCAlertTransactionItemData extends MexAVAlertTransactionItemData { alertItemScopeData?: { MX?: { actividadVulnerable?: { TSC?: tsc.TSCAlertItemData; }; }; [key: string]: unknown; }; } /** * Mexico TSC Alert Transaction Item Model. * * Provides typed accessors for both: * - Transaction-side TSC data (card type, ID, operation type) * - Alert-item-side TSC data (alert type, description, amendment) */ export declare class MexTSCAlertTransactionItem extends MexAVAlertTransactionItem { /** * TSC-specific transaction data */ protected get tscData(): tsc.TSCTransactionData | undefined; /** * Card type (service or credit) */ get cardType(): string | undefined; /** * Card/account identifier */ get idNumber(): string | undefined; /** * Operation type (typically card consumption) */ get operationType(): string | undefined; /** * Whether this is a service card transaction */ get isServiceCard(): boolean; /** * Whether this is a credit card transaction */ get isCreditCard(): boolean; /** * TSC-specific alert item data */ protected get alertItemTscData(): tsc.TSCAlertItemData | 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(): tsc.Amendment | undefined; /** * Whether this item is an amendment */ get isAmendment(): boolean; toString(): string; } import type { AlertTransactionItemModel } from "../../../types"; /** * Check if alert transaction item is a TSC (Tarjetas de Servicio y Credito) alert transaction item */ export declare function isMexTSCAlertTransactionItem(item: AlertTransactionItemModel): item is MexTSCAlertTransactionItem; export {};