@temboplus/frontend-core
Version:
A JavaScript/TypeScript package providing common utilities and logic shared across front-end TemboPlus projects.
24 lines (23 loc) • 814 B
TypeScript
import { z } from "zod";
export declare const TZBankSWIFTCodeSchema: z.ZodEffects<z.ZodString, string, string>;
export declare const KEBankSWIFTCodeSchema: z.ZodEffects<z.ZodString, string, string>;
/**
* Zod schema for Bank JSON serialization
* This schema validates the JSON representation of a Bank instance
*/
export declare const BankJSONSchema: z.ZodObject<{
/** The SWIFT/BIC code for the bank's head office */
swiftCode: z.ZodString;
/** The ISO 3166-1 alpha-2 country code */
countryCode: z.ZodString;
/** Version for future compatibility */
version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
version: string;
swiftCode: string;
countryCode: string;
}, {
swiftCode: string;
countryCode: string;
version?: string | undefined;
}>;