@rajkrajpj/cultivate-ui-library
Version:
A modern, type-safe, accessible React component library for fintech investor forms. Build complete investor forms in minutes with zero configuration, supporting multiple regulations (RegA+, RegD, RegCF) and investor types.
75 lines (74 loc) • 2.42 kB
TypeScript
import { z } from 'zod';
import { StepComponentProps } from '../../types/steps';
export declare const jointIdentitySchema: z.ZodObject<{
investorType: z.ZodString;
primaryInvestor: z.ZodObject<{
birthDate: z.ZodString;
ssn: z.ZodOptional<z.ZodString>;
tin: z.ZodOptional<z.ZodString>;
country: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
birthDate: string;
country?: string | undefined;
ssn?: string | undefined;
tin?: string | undefined;
}, {
birthDate: string;
country?: string | undefined;
ssn?: string | undefined;
tin?: string | undefined;
}>;
secondaryInvestor: z.ZodObject<{
birthDate: z.ZodString;
ssn: z.ZodOptional<z.ZodString>;
tin: z.ZodOptional<z.ZodString>;
country: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
birthDate: string;
country?: string | undefined;
ssn?: string | undefined;
tin?: string | undefined;
}, {
birthDate: string;
country?: string | undefined;
ssn?: string | undefined;
tin?: string | undefined;
}>;
country: z.ZodString;
addressType: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
country: string;
investorType: string;
primaryInvestor: {
birthDate: string;
country?: string | undefined;
ssn?: string | undefined;
tin?: string | undefined;
};
secondaryInvestor: {
birthDate: string;
country?: string | undefined;
ssn?: string | undefined;
tin?: string | undefined;
};
addressType?: string | undefined;
}, {
country: string;
investorType: string;
primaryInvestor: {
birthDate: string;
country?: string | undefined;
ssn?: string | undefined;
tin?: string | undefined;
};
secondaryInvestor: {
birthDate: string;
country?: string | undefined;
ssn?: string | undefined;
tin?: string | undefined;
};
addressType?: string | undefined;
}>;
export type JointIdentityFormData = z.infer<typeof jointIdentitySchema>;
export declare const JointIdentityFields: ({ onSubmit, onBack, defaultValues, context, offeringParams, }: StepComponentProps<JointIdentityFormData>) => import("react/jsx-runtime").JSX.Element;
export default JointIdentityFields;