@eleva-io/erp-sdk
Version:
SDK oficial para el ERP de Eleva
16 lines • 692 B
TypeScript
export declare const SWIFT_BIC_PATTERNS: {
STANDARD: RegExp;
FORMAT_8: RegExp;
FORMAT_11: RegExp;
BANK_CODE: RegExp;
COUNTRY_CODE: RegExp;
LOCATION_CODE: RegExp;
BRANCH_CODE: RegExp;
};
export declare const VALID_SWIFT_COUNTRIES: Set<string>;
export declare function isTestBic(swiftBic: string): boolean;
export declare function formatSwiftBic(swiftBic: string, withSpaces?: boolean): string;
export declare function getSwiftCountry(swiftBic: string): string | null;
export declare function getBankCode(swiftBic: string): string | null;
export declare function validateCodeSwiftBic(swiftBic: string, path: string): void | never;
//# sourceMappingURL=swift.d.ts.map