@dalmore/api-contracts 0.0.0-dev.fbec0a1 → 0.0.0-dev.fef3ec8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/common/constants.d.ts +15 -0
  2. package/common/constants.js +15 -0
  3. package/common/constants.js.map +1 -1
  4. package/common/types/account.types.js +3 -3
  5. package/common/types/account.types.js.map +1 -1
  6. package/common/types/common.types.d.ts +12 -3
  7. package/common/types/common.types.js +12 -3
  8. package/common/types/common.types.js.map +1 -1
  9. package/common/types/csv.types.d.ts +2020 -138
  10. package/common/types/csv.types.js +145 -33
  11. package/common/types/csv.types.js.map +1 -1
  12. package/common/types/index.d.ts +0 -2
  13. package/common/types/index.js +0 -2
  14. package/common/types/index.js.map +1 -1
  15. package/common/types/invite.types.d.ts +3 -0
  16. package/common/types/invite.types.js +1 -0
  17. package/common/types/invite.types.js.map +1 -1
  18. package/common/types/issuer-offering.types.d.ts +163 -0
  19. package/common/types/issuer-offering.types.js +5 -6
  20. package/common/types/issuer-offering.types.js.map +1 -1
  21. package/common/types/mail-template.types.d.ts +4 -4
  22. package/common/types/notification.types.d.ts +1 -0
  23. package/common/types/notification.types.js +3 -0
  24. package/common/types/notification.types.js.map +1 -1
  25. package/common/types/offering-submission.types.js +1 -1
  26. package/common/types/offering.types.js +4 -1
  27. package/common/types/offering.types.js.map +1 -1
  28. package/common/types/payment-methods.types.d.ts +365 -0
  29. package/common/types/payment-methods.types.js +121 -0
  30. package/common/types/payment-methods.types.js.map +1 -1
  31. package/common/types/task.types.d.ts +8 -0
  32. package/common/types/task.types.js +3 -0
  33. package/common/types/task.types.js.map +1 -1
  34. package/common/types/trade.types.d.ts +10 -14
  35. package/common/types/trade.types.js +2 -7
  36. package/common/types/trade.types.js.map +1 -1
  37. package/common/types/transaction.types.d.ts +24 -1
  38. package/common/types/transaction.types.js +26 -0
  39. package/common/types/transaction.types.js.map +1 -1
  40. package/common/types/user.types.d.ts +6 -112
  41. package/common/types/user.types.js +5 -26
  42. package/common/types/user.types.js.map +1 -1
  43. package/common/types/zapier.types.d.ts +126 -0
  44. package/common/types/zapier.types.js +247 -0
  45. package/common/types/zapier.types.js.map +1 -0
  46. package/contracts/clients/csv/index.d.ts +74 -7
  47. package/contracts/clients/csv/index.js +19 -2
  48. package/contracts/clients/csv/index.js.map +1 -1
  49. package/contracts/clients/index.d.ts +1163 -671
  50. package/contracts/clients/index.js +4 -2
  51. package/contracts/clients/index.js.map +1 -1
  52. package/contracts/clients/webhooks/index.d.ts +506 -0
  53. package/contracts/clients/webhooks/index.js +118 -0
  54. package/contracts/clients/webhooks/index.js.map +1 -0
  55. package/package.json +1 -1
@@ -2,6 +2,12 @@ import { z } from 'zod';
2
2
  import { InvestorAccountType, AicAccreditationType, SubmitIssuerOfferingError } from './common.types';
3
3
  import { IndividualRole, aicQuestionnaire } from './individuals.types';
4
4
  import { PostKycBodySchema } from './kyc.types';
5
+ /**
6
+ * CSV Export Types
7
+ * These types are used for CSV file generation and export
8
+ */
9
+ /** Typed value in a single CSV export row (fastcsv accepts string, number, boolean) */
10
+ export type CsvExportRow = Record<string, string | number | boolean>;
5
11
  /**
6
12
  * CSV Validation Types
7
13
  * These types are used for CSV file upload and validation
@@ -179,7 +185,11 @@ export declare const CsvPersistenceResultZod: z.ZodObject<{
179
185
  })[];
180
186
  }>;
181
187
  export type CsvPersistenceResultZod = z.infer<typeof CsvPersistenceResultZod>;
182
- export declare const BaseIndividualCsvFields: z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
188
+ /**
189
+ * Base schema for INDIVIDUAL investor accounts
190
+ * Includes common registration fields, individual updates, and address
191
+ */
192
+ export declare const BaseIndividualCsvFields: z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
183
193
  firstName: z.ZodString;
184
194
  lastName: z.ZodString;
185
195
  email: z.ZodEffects<z.ZodString, string, string>;
@@ -214,7 +224,112 @@ export declare const BaseIndividualCsvFields: z.ZodEffects<z.ZodIntersection<z.Z
214
224
  confirmPassword: string;
215
225
  site?: string | undefined;
216
226
  phoneNumber?: string | null | undefined;
217
- }>, z.ZodObject<Omit<{
227
+ }>, z.ZodObject<{
228
+ email: z.ZodOptional<z.ZodString>;
229
+ name: z.ZodOptional<z.ZodString>;
230
+ tid: z.ZodOptional<z.ZodString>;
231
+ } & {
232
+ investorAccountType: z.ZodOptional<z.ZodNativeEnum<typeof InvestorAccountType>>;
233
+ userId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
234
+ }, "strip", z.ZodTypeAny, {
235
+ email?: string | undefined;
236
+ name?: string | undefined;
237
+ tid?: string | undefined;
238
+ userId?: string | undefined;
239
+ investorAccountType?: InvestorAccountType | undefined;
240
+ }, {
241
+ email?: string | undefined;
242
+ name?: string | undefined;
243
+ tid?: string | undefined;
244
+ userId?: string | undefined;
245
+ investorAccountType?: InvestorAccountType | undefined;
246
+ }>>, z.ZodObject<{
247
+ lastName: z.ZodOptional<z.ZodString>;
248
+ firstName: z.ZodOptional<z.ZodString>;
249
+ dob: z.ZodOptional<z.ZodDate>;
250
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
251
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
252
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
253
+ currencyCode: z.ZodOptional<z.ZodString>;
254
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
255
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
256
+ isOk: () => boolean;
257
+ isErr: () => boolean;
258
+ value?: any;
259
+ error?: any;
260
+ } | import("neverthrow").Ok<null, never>, string | null>, {
261
+ isOk: () => boolean;
262
+ isErr: () => boolean;
263
+ value?: any;
264
+ error?: any;
265
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
266
+ ownership: z.ZodOptional<z.ZodNumber>;
267
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
268
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
269
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
270
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
271
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
272
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
273
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
274
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
275
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
276
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
277
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
278
+ tid: z.ZodOptional<z.ZodString>;
279
+ } & {
280
+ investorAccountId: z.ZodOptional<z.ZodString>;
281
+ role: z.ZodOptional<z.ZodNativeEnum<typeof IndividualRole>>;
282
+ }, "strip", z.ZodTypeAny, {
283
+ firstName?: string | undefined;
284
+ lastName?: string | undefined;
285
+ email?: string | undefined;
286
+ role?: IndividualRole | undefined;
287
+ tid?: string | undefined;
288
+ phone?: any;
289
+ investorAccountId?: string | undefined;
290
+ currencyCode?: string | undefined;
291
+ liquidNetWorth?: number | undefined;
292
+ dob?: Date | undefined;
293
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
294
+ citizenship?: string | undefined;
295
+ ssn?: string | null | undefined;
296
+ investedInCrowdfunding?: number | undefined;
297
+ currentAnnualIncome?: number | undefined;
298
+ employerName?: string | null | undefined;
299
+ setupStep?: import("./common.types").SetupStepType | undefined;
300
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
301
+ ownership?: number | undefined;
302
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
303
+ custodianName?: string | null | undefined;
304
+ custodianAccountNumber?: string | null | undefined;
305
+ custodianRepresentativeName?: string | null | undefined;
306
+ custodianEmail?: string | null | undefined;
307
+ }, {
308
+ firstName?: string | undefined;
309
+ lastName?: string | undefined;
310
+ email?: string | undefined;
311
+ role?: IndividualRole | undefined;
312
+ tid?: string | undefined;
313
+ phone?: string | null | undefined;
314
+ investorAccountId?: string | undefined;
315
+ currencyCode?: string | undefined;
316
+ liquidNetWorth?: number | undefined;
317
+ dob?: Date | undefined;
318
+ isUsCitizenOrGreenCardHolder?: unknown;
319
+ citizenship?: string | undefined;
320
+ ssn?: string | null | undefined;
321
+ investedInCrowdfunding?: number | undefined;
322
+ currentAnnualIncome?: number | undefined;
323
+ employerName?: string | null | undefined;
324
+ setupStep?: import("./common.types").SetupStepType | undefined;
325
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
326
+ ownership?: number | undefined;
327
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
328
+ custodianName?: string | null | undefined;
329
+ custodianAccountNumber?: string | null | undefined;
330
+ custodianRepresentativeName?: string | null | undefined;
331
+ custodianEmail?: string | null | undefined;
332
+ }>>, z.ZodObject<Omit<{
218
333
  lastName: z.ZodOptional<z.ZodString>;
219
334
  firstName: z.ZodOptional<z.ZodString>;
220
335
  kycFirstName: z.ZodOptional<z.ZodString>;
@@ -375,6 +490,37 @@ export declare const BaseIndividualCsvFields: z.ZodEffects<z.ZodIntersection<z.Z
375
490
  confirmPassword: string;
376
491
  site?: string | undefined;
377
492
  phoneNumber?: any;
493
+ } & {
494
+ email?: string | undefined;
495
+ name?: string | undefined;
496
+ tid?: string | undefined;
497
+ userId?: string | undefined;
498
+ investorAccountType?: InvestorAccountType | undefined;
499
+ } & {
500
+ firstName?: string | undefined;
501
+ lastName?: string | undefined;
502
+ email?: string | undefined;
503
+ role?: IndividualRole | undefined;
504
+ tid?: string | undefined;
505
+ phone?: any;
506
+ investorAccountId?: string | undefined;
507
+ currencyCode?: string | undefined;
508
+ liquidNetWorth?: number | undefined;
509
+ dob?: Date | undefined;
510
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
511
+ citizenship?: string | undefined;
512
+ ssn?: string | null | undefined;
513
+ investedInCrowdfunding?: number | undefined;
514
+ currentAnnualIncome?: number | undefined;
515
+ employerName?: string | null | undefined;
516
+ setupStep?: import("./common.types").SetupStepType | undefined;
517
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
518
+ ownership?: number | undefined;
519
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
520
+ custodianName?: string | null | undefined;
521
+ custodianAccountNumber?: string | null | undefined;
522
+ custodianRepresentativeName?: string | null | undefined;
523
+ custodianEmail?: string | null | undefined;
378
524
  } & {
379
525
  email?: string | undefined;
380
526
  phone?: any;
@@ -426,6 +572,37 @@ export declare const BaseIndividualCsvFields: z.ZodEffects<z.ZodIntersection<z.Z
426
572
  confirmPassword: string;
427
573
  site?: string | undefined;
428
574
  phoneNumber?: string | null | undefined;
575
+ } & {
576
+ email?: string | undefined;
577
+ name?: string | undefined;
578
+ tid?: string | undefined;
579
+ userId?: string | undefined;
580
+ investorAccountType?: InvestorAccountType | undefined;
581
+ } & {
582
+ firstName?: string | undefined;
583
+ lastName?: string | undefined;
584
+ email?: string | undefined;
585
+ role?: IndividualRole | undefined;
586
+ tid?: string | undefined;
587
+ phone?: string | null | undefined;
588
+ investorAccountId?: string | undefined;
589
+ currencyCode?: string | undefined;
590
+ liquidNetWorth?: number | undefined;
591
+ dob?: Date | undefined;
592
+ isUsCitizenOrGreenCardHolder?: unknown;
593
+ citizenship?: string | undefined;
594
+ ssn?: string | null | undefined;
595
+ investedInCrowdfunding?: number | undefined;
596
+ currentAnnualIncome?: number | undefined;
597
+ employerName?: string | null | undefined;
598
+ setupStep?: import("./common.types").SetupStepType | undefined;
599
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
600
+ ownership?: number | undefined;
601
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
602
+ custodianName?: string | null | undefined;
603
+ custodianAccountNumber?: string | null | undefined;
604
+ custodianRepresentativeName?: string | null | undefined;
605
+ custodianEmail?: string | null | undefined;
429
606
  } & {
430
607
  email?: string | undefined;
431
608
  phone?: string | null | undefined;
@@ -470,40 +647,44 @@ export declare const BaseIndividualCsvFields: z.ZodEffects<z.ZodIntersection<z.Z
470
647
  country?: string | null | undefined;
471
648
  zip?: string | null | undefined;
472
649
  }>;
473
- export declare const BaseJointCsvFields: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
474
- secondHolderFirstName: z.ZodOptional<z.ZodString>;
475
- secondHolderLastName: z.ZodOptional<z.ZodString>;
476
- secondHolderEmail: z.ZodOptional<z.ZodString>;
477
- secondHolderPhone: z.ZodOptional<z.ZodString>;
650
+ /**
651
+ * Base schema for JOINT investor accounts
652
+ * Extends INDIVIDUAL schema with required second holder fields
653
+ */
654
+ export declare const BaseJointCsvFields: z.ZodIntersection<z.ZodObject<{
655
+ secondHolderFirstName: z.ZodString;
656
+ secondHolderLastName: z.ZodString;
657
+ secondHolderEmail: z.ZodString;
658
+ secondHolderPhone: z.ZodString;
478
659
  secondHolderDob: z.ZodOptional<z.ZodDate>;
479
660
  secondHolderDateOfBirth: z.ZodOptional<z.ZodDate>;
480
- secondHolderSsn: z.ZodOptional<z.ZodString>;
481
- secondHolderOwnership: z.ZodOptional<z.ZodNumber>;
482
- secondHolderIsUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
483
- secondHolderCitizenship: z.ZodOptional<z.ZodString>;
661
+ secondHolderSsn: z.ZodString;
662
+ secondHolderOwnership: z.ZodNumber;
663
+ secondHolderIsUsCitizenOrGreenCardHolder: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
664
+ secondHolderCitizenship: z.ZodString;
484
665
  }, "strip", z.ZodTypeAny, {
485
- secondHolderFirstName?: string | undefined;
486
- secondHolderLastName?: string | undefined;
487
- secondHolderEmail?: string | undefined;
488
- secondHolderPhone?: string | undefined;
666
+ secondHolderFirstName: string;
667
+ secondHolderLastName: string;
668
+ secondHolderEmail: string;
669
+ secondHolderPhone: string;
670
+ secondHolderSsn: string;
671
+ secondHolderOwnership: number;
672
+ secondHolderIsUsCitizenOrGreenCardHolder: boolean;
673
+ secondHolderCitizenship: string;
489
674
  secondHolderDob?: Date | undefined;
490
675
  secondHolderDateOfBirth?: Date | undefined;
491
- secondHolderSsn?: string | undefined;
492
- secondHolderOwnership?: number | undefined;
493
- secondHolderIsUsCitizenOrGreenCardHolder?: boolean | undefined;
494
- secondHolderCitizenship?: string | undefined;
495
676
  }, {
496
- secondHolderFirstName?: string | undefined;
497
- secondHolderLastName?: string | undefined;
498
- secondHolderEmail?: string | undefined;
499
- secondHolderPhone?: string | undefined;
677
+ secondHolderFirstName: string;
678
+ secondHolderLastName: string;
679
+ secondHolderEmail: string;
680
+ secondHolderPhone: string;
681
+ secondHolderSsn: string;
682
+ secondHolderOwnership: number;
683
+ secondHolderCitizenship: string;
500
684
  secondHolderDob?: Date | undefined;
501
685
  secondHolderDateOfBirth?: Date | undefined;
502
- secondHolderSsn?: string | undefined;
503
- secondHolderOwnership?: number | undefined;
504
686
  secondHolderIsUsCitizenOrGreenCardHolder?: unknown;
505
- secondHolderCitizenship?: string | undefined;
506
- }>, z.ZodObject<{
687
+ }>, z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
507
688
  firstName: z.ZodString;
508
689
  lastName: z.ZodString;
509
690
  email: z.ZodEffects<z.ZodString, string, string>;
@@ -538,7 +719,7 @@ export declare const BaseJointCsvFields: z.ZodIntersection<z.ZodIntersection<z.Z
538
719
  confirmPassword: string;
539
720
  site?: string | undefined;
540
721
  phoneNumber?: string | null | undefined;
541
- }>>, z.ZodObject<{
722
+ }>, z.ZodObject<{
542
723
  email: z.ZodOptional<z.ZodString>;
543
724
  name: z.ZodOptional<z.ZodString>;
544
725
  tid: z.ZodOptional<z.ZodString>;
@@ -643,13 +824,14 @@ export declare const BaseJointCsvFields: z.ZodIntersection<z.ZodIntersection<z.Z
643
824
  custodianAccountNumber?: string | null | undefined;
644
825
  custodianRepresentativeName?: string | null | undefined;
645
826
  custodianEmail?: string | null | undefined;
646
- }>>, z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
647
- firstName: z.ZodString;
648
- lastName: z.ZodString;
649
- email: z.ZodEffects<z.ZodString, string, string>;
650
- password: z.ZodString;
651
- confirmPassword: z.ZodString;
652
- phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
827
+ }>>, z.ZodObject<Omit<{
828
+ lastName: z.ZodOptional<z.ZodString>;
829
+ firstName: z.ZodOptional<z.ZodString>;
830
+ kycFirstName: z.ZodOptional<z.ZodString>;
831
+ kycLastName: z.ZodOptional<z.ZodString>;
832
+ dob: z.ZodOptional<z.ZodDate>;
833
+ currencyCode: z.ZodOptional<z.ZodString>;
834
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
653
835
  isOk: () => boolean;
654
836
  isErr: () => boolean;
655
837
  value?: any;
@@ -660,25 +842,1464 @@ export declare const BaseJointCsvFields: z.ZodIntersection<z.ZodIntersection<z.Z
660
842
  value?: any;
661
843
  error?: any;
662
844
  } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
663
- } & {
664
- site: z.ZodOptional<z.ZodString>;
665
- }, "strip", z.ZodTypeAny, {
666
- firstName: string;
667
- lastName: string;
668
- email: string;
669
- password: string;
670
- confirmPassword: string;
671
- site?: string | undefined;
672
- phoneNumber?: any;
845
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
846
+ ownership: z.ZodOptional<z.ZodNumber>;
847
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
848
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
849
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
850
+ kycDocumentType: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>>;
851
+ kycDocumentIssuer: z.ZodOptional<z.ZodString>;
852
+ kycExpirationDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
853
+ kycIssuerDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
854
+ kycDocumentNumber: z.ZodOptional<z.ZodString>;
855
+ householdNetWorth: z.ZodOptional<z.ZodNumber>;
856
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
857
+ currentHouseholdIncome: z.ZodOptional<z.ZodNumber>;
858
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
859
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
860
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
861
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
862
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
863
+ aicQuestionnaire: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
864
+ kycProvider: z.ZodOptional<z.ZodString>;
865
+ aicAccreditationType: z.ZodOptional<z.ZodNativeEnum<typeof AicAccreditationType>>;
866
+ accredited: z.ZodOptional<z.ZodBoolean>;
867
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
868
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
869
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
870
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
871
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
872
+ }, "firstName" | "lastName">, "strip", z.ZodTypeAny, {
873
+ email?: string | undefined;
874
+ phone?: any;
875
+ kycFirstName?: string | undefined;
876
+ kycLastName?: string | undefined;
877
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
878
+ kycDocumentIssuer?: string | undefined;
879
+ kycProvider?: string | undefined;
880
+ currencyCode?: string | undefined;
881
+ kycDocumentNumber?: string | undefined;
882
+ kycIssuerDate?: string | undefined;
883
+ kycExpirationDate?: string | undefined;
884
+ liquidNetWorth?: number | undefined;
885
+ aicAccreditationType?: AicAccreditationType | undefined;
886
+ aicQuestionnaire?: string | undefined;
887
+ dob?: Date | undefined;
888
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
889
+ citizenship?: string | undefined;
890
+ ssn?: string | null | undefined;
891
+ investedInCrowdfunding?: number | undefined;
892
+ currentAnnualIncome?: number | undefined;
893
+ currentHouseholdIncome?: number | undefined;
894
+ householdNetWorth?: number | undefined;
895
+ employerName?: string | null | undefined;
896
+ setupStep?: import("./common.types").SetupStepType | undefined;
897
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
898
+ ownership?: number | undefined;
899
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
900
+ custodianName?: string | null | undefined;
901
+ custodianAccountNumber?: string | null | undefined;
902
+ custodianRepresentativeName?: string | null | undefined;
903
+ custodianEmail?: string | null | undefined;
904
+ accredited?: boolean | undefined;
905
+ }, {
906
+ email?: string | undefined;
907
+ phone?: string | null | undefined;
908
+ kycFirstName?: string | undefined;
909
+ kycLastName?: string | undefined;
910
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
911
+ kycDocumentIssuer?: string | undefined;
912
+ kycProvider?: string | undefined;
913
+ currencyCode?: string | undefined;
914
+ kycDocumentNumber?: string | undefined;
915
+ kycIssuerDate?: Date | undefined;
916
+ kycExpirationDate?: Date | undefined;
917
+ liquidNetWorth?: number | undefined;
918
+ aicAccreditationType?: AicAccreditationType | undefined;
919
+ aicQuestionnaire?: string | undefined;
920
+ dob?: Date | undefined;
921
+ isUsCitizenOrGreenCardHolder?: unknown;
922
+ citizenship?: string | undefined;
923
+ ssn?: string | null | undefined;
924
+ investedInCrowdfunding?: number | undefined;
925
+ currentAnnualIncome?: number | undefined;
926
+ currentHouseholdIncome?: number | undefined;
927
+ householdNetWorth?: number | undefined;
928
+ employerName?: string | null | undefined;
929
+ setupStep?: import("./common.types").SetupStepType | undefined;
930
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
931
+ ownership?: number | undefined;
932
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
933
+ custodianName?: string | null | undefined;
934
+ custodianAccountNumber?: string | null | undefined;
935
+ custodianRepresentativeName?: string | null | undefined;
936
+ custodianEmail?: string | null | undefined;
937
+ accredited?: boolean | undefined;
938
+ }>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
939
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
940
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
941
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
942
+ }, "strip", z.ZodTypeAny, {
943
+ address?: string | null | undefined;
944
+ city?: string | null | undefined;
945
+ address2?: string | null | undefined;
946
+ }, {
947
+ address?: string | null | undefined;
948
+ city?: string | null | undefined;
949
+ address2?: string | null | undefined;
950
+ }>, z.ZodEffects<z.ZodObject<{
951
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
952
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
953
+ }, "strip", z.ZodTypeAny, {
954
+ country?: string | null | undefined;
955
+ state?: string | null | undefined;
956
+ }, {
957
+ country?: string | null | undefined;
958
+ state?: string | null | undefined;
959
+ }>, {
960
+ country?: string | null | undefined;
961
+ state?: string | null | undefined;
962
+ }, {
963
+ country?: string | null | undefined;
964
+ state?: string | null | undefined;
965
+ }>>, z.ZodEffects<z.ZodObject<{
966
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
967
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
968
+ }, "strip", z.ZodTypeAny, {
969
+ country?: string | null | undefined;
970
+ zip?: string | null | undefined;
971
+ }, {
972
+ country?: string | null | undefined;
973
+ zip?: string | null | undefined;
974
+ }>, {
975
+ country?: string | null | undefined;
976
+ zip?: string | null | undefined;
977
+ }, {
978
+ country?: string | null | undefined;
979
+ zip?: string | null | undefined;
980
+ }>>>, {
981
+ firstName: string;
982
+ lastName: string;
983
+ email: string;
984
+ password: string;
985
+ confirmPassword: string;
986
+ site?: string | undefined;
987
+ phoneNumber?: any;
988
+ } & {
989
+ email?: string | undefined;
990
+ name?: string | undefined;
991
+ tid?: string | undefined;
992
+ userId?: string | undefined;
993
+ investorAccountType?: InvestorAccountType | undefined;
994
+ } & {
995
+ firstName?: string | undefined;
996
+ lastName?: string | undefined;
997
+ email?: string | undefined;
998
+ role?: IndividualRole | undefined;
999
+ tid?: string | undefined;
1000
+ phone?: any;
1001
+ investorAccountId?: string | undefined;
1002
+ currencyCode?: string | undefined;
1003
+ liquidNetWorth?: number | undefined;
1004
+ dob?: Date | undefined;
1005
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1006
+ citizenship?: string | undefined;
1007
+ ssn?: string | null | undefined;
1008
+ investedInCrowdfunding?: number | undefined;
1009
+ currentAnnualIncome?: number | undefined;
1010
+ employerName?: string | null | undefined;
1011
+ setupStep?: import("./common.types").SetupStepType | undefined;
1012
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1013
+ ownership?: number | undefined;
1014
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1015
+ custodianName?: string | null | undefined;
1016
+ custodianAccountNumber?: string | null | undefined;
1017
+ custodianRepresentativeName?: string | null | undefined;
1018
+ custodianEmail?: string | null | undefined;
1019
+ } & {
1020
+ email?: string | undefined;
1021
+ phone?: any;
1022
+ kycFirstName?: string | undefined;
1023
+ kycLastName?: string | undefined;
1024
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1025
+ kycDocumentIssuer?: string | undefined;
1026
+ kycProvider?: string | undefined;
1027
+ currencyCode?: string | undefined;
1028
+ kycDocumentNumber?: string | undefined;
1029
+ kycIssuerDate?: string | undefined;
1030
+ kycExpirationDate?: string | undefined;
1031
+ liquidNetWorth?: number | undefined;
1032
+ aicAccreditationType?: AicAccreditationType | undefined;
1033
+ aicQuestionnaire?: string | undefined;
1034
+ dob?: Date | undefined;
1035
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1036
+ citizenship?: string | undefined;
1037
+ ssn?: string | null | undefined;
1038
+ investedInCrowdfunding?: number | undefined;
1039
+ currentAnnualIncome?: number | undefined;
1040
+ currentHouseholdIncome?: number | undefined;
1041
+ householdNetWorth?: number | undefined;
1042
+ employerName?: string | null | undefined;
1043
+ setupStep?: import("./common.types").SetupStepType | undefined;
1044
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1045
+ ownership?: number | undefined;
1046
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1047
+ custodianName?: string | null | undefined;
1048
+ custodianAccountNumber?: string | null | undefined;
1049
+ custodianRepresentativeName?: string | null | undefined;
1050
+ custodianEmail?: string | null | undefined;
1051
+ accredited?: boolean | undefined;
1052
+ } & {
1053
+ address?: string | null | undefined;
1054
+ city?: string | null | undefined;
1055
+ address2?: string | null | undefined;
1056
+ } & {
1057
+ country?: string | null | undefined;
1058
+ state?: string | null | undefined;
1059
+ } & {
1060
+ country?: string | null | undefined;
1061
+ zip?: string | null | undefined;
1062
+ }, {
1063
+ firstName: string;
1064
+ lastName: string;
1065
+ email: string;
1066
+ password: string;
1067
+ confirmPassword: string;
1068
+ site?: string | undefined;
1069
+ phoneNumber?: string | null | undefined;
1070
+ } & {
1071
+ email?: string | undefined;
1072
+ name?: string | undefined;
1073
+ tid?: string | undefined;
1074
+ userId?: string | undefined;
1075
+ investorAccountType?: InvestorAccountType | undefined;
1076
+ } & {
1077
+ firstName?: string | undefined;
1078
+ lastName?: string | undefined;
1079
+ email?: string | undefined;
1080
+ role?: IndividualRole | undefined;
1081
+ tid?: string | undefined;
1082
+ phone?: string | null | undefined;
1083
+ investorAccountId?: string | undefined;
1084
+ currencyCode?: string | undefined;
1085
+ liquidNetWorth?: number | undefined;
1086
+ dob?: Date | undefined;
1087
+ isUsCitizenOrGreenCardHolder?: unknown;
1088
+ citizenship?: string | undefined;
1089
+ ssn?: string | null | undefined;
1090
+ investedInCrowdfunding?: number | undefined;
1091
+ currentAnnualIncome?: number | undefined;
1092
+ employerName?: string | null | undefined;
1093
+ setupStep?: import("./common.types").SetupStepType | undefined;
1094
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1095
+ ownership?: number | undefined;
1096
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1097
+ custodianName?: string | null | undefined;
1098
+ custodianAccountNumber?: string | null | undefined;
1099
+ custodianRepresentativeName?: string | null | undefined;
1100
+ custodianEmail?: string | null | undefined;
1101
+ } & {
1102
+ email?: string | undefined;
1103
+ phone?: string | null | undefined;
1104
+ kycFirstName?: string | undefined;
1105
+ kycLastName?: string | undefined;
1106
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1107
+ kycDocumentIssuer?: string | undefined;
1108
+ kycProvider?: string | undefined;
1109
+ currencyCode?: string | undefined;
1110
+ kycDocumentNumber?: string | undefined;
1111
+ kycIssuerDate?: Date | undefined;
1112
+ kycExpirationDate?: Date | undefined;
1113
+ liquidNetWorth?: number | undefined;
1114
+ aicAccreditationType?: AicAccreditationType | undefined;
1115
+ aicQuestionnaire?: string | undefined;
1116
+ dob?: Date | undefined;
1117
+ isUsCitizenOrGreenCardHolder?: unknown;
1118
+ citizenship?: string | undefined;
1119
+ ssn?: string | null | undefined;
1120
+ investedInCrowdfunding?: number | undefined;
1121
+ currentAnnualIncome?: number | undefined;
1122
+ currentHouseholdIncome?: number | undefined;
1123
+ householdNetWorth?: number | undefined;
1124
+ employerName?: string | null | undefined;
1125
+ setupStep?: import("./common.types").SetupStepType | undefined;
1126
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1127
+ ownership?: number | undefined;
1128
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1129
+ custodianName?: string | null | undefined;
1130
+ custodianAccountNumber?: string | null | undefined;
1131
+ custodianRepresentativeName?: string | null | undefined;
1132
+ custodianEmail?: string | null | undefined;
1133
+ accredited?: boolean | undefined;
1134
+ } & {
1135
+ address?: string | null | undefined;
1136
+ city?: string | null | undefined;
1137
+ address2?: string | null | undefined;
1138
+ } & {
1139
+ country?: string | null | undefined;
1140
+ state?: string | null | undefined;
1141
+ } & {
1142
+ country?: string | null | undefined;
1143
+ zip?: string | null | undefined;
1144
+ }>>;
1145
+ /**
1146
+ * Base schema for LEGAL_ENTITY investor accounts
1147
+ * Extends INDIVIDUAL schema with required entity fields and optional second holder (UBO2)
1148
+ */
1149
+ export declare const BaseLegalEntityCsvFields: z.ZodIntersection<z.ZodObject<{
1150
+ entityName: z.ZodString;
1151
+ ein: z.ZodString;
1152
+ companyType: z.ZodString;
1153
+ dateOfIncorporation: z.ZodDate;
1154
+ stateOfIncorporation: z.ZodString;
1155
+ secondHolderFirstName: z.ZodOptional<z.ZodString>;
1156
+ secondHolderLastName: z.ZodOptional<z.ZodString>;
1157
+ secondHolderEmail: z.ZodOptional<z.ZodString>;
1158
+ secondHolderPhone: z.ZodOptional<z.ZodString>;
1159
+ secondHolderDob: z.ZodOptional<z.ZodDate>;
1160
+ secondHolderDateOfBirth: z.ZodOptional<z.ZodDate>;
1161
+ secondHolderSsn: z.ZodOptional<z.ZodString>;
1162
+ secondHolderOwnership: z.ZodOptional<z.ZodNumber>;
1163
+ secondHolderIsUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1164
+ secondHolderCitizenship: z.ZodOptional<z.ZodString>;
1165
+ }, "strip", z.ZodTypeAny, {
1166
+ ein: string;
1167
+ companyType: string;
1168
+ entityName: string;
1169
+ dateOfIncorporation: Date;
1170
+ stateOfIncorporation: string;
1171
+ secondHolderFirstName?: string | undefined;
1172
+ secondHolderLastName?: string | undefined;
1173
+ secondHolderEmail?: string | undefined;
1174
+ secondHolderPhone?: string | undefined;
1175
+ secondHolderDob?: Date | undefined;
1176
+ secondHolderDateOfBirth?: Date | undefined;
1177
+ secondHolderSsn?: string | undefined;
1178
+ secondHolderOwnership?: number | undefined;
1179
+ secondHolderIsUsCitizenOrGreenCardHolder?: boolean | undefined;
1180
+ secondHolderCitizenship?: string | undefined;
1181
+ }, {
1182
+ ein: string;
1183
+ companyType: string;
1184
+ entityName: string;
1185
+ dateOfIncorporation: Date;
1186
+ stateOfIncorporation: string;
1187
+ secondHolderFirstName?: string | undefined;
1188
+ secondHolderLastName?: string | undefined;
1189
+ secondHolderEmail?: string | undefined;
1190
+ secondHolderPhone?: string | undefined;
1191
+ secondHolderDob?: Date | undefined;
1192
+ secondHolderDateOfBirth?: Date | undefined;
1193
+ secondHolderSsn?: string | undefined;
1194
+ secondHolderOwnership?: number | undefined;
1195
+ secondHolderIsUsCitizenOrGreenCardHolder?: unknown;
1196
+ secondHolderCitizenship?: string | undefined;
1197
+ }>, z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1198
+ firstName: z.ZodString;
1199
+ lastName: z.ZodString;
1200
+ email: z.ZodEffects<z.ZodString, string, string>;
1201
+ password: z.ZodString;
1202
+ confirmPassword: z.ZodString;
1203
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1204
+ isOk: () => boolean;
1205
+ isErr: () => boolean;
1206
+ value?: any;
1207
+ error?: any;
1208
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1209
+ isOk: () => boolean;
1210
+ isErr: () => boolean;
1211
+ value?: any;
1212
+ error?: any;
1213
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1214
+ } & {
1215
+ site: z.ZodOptional<z.ZodString>;
1216
+ }, "strip", z.ZodTypeAny, {
1217
+ firstName: string;
1218
+ lastName: string;
1219
+ email: string;
1220
+ password: string;
1221
+ confirmPassword: string;
1222
+ site?: string | undefined;
1223
+ phoneNumber?: any;
1224
+ }, {
1225
+ firstName: string;
1226
+ lastName: string;
1227
+ email: string;
1228
+ password: string;
1229
+ confirmPassword: string;
1230
+ site?: string | undefined;
1231
+ phoneNumber?: string | null | undefined;
1232
+ }>, z.ZodObject<{
1233
+ email: z.ZodOptional<z.ZodString>;
1234
+ name: z.ZodOptional<z.ZodString>;
1235
+ tid: z.ZodOptional<z.ZodString>;
1236
+ } & {
1237
+ investorAccountType: z.ZodOptional<z.ZodNativeEnum<typeof InvestorAccountType>>;
1238
+ userId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1239
+ }, "strip", z.ZodTypeAny, {
1240
+ email?: string | undefined;
1241
+ name?: string | undefined;
1242
+ tid?: string | undefined;
1243
+ userId?: string | undefined;
1244
+ investorAccountType?: InvestorAccountType | undefined;
1245
+ }, {
1246
+ email?: string | undefined;
1247
+ name?: string | undefined;
1248
+ tid?: string | undefined;
1249
+ userId?: string | undefined;
1250
+ investorAccountType?: InvestorAccountType | undefined;
1251
+ }>>, z.ZodObject<{
1252
+ lastName: z.ZodOptional<z.ZodString>;
1253
+ firstName: z.ZodOptional<z.ZodString>;
1254
+ dob: z.ZodOptional<z.ZodDate>;
1255
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1256
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
1257
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
1258
+ currencyCode: z.ZodOptional<z.ZodString>;
1259
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1260
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1261
+ isOk: () => boolean;
1262
+ isErr: () => boolean;
1263
+ value?: any;
1264
+ error?: any;
1265
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1266
+ isOk: () => boolean;
1267
+ isErr: () => boolean;
1268
+ value?: any;
1269
+ error?: any;
1270
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1271
+ ownership: z.ZodOptional<z.ZodNumber>;
1272
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
1273
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
1274
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
1275
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
1276
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1277
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
1278
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
1279
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1280
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1281
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1282
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1283
+ tid: z.ZodOptional<z.ZodString>;
1284
+ } & {
1285
+ investorAccountId: z.ZodOptional<z.ZodString>;
1286
+ role: z.ZodOptional<z.ZodNativeEnum<typeof IndividualRole>>;
1287
+ }, "strip", z.ZodTypeAny, {
1288
+ firstName?: string | undefined;
1289
+ lastName?: string | undefined;
1290
+ email?: string | undefined;
1291
+ role?: IndividualRole | undefined;
1292
+ tid?: string | undefined;
1293
+ phone?: any;
1294
+ investorAccountId?: string | undefined;
1295
+ currencyCode?: string | undefined;
1296
+ liquidNetWorth?: number | undefined;
1297
+ dob?: Date | undefined;
1298
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1299
+ citizenship?: string | undefined;
1300
+ ssn?: string | null | undefined;
1301
+ investedInCrowdfunding?: number | undefined;
1302
+ currentAnnualIncome?: number | undefined;
1303
+ employerName?: string | null | undefined;
1304
+ setupStep?: import("./common.types").SetupStepType | undefined;
1305
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1306
+ ownership?: number | undefined;
1307
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1308
+ custodianName?: string | null | undefined;
1309
+ custodianAccountNumber?: string | null | undefined;
1310
+ custodianRepresentativeName?: string | null | undefined;
1311
+ custodianEmail?: string | null | undefined;
1312
+ }, {
1313
+ firstName?: string | undefined;
1314
+ lastName?: string | undefined;
1315
+ email?: string | undefined;
1316
+ role?: IndividualRole | undefined;
1317
+ tid?: string | undefined;
1318
+ phone?: string | null | undefined;
1319
+ investorAccountId?: string | undefined;
1320
+ currencyCode?: string | undefined;
1321
+ liquidNetWorth?: number | undefined;
1322
+ dob?: Date | undefined;
1323
+ isUsCitizenOrGreenCardHolder?: unknown;
1324
+ citizenship?: string | undefined;
1325
+ ssn?: string | null | undefined;
1326
+ investedInCrowdfunding?: number | undefined;
1327
+ currentAnnualIncome?: number | undefined;
1328
+ employerName?: string | null | undefined;
1329
+ setupStep?: import("./common.types").SetupStepType | undefined;
1330
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1331
+ ownership?: number | undefined;
1332
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1333
+ custodianName?: string | null | undefined;
1334
+ custodianAccountNumber?: string | null | undefined;
1335
+ custodianRepresentativeName?: string | null | undefined;
1336
+ custodianEmail?: string | null | undefined;
1337
+ }>>, z.ZodObject<Omit<{
1338
+ lastName: z.ZodOptional<z.ZodString>;
1339
+ firstName: z.ZodOptional<z.ZodString>;
1340
+ kycFirstName: z.ZodOptional<z.ZodString>;
1341
+ kycLastName: z.ZodOptional<z.ZodString>;
1342
+ dob: z.ZodOptional<z.ZodDate>;
1343
+ currencyCode: z.ZodOptional<z.ZodString>;
1344
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1345
+ isOk: () => boolean;
1346
+ isErr: () => boolean;
1347
+ value?: any;
1348
+ error?: any;
1349
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1350
+ isOk: () => boolean;
1351
+ isErr: () => boolean;
1352
+ value?: any;
1353
+ error?: any;
1354
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1355
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1356
+ ownership: z.ZodOptional<z.ZodNumber>;
1357
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1358
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
1359
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
1360
+ kycDocumentType: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>>;
1361
+ kycDocumentIssuer: z.ZodOptional<z.ZodString>;
1362
+ kycExpirationDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
1363
+ kycIssuerDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
1364
+ kycDocumentNumber: z.ZodOptional<z.ZodString>;
1365
+ householdNetWorth: z.ZodOptional<z.ZodNumber>;
1366
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
1367
+ currentHouseholdIncome: z.ZodOptional<z.ZodNumber>;
1368
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
1369
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
1370
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
1371
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1372
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
1373
+ aicQuestionnaire: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1374
+ kycProvider: z.ZodOptional<z.ZodString>;
1375
+ aicAccreditationType: z.ZodOptional<z.ZodNativeEnum<typeof AicAccreditationType>>;
1376
+ accredited: z.ZodOptional<z.ZodBoolean>;
1377
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
1378
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1379
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1380
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1381
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1382
+ }, "firstName" | "lastName">, "strip", z.ZodTypeAny, {
1383
+ email?: string | undefined;
1384
+ phone?: any;
1385
+ kycFirstName?: string | undefined;
1386
+ kycLastName?: string | undefined;
1387
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1388
+ kycDocumentIssuer?: string | undefined;
1389
+ kycProvider?: string | undefined;
1390
+ currencyCode?: string | undefined;
1391
+ kycDocumentNumber?: string | undefined;
1392
+ kycIssuerDate?: string | undefined;
1393
+ kycExpirationDate?: string | undefined;
1394
+ liquidNetWorth?: number | undefined;
1395
+ aicAccreditationType?: AicAccreditationType | undefined;
1396
+ aicQuestionnaire?: string | undefined;
1397
+ dob?: Date | undefined;
1398
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1399
+ citizenship?: string | undefined;
1400
+ ssn?: string | null | undefined;
1401
+ investedInCrowdfunding?: number | undefined;
1402
+ currentAnnualIncome?: number | undefined;
1403
+ currentHouseholdIncome?: number | undefined;
1404
+ householdNetWorth?: number | undefined;
1405
+ employerName?: string | null | undefined;
1406
+ setupStep?: import("./common.types").SetupStepType | undefined;
1407
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1408
+ ownership?: number | undefined;
1409
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1410
+ custodianName?: string | null | undefined;
1411
+ custodianAccountNumber?: string | null | undefined;
1412
+ custodianRepresentativeName?: string | null | undefined;
1413
+ custodianEmail?: string | null | undefined;
1414
+ accredited?: boolean | undefined;
1415
+ }, {
1416
+ email?: string | undefined;
1417
+ phone?: string | null | undefined;
1418
+ kycFirstName?: string | undefined;
1419
+ kycLastName?: string | undefined;
1420
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1421
+ kycDocumentIssuer?: string | undefined;
1422
+ kycProvider?: string | undefined;
1423
+ currencyCode?: string | undefined;
1424
+ kycDocumentNumber?: string | undefined;
1425
+ kycIssuerDate?: Date | undefined;
1426
+ kycExpirationDate?: Date | undefined;
1427
+ liquidNetWorth?: number | undefined;
1428
+ aicAccreditationType?: AicAccreditationType | undefined;
1429
+ aicQuestionnaire?: string | undefined;
1430
+ dob?: Date | undefined;
1431
+ isUsCitizenOrGreenCardHolder?: unknown;
1432
+ citizenship?: string | undefined;
1433
+ ssn?: string | null | undefined;
1434
+ investedInCrowdfunding?: number | undefined;
1435
+ currentAnnualIncome?: number | undefined;
1436
+ currentHouseholdIncome?: number | undefined;
1437
+ householdNetWorth?: number | undefined;
1438
+ employerName?: string | null | undefined;
1439
+ setupStep?: import("./common.types").SetupStepType | undefined;
1440
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1441
+ ownership?: number | undefined;
1442
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1443
+ custodianName?: string | null | undefined;
1444
+ custodianAccountNumber?: string | null | undefined;
1445
+ custodianRepresentativeName?: string | null | undefined;
1446
+ custodianEmail?: string | null | undefined;
1447
+ accredited?: boolean | undefined;
1448
+ }>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1449
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1450
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1451
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1452
+ }, "strip", z.ZodTypeAny, {
1453
+ address?: string | null | undefined;
1454
+ city?: string | null | undefined;
1455
+ address2?: string | null | undefined;
1456
+ }, {
1457
+ address?: string | null | undefined;
1458
+ city?: string | null | undefined;
1459
+ address2?: string | null | undefined;
1460
+ }>, z.ZodEffects<z.ZodObject<{
1461
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
1462
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1463
+ }, "strip", z.ZodTypeAny, {
1464
+ country?: string | null | undefined;
1465
+ state?: string | null | undefined;
1466
+ }, {
1467
+ country?: string | null | undefined;
1468
+ state?: string | null | undefined;
1469
+ }>, {
1470
+ country?: string | null | undefined;
1471
+ state?: string | null | undefined;
1472
+ }, {
1473
+ country?: string | null | undefined;
1474
+ state?: string | null | undefined;
1475
+ }>>, z.ZodEffects<z.ZodObject<{
1476
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
1477
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1478
+ }, "strip", z.ZodTypeAny, {
1479
+ country?: string | null | undefined;
1480
+ zip?: string | null | undefined;
1481
+ }, {
1482
+ country?: string | null | undefined;
1483
+ zip?: string | null | undefined;
1484
+ }>, {
1485
+ country?: string | null | undefined;
1486
+ zip?: string | null | undefined;
1487
+ }, {
1488
+ country?: string | null | undefined;
1489
+ zip?: string | null | undefined;
1490
+ }>>>, {
1491
+ firstName: string;
1492
+ lastName: string;
1493
+ email: string;
1494
+ password: string;
1495
+ confirmPassword: string;
1496
+ site?: string | undefined;
1497
+ phoneNumber?: any;
1498
+ } & {
1499
+ email?: string | undefined;
1500
+ name?: string | undefined;
1501
+ tid?: string | undefined;
1502
+ userId?: string | undefined;
1503
+ investorAccountType?: InvestorAccountType | undefined;
1504
+ } & {
1505
+ firstName?: string | undefined;
1506
+ lastName?: string | undefined;
1507
+ email?: string | undefined;
1508
+ role?: IndividualRole | undefined;
1509
+ tid?: string | undefined;
1510
+ phone?: any;
1511
+ investorAccountId?: string | undefined;
1512
+ currencyCode?: string | undefined;
1513
+ liquidNetWorth?: number | undefined;
1514
+ dob?: Date | undefined;
1515
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1516
+ citizenship?: string | undefined;
1517
+ ssn?: string | null | undefined;
1518
+ investedInCrowdfunding?: number | undefined;
1519
+ currentAnnualIncome?: number | undefined;
1520
+ employerName?: string | null | undefined;
1521
+ setupStep?: import("./common.types").SetupStepType | undefined;
1522
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1523
+ ownership?: number | undefined;
1524
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1525
+ custodianName?: string | null | undefined;
1526
+ custodianAccountNumber?: string | null | undefined;
1527
+ custodianRepresentativeName?: string | null | undefined;
1528
+ custodianEmail?: string | null | undefined;
1529
+ } & {
1530
+ email?: string | undefined;
1531
+ phone?: any;
1532
+ kycFirstName?: string | undefined;
1533
+ kycLastName?: string | undefined;
1534
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1535
+ kycDocumentIssuer?: string | undefined;
1536
+ kycProvider?: string | undefined;
1537
+ currencyCode?: string | undefined;
1538
+ kycDocumentNumber?: string | undefined;
1539
+ kycIssuerDate?: string | undefined;
1540
+ kycExpirationDate?: string | undefined;
1541
+ liquidNetWorth?: number | undefined;
1542
+ aicAccreditationType?: AicAccreditationType | undefined;
1543
+ aicQuestionnaire?: string | undefined;
1544
+ dob?: Date | undefined;
1545
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1546
+ citizenship?: string | undefined;
1547
+ ssn?: string | null | undefined;
1548
+ investedInCrowdfunding?: number | undefined;
1549
+ currentAnnualIncome?: number | undefined;
1550
+ currentHouseholdIncome?: number | undefined;
1551
+ householdNetWorth?: number | undefined;
1552
+ employerName?: string | null | undefined;
1553
+ setupStep?: import("./common.types").SetupStepType | undefined;
1554
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1555
+ ownership?: number | undefined;
1556
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1557
+ custodianName?: string | null | undefined;
1558
+ custodianAccountNumber?: string | null | undefined;
1559
+ custodianRepresentativeName?: string | null | undefined;
1560
+ custodianEmail?: string | null | undefined;
1561
+ accredited?: boolean | undefined;
1562
+ } & {
1563
+ address?: string | null | undefined;
1564
+ city?: string | null | undefined;
1565
+ address2?: string | null | undefined;
1566
+ } & {
1567
+ country?: string | null | undefined;
1568
+ state?: string | null | undefined;
1569
+ } & {
1570
+ country?: string | null | undefined;
1571
+ zip?: string | null | undefined;
1572
+ }, {
1573
+ firstName: string;
1574
+ lastName: string;
1575
+ email: string;
1576
+ password: string;
1577
+ confirmPassword: string;
1578
+ site?: string | undefined;
1579
+ phoneNumber?: string | null | undefined;
1580
+ } & {
1581
+ email?: string | undefined;
1582
+ name?: string | undefined;
1583
+ tid?: string | undefined;
1584
+ userId?: string | undefined;
1585
+ investorAccountType?: InvestorAccountType | undefined;
1586
+ } & {
1587
+ firstName?: string | undefined;
1588
+ lastName?: string | undefined;
1589
+ email?: string | undefined;
1590
+ role?: IndividualRole | undefined;
1591
+ tid?: string | undefined;
1592
+ phone?: string | null | undefined;
1593
+ investorAccountId?: string | undefined;
1594
+ currencyCode?: string | undefined;
1595
+ liquidNetWorth?: number | undefined;
1596
+ dob?: Date | undefined;
1597
+ isUsCitizenOrGreenCardHolder?: unknown;
1598
+ citizenship?: string | undefined;
1599
+ ssn?: string | null | undefined;
1600
+ investedInCrowdfunding?: number | undefined;
1601
+ currentAnnualIncome?: number | undefined;
1602
+ employerName?: string | null | undefined;
1603
+ setupStep?: import("./common.types").SetupStepType | undefined;
1604
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1605
+ ownership?: number | undefined;
1606
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1607
+ custodianName?: string | null | undefined;
1608
+ custodianAccountNumber?: string | null | undefined;
1609
+ custodianRepresentativeName?: string | null | undefined;
1610
+ custodianEmail?: string | null | undefined;
1611
+ } & {
1612
+ email?: string | undefined;
1613
+ phone?: string | null | undefined;
1614
+ kycFirstName?: string | undefined;
1615
+ kycLastName?: string | undefined;
1616
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1617
+ kycDocumentIssuer?: string | undefined;
1618
+ kycProvider?: string | undefined;
1619
+ currencyCode?: string | undefined;
1620
+ kycDocumentNumber?: string | undefined;
1621
+ kycIssuerDate?: Date | undefined;
1622
+ kycExpirationDate?: Date | undefined;
1623
+ liquidNetWorth?: number | undefined;
1624
+ aicAccreditationType?: AicAccreditationType | undefined;
1625
+ aicQuestionnaire?: string | undefined;
1626
+ dob?: Date | undefined;
1627
+ isUsCitizenOrGreenCardHolder?: unknown;
1628
+ citizenship?: string | undefined;
1629
+ ssn?: string | null | undefined;
1630
+ investedInCrowdfunding?: number | undefined;
1631
+ currentAnnualIncome?: number | undefined;
1632
+ currentHouseholdIncome?: number | undefined;
1633
+ householdNetWorth?: number | undefined;
1634
+ employerName?: string | null | undefined;
1635
+ setupStep?: import("./common.types").SetupStepType | undefined;
1636
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1637
+ ownership?: number | undefined;
1638
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1639
+ custodianName?: string | null | undefined;
1640
+ custodianAccountNumber?: string | null | undefined;
1641
+ custodianRepresentativeName?: string | null | undefined;
1642
+ custodianEmail?: string | null | undefined;
1643
+ accredited?: boolean | undefined;
1644
+ } & {
1645
+ address?: string | null | undefined;
1646
+ city?: string | null | undefined;
1647
+ address2?: string | null | undefined;
1648
+ } & {
1649
+ country?: string | null | undefined;
1650
+ state?: string | null | undefined;
1651
+ } & {
1652
+ country?: string | null | undefined;
1653
+ zip?: string | null | undefined;
1654
+ }>>;
1655
+ export type IndividualCsvRow = z.infer<typeof BaseIndividualCsvFields>;
1656
+ export type JointCsvRow = z.infer<typeof BaseJointCsvFields>;
1657
+ export type LegalEntityCsvRow = z.infer<typeof BaseLegalEntityCsvFields>;
1658
+ export type CsvRowData = IndividualCsvRow | JointCsvRow | LegalEntityCsvRow;
1659
+ export declare const IndividualCsvSchemaWithType: z.ZodIntersection<z.ZodObject<{
1660
+ type: z.ZodLiteral<"INDIVIDUAL">;
1661
+ }, "strip", z.ZodTypeAny, {
1662
+ type: "INDIVIDUAL";
1663
+ }, {
1664
+ type: "INDIVIDUAL";
1665
+ }>, z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1666
+ firstName: z.ZodString;
1667
+ lastName: z.ZodString;
1668
+ email: z.ZodEffects<z.ZodString, string, string>;
1669
+ password: z.ZodString;
1670
+ confirmPassword: z.ZodString;
1671
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1672
+ isOk: () => boolean;
1673
+ isErr: () => boolean;
1674
+ value?: any;
1675
+ error?: any;
1676
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1677
+ isOk: () => boolean;
1678
+ isErr: () => boolean;
1679
+ value?: any;
1680
+ error?: any;
1681
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1682
+ } & {
1683
+ site: z.ZodOptional<z.ZodString>;
1684
+ }, "strip", z.ZodTypeAny, {
1685
+ firstName: string;
1686
+ lastName: string;
1687
+ email: string;
1688
+ password: string;
1689
+ confirmPassword: string;
1690
+ site?: string | undefined;
1691
+ phoneNumber?: any;
1692
+ }, {
1693
+ firstName: string;
1694
+ lastName: string;
1695
+ email: string;
1696
+ password: string;
1697
+ confirmPassword: string;
1698
+ site?: string | undefined;
1699
+ phoneNumber?: string | null | undefined;
1700
+ }>, z.ZodObject<{
1701
+ email: z.ZodOptional<z.ZodString>;
1702
+ name: z.ZodOptional<z.ZodString>;
1703
+ tid: z.ZodOptional<z.ZodString>;
1704
+ } & {
1705
+ investorAccountType: z.ZodOptional<z.ZodNativeEnum<typeof InvestorAccountType>>;
1706
+ userId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1707
+ }, "strip", z.ZodTypeAny, {
1708
+ email?: string | undefined;
1709
+ name?: string | undefined;
1710
+ tid?: string | undefined;
1711
+ userId?: string | undefined;
1712
+ investorAccountType?: InvestorAccountType | undefined;
1713
+ }, {
1714
+ email?: string | undefined;
1715
+ name?: string | undefined;
1716
+ tid?: string | undefined;
1717
+ userId?: string | undefined;
1718
+ investorAccountType?: InvestorAccountType | undefined;
1719
+ }>>, z.ZodObject<{
1720
+ lastName: z.ZodOptional<z.ZodString>;
1721
+ firstName: z.ZodOptional<z.ZodString>;
1722
+ dob: z.ZodOptional<z.ZodDate>;
1723
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1724
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
1725
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
1726
+ currencyCode: z.ZodOptional<z.ZodString>;
1727
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1728
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1729
+ isOk: () => boolean;
1730
+ isErr: () => boolean;
1731
+ value?: any;
1732
+ error?: any;
1733
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1734
+ isOk: () => boolean;
1735
+ isErr: () => boolean;
1736
+ value?: any;
1737
+ error?: any;
1738
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1739
+ ownership: z.ZodOptional<z.ZodNumber>;
1740
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
1741
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
1742
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
1743
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
1744
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1745
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
1746
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
1747
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1748
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1749
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1750
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1751
+ tid: z.ZodOptional<z.ZodString>;
1752
+ } & {
1753
+ investorAccountId: z.ZodOptional<z.ZodString>;
1754
+ role: z.ZodOptional<z.ZodNativeEnum<typeof IndividualRole>>;
1755
+ }, "strip", z.ZodTypeAny, {
1756
+ firstName?: string | undefined;
1757
+ lastName?: string | undefined;
1758
+ email?: string | undefined;
1759
+ role?: IndividualRole | undefined;
1760
+ tid?: string | undefined;
1761
+ phone?: any;
1762
+ investorAccountId?: string | undefined;
1763
+ currencyCode?: string | undefined;
1764
+ liquidNetWorth?: number | undefined;
1765
+ dob?: Date | undefined;
1766
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1767
+ citizenship?: string | undefined;
1768
+ ssn?: string | null | undefined;
1769
+ investedInCrowdfunding?: number | undefined;
1770
+ currentAnnualIncome?: number | undefined;
1771
+ employerName?: string | null | undefined;
1772
+ setupStep?: import("./common.types").SetupStepType | undefined;
1773
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1774
+ ownership?: number | undefined;
1775
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1776
+ custodianName?: string | null | undefined;
1777
+ custodianAccountNumber?: string | null | undefined;
1778
+ custodianRepresentativeName?: string | null | undefined;
1779
+ custodianEmail?: string | null | undefined;
1780
+ }, {
1781
+ firstName?: string | undefined;
1782
+ lastName?: string | undefined;
1783
+ email?: string | undefined;
1784
+ role?: IndividualRole | undefined;
1785
+ tid?: string | undefined;
1786
+ phone?: string | null | undefined;
1787
+ investorAccountId?: string | undefined;
1788
+ currencyCode?: string | undefined;
1789
+ liquidNetWorth?: number | undefined;
1790
+ dob?: Date | undefined;
1791
+ isUsCitizenOrGreenCardHolder?: unknown;
1792
+ citizenship?: string | undefined;
1793
+ ssn?: string | null | undefined;
1794
+ investedInCrowdfunding?: number | undefined;
1795
+ currentAnnualIncome?: number | undefined;
1796
+ employerName?: string | null | undefined;
1797
+ setupStep?: import("./common.types").SetupStepType | undefined;
1798
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1799
+ ownership?: number | undefined;
1800
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1801
+ custodianName?: string | null | undefined;
1802
+ custodianAccountNumber?: string | null | undefined;
1803
+ custodianRepresentativeName?: string | null | undefined;
1804
+ custodianEmail?: string | null | undefined;
1805
+ }>>, z.ZodObject<Omit<{
1806
+ lastName: z.ZodOptional<z.ZodString>;
1807
+ firstName: z.ZodOptional<z.ZodString>;
1808
+ kycFirstName: z.ZodOptional<z.ZodString>;
1809
+ kycLastName: z.ZodOptional<z.ZodString>;
1810
+ dob: z.ZodOptional<z.ZodDate>;
1811
+ currencyCode: z.ZodOptional<z.ZodString>;
1812
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1813
+ isOk: () => boolean;
1814
+ isErr: () => boolean;
1815
+ value?: any;
1816
+ error?: any;
1817
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1818
+ isOk: () => boolean;
1819
+ isErr: () => boolean;
1820
+ value?: any;
1821
+ error?: any;
1822
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1823
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1824
+ ownership: z.ZodOptional<z.ZodNumber>;
1825
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1826
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
1827
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
1828
+ kycDocumentType: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>>;
1829
+ kycDocumentIssuer: z.ZodOptional<z.ZodString>;
1830
+ kycExpirationDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
1831
+ kycIssuerDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
1832
+ kycDocumentNumber: z.ZodOptional<z.ZodString>;
1833
+ householdNetWorth: z.ZodOptional<z.ZodNumber>;
1834
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
1835
+ currentHouseholdIncome: z.ZodOptional<z.ZodNumber>;
1836
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
1837
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
1838
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
1839
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1840
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
1841
+ aicQuestionnaire: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1842
+ kycProvider: z.ZodOptional<z.ZodString>;
1843
+ aicAccreditationType: z.ZodOptional<z.ZodNativeEnum<typeof AicAccreditationType>>;
1844
+ accredited: z.ZodOptional<z.ZodBoolean>;
1845
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
1846
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1847
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1848
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1849
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1850
+ }, "firstName" | "lastName">, "strip", z.ZodTypeAny, {
1851
+ email?: string | undefined;
1852
+ phone?: any;
1853
+ kycFirstName?: string | undefined;
1854
+ kycLastName?: string | undefined;
1855
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1856
+ kycDocumentIssuer?: string | undefined;
1857
+ kycProvider?: string | undefined;
1858
+ currencyCode?: string | undefined;
1859
+ kycDocumentNumber?: string | undefined;
1860
+ kycIssuerDate?: string | undefined;
1861
+ kycExpirationDate?: string | undefined;
1862
+ liquidNetWorth?: number | undefined;
1863
+ aicAccreditationType?: AicAccreditationType | undefined;
1864
+ aicQuestionnaire?: string | undefined;
1865
+ dob?: Date | undefined;
1866
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1867
+ citizenship?: string | undefined;
1868
+ ssn?: string | null | undefined;
1869
+ investedInCrowdfunding?: number | undefined;
1870
+ currentAnnualIncome?: number | undefined;
1871
+ currentHouseholdIncome?: number | undefined;
1872
+ householdNetWorth?: number | undefined;
1873
+ employerName?: string | null | undefined;
1874
+ setupStep?: import("./common.types").SetupStepType | undefined;
1875
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1876
+ ownership?: number | undefined;
1877
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1878
+ custodianName?: string | null | undefined;
1879
+ custodianAccountNumber?: string | null | undefined;
1880
+ custodianRepresentativeName?: string | null | undefined;
1881
+ custodianEmail?: string | null | undefined;
1882
+ accredited?: boolean | undefined;
1883
+ }, {
1884
+ email?: string | undefined;
1885
+ phone?: string | null | undefined;
1886
+ kycFirstName?: string | undefined;
1887
+ kycLastName?: string | undefined;
1888
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1889
+ kycDocumentIssuer?: string | undefined;
1890
+ kycProvider?: string | undefined;
1891
+ currencyCode?: string | undefined;
1892
+ kycDocumentNumber?: string | undefined;
1893
+ kycIssuerDate?: Date | undefined;
1894
+ kycExpirationDate?: Date | undefined;
1895
+ liquidNetWorth?: number | undefined;
1896
+ aicAccreditationType?: AicAccreditationType | undefined;
1897
+ aicQuestionnaire?: string | undefined;
1898
+ dob?: Date | undefined;
1899
+ isUsCitizenOrGreenCardHolder?: unknown;
1900
+ citizenship?: string | undefined;
1901
+ ssn?: string | null | undefined;
1902
+ investedInCrowdfunding?: number | undefined;
1903
+ currentAnnualIncome?: number | undefined;
1904
+ currentHouseholdIncome?: number | undefined;
1905
+ householdNetWorth?: number | undefined;
1906
+ employerName?: string | null | undefined;
1907
+ setupStep?: import("./common.types").SetupStepType | undefined;
1908
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1909
+ ownership?: number | undefined;
1910
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1911
+ custodianName?: string | null | undefined;
1912
+ custodianAccountNumber?: string | null | undefined;
1913
+ custodianRepresentativeName?: string | null | undefined;
1914
+ custodianEmail?: string | null | undefined;
1915
+ accredited?: boolean | undefined;
1916
+ }>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1917
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1918
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1919
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1920
+ }, "strip", z.ZodTypeAny, {
1921
+ address?: string | null | undefined;
1922
+ city?: string | null | undefined;
1923
+ address2?: string | null | undefined;
1924
+ }, {
1925
+ address?: string | null | undefined;
1926
+ city?: string | null | undefined;
1927
+ address2?: string | null | undefined;
1928
+ }>, z.ZodEffects<z.ZodObject<{
1929
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
1930
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1931
+ }, "strip", z.ZodTypeAny, {
1932
+ country?: string | null | undefined;
1933
+ state?: string | null | undefined;
1934
+ }, {
1935
+ country?: string | null | undefined;
1936
+ state?: string | null | undefined;
1937
+ }>, {
1938
+ country?: string | null | undefined;
1939
+ state?: string | null | undefined;
1940
+ }, {
1941
+ country?: string | null | undefined;
1942
+ state?: string | null | undefined;
1943
+ }>>, z.ZodEffects<z.ZodObject<{
1944
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
1945
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1946
+ }, "strip", z.ZodTypeAny, {
1947
+ country?: string | null | undefined;
1948
+ zip?: string | null | undefined;
1949
+ }, {
1950
+ country?: string | null | undefined;
1951
+ zip?: string | null | undefined;
1952
+ }>, {
1953
+ country?: string | null | undefined;
1954
+ zip?: string | null | undefined;
1955
+ }, {
1956
+ country?: string | null | undefined;
1957
+ zip?: string | null | undefined;
1958
+ }>>>, {
1959
+ firstName: string;
1960
+ lastName: string;
1961
+ email: string;
1962
+ password: string;
1963
+ confirmPassword: string;
1964
+ site?: string | undefined;
1965
+ phoneNumber?: any;
1966
+ } & {
1967
+ email?: string | undefined;
1968
+ name?: string | undefined;
1969
+ tid?: string | undefined;
1970
+ userId?: string | undefined;
1971
+ investorAccountType?: InvestorAccountType | undefined;
1972
+ } & {
1973
+ firstName?: string | undefined;
1974
+ lastName?: string | undefined;
1975
+ email?: string | undefined;
1976
+ role?: IndividualRole | undefined;
1977
+ tid?: string | undefined;
1978
+ phone?: any;
1979
+ investorAccountId?: string | undefined;
1980
+ currencyCode?: string | undefined;
1981
+ liquidNetWorth?: number | undefined;
1982
+ dob?: Date | undefined;
1983
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1984
+ citizenship?: string | undefined;
1985
+ ssn?: string | null | undefined;
1986
+ investedInCrowdfunding?: number | undefined;
1987
+ currentAnnualIncome?: number | undefined;
1988
+ employerName?: string | null | undefined;
1989
+ setupStep?: import("./common.types").SetupStepType | undefined;
1990
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1991
+ ownership?: number | undefined;
1992
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1993
+ custodianName?: string | null | undefined;
1994
+ custodianAccountNumber?: string | null | undefined;
1995
+ custodianRepresentativeName?: string | null | undefined;
1996
+ custodianEmail?: string | null | undefined;
1997
+ } & {
1998
+ email?: string | undefined;
1999
+ phone?: any;
2000
+ kycFirstName?: string | undefined;
2001
+ kycLastName?: string | undefined;
2002
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
2003
+ kycDocumentIssuer?: string | undefined;
2004
+ kycProvider?: string | undefined;
2005
+ currencyCode?: string | undefined;
2006
+ kycDocumentNumber?: string | undefined;
2007
+ kycIssuerDate?: string | undefined;
2008
+ kycExpirationDate?: string | undefined;
2009
+ liquidNetWorth?: number | undefined;
2010
+ aicAccreditationType?: AicAccreditationType | undefined;
2011
+ aicQuestionnaire?: string | undefined;
2012
+ dob?: Date | undefined;
2013
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
2014
+ citizenship?: string | undefined;
2015
+ ssn?: string | null | undefined;
2016
+ investedInCrowdfunding?: number | undefined;
2017
+ currentAnnualIncome?: number | undefined;
2018
+ currentHouseholdIncome?: number | undefined;
2019
+ householdNetWorth?: number | undefined;
2020
+ employerName?: string | null | undefined;
2021
+ setupStep?: import("./common.types").SetupStepType | undefined;
2022
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2023
+ ownership?: number | undefined;
2024
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2025
+ custodianName?: string | null | undefined;
2026
+ custodianAccountNumber?: string | null | undefined;
2027
+ custodianRepresentativeName?: string | null | undefined;
2028
+ custodianEmail?: string | null | undefined;
2029
+ accredited?: boolean | undefined;
2030
+ } & {
2031
+ address?: string | null | undefined;
2032
+ city?: string | null | undefined;
2033
+ address2?: string | null | undefined;
2034
+ } & {
2035
+ country?: string | null | undefined;
2036
+ state?: string | null | undefined;
2037
+ } & {
2038
+ country?: string | null | undefined;
2039
+ zip?: string | null | undefined;
2040
+ }, {
2041
+ firstName: string;
2042
+ lastName: string;
2043
+ email: string;
2044
+ password: string;
2045
+ confirmPassword: string;
2046
+ site?: string | undefined;
2047
+ phoneNumber?: string | null | undefined;
2048
+ } & {
2049
+ email?: string | undefined;
2050
+ name?: string | undefined;
2051
+ tid?: string | undefined;
2052
+ userId?: string | undefined;
2053
+ investorAccountType?: InvestorAccountType | undefined;
2054
+ } & {
2055
+ firstName?: string | undefined;
2056
+ lastName?: string | undefined;
2057
+ email?: string | undefined;
2058
+ role?: IndividualRole | undefined;
2059
+ tid?: string | undefined;
2060
+ phone?: string | null | undefined;
2061
+ investorAccountId?: string | undefined;
2062
+ currencyCode?: string | undefined;
2063
+ liquidNetWorth?: number | undefined;
2064
+ dob?: Date | undefined;
2065
+ isUsCitizenOrGreenCardHolder?: unknown;
2066
+ citizenship?: string | undefined;
2067
+ ssn?: string | null | undefined;
2068
+ investedInCrowdfunding?: number | undefined;
2069
+ currentAnnualIncome?: number | undefined;
2070
+ employerName?: string | null | undefined;
2071
+ setupStep?: import("./common.types").SetupStepType | undefined;
2072
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2073
+ ownership?: number | undefined;
2074
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2075
+ custodianName?: string | null | undefined;
2076
+ custodianAccountNumber?: string | null | undefined;
2077
+ custodianRepresentativeName?: string | null | undefined;
2078
+ custodianEmail?: string | null | undefined;
2079
+ } & {
2080
+ email?: string | undefined;
2081
+ phone?: string | null | undefined;
2082
+ kycFirstName?: string | undefined;
2083
+ kycLastName?: string | undefined;
2084
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
2085
+ kycDocumentIssuer?: string | undefined;
2086
+ kycProvider?: string | undefined;
2087
+ currencyCode?: string | undefined;
2088
+ kycDocumentNumber?: string | undefined;
2089
+ kycIssuerDate?: Date | undefined;
2090
+ kycExpirationDate?: Date | undefined;
2091
+ liquidNetWorth?: number | undefined;
2092
+ aicAccreditationType?: AicAccreditationType | undefined;
2093
+ aicQuestionnaire?: string | undefined;
2094
+ dob?: Date | undefined;
2095
+ isUsCitizenOrGreenCardHolder?: unknown;
2096
+ citizenship?: string | undefined;
2097
+ ssn?: string | null | undefined;
2098
+ investedInCrowdfunding?: number | undefined;
2099
+ currentAnnualIncome?: number | undefined;
2100
+ currentHouseholdIncome?: number | undefined;
2101
+ householdNetWorth?: number | undefined;
2102
+ employerName?: string | null | undefined;
2103
+ setupStep?: import("./common.types").SetupStepType | undefined;
2104
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2105
+ ownership?: number | undefined;
2106
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2107
+ custodianName?: string | null | undefined;
2108
+ custodianAccountNumber?: string | null | undefined;
2109
+ custodianRepresentativeName?: string | null | undefined;
2110
+ custodianEmail?: string | null | undefined;
2111
+ accredited?: boolean | undefined;
2112
+ } & {
2113
+ address?: string | null | undefined;
2114
+ city?: string | null | undefined;
2115
+ address2?: string | null | undefined;
2116
+ } & {
2117
+ country?: string | null | undefined;
2118
+ state?: string | null | undefined;
2119
+ } & {
2120
+ country?: string | null | undefined;
2121
+ zip?: string | null | undefined;
2122
+ }>>;
2123
+ export declare const JointCsvSchemaWithType: z.ZodIntersection<z.ZodObject<{
2124
+ type: z.ZodLiteral<"JOINT">;
2125
+ }, "strip", z.ZodTypeAny, {
2126
+ type: "JOINT";
2127
+ }, {
2128
+ type: "JOINT";
2129
+ }>, z.ZodIntersection<z.ZodObject<{
2130
+ secondHolderFirstName: z.ZodString;
2131
+ secondHolderLastName: z.ZodString;
2132
+ secondHolderEmail: z.ZodString;
2133
+ secondHolderPhone: z.ZodString;
2134
+ secondHolderDob: z.ZodOptional<z.ZodDate>;
2135
+ secondHolderDateOfBirth: z.ZodOptional<z.ZodDate>;
2136
+ secondHolderSsn: z.ZodString;
2137
+ secondHolderOwnership: z.ZodNumber;
2138
+ secondHolderIsUsCitizenOrGreenCardHolder: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
2139
+ secondHolderCitizenship: z.ZodString;
2140
+ }, "strip", z.ZodTypeAny, {
2141
+ secondHolderFirstName: string;
2142
+ secondHolderLastName: string;
2143
+ secondHolderEmail: string;
2144
+ secondHolderPhone: string;
2145
+ secondHolderSsn: string;
2146
+ secondHolderOwnership: number;
2147
+ secondHolderIsUsCitizenOrGreenCardHolder: boolean;
2148
+ secondHolderCitizenship: string;
2149
+ secondHolderDob?: Date | undefined;
2150
+ secondHolderDateOfBirth?: Date | undefined;
2151
+ }, {
2152
+ secondHolderFirstName: string;
2153
+ secondHolderLastName: string;
2154
+ secondHolderEmail: string;
2155
+ secondHolderPhone: string;
2156
+ secondHolderSsn: string;
2157
+ secondHolderOwnership: number;
2158
+ secondHolderCitizenship: string;
2159
+ secondHolderDob?: Date | undefined;
2160
+ secondHolderDateOfBirth?: Date | undefined;
2161
+ secondHolderIsUsCitizenOrGreenCardHolder?: unknown;
2162
+ }>, z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
2163
+ firstName: z.ZodString;
2164
+ lastName: z.ZodString;
2165
+ email: z.ZodEffects<z.ZodString, string, string>;
2166
+ password: z.ZodString;
2167
+ confirmPassword: z.ZodString;
2168
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
2169
+ isOk: () => boolean;
2170
+ isErr: () => boolean;
2171
+ value?: any;
2172
+ error?: any;
2173
+ } | import("neverthrow").Ok<null, never>, string | null>, {
2174
+ isOk: () => boolean;
2175
+ isErr: () => boolean;
2176
+ value?: any;
2177
+ error?: any;
2178
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
2179
+ } & {
2180
+ site: z.ZodOptional<z.ZodString>;
2181
+ }, "strip", z.ZodTypeAny, {
2182
+ firstName: string;
2183
+ lastName: string;
2184
+ email: string;
2185
+ password: string;
2186
+ confirmPassword: string;
2187
+ site?: string | undefined;
2188
+ phoneNumber?: any;
2189
+ }, {
2190
+ firstName: string;
2191
+ lastName: string;
2192
+ email: string;
2193
+ password: string;
2194
+ confirmPassword: string;
2195
+ site?: string | undefined;
2196
+ phoneNumber?: string | null | undefined;
2197
+ }>, z.ZodObject<{
2198
+ email: z.ZodOptional<z.ZodString>;
2199
+ name: z.ZodOptional<z.ZodString>;
2200
+ tid: z.ZodOptional<z.ZodString>;
2201
+ } & {
2202
+ investorAccountType: z.ZodOptional<z.ZodNativeEnum<typeof InvestorAccountType>>;
2203
+ userId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
2204
+ }, "strip", z.ZodTypeAny, {
2205
+ email?: string | undefined;
2206
+ name?: string | undefined;
2207
+ tid?: string | undefined;
2208
+ userId?: string | undefined;
2209
+ investorAccountType?: InvestorAccountType | undefined;
2210
+ }, {
2211
+ email?: string | undefined;
2212
+ name?: string | undefined;
2213
+ tid?: string | undefined;
2214
+ userId?: string | undefined;
2215
+ investorAccountType?: InvestorAccountType | undefined;
2216
+ }>>, z.ZodObject<{
2217
+ lastName: z.ZodOptional<z.ZodString>;
2218
+ firstName: z.ZodOptional<z.ZodString>;
2219
+ dob: z.ZodOptional<z.ZodDate>;
2220
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
2221
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
2222
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
2223
+ currencyCode: z.ZodOptional<z.ZodString>;
2224
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2225
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
2226
+ isOk: () => boolean;
2227
+ isErr: () => boolean;
2228
+ value?: any;
2229
+ error?: any;
2230
+ } | import("neverthrow").Ok<null, never>, string | null>, {
2231
+ isOk: () => boolean;
2232
+ isErr: () => boolean;
2233
+ value?: any;
2234
+ error?: any;
2235
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
2236
+ ownership: z.ZodOptional<z.ZodNumber>;
2237
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
2238
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
2239
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
2240
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
2241
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2242
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
2243
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
2244
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2245
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2246
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2247
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2248
+ tid: z.ZodOptional<z.ZodString>;
2249
+ } & {
2250
+ investorAccountId: z.ZodOptional<z.ZodString>;
2251
+ role: z.ZodOptional<z.ZodNativeEnum<typeof IndividualRole>>;
2252
+ }, "strip", z.ZodTypeAny, {
2253
+ firstName?: string | undefined;
2254
+ lastName?: string | undefined;
2255
+ email?: string | undefined;
2256
+ role?: IndividualRole | undefined;
2257
+ tid?: string | undefined;
2258
+ phone?: any;
2259
+ investorAccountId?: string | undefined;
2260
+ currencyCode?: string | undefined;
2261
+ liquidNetWorth?: number | undefined;
2262
+ dob?: Date | undefined;
2263
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
2264
+ citizenship?: string | undefined;
2265
+ ssn?: string | null | undefined;
2266
+ investedInCrowdfunding?: number | undefined;
2267
+ currentAnnualIncome?: number | undefined;
2268
+ employerName?: string | null | undefined;
2269
+ setupStep?: import("./common.types").SetupStepType | undefined;
2270
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2271
+ ownership?: number | undefined;
2272
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2273
+ custodianName?: string | null | undefined;
2274
+ custodianAccountNumber?: string | null | undefined;
2275
+ custodianRepresentativeName?: string | null | undefined;
2276
+ custodianEmail?: string | null | undefined;
673
2277
  }, {
674
- firstName: string;
675
- lastName: string;
676
- email: string;
677
- password: string;
678
- confirmPassword: string;
679
- site?: string | undefined;
680
- phoneNumber?: string | null | undefined;
681
- }>, z.ZodObject<Omit<{
2278
+ firstName?: string | undefined;
2279
+ lastName?: string | undefined;
2280
+ email?: string | undefined;
2281
+ role?: IndividualRole | undefined;
2282
+ tid?: string | undefined;
2283
+ phone?: string | null | undefined;
2284
+ investorAccountId?: string | undefined;
2285
+ currencyCode?: string | undefined;
2286
+ liquidNetWorth?: number | undefined;
2287
+ dob?: Date | undefined;
2288
+ isUsCitizenOrGreenCardHolder?: unknown;
2289
+ citizenship?: string | undefined;
2290
+ ssn?: string | null | undefined;
2291
+ investedInCrowdfunding?: number | undefined;
2292
+ currentAnnualIncome?: number | undefined;
2293
+ employerName?: string | null | undefined;
2294
+ setupStep?: import("./common.types").SetupStepType | undefined;
2295
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2296
+ ownership?: number | undefined;
2297
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2298
+ custodianName?: string | null | undefined;
2299
+ custodianAccountNumber?: string | null | undefined;
2300
+ custodianRepresentativeName?: string | null | undefined;
2301
+ custodianEmail?: string | null | undefined;
2302
+ }>>, z.ZodObject<Omit<{
682
2303
  lastName: z.ZodOptional<z.ZodString>;
683
2304
  firstName: z.ZodOptional<z.ZodString>;
684
2305
  kycFirstName: z.ZodOptional<z.ZodString>;
@@ -839,6 +2460,37 @@ export declare const BaseJointCsvFields: z.ZodIntersection<z.ZodIntersection<z.Z
839
2460
  confirmPassword: string;
840
2461
  site?: string | undefined;
841
2462
  phoneNumber?: any;
2463
+ } & {
2464
+ email?: string | undefined;
2465
+ name?: string | undefined;
2466
+ tid?: string | undefined;
2467
+ userId?: string | undefined;
2468
+ investorAccountType?: InvestorAccountType | undefined;
2469
+ } & {
2470
+ firstName?: string | undefined;
2471
+ lastName?: string | undefined;
2472
+ email?: string | undefined;
2473
+ role?: IndividualRole | undefined;
2474
+ tid?: string | undefined;
2475
+ phone?: any;
2476
+ investorAccountId?: string | undefined;
2477
+ currencyCode?: string | undefined;
2478
+ liquidNetWorth?: number | undefined;
2479
+ dob?: Date | undefined;
2480
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
2481
+ citizenship?: string | undefined;
2482
+ ssn?: string | null | undefined;
2483
+ investedInCrowdfunding?: number | undefined;
2484
+ currentAnnualIncome?: number | undefined;
2485
+ employerName?: string | null | undefined;
2486
+ setupStep?: import("./common.types").SetupStepType | undefined;
2487
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2488
+ ownership?: number | undefined;
2489
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2490
+ custodianName?: string | null | undefined;
2491
+ custodianAccountNumber?: string | null | undefined;
2492
+ custodianRepresentativeName?: string | null | undefined;
2493
+ custodianEmail?: string | null | undefined;
842
2494
  } & {
843
2495
  email?: string | undefined;
844
2496
  phone?: any;
@@ -890,6 +2542,37 @@ export declare const BaseJointCsvFields: z.ZodIntersection<z.ZodIntersection<z.Z
890
2542
  confirmPassword: string;
891
2543
  site?: string | undefined;
892
2544
  phoneNumber?: string | null | undefined;
2545
+ } & {
2546
+ email?: string | undefined;
2547
+ name?: string | undefined;
2548
+ tid?: string | undefined;
2549
+ userId?: string | undefined;
2550
+ investorAccountType?: InvestorAccountType | undefined;
2551
+ } & {
2552
+ firstName?: string | undefined;
2553
+ lastName?: string | undefined;
2554
+ email?: string | undefined;
2555
+ role?: IndividualRole | undefined;
2556
+ tid?: string | undefined;
2557
+ phone?: string | null | undefined;
2558
+ investorAccountId?: string | undefined;
2559
+ currencyCode?: string | undefined;
2560
+ liquidNetWorth?: number | undefined;
2561
+ dob?: Date | undefined;
2562
+ isUsCitizenOrGreenCardHolder?: unknown;
2563
+ citizenship?: string | undefined;
2564
+ ssn?: string | null | undefined;
2565
+ investedInCrowdfunding?: number | undefined;
2566
+ currentAnnualIncome?: number | undefined;
2567
+ employerName?: string | null | undefined;
2568
+ setupStep?: import("./common.types").SetupStepType | undefined;
2569
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2570
+ ownership?: number | undefined;
2571
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2572
+ custodianName?: string | null | undefined;
2573
+ custodianAccountNumber?: string | null | undefined;
2574
+ custodianRepresentativeName?: string | null | undefined;
2575
+ custodianEmail?: string | null | undefined;
893
2576
  } & {
894
2577
  email?: string | undefined;
895
2578
  phone?: string | null | undefined;
@@ -933,14 +2616,19 @@ export declare const BaseJointCsvFields: z.ZodIntersection<z.ZodIntersection<z.Z
933
2616
  } & {
934
2617
  country?: string | null | undefined;
935
2618
  zip?: string | null | undefined;
936
- }>>;
937
- export declare const BaseLegalEntityCsvFields: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
938
- entityName: z.ZodString;
2619
+ }>>>;
2620
+ export declare const LegalEntityCsvSchemaWithType: z.ZodIntersection<z.ZodObject<{
2621
+ type: z.ZodLiteral<"LEGAL_ENTITY">;
939
2622
  }, "strip", z.ZodTypeAny, {
940
- entityName: string;
2623
+ type: "LEGAL_ENTITY";
941
2624
  }, {
942
- entityName: string;
943
- }>, z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
2625
+ type: "LEGAL_ENTITY";
2626
+ }>, z.ZodIntersection<z.ZodObject<{
2627
+ entityName: z.ZodString;
2628
+ ein: z.ZodString;
2629
+ companyType: z.ZodString;
2630
+ dateOfIncorporation: z.ZodDate;
2631
+ stateOfIncorporation: z.ZodString;
944
2632
  secondHolderFirstName: z.ZodOptional<z.ZodString>;
945
2633
  secondHolderLastName: z.ZodOptional<z.ZodString>;
946
2634
  secondHolderEmail: z.ZodOptional<z.ZodString>;
@@ -952,6 +2640,11 @@ export declare const BaseLegalEntityCsvFields: z.ZodIntersection<z.ZodIntersecti
952
2640
  secondHolderIsUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
953
2641
  secondHolderCitizenship: z.ZodOptional<z.ZodString>;
954
2642
  }, "strip", z.ZodTypeAny, {
2643
+ ein: string;
2644
+ companyType: string;
2645
+ entityName: string;
2646
+ dateOfIncorporation: Date;
2647
+ stateOfIncorporation: string;
955
2648
  secondHolderFirstName?: string | undefined;
956
2649
  secondHolderLastName?: string | undefined;
957
2650
  secondHolderEmail?: string | undefined;
@@ -963,6 +2656,11 @@ export declare const BaseLegalEntityCsvFields: z.ZodIntersection<z.ZodIntersecti
963
2656
  secondHolderIsUsCitizenOrGreenCardHolder?: boolean | undefined;
964
2657
  secondHolderCitizenship?: string | undefined;
965
2658
  }, {
2659
+ ein: string;
2660
+ companyType: string;
2661
+ entityName: string;
2662
+ dateOfIncorporation: Date;
2663
+ stateOfIncorporation: string;
966
2664
  secondHolderFirstName?: string | undefined;
967
2665
  secondHolderLastName?: string | undefined;
968
2666
  secondHolderEmail?: string | undefined;
@@ -973,7 +2671,7 @@ export declare const BaseLegalEntityCsvFields: z.ZodIntersection<z.ZodIntersecti
973
2671
  secondHolderOwnership?: number | undefined;
974
2672
  secondHolderIsUsCitizenOrGreenCardHolder?: unknown;
975
2673
  secondHolderCitizenship?: string | undefined;
976
- }>, z.ZodObject<{
2674
+ }>, z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
977
2675
  firstName: z.ZodString;
978
2676
  lastName: z.ZodString;
979
2677
  email: z.ZodEffects<z.ZodString, string, string>;
@@ -1008,7 +2706,7 @@ export declare const BaseLegalEntityCsvFields: z.ZodIntersection<z.ZodIntersecti
1008
2706
  confirmPassword: string;
1009
2707
  site?: string | undefined;
1010
2708
  phoneNumber?: string | null | undefined;
1011
- }>>, z.ZodObject<{
2709
+ }>, z.ZodObject<{
1012
2710
  email: z.ZodOptional<z.ZodString>;
1013
2711
  name: z.ZodOptional<z.ZodString>;
1014
2712
  tid: z.ZodOptional<z.ZodString>;
@@ -1113,42 +2811,7 @@ export declare const BaseLegalEntityCsvFields: z.ZodIntersection<z.ZodIntersecti
1113
2811
  custodianAccountNumber?: string | null | undefined;
1114
2812
  custodianRepresentativeName?: string | null | undefined;
1115
2813
  custodianEmail?: string | null | undefined;
1116
- }>>, z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1117
- firstName: z.ZodString;
1118
- lastName: z.ZodString;
1119
- email: z.ZodEffects<z.ZodString, string, string>;
1120
- password: z.ZodString;
1121
- confirmPassword: z.ZodString;
1122
- phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1123
- isOk: () => boolean;
1124
- isErr: () => boolean;
1125
- value?: any;
1126
- error?: any;
1127
- } | import("neverthrow").Ok<null, never>, string | null>, {
1128
- isOk: () => boolean;
1129
- isErr: () => boolean;
1130
- value?: any;
1131
- error?: any;
1132
- } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1133
- } & {
1134
- site: z.ZodOptional<z.ZodString>;
1135
- }, "strip", z.ZodTypeAny, {
1136
- firstName: string;
1137
- lastName: string;
1138
- email: string;
1139
- password: string;
1140
- confirmPassword: string;
1141
- site?: string | undefined;
1142
- phoneNumber?: any;
1143
- }, {
1144
- firstName: string;
1145
- lastName: string;
1146
- email: string;
1147
- password: string;
1148
- confirmPassword: string;
1149
- site?: string | undefined;
1150
- phoneNumber?: string | null | undefined;
1151
- }>, z.ZodObject<Omit<{
2814
+ }>>, z.ZodObject<Omit<{
1152
2815
  lastName: z.ZodOptional<z.ZodString>;
1153
2816
  firstName: z.ZodOptional<z.ZodString>;
1154
2817
  kycFirstName: z.ZodOptional<z.ZodString>;
@@ -1309,6 +2972,37 @@ export declare const BaseLegalEntityCsvFields: z.ZodIntersection<z.ZodIntersecti
1309
2972
  confirmPassword: string;
1310
2973
  site?: string | undefined;
1311
2974
  phoneNumber?: any;
2975
+ } & {
2976
+ email?: string | undefined;
2977
+ name?: string | undefined;
2978
+ tid?: string | undefined;
2979
+ userId?: string | undefined;
2980
+ investorAccountType?: InvestorAccountType | undefined;
2981
+ } & {
2982
+ firstName?: string | undefined;
2983
+ lastName?: string | undefined;
2984
+ email?: string | undefined;
2985
+ role?: IndividualRole | undefined;
2986
+ tid?: string | undefined;
2987
+ phone?: any;
2988
+ investorAccountId?: string | undefined;
2989
+ currencyCode?: string | undefined;
2990
+ liquidNetWorth?: number | undefined;
2991
+ dob?: Date | undefined;
2992
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
2993
+ citizenship?: string | undefined;
2994
+ ssn?: string | null | undefined;
2995
+ investedInCrowdfunding?: number | undefined;
2996
+ currentAnnualIncome?: number | undefined;
2997
+ employerName?: string | null | undefined;
2998
+ setupStep?: import("./common.types").SetupStepType | undefined;
2999
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
3000
+ ownership?: number | undefined;
3001
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
3002
+ custodianName?: string | null | undefined;
3003
+ custodianAccountNumber?: string | null | undefined;
3004
+ custodianRepresentativeName?: string | null | undefined;
3005
+ custodianEmail?: string | null | undefined;
1312
3006
  } & {
1313
3007
  email?: string | undefined;
1314
3008
  phone?: any;
@@ -1360,6 +3054,37 @@ export declare const BaseLegalEntityCsvFields: z.ZodIntersection<z.ZodIntersecti
1360
3054
  confirmPassword: string;
1361
3055
  site?: string | undefined;
1362
3056
  phoneNumber?: string | null | undefined;
3057
+ } & {
3058
+ email?: string | undefined;
3059
+ name?: string | undefined;
3060
+ tid?: string | undefined;
3061
+ userId?: string | undefined;
3062
+ investorAccountType?: InvestorAccountType | undefined;
3063
+ } & {
3064
+ firstName?: string | undefined;
3065
+ lastName?: string | undefined;
3066
+ email?: string | undefined;
3067
+ role?: IndividualRole | undefined;
3068
+ tid?: string | undefined;
3069
+ phone?: string | null | undefined;
3070
+ investorAccountId?: string | undefined;
3071
+ currencyCode?: string | undefined;
3072
+ liquidNetWorth?: number | undefined;
3073
+ dob?: Date | undefined;
3074
+ isUsCitizenOrGreenCardHolder?: unknown;
3075
+ citizenship?: string | undefined;
3076
+ ssn?: string | null | undefined;
3077
+ investedInCrowdfunding?: number | undefined;
3078
+ currentAnnualIncome?: number | undefined;
3079
+ employerName?: string | null | undefined;
3080
+ setupStep?: import("./common.types").SetupStepType | undefined;
3081
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
3082
+ ownership?: number | undefined;
3083
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
3084
+ custodianName?: string | null | undefined;
3085
+ custodianAccountNumber?: string | null | undefined;
3086
+ custodianRepresentativeName?: string | null | undefined;
3087
+ custodianEmail?: string | null | undefined;
1363
3088
  } & {
1364
3089
  email?: string | undefined;
1365
3090
  phone?: string | null | undefined;
@@ -1403,49 +3128,19 @@ export declare const BaseLegalEntityCsvFields: z.ZodIntersection<z.ZodIntersecti
1403
3128
  } & {
1404
3129
  country?: string | null | undefined;
1405
3130
  zip?: string | null | undefined;
1406
- }>>>, z.ZodObject<{
1407
- name: z.ZodString;
1408
- ein: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1409
- email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1410
- companyType: z.ZodOptional<z.ZodString>;
1411
- phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1412
- isOk: () => boolean;
1413
- isErr: () => boolean;
1414
- value?: any;
1415
- error?: any;
1416
- } | import("neverthrow").Ok<null, never>, string | null>, {
1417
- isOk: () => boolean;
1418
- isErr: () => boolean;
1419
- value?: any;
1420
- error?: any;
1421
- } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1422
- dateOfIncorporation: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>>;
1423
- stateOfIncorporation: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
1424
- } & {
1425
- investorAccountId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3131
+ }>>>;
3132
+ /**
3133
+ * Base schema for unified CSV that only validates the type field
3134
+ * The actual type-specific validation happens in the service layer
3135
+ * to avoid duplicate error messages from overlapping field definitions
3136
+ */
3137
+ export declare const UnifiedInvestorCsvBaseSchema: z.ZodObject<{
3138
+ type: z.ZodEnum<["INDIVIDUAL", "JOINT", "LEGAL_ENTITY"]>;
1426
3139
  }, "strip", z.ZodTypeAny, {
1427
- name: string;
1428
- email?: string | undefined;
1429
- phone?: any;
1430
- ein?: string | undefined;
1431
- investorAccountId?: string | undefined;
1432
- companyType?: string | undefined;
1433
- dateOfIncorporation?: Date | null | undefined;
1434
- stateOfIncorporation?: string | undefined;
3140
+ type: "INDIVIDUAL" | "JOINT" | "LEGAL_ENTITY";
1435
3141
  }, {
1436
- name: string;
1437
- email?: string | undefined;
1438
- phone?: string | null | undefined;
1439
- ein?: string | undefined;
1440
- investorAccountId?: string | undefined;
1441
- companyType?: string | undefined;
1442
- dateOfIncorporation?: string | null | undefined;
1443
- stateOfIncorporation?: string | undefined;
1444
- }>>;
1445
- export type IndividualCsvRow = z.infer<typeof BaseIndividualCsvFields>;
1446
- export type JointCsvRow = z.infer<typeof BaseJointCsvFields>;
1447
- export type LegalEntityCsvRow = z.infer<typeof BaseLegalEntityCsvFields>;
1448
- export type CsvRowData = IndividualCsvRow | JointCsvRow | LegalEntityCsvRow;
3142
+ type: "INDIVIDUAL" | "JOINT" | "LEGAL_ENTITY";
3143
+ }>;
1449
3144
  /**
1450
3145
  * AIC Questionnaire CSV row structure
1451
3146
  * Extracted from aicQuestionnaire.AIC_Questionnaire in individuals.types.ts
@@ -1727,4 +3422,191 @@ export declare const BaseIssuerCsvFields: z.ZodIntersection<z.ZodIntersection<z.
1727
3422
  accountName?: string | undefined;
1728
3423
  }>>;
1729
3424
  export type IssuerCsvRow = z.infer<typeof BaseIssuerCsvFields>;
3425
+ /**
3426
+ * Offering CSV row structure with coercion for CSV string values
3427
+ * CSV files contain all values as strings, so we need to coerce them to proper types
3428
+ */
3429
+ export declare const OfferingCsvSchema: z.ZodObject<{
3430
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
3431
+ name: z.ZodString;
3432
+ type: z.ZodNativeEnum<typeof import("./common.types").OfferingType>;
3433
+ startAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
3434
+ endAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
3435
+ description: z.ZodLazy<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>>;
3436
+ managedBy: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
3437
+ assetName: z.ZodString;
3438
+ assetType: z.ZodNativeEnum<typeof import("./common.types").AssetType>;
3439
+ durationType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").DurationType>>>;
3440
+ template: z.ZodDefault<z.ZodNativeEnum<typeof import("./asset.types").AssetTemplateType>>;
3441
+ tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
3442
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
3443
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
3444
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
3445
+ bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
3446
+ type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
3447
+ value: z.ZodEffects<z.ZodNumber, number, number>;
3448
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
3449
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
3450
+ }, "strip", z.ZodTypeAny, {
3451
+ value: number;
3452
+ type: import("./bonus-tier.types").BonusType;
3453
+ startAmount: number;
3454
+ endAmount: number;
3455
+ }, {
3456
+ value: number;
3457
+ type: import("./bonus-tier.types").BonusType;
3458
+ startAmount: number;
3459
+ endAmount: number;
3460
+ }>, {
3461
+ value: number;
3462
+ type: import("./bonus-tier.types").BonusType;
3463
+ startAmount: number;
3464
+ endAmount: number;
3465
+ }, {
3466
+ value: number;
3467
+ type: import("./bonus-tier.types").BonusType;
3468
+ startAmount: number;
3469
+ endAmount: number;
3470
+ }>, {
3471
+ value: number;
3472
+ type: import("./bonus-tier.types").BonusType;
3473
+ startAmount: number;
3474
+ endAmount: number;
3475
+ }, {
3476
+ value: number;
3477
+ type: import("./bonus-tier.types").BonusType;
3478
+ startAmount: number;
3479
+ endAmount: number;
3480
+ }>, "many">>;
3481
+ warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3482
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3483
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3484
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
3485
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
3486
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").WarrantSharesCalculationMethod>>>;
3487
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
3488
+ showTotalRaised: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3489
+ } & {
3490
+ issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3491
+ targetAmount: z.ZodNumber;
3492
+ raiseAmount: z.ZodOptional<z.ZodNumber>;
3493
+ minInvestment: z.ZodOptional<z.ZodNumber>;
3494
+ maxInvestment: z.ZodOptional<z.ZodNumber>;
3495
+ contingencyAmount: z.ZodOptional<z.ZodNumber>;
3496
+ cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3497
+ active: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
3498
+ pricePerUnit: z.ZodNullable<z.ZodNumber>;
3499
+ totalUnits: z.ZodNullable<z.ZodNumber>;
3500
+ yield: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3501
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3502
+ enableBonus: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
3503
+ interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3504
+ }, "strip", z.ZodTypeAny, {
3505
+ type: import("./common.types").OfferingType;
3506
+ name: string;
3507
+ template: import("./asset.types").AssetTemplateType;
3508
+ targetAmount: number;
3509
+ warrantsEnabled: boolean;
3510
+ assetName: string;
3511
+ assetType: import("./common.types").AssetType;
3512
+ pricePerUnit: number | null;
3513
+ totalUnits: number | null;
3514
+ active?: boolean | undefined;
3515
+ managedBy?: import("./common.types").ManagedByType | undefined;
3516
+ description?: string | null | undefined;
3517
+ raiseAmount?: number | undefined;
3518
+ minInvestment?: number | undefined;
3519
+ maxInvestment?: number | undefined;
3520
+ contingencyAmount?: number | undefined;
3521
+ startAt?: Date | null | undefined;
3522
+ endAt?: Date | null | undefined;
3523
+ issuerId?: string | undefined;
3524
+ cancellationPeriod?: number | null | undefined;
3525
+ showTotalRaised?: boolean | undefined;
3526
+ hasEscrow?: boolean | undefined;
3527
+ bankAccountId?: string | null | undefined;
3528
+ escrowAccountId?: string | null | undefined;
3529
+ totalShares?: number | null | undefined;
3530
+ warrantTermYears?: number | null | undefined;
3531
+ exercisePrice?: number | null | undefined;
3532
+ warrantPercentage?: number | null | undefined;
3533
+ calculationMethod?: import("./common.types").WarrantSharesCalculationMethod | null | undefined;
3534
+ incrementThreshold?: number | null | undefined;
3535
+ shareClassId?: string | null | undefined;
3536
+ yield?: number | null | undefined;
3537
+ duration?: number | null | undefined;
3538
+ durationType?: import("./common.types").DurationType | null | undefined;
3539
+ tiers?: number[] | null | undefined;
3540
+ enableBonus?: boolean | undefined;
3541
+ interestRate?: number | null | undefined;
3542
+ bonusTiers?: {
3543
+ value: number;
3544
+ type: import("./bonus-tier.types").BonusType;
3545
+ startAmount: number;
3546
+ endAmount: number;
3547
+ }[] | undefined;
3548
+ }, {
3549
+ type: import("./common.types").OfferingType;
3550
+ name: string;
3551
+ targetAmount: number;
3552
+ assetName: string;
3553
+ assetType: import("./common.types").AssetType;
3554
+ pricePerUnit: number | null;
3555
+ totalUnits: number | null;
3556
+ active?: unknown;
3557
+ managedBy?: import("./common.types").ManagedByType | undefined;
3558
+ description?: string | null | undefined;
3559
+ template?: import("./asset.types").AssetTemplateType | undefined;
3560
+ raiseAmount?: number | undefined;
3561
+ minInvestment?: number | undefined;
3562
+ maxInvestment?: number | undefined;
3563
+ contingencyAmount?: number | undefined;
3564
+ startAt?: string | null | undefined;
3565
+ endAt?: string | null | undefined;
3566
+ issuerId?: string | undefined;
3567
+ cancellationPeriod?: number | null | undefined;
3568
+ showTotalRaised?: boolean | undefined;
3569
+ hasEscrow?: boolean | undefined;
3570
+ bankAccountId?: string | null | undefined;
3571
+ escrowAccountId?: string | null | undefined;
3572
+ warrantsEnabled?: boolean | undefined;
3573
+ totalShares?: number | null | undefined;
3574
+ warrantTermYears?: number | null | undefined;
3575
+ exercisePrice?: number | null | undefined;
3576
+ warrantPercentage?: number | null | undefined;
3577
+ calculationMethod?: import("./common.types").WarrantSharesCalculationMethod | null | undefined;
3578
+ incrementThreshold?: number | null | undefined;
3579
+ shareClassId?: string | null | undefined;
3580
+ yield?: number | null | undefined;
3581
+ duration?: number | null | undefined;
3582
+ durationType?: import("./common.types").DurationType | null | undefined;
3583
+ tiers?: number[] | null | undefined;
3584
+ enableBonus?: unknown;
3585
+ interestRate?: number | null | undefined;
3586
+ bonusTiers?: {
3587
+ value: number;
3588
+ type: import("./bonus-tier.types").BonusType;
3589
+ startAmount: number;
3590
+ endAmount: number;
3591
+ }[] | undefined;
3592
+ }>;
3593
+ export type OfferingCsvRow = z.infer<typeof OfferingCsvSchema>;
3594
+ /**
3595
+ * Query parameters for offering CSV upload
3596
+ */
3597
+ export declare const UploadOfferingCsvQuery: z.ZodObject<{
3598
+ issuerId: z.ZodEffects<z.ZodString, string, string>;
3599
+ }, "strip", z.ZodTypeAny, {
3600
+ issuerId: string;
3601
+ }, {
3602
+ issuerId: string;
3603
+ }>;
3604
+ export type UploadOfferingCsvQuery = z.infer<typeof UploadOfferingCsvQuery>;
3605
+ /**
3606
+ * Response type for offering CSV upload
3607
+ * Returns the full offering object with its assets array
3608
+ * Reuses IOffering schema for consistency with other offering endpoints
3609
+ */
3610
+ export declare const OfferingCsvResponseZod: z.ZodLazy<any>;
3611
+ export type OfferingCsvResponse = z.infer<typeof OfferingCsvResponseZod>;
1730
3612
  export {};