@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.
62 lines (61 loc) • 1.91 kB
TypeScript
import { z } from 'zod';
import { StepComponentProps } from '../../types/steps';
export declare const companyIdentitySchema: z.ZodEffects<z.ZodObject<{
investorType: z.ZodString;
authorizedSignatory: z.ZodObject<{
birthDate: z.ZodString;
ssn: z.ZodOptional<z.ZodString>;
tin: z.ZodOptional<z.ZodString>;
country: z.ZodString;
}, "strip", z.ZodTypeAny, {
country: string;
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
}, {
country: string;
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
}>;
country: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
investorType: string;
authorizedSignatory: {
country: string;
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
};
country?: string | undefined;
}, {
investorType: string;
authorizedSignatory: {
country: string;
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
};
country?: string | undefined;
}>, {
investorType: string;
authorizedSignatory: {
country: string;
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
};
country?: string | undefined;
}, {
investorType: string;
authorizedSignatory: {
country: string;
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
};
country?: string | undefined;
}>;
export type CompanyIdentityFormData = z.infer<typeof companyIdentitySchema>;
export declare const CompanyIdentityFields: ({ onSubmit, onBack, defaultValues, context, offeringParams, }: StepComponentProps<CompanyIdentityFormData>) => import("react/jsx-runtime").JSX.Element;
export default CompanyIdentityFields;