/** * Mexico VEH Alert Transaction Item Model * * Alert transaction item model for VehĂ­culos activity. * Provides BOTH transaction-side VEH getters and alert-item-side VEH getters. */ import type { veh } from "@artu-ai/shared"; import { MexAVAlertTransactionItem, type MexAVAlertTransactionItemData } from "../MexAVAlertTransactionItem"; /** * VEH alert transaction item data */ export interface MexVEHAlertTransactionItemData extends MexAVAlertTransactionItemData { alertItemScopeData?: { MX?: { actividadVulnerable?: { VEH?: veh.VEHAlertItemData; }; }; [key: string]: unknown; }; } /** * Mexico VEH Alert Transaction Item Model. * * Provides typed accessors for both: * - Transaction-side VEH data (operation, postal code, vehicles, payments) * - Alert-item-side VEH data (alert type, description, amendment) */ export declare class MexVEHAlertTransactionItem extends MexAVAlertTransactionItem { /** * VEH-specific transaction data */ protected get vehTxData(): veh.VEHTransactionData | undefined; /** * Operation type */ get operationType(): string | undefined; /** * Postal code where the operation took place */ get postalCode(): string | undefined; /** * Vehicles involved in this transaction. */ get vehicles(): veh.Vehicle[]; /** * Payments (datos_liquidacion) for this transaction. */ get payments(): veh.VEHPaymentData[]; /** * Whether this transaction has any payments */ get hasPayments(): boolean; /** * Total number of payments in this transaction */ get paymentsCount(): number; /** * Total payment amount across all payments */ get totalPaymentAmount(): number; /** * VEH-specific alert item data */ protected get alertItemVehData(): veh.VEHAlertItemData | undefined; /** * Alert type code */ get alertType(): veh.VEHTipoAlerta | 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(): veh.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 VEH (VehĂ­culos) alert transaction item */ export declare function isMexVEHAlertTransactionItem(item: AlertTransactionItemModel): item is MexVEHAlertTransactionItem;