@eleva-io/erp-sdk
Version:
SDK oficial para el ERP de Eleva
22 lines • 1.16 kB
TypeScript
export declare const ABA_PATTERNS: {
STANDARD: RegExp;
FEDERAL_RESERVE_RANGES: {
min: string;
max: string;
region: string;
}[];
};
export declare const FEDERAL_RESERVE_DISTRICTS: Record<string, string>;
export declare const MAJOR_BANK_ROUTING_NUMBERS: Record<string, {
name: string;
city: string;
state: string;
}>;
export declare function formatAbaRoutingNumber(routingNumber: string | number, withDashes?: boolean): string;
export declare function getFederalReserveDistrict(routingNumber: string | number): string | null;
export declare function getBankInfo(routingNumber: string | number): (typeof MAJOR_BANK_ROUTING_NUMBERS)[keyof typeof MAJOR_BANK_ROUTING_NUMBERS] | null;
export declare function isElectronicTransactionRouting(routingNumber: string | number): boolean;
export declare function isThriftInstitution(routingNumber: string | number): boolean;
export declare function validateAccountNumberABA(accountNumber: string | number, path: string): void | never;
export declare function validateRoutingNumberABA(routingNumber: string | number, path: string): void | never;
//# sourceMappingURL=aba.d.ts.map