@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.
1,619 lines • 66.6 kB
TypeScript
import { InvestorType, TrustIRAType } from '../constants';
import * as z from "zod";
export declare const getStartedSchema: z.ZodObject<{
email: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
firstName: z.ZodEffects<z.ZodString, string, string>;
lastName: z.ZodEffects<z.ZodString, string, string>;
referralCode: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
email: string;
firstName: string;
lastName: string;
referralCode?: string | undefined;
}, {
email: string;
firstName: string;
lastName: string;
referralCode?: string | undefined;
}>;
export declare const basicInfoSchema: z.ZodObject<{
suffix: z.ZodOptional<z.ZodString>;
firstName: z.ZodEffects<z.ZodString, string, string>;
middleName: z.ZodOptional<z.ZodString>;
lastName: z.ZodEffects<z.ZodString, string, string>;
country: z.ZodString;
phone: z.ZodEffects<z.ZodString, string, string>;
address1: z.ZodString;
address2: z.ZodOptional<z.ZodString>;
city: z.ZodString;
state: z.ZodString;
zipCode: z.ZodString;
}, "strip", z.ZodTypeAny, {
country: string;
address1: string;
city: string;
state: string;
firstName: string;
lastName: string;
phone: string;
zipCode: string;
address2?: string | undefined;
suffix?: string | undefined;
middleName?: string | undefined;
}, {
country: string;
address1: string;
city: string;
state: string;
firstName: string;
lastName: string;
phone: string;
zipCode: string;
address2?: string | undefined;
suffix?: string | undefined;
middleName?: string | undefined;
}>;
export declare const individualInvestorSchema: z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
middleName: z.ZodOptional<z.ZodString>;
country: z.ZodString;
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
countryPhone: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}>;
export declare const jointInvestorSchema: z.ZodObject<{
primaryInvestor: z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
middleName: z.ZodOptional<z.ZodString>;
country: z.ZodString;
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
countryPhone: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}>;
secondaryInvestor: z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
middleName: z.ZodOptional<z.ZodString>;
country: z.ZodString;
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
countryPhone: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
primaryInvestor: {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
};
secondaryInvestor: {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
};
}, {
primaryInvestor: {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
};
secondaryInvestor: {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
};
}>;
export declare const jointInvestorAddressSchema: z.ZodEffects<z.ZodObject<{
addressType: z.ZodEnum<["SHARED", "SEPARATE"]>;
address1: z.ZodOptional<z.ZodString>;
address2: z.ZodOptional<z.ZodString>;
city: z.ZodOptional<z.ZodString>;
state: z.ZodOptional<z.ZodString>;
zip: z.ZodOptional<z.ZodString>;
country: z.ZodOptional<z.ZodString>;
primaryInvestorAddress: z.ZodOptional<z.ZodObject<{
address1: z.ZodString;
address2: z.ZodOptional<z.ZodString>;
city: z.ZodString;
state: z.ZodString;
zip: z.ZodOptional<z.ZodString>;
country: z.ZodString;
}, "strip", z.ZodTypeAny, {
country: string;
address1: string;
city: string;
state: string;
address2?: string | undefined;
zip?: string | undefined;
}, {
country: string;
address1: string;
city: string;
state: string;
address2?: string | undefined;
zip?: string | undefined;
}>>;
secondaryInvestorAddress: z.ZodOptional<z.ZodObject<{
address1: z.ZodString;
address2: z.ZodOptional<z.ZodString>;
city: z.ZodString;
state: z.ZodString;
zip: z.ZodOptional<z.ZodString>;
country: z.ZodString;
}, "strip", z.ZodTypeAny, {
country: string;
address1: string;
city: string;
state: string;
address2?: string | undefined;
zip?: string | undefined;
}, {
country: string;
address1: string;
city: string;
state: string;
address2?: string | undefined;
zip?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
addressType: "SHARED" | "SEPARATE";
country?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
primaryInvestorAddress?: {
country: string;
address1: string;
city: string;
state: string;
address2?: string | undefined;
zip?: string | undefined;
} | undefined;
secondaryInvestorAddress?: {
country: string;
address1: string;
city: string;
state: string;
address2?: string | undefined;
zip?: string | undefined;
} | undefined;
}, {
addressType: "SHARED" | "SEPARATE";
country?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
primaryInvestorAddress?: {
country: string;
address1: string;
city: string;
state: string;
address2?: string | undefined;
zip?: string | undefined;
} | undefined;
secondaryInvestorAddress?: {
country: string;
address1: string;
city: string;
state: string;
address2?: string | undefined;
zip?: string | undefined;
} | undefined;
}>, {
addressType: "SHARED" | "SEPARATE";
country?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
primaryInvestorAddress?: {
country: string;
address1: string;
city: string;
state: string;
address2?: string | undefined;
zip?: string | undefined;
} | undefined;
secondaryInvestorAddress?: {
country: string;
address1: string;
city: string;
state: string;
address2?: string | undefined;
zip?: string | undefined;
} | undefined;
}, {
addressType: "SHARED" | "SEPARATE";
country?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
primaryInvestorAddress?: {
country: string;
address1: string;
city: string;
state: string;
address2?: string | undefined;
zip?: string | undefined;
} | undefined;
secondaryInvestorAddress?: {
country: string;
address1: string;
city: string;
state: string;
address2?: string | undefined;
zip?: string | undefined;
} | undefined;
}>;
export declare const individualInvestorAddressSchema: z.ZodObject<{
address1: z.ZodString;
address2: z.ZodOptional<z.ZodString>;
city: z.ZodString;
state: z.ZodString;
zip: z.ZodString;
country: z.ZodString;
}, "strip", z.ZodTypeAny, {
country: string;
address1: string;
city: string;
state: string;
zip: string;
address2?: string | undefined;
}, {
country: string;
address1: string;
city: string;
state: string;
zip: string;
address2?: string | undefined;
}>;
export declare const identitySchema: z.ZodObject<{
ssn: z.ZodOptional<z.ZodString>;
tin: z.ZodOptional<z.ZodString>;
birthDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
}, "strip", z.ZodTypeAny, {
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
}, {
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
}>;
export declare const ssnDobSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"investorType", [z.ZodObject<{
ssn: z.ZodOptional<z.ZodString>;
tin: z.ZodOptional<z.ZodString>;
birthDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
investorType: z.ZodLiteral<InvestorType.Individual>;
country: z.ZodString;
}, "strip", z.ZodTypeAny, {
country: string;
investorType: InvestorType.Individual;
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
}, {
country: string;
investorType: InvestorType.Individual;
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
}>, z.ZodObject<{
investorType: z.ZodLiteral<InvestorType.Joint>;
country: z.ZodString;
addressType: z.ZodEnum<["SHARED", "SEPARATE"]>;
primaryInvestor: z.ZodObject<{
ssn: z.ZodOptional<z.ZodString>;
tin: z.ZodOptional<z.ZodString>;
birthDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
}, "strip", z.ZodTypeAny, {
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
}, {
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
}>;
secondaryInvestor: z.ZodObject<{
ssn: z.ZodOptional<z.ZodString>;
tin: z.ZodOptional<z.ZodString>;
birthDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
}, "strip", z.ZodTypeAny, {
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
}, {
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
country: string;
investorType: InvestorType.Joint;
primaryInvestor: {
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
};
secondaryInvestor: {
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
};
addressType: "SHARED" | "SEPARATE";
}, {
country: string;
investorType: InvestorType.Joint;
primaryInvestor: {
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
};
secondaryInvestor: {
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
};
addressType: "SHARED" | "SEPARATE";
}>]>, {
country: string;
investorType: InvestorType.Individual;
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
} | {
country: string;
investorType: InvestorType.Joint;
primaryInvestor: {
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
};
secondaryInvestor: {
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
};
addressType: "SHARED" | "SEPARATE";
}, {
country: string;
investorType: InvestorType.Individual;
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
} | {
country: string;
investorType: InvestorType.Joint;
primaryInvestor: {
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
};
secondaryInvestor: {
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
};
addressType: "SHARED" | "SEPARATE";
}>;
export declare const companyAddressSchema: z.ZodObject<{
investorType: z.ZodLiteral<InvestorType.Company>;
isAuthorized: z.ZodEnum<["yes", "no"]>;
businessAddress: z.ZodObject<{
address1: z.ZodString;
address2: z.ZodOptional<z.ZodString>;
city: z.ZodString;
state: z.ZodString;
zip: z.ZodString;
country: z.ZodString;
}, "strip", z.ZodTypeAny, {
country: string;
address1: string;
city: string;
state: string;
zip: string;
address2?: string | undefined;
}, {
country: string;
address1: string;
city: string;
state: string;
zip: string;
address2?: string | undefined;
}>;
mailingAddress: z.ZodEffects<z.ZodObject<{
sameAsBusiness: z.ZodOptional<z.ZodBoolean>;
address1: z.ZodOptional<z.ZodString>;
address2: z.ZodOptional<z.ZodString>;
city: z.ZodOptional<z.ZodString>;
state: z.ZodOptional<z.ZodString>;
zip: z.ZodOptional<z.ZodString>;
country: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
country?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
sameAsBusiness?: boolean | undefined;
}, {
country?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
sameAsBusiness?: boolean | undefined;
}>, {
country?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
sameAsBusiness?: boolean | undefined;
}, {
country?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
sameAsBusiness?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
businessAddress: {
country: string;
address1: string;
city: string;
state: string;
zip: string;
address2?: string | undefined;
};
mailingAddress: {
country?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
sameAsBusiness?: boolean | undefined;
};
investorType: InvestorType.Company;
isAuthorized: "yes" | "no";
}, {
businessAddress: {
country: string;
address1: string;
city: string;
state: string;
zip: string;
address2?: string | undefined;
};
mailingAddress: {
country?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
sameAsBusiness?: boolean | undefined;
};
investorType: InvestorType.Company;
isAuthorized: "yes" | "no";
}>;
export declare const TrustAddressInfoSchema: z.ZodObject<{
address1: z.ZodString;
address2: z.ZodOptional<z.ZodString>;
city: z.ZodString;
state: z.ZodString;
zip: z.ZodString;
country: z.ZodString;
} & {
sameAsAuthorized: z.ZodOptional<z.ZodBoolean>;
trustAddress1: z.ZodString;
trustAddress2: z.ZodOptional<z.ZodString>;
trustCountry: z.ZodString;
trustCity: z.ZodString;
trustState: z.ZodString;
trustZip: z.ZodString;
}, "strip", z.ZodTypeAny, {
country: string;
address1: string;
city: string;
state: string;
zip: string;
trustAddress1: string;
trustCity: string;
trustState: string;
trustZip: string;
trustCountry: string;
address2?: string | undefined;
sameAsAuthorized?: boolean | undefined;
trustAddress2?: string | undefined;
}, {
country: string;
address1: string;
city: string;
state: string;
zip: string;
trustAddress1: string;
trustCity: string;
trustState: string;
trustZip: string;
trustCountry: string;
address2?: string | undefined;
sameAsAuthorized?: boolean | undefined;
trustAddress2?: string | undefined;
}>;
export declare const TrustIdentityInfoSchema: z.ZodEffects<z.ZodObject<{
trustCountry: z.ZodString;
ssn: z.ZodOptional<z.ZodString>;
tin: z.ZodOptional<z.ZodString>;
birthDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
}, "strip", z.ZodTypeAny, {
trustCountry: string;
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
}, {
trustCountry: string;
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
}>, {
trustCountry: string;
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
}, {
trustCountry: string;
birthDate: string;
ssn?: string | undefined;
tin?: string | undefined;
}>;
export declare const TrustPersonalInfoSchema: z.ZodObject<{
investorType: z.ZodLiteral<InvestorType.Trust>;
isAuthorized: z.ZodEnum<["yes", "no"]>;
trustName: z.ZodString;
taxId: z.ZodString;
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
middleName: z.ZodOptional<z.ZodString>;
suffix: z.ZodOptional<z.ZodString>;
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
country: z.ZodString;
countryPhone: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
email: string;
country: string;
investorType: InvestorType.Trust;
firstName: string;
lastName: string;
phoneNumber: string;
trustName: string;
taxId: string;
isAuthorized: "yes" | "no";
suffix?: string | undefined;
middleName?: string | undefined;
countryPhone?: string | undefined;
}, {
email: string;
country: string;
investorType: InvestorType.Trust;
firstName: string;
lastName: string;
phoneNumber: string;
trustName: string;
taxId: string;
isAuthorized: "yes" | "no";
suffix?: string | undefined;
middleName?: string | undefined;
countryPhone?: string | undefined;
}>;
export declare const trustIdentitySchema: z.ZodObject<{
investorType: z.ZodNativeEnum<typeof InvestorType>;
authorizedSignatory: z.ZodEffects<z.ZodObject<{
birthDate: z.ZodEffects<z.ZodString, string, string>;
ssn: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | null | undefined, string | null | undefined>;
tin: z.ZodNullable<z.ZodOptional<z.ZodString>>;
country: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
birthDate: string;
country?: string | undefined;
ssn?: string | null | undefined;
tin?: string | null | undefined;
}, {
birthDate: string;
country?: string | undefined;
ssn?: string | null | undefined;
tin?: string | null | undefined;
}>, {
birthDate: string;
country?: string | undefined;
ssn?: string | null | undefined;
tin?: string | null | undefined;
}, {
birthDate: string;
country?: string | undefined;
ssn?: string | null | undefined;
tin?: string | null | undefined;
}>;
}, "strip", z.ZodTypeAny, {
investorType: InvestorType;
authorizedSignatory: {
birthDate: string;
country?: string | undefined;
ssn?: string | null | undefined;
tin?: string | null | undefined;
};
}, {
investorType: InvestorType;
authorizedSignatory: {
birthDate: string;
country?: string | undefined;
ssn?: string | null | undefined;
tin?: string | null | undefined;
};
}>;
export declare const trustAddressSchema: z.ZodObject<{
investorType: z.ZodLiteral<InvestorType.Trust>;
isAuthorized: z.ZodEnum<["yes", "no"]>;
trustAddress: z.ZodObject<{
address1: z.ZodString;
address2: z.ZodOptional<z.ZodString>;
city: z.ZodString;
state: z.ZodString;
zip: z.ZodString;
country: z.ZodString;
}, "strip", z.ZodTypeAny, {
country: string;
address1: string;
city: string;
state: string;
zip: string;
address2?: string | undefined;
}, {
country: string;
address1: string;
city: string;
state: string;
zip: string;
address2?: string | undefined;
}>;
mailingAddress: z.ZodEffects<z.ZodObject<{
sameAsTrust: z.ZodOptional<z.ZodBoolean>;
address1: z.ZodOptional<z.ZodString>;
address2: z.ZodOptional<z.ZodString>;
city: z.ZodOptional<z.ZodString>;
state: z.ZodOptional<z.ZodString>;
zip: z.ZodOptional<z.ZodString>;
country: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
country?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
sameAsTrust?: boolean | undefined;
}, {
country?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
sameAsTrust?: boolean | undefined;
}>, {
country?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
sameAsTrust?: boolean | undefined;
}, {
country?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
sameAsTrust?: boolean | undefined;
}>;
}, "strip", z.ZodTypeAny, {
mailingAddress: {
country?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
sameAsTrust?: boolean | undefined;
};
investorType: InvestorType.Trust;
isAuthorized: "yes" | "no";
trustAddress: {
country: string;
address1: string;
city: string;
state: string;
zip: string;
address2?: string | undefined;
};
}, {
mailingAddress: {
country?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
sameAsTrust?: boolean | undefined;
};
investorType: InvestorType.Trust;
isAuthorized: "yes" | "no";
trustAddress: {
country: string;
address1: string;
city: string;
state: string;
zip: string;
address2?: string | undefined;
};
}>;
export declare const IraPeronalInfoSchema: z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
middleName: z.ZodOptional<z.ZodString>;
suffix: z.ZodOptional<z.ZodString>;
isAuthorized: z.ZodEnum<["yes", "no"]>;
}, "strip", z.ZodTypeAny, {
firstName: string;
lastName: string;
isAuthorized: "yes" | "no";
suffix?: string | undefined;
middleName?: string | undefined;
}, {
firstName: string;
lastName: string;
isAuthorized: "yes" | "no";
suffix?: string | undefined;
middleName?: string | undefined;
}>;
export declare const IraIdentityInfoSchema: z.ZodEffects<z.ZodObject<{
custodianName: z.ZodString;
retirementAccountName: z.ZodString;
iraContactEmail: z.ZodString;
taxId: z.ZodString;
stateOfFormation: z.ZodString;
iraAddress1: z.ZodString;
iraAddress2: z.ZodOptional<z.ZodString>;
iraState: z.ZodString;
iraCity: z.ZodString;
iraZip: z.ZodString;
iraCountry: z.ZodString;
ssn: z.ZodOptional<z.ZodString>;
tin: z.ZodOptional<z.ZodString>;
countryPhone: z.ZodOptional<z.ZodString>;
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
isAuthorized: z.ZodEnum<["yes", "no"]>;
birthDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
}, "strip", z.ZodTypeAny, {
phoneNumber: string;
custodianName: string;
iraContactEmail: string;
iraAddress1: string;
iraCountry: string;
iraCity: string;
iraState: string;
taxId: string;
birthDate: string;
isAuthorized: "yes" | "no";
retirementAccountName: string;
stateOfFormation: string;
iraZip: string;
countryPhone?: string | undefined;
iraAddress2?: string | undefined;
ssn?: string | undefined;
tin?: string | undefined;
}, {
phoneNumber: string;
custodianName: string;
iraContactEmail: string;
iraAddress1: string;
iraCountry: string;
iraCity: string;
iraState: string;
taxId: string;
birthDate: string;
isAuthorized: "yes" | "no";
retirementAccountName: string;
stateOfFormation: string;
iraZip: string;
countryPhone?: string | undefined;
iraAddress2?: string | undefined;
ssn?: string | undefined;
tin?: string | undefined;
}>, {
phoneNumber: string;
custodianName: string;
iraContactEmail: string;
iraAddress1: string;
iraCountry: string;
iraCity: string;
iraState: string;
taxId: string;
birthDate: string;
isAuthorized: "yes" | "no";
retirementAccountName: string;
stateOfFormation: string;
iraZip: string;
countryPhone?: string | undefined;
iraAddress2?: string | undefined;
ssn?: string | undefined;
tin?: string | undefined;
}, {
phoneNumber: string;
custodianName: string;
iraContactEmail: string;
iraAddress1: string;
iraCountry: string;
iraCity: string;
iraState: string;
taxId: string;
birthDate: string;
isAuthorized: "yes" | "no";
retirementAccountName: string;
stateOfFormation: string;
iraZip: string;
countryPhone?: string | undefined;
iraAddress2?: string | undefined;
ssn?: string | undefined;
tin?: string | undefined;
}>;
export declare const investmentAmtSchema: z.ZodObject<{
investmentAmount: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
totalShares: z.ZodEffects<z.ZodString, string, string>;
}, "strip", z.ZodTypeAny, {
investmentAmount: string;
totalShares: string;
}, {
investmentAmount: string;
totalShares: string;
}>;
export declare const selfAccreditationSchema: z.ZodObject<{
isAccredited: z.ZodEnum<["yes", "no"]>;
}, "strip", z.ZodTypeAny, {
isAccredited: "yes" | "no";
}, {
isAccredited: "yes" | "no";
}>;
export declare const unaccreditedInvestorSchema: z.ZodObject<{
annualIncome: z.ZodEffects<z.ZodString, string, string>;
netWorth: z.ZodEffects<z.ZodString, string, string>;
regCFInvestments: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
investmentAmount: z.ZodEffects<z.ZodString, string, string>;
}, "strip", z.ZodTypeAny, {
investmentAmount: string;
annualIncome: string;
netWorth: string;
regCFInvestments?: string | undefined;
}, {
investmentAmount: string;
annualIncome: string;
netWorth: string;
regCFInvestments?: string | undefined;
}>;
export declare const acknowledgementSchema: z.ZodEffects<z.ZodObject<{
agreementSignature: z.ZodOptional<z.ZodBoolean>;
termsAgreement: z.ZodBoolean;
contactConsent: z.ZodBoolean;
taxCertification: z.ZodBoolean;
investorEducCommitment: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
termsAgreement: boolean;
contactConsent: boolean;
taxCertification: boolean;
investorEducCommitment: boolean;
agreementSignature?: boolean | undefined;
}, {
termsAgreement: boolean;
contactConsent: boolean;
taxCertification: boolean;
investorEducCommitment: boolean;
agreementSignature?: boolean | undefined;
}>, {
termsAgreement: boolean;
contactConsent: boolean;
taxCertification: boolean;
investorEducCommitment: boolean;
agreementSignature?: boolean | undefined;
}, {
termsAgreement: boolean;
contactConsent: boolean;
taxCertification: boolean;
investorEducCommitment: boolean;
agreementSignature?: boolean | undefined;
}>;
export declare const authorizedSignatorySchema: z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
middleName: z.ZodOptional<z.ZodString>;
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
title: z.ZodString;
country: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
}, {
title: string;
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
}>;
export declare const companySchema: z.ZodObject<{
investorType: z.ZodLiteral<InvestorType.Company>;
isAuthorized: z.ZodEnum<["yes", "no"]>;
companyName: z.ZodString;
businessEmail: z.ZodString;
businessPhone: z.ZodString;
ein: z.ZodString;
companyType: z.ZodString;
stateOfIncorporation: z.ZodString;
dateOfIncorporation: z.ZodString;
companyCountry: z.ZodString;
authorizedSignatory: z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
middleName: z.ZodOptional<z.ZodString>;
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
title: z.ZodString;
country: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
}, {
title: string;
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
investorType: InvestorType.Company;
companyName: string;
businessEmail: string;
businessPhone: string;
ein: string;
companyType: string;
companyCountry: string;
stateOfIncorporation: string;
dateOfIncorporation: string;
authorizedSignatory: {
title: string;
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
};
isAuthorized: "yes" | "no";
}, {
investorType: InvestorType.Company;
companyName: string;
businessEmail: string;
businessPhone: string;
ein: string;
companyType: string;
companyCountry: string;
stateOfIncorporation: string;
dateOfIncorporation: string;
authorizedSignatory: {
title: string;
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
};
isAuthorized: "yes" | "no";
}>;
export declare const companyIdentitySchema: z.ZodObject<{
investorType: z.ZodNativeEnum<typeof InvestorType>;
authorizedSignatory: z.ZodEffects<z.ZodObject<{
birthDate: z.ZodEffects<z.ZodString, string, string>;
ssn: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | null | undefined, string | null | undefined>;
tin: z.ZodNullable<z.ZodOptional<z.ZodString>>;
country: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
birthDate: string;
country?: string | undefined;
ssn?: string | null | undefined;
tin?: string | null | undefined;
}, {
birthDate: string;
country?: string | undefined;
ssn?: string | null | undefined;
tin?: string | null | undefined;
}>, {
birthDate: string;
country?: string | undefined;
ssn?: string | null | undefined;
tin?: string | null | undefined;
}, {
birthDate: string;
country?: string | undefined;
ssn?: string | null | undefined;
tin?: string | null | undefined;
}>;
}, "strip", z.ZodTypeAny, {
investorType: InvestorType;
authorizedSignatory: {
birthDate: string;
country?: string | undefined;
ssn?: string | null | undefined;
tin?: string | null | undefined;
};
}, {
investorType: InvestorType;
authorizedSignatory: {
birthDate: string;
country?: string | undefined;
ssn?: string | null | undefined;
tin?: string | null | undefined;
};
}>;
export declare const jointAccountTypeSchema: z.ZodObject<{
jointAccountType: z.ZodEnum<["survivorship", "common", "entirety"]>;
}, "strip", z.ZodTypeAny, {
jointAccountType: "survivorship" | "common" | "entirety";
}, {
jointAccountType: "survivorship" | "common" | "entirety";
}>;
export declare const investorSchema: z.ZodUnion<[z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
middleName: z.ZodOptional<z.ZodString>;
country: z.ZodString;
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
countryPhone: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}>, z.ZodObject<{
primaryInvestor: z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
middleName: z.ZodOptional<z.ZodString>;
country: z.ZodString;
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
countryPhone: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}>;
secondaryInvestor: z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
middleName: z.ZodOptional<z.ZodString>;
country: z.ZodString;
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
countryPhone: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
primaryInvestor: {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
};
secondaryInvestor: {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
};
}, {
primaryInvestor: {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
};
secondaryInvestor: {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
};
}>, z.ZodObject<{
investorType: z.ZodLiteral<InvestorType.Company>;
isAuthorized: z.ZodEnum<["yes", "no"]>;
companyName: z.ZodString;
businessEmail: z.ZodString;
businessPhone: z.ZodString;
ein: z.ZodString;
companyType: z.ZodString;
stateOfIncorporation: z.ZodString;
dateOfIncorporation: z.ZodString;
companyCountry: z.ZodString;
authorizedSignatory: z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
middleName: z.ZodOptional<z.ZodString>;
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
title: z.ZodString;
country: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
}, {
title: string;
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
investorType: InvestorType.Company;
companyName: string;
businessEmail: string;
businessPhone: string;
ein: string;
companyType: string;
companyCountry: string;
stateOfIncorporation: string;
dateOfIncorporation: string;
authorizedSignatory: {
title: string;
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
};
isAuthorized: "yes" | "no";
}, {
investorType: InvestorType.Company;
companyName: string;
businessEmail: string;
businessPhone: string;
ein: string;
companyType: string;
companyCountry: string;
stateOfIncorporation: string;
dateOfIncorporation: string;
authorizedSignatory: {
title: string;
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
};
isAuthorized: "yes" | "no";
}>, z.ZodObject<{
trustIRAType: z.ZodLiteral<TrustIRAType.Trust>;
trustName: z.ZodString;
trustTaxIDNumber: z.ZodString;
trustAddress1: z.ZodString;
trustAddress2: z.ZodOptional<z.ZodString>;
trustCountry: z.ZodString;
trustCity: z.ZodString;
trustState: z.ZodString;
trustZipCode: z.ZodString;
isAuthorizedTrust: z.ZodEnum<["yes", "no"]>;
}, "strip", z.ZodTypeAny, {
trustAddress1: string;
trustCity: string;
trustState: string;
trustCountry: string;
trustIRAType: TrustIRAType.Trust;
trustName: string;
trustTaxIDNumber: string;
trustZipCode: string;
isAuthorizedTrust: "yes" | "no";
trustAddress2?: string | undefined;
}, {
trustAddress1: string;
trustCity: string;
trustState: string;
trustCountry: string;
trustIRAType: TrustIRAType.Trust;
trustName: string;
trustTaxIDNumber: string;
trustZipCode: string;
isAuthorizedTrust: "yes" | "no";
trustAddress2?: string | undefined;
}>, z.ZodObject<{
trustIRAType: z.ZodLiteral<TrustIRAType.IRA>;
custodianName: z.ZodString;
iraContactEmail: z.ZodString;
iraAccountName: z.ZodString;
iraAccountTaxID: z.ZodString;
iraAddress1: z.ZodString;
iraAddress2: z.ZodOptional<z.ZodString>;
iraCountry: z.ZodString;
iraCity: z.ZodString;
iraState: z.ZodString;
iraZipCode: z.ZodString;
isAuthorizedIRA: z.ZodEnum<["yes", "no"]>;
}, "strip", z.ZodTypeAny, {
trustIRAType: TrustIRAType.IRA;
custodianName: string;
iraContactEmail: string;
iraAccountName: string;
iraAccountTaxID: string;
iraAddress1: string;
iraCountry: string;
iraCity: string;
iraState: string;
iraZipCode: string;
isAuthorizedIRA: "yes" | "no";
iraAddress2?: string | undefined;
}, {
trustIRAType: TrustIRAType.IRA;
custodianName: string;
iraContactEmail: string;
iraAccountName: string;
iraAccountTaxID: string;
iraAddress1: string;
iraCountry: string;
iraCity: string;
iraState: string;
iraZipCode: string;
isAuthorizedIRA: "yes" | "no";
iraAddress2?: string | undefined;
}>]>;
export declare const formSchema: z.ZodEffects<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
investorType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InvestorType>>>;
paymentMethod: z.ZodString;
companyName: z.ZodOptional<z.ZodString>;
ein: z.ZodOptional<z.ZodString>;
trustIRAName: z.ZodOptional<z.ZodString>;
trustIRAType: z.ZodOptional<z.ZodNativeEnum<typeof TrustIRAType>>;
offeringId: z.ZodOptional<z.ZodString>;
investment: z.ZodOptional<z.ZodAny>;
paymentUrl: z.ZodOptional<z.ZodString>;
ipAddress: z.ZodOptional<z.ZodString>;
account_name: z.ZodOptional<z.ZodString>;
institution_name: z.ZodOptional<z.ZodString>;
routing_number: z.ZodOptional<z.ZodString>;
account_number: z.ZodOptional<z.ZodString>;
isFinished: z.ZodOptional<z.ZodBoolean>;
jointAccountType: z.ZodEnum<["survivorship", "common", "entirety"]>;
agreementSignature: z.ZodOptional<z.ZodBoolean>;
termsAgreement: z.ZodBoolean;
contactConsent: z.ZodBoolean;
taxCertification: z.ZodBoolean;
investorEducCommitment: z.ZodBoolean;
annualIncome: z.ZodEffects<z.ZodString, string, string>;
netWorth: z.ZodEffects<z.ZodString, string, string>;
regCFInvestments: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
investmentAmount: z.ZodEffects<z.ZodString, string, string>;
isAccredited: z.ZodEnum<["yes", "no"]>;
totalShares: z.ZodEffects<z.ZodString, string, string>;
email: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
firstName: z.ZodEffects<z.ZodString, string, string>;
lastName: z.ZodEffects<z.ZodString, string, string>;
referralCode: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
email: string;
firstName: string;
lastName: string;
termsAgreement: boolean;
contactConsent: boolean;
taxCertification: boolean;
investorEducCommitment: boolean;
investmentAmount: string;
totalShares: string;
paymentMethod: string;
isAccredited: "yes" | "no";
annualIncome: string;
netWorth: string;
jointAccountType: "survivorship" | "common" | "entirety";
investorType?: InvestorType | null | undefined;
agreementSignature?: boolean | undefined;
isFinished?: boolean | undefined;
trustIRAType?: TrustIRAType | undefined;
companyName?: string | undefined;
ein?: string | undefined;
regCFInvestments?: string | undefined;
paymentUrl?: string | undefined;
investment?: any;
referralCode?: string | undefined;
trustIRAName?: string | undefined;
offeringId?: string | undefined;
ipAddress?: string | undefined;
account_name?: string | undefined;
institution_name?: string | undefined;
routing_number?: string | undefined;
account_number?: string | undefined;
}, {
email: string;
firstName: string;
lastName: string;
termsAgreement: boolean;
contactConsent: boolean;
taxCertification: boolean;
investorEducCommitment: boolean;
investmentAmount: string;
totalShares: string;
paymentMethod: string;
isAccredited: "yes" | "no";
annualIncome: string;
netWorth: string;
jointAccountType: "survivorship" | "common" | "entirety";
investorType?: InvestorType | null | undefined;
agreementSignature?: boolean | undefined;
isFinished?: boolean | undefined;
trustIRAType?: TrustIRAType | undefined;
companyName?: string | undefined;
ein?: string | undefined;
regCFInvestments?: string | undefined;
paymentUrl?: string | undefined;
investment?: any;
referralCode?: string | undefined;
trustIRAName?: string | undefined;
offeringId?: string | undefined;
ipAddress?: string | undefined;
account_name?: string | undefined;
institution_name?: string | undefined;
routing_number?: string | undefined;
account_number?: string | undefined;
}>, z.ZodUnion<[z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
middleName: z.ZodOptional<z.ZodString>;
country: z.ZodString;
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
countryPhone: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}>, z.ZodObject<{
primaryInvestor: z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
middleName: z.ZodOptional<z.ZodString>;
country: z.ZodString;
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
countryPhone: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}>;
secondaryInvestor: z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
email: z.ZodString;
middleName: z.ZodOptional<z.ZodString>;
country: z.ZodString;
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
countryPhone: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
primaryInvestor: {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefined;
};
secondaryInvestor: {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
middleName?: string | undefined;
countryPhone?: string | undefine