/** * Mexico MPC Alert Transaction Item Model * * Alert transaction item model for Mutuo, Préstamos y Créditos activity. * Provides BOTH transaction-side MPC getters and alert-item-side MPC getters. */ import type { mpc } from "@artu-ai/shared"; import { MexAVAlertTransactionItem, type MexAVAlertTransactionItemData } from "../MexAVAlertTransactionItem"; /** * MPC alert transaction item data */ export interface MexMPCAlertTransactionItemData extends MexAVAlertTransactionItemData { alertItemScopeData?: { MX?: { actividadVulnerable?: { MPC?: mpc.MPCAlertItemData; }; }; [key: string]: unknown; }; } /** * Mexico MPC Alert Transaction Item Model. * * Provides typed accessors for both: * - Transaction-side MPC data (operation, postal code, collateral, disbursements) * - Alert-item-side MPC data (alert type, description, amendment) */ export declare class MexMPCAlertTransactionItem extends MexAVAlertTransactionItem { /** * MPC-specific transaction data */ protected get mpcTxData(): mpc.MPCTransactionData | undefined; /** * Operation type */ get operationType(): string | undefined; /** * Postal code where the operation took place */ get postalCode(): string | undefined; /** * Array of collateral entries for this transaction. */ get collateral(): mpc.MPCCollateral[]; /** * Array of disbursements for this transaction. */ get disbursements(): mpc.MPCDisbursementData[]; /** * Whether this transaction has any disbursements */ get hasDisbursements(): boolean; /** * Total number of disbursements in this transaction */ get disbursementsCount(): number; /** * Total disbursement amount across all disbursements */ get totalDisbursementAmount(): number; /** * MPC-specific alert item data */ protected get alertItemMpcData(): mpc.MPCAlertItemData | undefined; /** * Alert type code * - "100" for monthly alerts * - Other codes for unusual activity */ get alertType(): mpc.MPCTipoAlerta | 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(): mpc.Amendment | undefined; /** * Whether this item is an amendment */ get isAmendment(): boolean; toString(): string; } import type { AlertTransactionItemModel } from "../../../types"; /** * Check if alert transaction item is an MPC (Mutuo, Préstamos y Créditos) alert transaction item */ export declare function isMexMPCAlertTransactionItem(item: AlertTransactionItemModel): item is MexMPCAlertTransactionItem;