@cranberry-money/shared-constants
Version:
Shared constants for Blueberry platform
38 lines • 1.46 kB
TypeScript
export declare const BANK_ACCOUNT_TYPE: {
readonly SAVINGS: "savings";
readonly CHECKING: "checking";
};
export type BankAccountType = (typeof BANK_ACCOUNT_TYPE)[keyof typeof BANK_ACCOUNT_TYPE];
export declare const BANK_ACCOUNT_TYPE_LABELS: Record<BankAccountType, string>;
export declare const BANKING_INSTITUTION: {
readonly CBA: "CBA";
readonly ANZ: "ANZ";
readonly NAB: "NAB";
readonly WESTPAC: "WESTPAC";
readonly MACQUARIE: "MACQUARIE";
readonly ING: "ING";
readonly BENDIGO: "BENDIGO";
readonly SUNCORP: "SUNCORP";
readonly OTHER: "OTHER";
};
export type BankingInstitution = (typeof BANKING_INSTITUTION)[keyof typeof BANKING_INSTITUTION];
export declare const BANKING_INSTITUTION_LABELS: Record<BankingInstitution, string>;
export declare const VERIFICATION_METHOD: {
readonly MICRO_DEPOSIT: "MICRO_DEPOSIT";
readonly INSTANT: "INSTANT";
readonly MANUAL: "MANUAL";
readonly DOCUMENT: "DOCUMENT";
};
export type VerificationMethod = (typeof VERIFICATION_METHOD)[keyof typeof VERIFICATION_METHOD];
export declare const VERIFICATION_METHOD_LABELS: Record<VerificationMethod, string>;
export declare const BSB_VALIDATION: {
readonly LENGTH: 6;
readonly PATTERN: RegExp;
readonly FORMAT_PATTERN: RegExp;
};
export declare const ACCOUNT_NUMBER_VALIDATION: {
readonly MIN_LENGTH: 4;
readonly MAX_LENGTH: 10;
readonly PATTERN: RegExp;
};
//# sourceMappingURL=banking.d.ts.map