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

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 (63) hide show
  1. package/common/constants.d.ts +28 -0
  2. package/common/constants.js +62 -0
  3. package/common/constants.js.map +1 -0
  4. package/common/helpers/index.d.ts +8 -0
  5. package/common/helpers/index.js +15 -0
  6. package/common/helpers/index.js.map +1 -1
  7. package/common/types/auth.types.d.ts +36 -0
  8. package/common/types/auth.types.js +3 -2
  9. package/common/types/auth.types.js.map +1 -1
  10. package/common/types/cap-table.types.d.ts +109 -0
  11. package/common/types/cap-table.types.js +14 -0
  12. package/common/types/cap-table.types.js.map +1 -1
  13. package/common/types/common.types.d.ts +2 -1
  14. package/common/types/common.types.js +1 -0
  15. package/common/types/common.types.js.map +1 -1
  16. package/common/types/csv.types.d.ts +1730 -0
  17. package/common/types/csv.types.js +178 -0
  18. package/common/types/csv.types.js.map +1 -0
  19. package/common/types/disbursements.types.d.ts +122 -7
  20. package/common/types/disbursements.types.js +29 -2
  21. package/common/types/disbursements.types.js.map +1 -1
  22. package/common/types/file.types.d.ts +3 -0
  23. package/common/types/file.types.js +3 -0
  24. package/common/types/file.types.js.map +1 -1
  25. package/common/types/index.d.ts +1 -0
  26. package/common/types/index.js +1 -0
  27. package/common/types/index.js.map +1 -1
  28. package/common/types/individuals.types.d.ts +207 -5
  29. package/common/types/individuals.types.js +11 -14
  30. package/common/types/individuals.types.js.map +1 -1
  31. package/common/types/investors-offering.types.d.ts +8 -0
  32. package/common/types/investors-offering.types.js +1 -0
  33. package/common/types/investors-offering.types.js.map +1 -1
  34. package/common/types/issuer-offering.types.d.ts +15 -2
  35. package/common/types/issuer-offering.types.js +7 -16
  36. package/common/types/issuer-offering.types.js.map +1 -1
  37. package/common/types/legal-entity.types.d.ts +39 -1
  38. package/common/types/legal-entity.types.js +8 -5
  39. package/common/types/legal-entity.types.js.map +1 -1
  40. package/common/types/offering.types.d.ts +15 -5
  41. package/common/types/offering.types.js +33 -2
  42. package/common/types/offering.types.js.map +1 -1
  43. package/common/types/review.types.js +1 -1
  44. package/common/types/review.types.js.map +1 -1
  45. package/common/types/trade-line-item.types.d.ts +24 -0
  46. package/common/types/trade-line-item.types.js +3 -0
  47. package/common/types/trade-line-item.types.js.map +1 -1
  48. package/common/types/trade.types.d.ts +1 -0
  49. package/common/types/trade.types.js +15 -1
  50. package/common/types/trade.types.js.map +1 -1
  51. package/contracts/clients/csv/index.d.ts +1733 -0
  52. package/contracts/clients/csv/index.js +79 -0
  53. package/contracts/clients/csv/index.js.map +1 -0
  54. package/contracts/clients/index.d.ts +1830 -8
  55. package/contracts/clients/index.js +4 -0
  56. package/contracts/clients/index.js.map +1 -1
  57. package/contracts/clients/individuals/index.d.ts +5 -5
  58. package/contracts/clients/legal-entities/index.d.ts +1 -1
  59. package/contracts/clients/offerings/index.d.ts +7 -2
  60. package/contracts/clients/review/index.d.ts +85 -0
  61. package/contracts/clients/review/index.js +27 -0
  62. package/contracts/clients/review/index.js.map +1 -0
  63. package/package.json +1 -1
@@ -0,0 +1,1730 @@
1
+ import { z } from 'zod';
2
+ import { InvestorAccountType, AicAccreditationType, SubmitIssuerOfferingError } from './common.types';
3
+ import { IndividualRole, aicQuestionnaire } from './individuals.types';
4
+ import { PostKycBodySchema } from './kyc.types';
5
+ /**
6
+ * CSV Validation Types
7
+ * These types are used for CSV file upload and validation
8
+ */
9
+ /**
10
+ * CSV Error type - reuses the standard error structure from common types
11
+ */
12
+ export type CsvError = z.infer<typeof SubmitIssuerOfferingError>;
13
+ export interface ParsedCsvRow {
14
+ row: number;
15
+ data: Record<string, unknown>;
16
+ issues?: string[];
17
+ }
18
+ /**
19
+ * CSV Parse Result with separated valid and invalid data
20
+ * Uses CsvError for consistent error structure across the application
21
+ */
22
+ export interface CsvParseResult {
23
+ validatedData: CsvRowData[];
24
+ allRecords: Record<string, unknown>[];
25
+ schemaErrors: CsvError[];
26
+ }
27
+ export interface CsvValidationResult {
28
+ valid: boolean;
29
+ totalRows: number;
30
+ validRows: number;
31
+ invalidRows: number;
32
+ data: CsvRowData[];
33
+ errors?: Array<{
34
+ row: number;
35
+ issues: string[];
36
+ }>;
37
+ }
38
+ /**
39
+ * Zod schema for CSV validation result (for API contracts)
40
+ */
41
+ export declare const CsvValidationResultZod: z.ZodObject<{
42
+ valid: z.ZodBoolean;
43
+ totalRows: z.ZodNumber;
44
+ validRows: z.ZodNumber;
45
+ invalidRows: z.ZodNumber;
46
+ data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
47
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
48
+ row: z.ZodNumber;
49
+ issues: z.ZodArray<z.ZodString, "many">;
50
+ }, "strip", z.ZodTypeAny, {
51
+ issues: string[];
52
+ row: number;
53
+ }, {
54
+ issues: string[];
55
+ row: number;
56
+ }>, "many">>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ valid: boolean;
59
+ data: Record<string, any>[];
60
+ totalRows: number;
61
+ validRows: number;
62
+ invalidRows: number;
63
+ errors?: {
64
+ issues: string[];
65
+ row: number;
66
+ }[] | undefined;
67
+ }, {
68
+ valid: boolean;
69
+ data: Record<string, any>[];
70
+ totalRows: number;
71
+ validRows: number;
72
+ invalidRows: number;
73
+ errors?: {
74
+ issues: string[];
75
+ row: number;
76
+ }[] | undefined;
77
+ }>;
78
+ export type CsvValidationResultZod = z.infer<typeof CsvValidationResultZod>;
79
+ /**
80
+ * CSV Persistence Types
81
+ * These types are used for CSV file upload with database persistence
82
+ */
83
+ /**
84
+ * Base information about a successfully created account (common fields)
85
+ */
86
+ interface BaseCreatedAccountInfo {
87
+ row: number;
88
+ userId: string;
89
+ }
90
+ /**
91
+ * Information about a successfully created investor account
92
+ */
93
+ export interface CreatedInvestorAccountInfo extends BaseCreatedAccountInfo {
94
+ investorAccountId: string;
95
+ }
96
+ /**
97
+ * Information about a successfully created issuer account
98
+ */
99
+ export interface CreatedIssuerAccountInfo extends BaseCreatedAccountInfo {
100
+ accountId: string;
101
+ }
102
+ /**
103
+ * Union type for created accounts (supports both investor and issuer)
104
+ */
105
+ export type CreatedAccountInfo = CreatedInvestorAccountInfo | CreatedIssuerAccountInfo;
106
+ /**
107
+ * Result of CSV persistence operation (All-or-Nothing)
108
+ *
109
+ * Note: With the all-or-nothing transaction approach:
110
+ * - On success: All rows are processed (successfulRows = totalRows)
111
+ * - On failure: Transaction is rolled back, returns ExtendedErrorResult instead
112
+ */
113
+ export interface CsvPersistenceResult {
114
+ totalRows: number;
115
+ successfulRows: number;
116
+ createdAccounts: CreatedAccountInfo[];
117
+ }
118
+ /**
119
+ * Zod schema for CSV persistence result (for API contracts)
120
+ *
121
+ * Note: With all-or-nothing transactions:
122
+ * - Success returns this schema with all accounts created
123
+ * - Failure returns ExtendedErrorResult with transaction rollback
124
+ * - failedRows removed: always 0 on success, redundant
125
+ *
126
+ * Schema supports both investor and issuer accounts using discriminated union
127
+ */
128
+ export declare const CsvPersistenceResultZod: z.ZodObject<{
129
+ totalRows: z.ZodNumber;
130
+ successfulRows: z.ZodNumber;
131
+ createdAccounts: z.ZodArray<z.ZodUnion<[z.ZodObject<{
132
+ row: z.ZodNumber;
133
+ userId: z.ZodString;
134
+ investorAccountId: z.ZodString;
135
+ }, "strip", z.ZodTypeAny, {
136
+ userId: string;
137
+ investorAccountId: string;
138
+ row: number;
139
+ }, {
140
+ userId: string;
141
+ investorAccountId: string;
142
+ row: number;
143
+ }>, z.ZodObject<{
144
+ row: z.ZodNumber;
145
+ userId: z.ZodString;
146
+ accountId: z.ZodString;
147
+ }, "strip", z.ZodTypeAny, {
148
+ accountId: string;
149
+ userId: string;
150
+ row: number;
151
+ }, {
152
+ accountId: string;
153
+ userId: string;
154
+ row: number;
155
+ }>]>, "many">;
156
+ }, "strip", z.ZodTypeAny, {
157
+ totalRows: number;
158
+ successfulRows: number;
159
+ createdAccounts: ({
160
+ userId: string;
161
+ investorAccountId: string;
162
+ row: number;
163
+ } | {
164
+ accountId: string;
165
+ userId: string;
166
+ row: number;
167
+ })[];
168
+ }, {
169
+ totalRows: number;
170
+ successfulRows: number;
171
+ createdAccounts: ({
172
+ userId: string;
173
+ investorAccountId: string;
174
+ row: number;
175
+ } | {
176
+ accountId: string;
177
+ userId: string;
178
+ row: number;
179
+ })[];
180
+ }>;
181
+ export type CsvPersistenceResultZod = z.infer<typeof CsvPersistenceResultZod>;
182
+ export declare const BaseIndividualCsvFields: z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
183
+ firstName: z.ZodString;
184
+ lastName: z.ZodString;
185
+ email: z.ZodEffects<z.ZodString, string, string>;
186
+ password: z.ZodString;
187
+ confirmPassword: z.ZodString;
188
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
189
+ isOk: () => boolean;
190
+ isErr: () => boolean;
191
+ value?: any;
192
+ error?: any;
193
+ } | import("neverthrow").Ok<null, never>, string | null>, {
194
+ isOk: () => boolean;
195
+ isErr: () => boolean;
196
+ value?: any;
197
+ error?: any;
198
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
199
+ } & {
200
+ site: z.ZodOptional<z.ZodString>;
201
+ }, "strip", z.ZodTypeAny, {
202
+ firstName: string;
203
+ lastName: string;
204
+ email: string;
205
+ password: string;
206
+ confirmPassword: string;
207
+ site?: string | undefined;
208
+ phoneNumber?: any;
209
+ }, {
210
+ firstName: string;
211
+ lastName: string;
212
+ email: string;
213
+ password: string;
214
+ confirmPassword: string;
215
+ site?: string | undefined;
216
+ phoneNumber?: string | null | undefined;
217
+ }>, z.ZodObject<Omit<{
218
+ lastName: z.ZodOptional<z.ZodString>;
219
+ firstName: z.ZodOptional<z.ZodString>;
220
+ kycFirstName: z.ZodOptional<z.ZodString>;
221
+ kycLastName: z.ZodOptional<z.ZodString>;
222
+ dob: z.ZodOptional<z.ZodDate>;
223
+ currencyCode: z.ZodOptional<z.ZodString>;
224
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
225
+ isOk: () => boolean;
226
+ isErr: () => boolean;
227
+ value?: any;
228
+ error?: any;
229
+ } | import("neverthrow").Ok<null, never>, string | null>, {
230
+ isOk: () => boolean;
231
+ isErr: () => boolean;
232
+ value?: any;
233
+ error?: any;
234
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
235
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
236
+ ownership: z.ZodOptional<z.ZodNumber>;
237
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
238
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
239
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
240
+ kycDocumentType: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>>;
241
+ kycDocumentIssuer: z.ZodOptional<z.ZodString>;
242
+ kycExpirationDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
243
+ kycIssuerDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
244
+ kycDocumentNumber: z.ZodOptional<z.ZodString>;
245
+ householdNetWorth: z.ZodOptional<z.ZodNumber>;
246
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
247
+ currentHouseholdIncome: z.ZodOptional<z.ZodNumber>;
248
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
249
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
250
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
251
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
252
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
253
+ aicQuestionnaire: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
254
+ kycProvider: z.ZodOptional<z.ZodString>;
255
+ aicAccreditationType: z.ZodOptional<z.ZodNativeEnum<typeof AicAccreditationType>>;
256
+ accredited: z.ZodOptional<z.ZodBoolean>;
257
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
258
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
260
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
261
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
262
+ }, "firstName" | "lastName">, "strip", z.ZodTypeAny, {
263
+ email?: string | undefined;
264
+ phone?: any;
265
+ kycFirstName?: string | undefined;
266
+ kycLastName?: string | undefined;
267
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
268
+ kycDocumentIssuer?: string | undefined;
269
+ kycProvider?: string | undefined;
270
+ currencyCode?: string | undefined;
271
+ kycDocumentNumber?: string | undefined;
272
+ kycIssuerDate?: string | undefined;
273
+ kycExpirationDate?: string | undefined;
274
+ liquidNetWorth?: number | undefined;
275
+ aicAccreditationType?: AicAccreditationType | undefined;
276
+ aicQuestionnaire?: string | undefined;
277
+ dob?: Date | undefined;
278
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
279
+ citizenship?: string | undefined;
280
+ ssn?: string | null | undefined;
281
+ investedInCrowdfunding?: number | undefined;
282
+ currentAnnualIncome?: number | undefined;
283
+ currentHouseholdIncome?: number | undefined;
284
+ householdNetWorth?: number | undefined;
285
+ employerName?: string | null | undefined;
286
+ setupStep?: import("./common.types").SetupStepType | undefined;
287
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
288
+ ownership?: number | undefined;
289
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
290
+ custodianName?: string | null | undefined;
291
+ custodianAccountNumber?: string | null | undefined;
292
+ custodianRepresentativeName?: string | null | undefined;
293
+ custodianEmail?: string | null | undefined;
294
+ accredited?: boolean | undefined;
295
+ }, {
296
+ email?: string | undefined;
297
+ phone?: string | null | undefined;
298
+ kycFirstName?: string | undefined;
299
+ kycLastName?: string | undefined;
300
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
301
+ kycDocumentIssuer?: string | undefined;
302
+ kycProvider?: string | undefined;
303
+ currencyCode?: string | undefined;
304
+ kycDocumentNumber?: string | undefined;
305
+ kycIssuerDate?: Date | undefined;
306
+ kycExpirationDate?: Date | undefined;
307
+ liquidNetWorth?: number | undefined;
308
+ aicAccreditationType?: AicAccreditationType | undefined;
309
+ aicQuestionnaire?: string | undefined;
310
+ dob?: Date | undefined;
311
+ isUsCitizenOrGreenCardHolder?: unknown;
312
+ citizenship?: string | undefined;
313
+ ssn?: string | null | undefined;
314
+ investedInCrowdfunding?: number | undefined;
315
+ currentAnnualIncome?: number | undefined;
316
+ currentHouseholdIncome?: number | undefined;
317
+ householdNetWorth?: number | undefined;
318
+ employerName?: string | null | undefined;
319
+ setupStep?: import("./common.types").SetupStepType | undefined;
320
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
321
+ ownership?: number | undefined;
322
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
323
+ custodianName?: string | null | undefined;
324
+ custodianAccountNumber?: string | null | undefined;
325
+ custodianRepresentativeName?: string | null | undefined;
326
+ custodianEmail?: string | null | undefined;
327
+ accredited?: boolean | undefined;
328
+ }>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
329
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
330
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
331
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
332
+ }, "strip", z.ZodTypeAny, {
333
+ address?: string | null | undefined;
334
+ city?: string | null | undefined;
335
+ address2?: string | null | undefined;
336
+ }, {
337
+ address?: string | null | undefined;
338
+ city?: string | null | undefined;
339
+ address2?: string | null | undefined;
340
+ }>, z.ZodEffects<z.ZodObject<{
341
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
342
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
343
+ }, "strip", z.ZodTypeAny, {
344
+ country?: string | null | undefined;
345
+ state?: string | null | undefined;
346
+ }, {
347
+ country?: string | null | undefined;
348
+ state?: string | null | undefined;
349
+ }>, {
350
+ country?: string | null | undefined;
351
+ state?: string | null | undefined;
352
+ }, {
353
+ country?: string | null | undefined;
354
+ state?: string | null | undefined;
355
+ }>>, z.ZodEffects<z.ZodObject<{
356
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
357
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
358
+ }, "strip", z.ZodTypeAny, {
359
+ country?: string | null | undefined;
360
+ zip?: string | null | undefined;
361
+ }, {
362
+ country?: string | null | undefined;
363
+ zip?: string | null | undefined;
364
+ }>, {
365
+ country?: string | null | undefined;
366
+ zip?: string | null | undefined;
367
+ }, {
368
+ country?: string | null | undefined;
369
+ zip?: string | null | undefined;
370
+ }>>>, {
371
+ firstName: string;
372
+ lastName: string;
373
+ email: string;
374
+ password: string;
375
+ confirmPassword: string;
376
+ site?: string | undefined;
377
+ phoneNumber?: any;
378
+ } & {
379
+ email?: string | undefined;
380
+ phone?: any;
381
+ kycFirstName?: string | undefined;
382
+ kycLastName?: string | undefined;
383
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
384
+ kycDocumentIssuer?: string | undefined;
385
+ kycProvider?: string | undefined;
386
+ currencyCode?: string | undefined;
387
+ kycDocumentNumber?: string | undefined;
388
+ kycIssuerDate?: string | undefined;
389
+ kycExpirationDate?: string | undefined;
390
+ liquidNetWorth?: number | undefined;
391
+ aicAccreditationType?: AicAccreditationType | undefined;
392
+ aicQuestionnaire?: string | undefined;
393
+ dob?: Date | undefined;
394
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
395
+ citizenship?: string | undefined;
396
+ ssn?: string | null | undefined;
397
+ investedInCrowdfunding?: number | undefined;
398
+ currentAnnualIncome?: number | undefined;
399
+ currentHouseholdIncome?: number | undefined;
400
+ householdNetWorth?: number | undefined;
401
+ employerName?: string | null | undefined;
402
+ setupStep?: import("./common.types").SetupStepType | undefined;
403
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
404
+ ownership?: number | undefined;
405
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
406
+ custodianName?: string | null | undefined;
407
+ custodianAccountNumber?: string | null | undefined;
408
+ custodianRepresentativeName?: string | null | undefined;
409
+ custodianEmail?: string | null | undefined;
410
+ accredited?: boolean | undefined;
411
+ } & {
412
+ address?: string | null | undefined;
413
+ city?: string | null | undefined;
414
+ address2?: string | null | undefined;
415
+ } & {
416
+ country?: string | null | undefined;
417
+ state?: string | null | undefined;
418
+ } & {
419
+ country?: string | null | undefined;
420
+ zip?: string | null | undefined;
421
+ }, {
422
+ firstName: string;
423
+ lastName: string;
424
+ email: string;
425
+ password: string;
426
+ confirmPassword: string;
427
+ site?: string | undefined;
428
+ phoneNumber?: string | null | undefined;
429
+ } & {
430
+ email?: string | undefined;
431
+ phone?: string | null | undefined;
432
+ kycFirstName?: string | undefined;
433
+ kycLastName?: string | undefined;
434
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
435
+ kycDocumentIssuer?: string | undefined;
436
+ kycProvider?: string | undefined;
437
+ currencyCode?: string | undefined;
438
+ kycDocumentNumber?: string | undefined;
439
+ kycIssuerDate?: Date | undefined;
440
+ kycExpirationDate?: Date | undefined;
441
+ liquidNetWorth?: number | undefined;
442
+ aicAccreditationType?: AicAccreditationType | undefined;
443
+ aicQuestionnaire?: string | undefined;
444
+ dob?: Date | undefined;
445
+ isUsCitizenOrGreenCardHolder?: unknown;
446
+ citizenship?: string | undefined;
447
+ ssn?: string | null | undefined;
448
+ investedInCrowdfunding?: number | undefined;
449
+ currentAnnualIncome?: number | undefined;
450
+ currentHouseholdIncome?: number | undefined;
451
+ householdNetWorth?: number | undefined;
452
+ employerName?: string | null | undefined;
453
+ setupStep?: import("./common.types").SetupStepType | undefined;
454
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
455
+ ownership?: number | undefined;
456
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
457
+ custodianName?: string | null | undefined;
458
+ custodianAccountNumber?: string | null | undefined;
459
+ custodianRepresentativeName?: string | null | undefined;
460
+ custodianEmail?: string | null | undefined;
461
+ accredited?: boolean | undefined;
462
+ } & {
463
+ address?: string | null | undefined;
464
+ city?: string | null | undefined;
465
+ address2?: string | null | undefined;
466
+ } & {
467
+ country?: string | null | undefined;
468
+ state?: string | null | undefined;
469
+ } & {
470
+ country?: string | null | undefined;
471
+ zip?: string | null | undefined;
472
+ }>;
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>;
478
+ secondHolderDob: z.ZodOptional<z.ZodDate>;
479
+ 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>;
484
+ }, "strip", z.ZodTypeAny, {
485
+ secondHolderFirstName?: string | undefined;
486
+ secondHolderLastName?: string | undefined;
487
+ secondHolderEmail?: string | undefined;
488
+ secondHolderPhone?: string | undefined;
489
+ secondHolderDob?: Date | undefined;
490
+ secondHolderDateOfBirth?: Date | undefined;
491
+ secondHolderSsn?: string | undefined;
492
+ secondHolderOwnership?: number | undefined;
493
+ secondHolderIsUsCitizenOrGreenCardHolder?: boolean | undefined;
494
+ secondHolderCitizenship?: string | undefined;
495
+ }, {
496
+ secondHolderFirstName?: string | undefined;
497
+ secondHolderLastName?: string | undefined;
498
+ secondHolderEmail?: string | undefined;
499
+ secondHolderPhone?: string | undefined;
500
+ secondHolderDob?: Date | undefined;
501
+ secondHolderDateOfBirth?: Date | undefined;
502
+ secondHolderSsn?: string | undefined;
503
+ secondHolderOwnership?: number | undefined;
504
+ secondHolderIsUsCitizenOrGreenCardHolder?: unknown;
505
+ secondHolderCitizenship?: string | undefined;
506
+ }>, z.ZodObject<{
507
+ firstName: z.ZodString;
508
+ lastName: z.ZodString;
509
+ email: z.ZodEffects<z.ZodString, string, string>;
510
+ password: z.ZodString;
511
+ confirmPassword: z.ZodString;
512
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
513
+ isOk: () => boolean;
514
+ isErr: () => boolean;
515
+ value?: any;
516
+ error?: any;
517
+ } | import("neverthrow").Ok<null, never>, string | null>, {
518
+ isOk: () => boolean;
519
+ isErr: () => boolean;
520
+ value?: any;
521
+ error?: any;
522
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
523
+ } & {
524
+ site: z.ZodOptional<z.ZodString>;
525
+ }, "strip", z.ZodTypeAny, {
526
+ firstName: string;
527
+ lastName: string;
528
+ email: string;
529
+ password: string;
530
+ confirmPassword: string;
531
+ site?: string | undefined;
532
+ phoneNumber?: any;
533
+ }, {
534
+ firstName: string;
535
+ lastName: string;
536
+ email: string;
537
+ password: string;
538
+ confirmPassword: string;
539
+ site?: string | undefined;
540
+ phoneNumber?: string | null | undefined;
541
+ }>>, z.ZodObject<{
542
+ email: z.ZodOptional<z.ZodString>;
543
+ name: z.ZodOptional<z.ZodString>;
544
+ tid: z.ZodOptional<z.ZodString>;
545
+ } & {
546
+ investorAccountType: z.ZodOptional<z.ZodNativeEnum<typeof InvestorAccountType>>;
547
+ userId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
548
+ }, "strip", z.ZodTypeAny, {
549
+ email?: string | undefined;
550
+ name?: string | undefined;
551
+ tid?: string | undefined;
552
+ userId?: string | undefined;
553
+ investorAccountType?: InvestorAccountType | undefined;
554
+ }, {
555
+ email?: string | undefined;
556
+ name?: string | undefined;
557
+ tid?: string | undefined;
558
+ userId?: string | undefined;
559
+ investorAccountType?: InvestorAccountType | undefined;
560
+ }>>, z.ZodObject<{
561
+ lastName: z.ZodOptional<z.ZodString>;
562
+ firstName: z.ZodOptional<z.ZodString>;
563
+ dob: z.ZodOptional<z.ZodDate>;
564
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
565
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
566
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
567
+ currencyCode: z.ZodOptional<z.ZodString>;
568
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
569
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
570
+ isOk: () => boolean;
571
+ isErr: () => boolean;
572
+ value?: any;
573
+ error?: any;
574
+ } | import("neverthrow").Ok<null, never>, string | null>, {
575
+ isOk: () => boolean;
576
+ isErr: () => boolean;
577
+ value?: any;
578
+ error?: any;
579
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
580
+ ownership: z.ZodOptional<z.ZodNumber>;
581
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
582
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
583
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
584
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
585
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
586
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
587
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
588
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
589
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
590
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
591
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
592
+ tid: z.ZodOptional<z.ZodString>;
593
+ } & {
594
+ investorAccountId: z.ZodOptional<z.ZodString>;
595
+ role: z.ZodOptional<z.ZodNativeEnum<typeof IndividualRole>>;
596
+ }, "strip", z.ZodTypeAny, {
597
+ firstName?: string | undefined;
598
+ lastName?: string | undefined;
599
+ email?: string | undefined;
600
+ role?: IndividualRole | undefined;
601
+ tid?: string | undefined;
602
+ phone?: any;
603
+ investorAccountId?: string | undefined;
604
+ currencyCode?: string | undefined;
605
+ liquidNetWorth?: number | undefined;
606
+ dob?: Date | undefined;
607
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
608
+ citizenship?: string | undefined;
609
+ ssn?: string | null | undefined;
610
+ investedInCrowdfunding?: number | undefined;
611
+ currentAnnualIncome?: number | undefined;
612
+ employerName?: string | null | undefined;
613
+ setupStep?: import("./common.types").SetupStepType | undefined;
614
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
615
+ ownership?: number | undefined;
616
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
617
+ custodianName?: string | null | undefined;
618
+ custodianAccountNumber?: string | null | undefined;
619
+ custodianRepresentativeName?: string | null | undefined;
620
+ custodianEmail?: string | null | undefined;
621
+ }, {
622
+ firstName?: string | undefined;
623
+ lastName?: string | undefined;
624
+ email?: string | undefined;
625
+ role?: IndividualRole | undefined;
626
+ tid?: string | undefined;
627
+ phone?: string | null | undefined;
628
+ investorAccountId?: string | undefined;
629
+ currencyCode?: string | undefined;
630
+ liquidNetWorth?: number | undefined;
631
+ dob?: Date | undefined;
632
+ isUsCitizenOrGreenCardHolder?: unknown;
633
+ citizenship?: string | undefined;
634
+ ssn?: string | null | undefined;
635
+ investedInCrowdfunding?: number | undefined;
636
+ currentAnnualIncome?: number | undefined;
637
+ employerName?: string | null | undefined;
638
+ setupStep?: import("./common.types").SetupStepType | undefined;
639
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
640
+ ownership?: number | undefined;
641
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
642
+ custodianName?: string | null | undefined;
643
+ custodianAccountNumber?: string | null | undefined;
644
+ custodianRepresentativeName?: string | null | undefined;
645
+ 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>, {
653
+ isOk: () => boolean;
654
+ isErr: () => boolean;
655
+ value?: any;
656
+ error?: any;
657
+ } | import("neverthrow").Ok<null, never>, string | null>, {
658
+ isOk: () => boolean;
659
+ isErr: () => boolean;
660
+ value?: any;
661
+ error?: any;
662
+ } | 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;
673
+ }, {
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<{
682
+ lastName: z.ZodOptional<z.ZodString>;
683
+ firstName: z.ZodOptional<z.ZodString>;
684
+ kycFirstName: z.ZodOptional<z.ZodString>;
685
+ kycLastName: z.ZodOptional<z.ZodString>;
686
+ dob: z.ZodOptional<z.ZodDate>;
687
+ currencyCode: z.ZodOptional<z.ZodString>;
688
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
689
+ isOk: () => boolean;
690
+ isErr: () => boolean;
691
+ value?: any;
692
+ error?: any;
693
+ } | import("neverthrow").Ok<null, never>, string | null>, {
694
+ isOk: () => boolean;
695
+ isErr: () => boolean;
696
+ value?: any;
697
+ error?: any;
698
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
699
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
700
+ ownership: z.ZodOptional<z.ZodNumber>;
701
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
702
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
703
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
704
+ kycDocumentType: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>>;
705
+ kycDocumentIssuer: z.ZodOptional<z.ZodString>;
706
+ kycExpirationDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
707
+ kycIssuerDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
708
+ kycDocumentNumber: z.ZodOptional<z.ZodString>;
709
+ householdNetWorth: z.ZodOptional<z.ZodNumber>;
710
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
711
+ currentHouseholdIncome: z.ZodOptional<z.ZodNumber>;
712
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
713
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
714
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
715
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
716
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
717
+ aicQuestionnaire: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
718
+ kycProvider: z.ZodOptional<z.ZodString>;
719
+ aicAccreditationType: z.ZodOptional<z.ZodNativeEnum<typeof AicAccreditationType>>;
720
+ accredited: z.ZodOptional<z.ZodBoolean>;
721
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
722
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
723
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
724
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
725
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
726
+ }, "firstName" | "lastName">, "strip", z.ZodTypeAny, {
727
+ email?: string | undefined;
728
+ phone?: any;
729
+ kycFirstName?: string | undefined;
730
+ kycLastName?: string | undefined;
731
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
732
+ kycDocumentIssuer?: string | undefined;
733
+ kycProvider?: string | undefined;
734
+ currencyCode?: string | undefined;
735
+ kycDocumentNumber?: string | undefined;
736
+ kycIssuerDate?: string | undefined;
737
+ kycExpirationDate?: string | undefined;
738
+ liquidNetWorth?: number | undefined;
739
+ aicAccreditationType?: AicAccreditationType | undefined;
740
+ aicQuestionnaire?: string | undefined;
741
+ dob?: Date | undefined;
742
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
743
+ citizenship?: string | undefined;
744
+ ssn?: string | null | undefined;
745
+ investedInCrowdfunding?: number | undefined;
746
+ currentAnnualIncome?: number | undefined;
747
+ currentHouseholdIncome?: number | undefined;
748
+ householdNetWorth?: number | undefined;
749
+ employerName?: string | null | undefined;
750
+ setupStep?: import("./common.types").SetupStepType | undefined;
751
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
752
+ ownership?: number | undefined;
753
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
754
+ custodianName?: string | null | undefined;
755
+ custodianAccountNumber?: string | null | undefined;
756
+ custodianRepresentativeName?: string | null | undefined;
757
+ custodianEmail?: string | null | undefined;
758
+ accredited?: boolean | undefined;
759
+ }, {
760
+ email?: string | undefined;
761
+ phone?: string | null | undefined;
762
+ kycFirstName?: string | undefined;
763
+ kycLastName?: string | undefined;
764
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
765
+ kycDocumentIssuer?: string | undefined;
766
+ kycProvider?: string | undefined;
767
+ currencyCode?: string | undefined;
768
+ kycDocumentNumber?: string | undefined;
769
+ kycIssuerDate?: Date | undefined;
770
+ kycExpirationDate?: Date | undefined;
771
+ liquidNetWorth?: number | undefined;
772
+ aicAccreditationType?: AicAccreditationType | undefined;
773
+ aicQuestionnaire?: string | undefined;
774
+ dob?: Date | undefined;
775
+ isUsCitizenOrGreenCardHolder?: unknown;
776
+ citizenship?: string | undefined;
777
+ ssn?: string | null | undefined;
778
+ investedInCrowdfunding?: number | undefined;
779
+ currentAnnualIncome?: number | undefined;
780
+ currentHouseholdIncome?: number | undefined;
781
+ householdNetWorth?: number | undefined;
782
+ employerName?: string | null | undefined;
783
+ setupStep?: import("./common.types").SetupStepType | undefined;
784
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
785
+ ownership?: number | undefined;
786
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
787
+ custodianName?: string | null | undefined;
788
+ custodianAccountNumber?: string | null | undefined;
789
+ custodianRepresentativeName?: string | null | undefined;
790
+ custodianEmail?: string | null | undefined;
791
+ accredited?: boolean | undefined;
792
+ }>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
793
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
794
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
795
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
796
+ }, "strip", z.ZodTypeAny, {
797
+ address?: string | null | undefined;
798
+ city?: string | null | undefined;
799
+ address2?: string | null | undefined;
800
+ }, {
801
+ address?: string | null | undefined;
802
+ city?: string | null | undefined;
803
+ address2?: string | null | undefined;
804
+ }>, z.ZodEffects<z.ZodObject<{
805
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
806
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
807
+ }, "strip", z.ZodTypeAny, {
808
+ country?: string | null | undefined;
809
+ state?: string | null | undefined;
810
+ }, {
811
+ country?: string | null | undefined;
812
+ state?: string | null | undefined;
813
+ }>, {
814
+ country?: string | null | undefined;
815
+ state?: string | null | undefined;
816
+ }, {
817
+ country?: string | null | undefined;
818
+ state?: string | null | undefined;
819
+ }>>, z.ZodEffects<z.ZodObject<{
820
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
821
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
822
+ }, "strip", z.ZodTypeAny, {
823
+ country?: string | null | undefined;
824
+ zip?: string | null | undefined;
825
+ }, {
826
+ country?: string | null | undefined;
827
+ zip?: string | null | undefined;
828
+ }>, {
829
+ country?: string | null | undefined;
830
+ zip?: string | null | undefined;
831
+ }, {
832
+ country?: string | null | undefined;
833
+ zip?: string | null | undefined;
834
+ }>>>, {
835
+ firstName: string;
836
+ lastName: string;
837
+ email: string;
838
+ password: string;
839
+ confirmPassword: string;
840
+ site?: string | undefined;
841
+ phoneNumber?: any;
842
+ } & {
843
+ email?: string | undefined;
844
+ phone?: any;
845
+ kycFirstName?: string | undefined;
846
+ kycLastName?: string | undefined;
847
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
848
+ kycDocumentIssuer?: string | undefined;
849
+ kycProvider?: string | undefined;
850
+ currencyCode?: string | undefined;
851
+ kycDocumentNumber?: string | undefined;
852
+ kycIssuerDate?: string | undefined;
853
+ kycExpirationDate?: string | undefined;
854
+ liquidNetWorth?: number | undefined;
855
+ aicAccreditationType?: AicAccreditationType | undefined;
856
+ aicQuestionnaire?: string | undefined;
857
+ dob?: Date | undefined;
858
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
859
+ citizenship?: string | undefined;
860
+ ssn?: string | null | undefined;
861
+ investedInCrowdfunding?: number | undefined;
862
+ currentAnnualIncome?: number | undefined;
863
+ currentHouseholdIncome?: number | undefined;
864
+ householdNetWorth?: number | undefined;
865
+ employerName?: string | null | undefined;
866
+ setupStep?: import("./common.types").SetupStepType | undefined;
867
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
868
+ ownership?: number | undefined;
869
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
870
+ custodianName?: string | null | undefined;
871
+ custodianAccountNumber?: string | null | undefined;
872
+ custodianRepresentativeName?: string | null | undefined;
873
+ custodianEmail?: string | null | undefined;
874
+ accredited?: boolean | undefined;
875
+ } & {
876
+ address?: string | null | undefined;
877
+ city?: string | null | undefined;
878
+ address2?: string | null | undefined;
879
+ } & {
880
+ country?: string | null | undefined;
881
+ state?: string | null | undefined;
882
+ } & {
883
+ country?: string | null | undefined;
884
+ zip?: string | null | undefined;
885
+ }, {
886
+ firstName: string;
887
+ lastName: string;
888
+ email: string;
889
+ password: string;
890
+ confirmPassword: string;
891
+ site?: string | undefined;
892
+ phoneNumber?: string | null | undefined;
893
+ } & {
894
+ email?: string | undefined;
895
+ phone?: string | null | undefined;
896
+ kycFirstName?: string | undefined;
897
+ kycLastName?: string | undefined;
898
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
899
+ kycDocumentIssuer?: string | undefined;
900
+ kycProvider?: string | undefined;
901
+ currencyCode?: string | undefined;
902
+ kycDocumentNumber?: string | undefined;
903
+ kycIssuerDate?: Date | undefined;
904
+ kycExpirationDate?: Date | undefined;
905
+ liquidNetWorth?: number | undefined;
906
+ aicAccreditationType?: AicAccreditationType | undefined;
907
+ aicQuestionnaire?: string | undefined;
908
+ dob?: Date | undefined;
909
+ isUsCitizenOrGreenCardHolder?: unknown;
910
+ citizenship?: string | undefined;
911
+ ssn?: string | null | undefined;
912
+ investedInCrowdfunding?: number | undefined;
913
+ currentAnnualIncome?: number | undefined;
914
+ currentHouseholdIncome?: number | undefined;
915
+ householdNetWorth?: number | undefined;
916
+ employerName?: string | null | undefined;
917
+ setupStep?: import("./common.types").SetupStepType | undefined;
918
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
919
+ ownership?: number | undefined;
920
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
921
+ custodianName?: string | null | undefined;
922
+ custodianAccountNumber?: string | null | undefined;
923
+ custodianRepresentativeName?: string | null | undefined;
924
+ custodianEmail?: string | null | undefined;
925
+ accredited?: boolean | undefined;
926
+ } & {
927
+ address?: string | null | undefined;
928
+ city?: string | null | undefined;
929
+ address2?: string | null | undefined;
930
+ } & {
931
+ country?: string | null | undefined;
932
+ state?: string | null | undefined;
933
+ } & {
934
+ country?: string | null | undefined;
935
+ zip?: string | null | undefined;
936
+ }>>;
937
+ export declare const BaseLegalEntityCsvFields: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
938
+ entityName: z.ZodString;
939
+ }, "strip", z.ZodTypeAny, {
940
+ entityName: string;
941
+ }, {
942
+ entityName: string;
943
+ }>, z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
944
+ secondHolderFirstName: z.ZodOptional<z.ZodString>;
945
+ secondHolderLastName: z.ZodOptional<z.ZodString>;
946
+ secondHolderEmail: z.ZodOptional<z.ZodString>;
947
+ secondHolderPhone: z.ZodOptional<z.ZodString>;
948
+ secondHolderDob: z.ZodOptional<z.ZodDate>;
949
+ secondHolderDateOfBirth: z.ZodOptional<z.ZodDate>;
950
+ secondHolderSsn: z.ZodOptional<z.ZodString>;
951
+ secondHolderOwnership: z.ZodOptional<z.ZodNumber>;
952
+ secondHolderIsUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
953
+ secondHolderCitizenship: z.ZodOptional<z.ZodString>;
954
+ }, "strip", z.ZodTypeAny, {
955
+ secondHolderFirstName?: string | undefined;
956
+ secondHolderLastName?: string | undefined;
957
+ secondHolderEmail?: string | undefined;
958
+ secondHolderPhone?: string | undefined;
959
+ secondHolderDob?: Date | undefined;
960
+ secondHolderDateOfBirth?: Date | undefined;
961
+ secondHolderSsn?: string | undefined;
962
+ secondHolderOwnership?: number | undefined;
963
+ secondHolderIsUsCitizenOrGreenCardHolder?: boolean | undefined;
964
+ secondHolderCitizenship?: string | undefined;
965
+ }, {
966
+ secondHolderFirstName?: string | undefined;
967
+ secondHolderLastName?: string | undefined;
968
+ secondHolderEmail?: string | undefined;
969
+ secondHolderPhone?: string | undefined;
970
+ secondHolderDob?: Date | undefined;
971
+ secondHolderDateOfBirth?: Date | undefined;
972
+ secondHolderSsn?: string | undefined;
973
+ secondHolderOwnership?: number | undefined;
974
+ secondHolderIsUsCitizenOrGreenCardHolder?: unknown;
975
+ secondHolderCitizenship?: string | undefined;
976
+ }>, z.ZodObject<{
977
+ firstName: z.ZodString;
978
+ lastName: z.ZodString;
979
+ email: z.ZodEffects<z.ZodString, string, string>;
980
+ password: z.ZodString;
981
+ confirmPassword: z.ZodString;
982
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
983
+ isOk: () => boolean;
984
+ isErr: () => boolean;
985
+ value?: any;
986
+ error?: any;
987
+ } | import("neverthrow").Ok<null, never>, string | null>, {
988
+ isOk: () => boolean;
989
+ isErr: () => boolean;
990
+ value?: any;
991
+ error?: any;
992
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
993
+ } & {
994
+ site: z.ZodOptional<z.ZodString>;
995
+ }, "strip", z.ZodTypeAny, {
996
+ firstName: string;
997
+ lastName: string;
998
+ email: string;
999
+ password: string;
1000
+ confirmPassword: string;
1001
+ site?: string | undefined;
1002
+ phoneNumber?: any;
1003
+ }, {
1004
+ firstName: string;
1005
+ lastName: string;
1006
+ email: string;
1007
+ password: string;
1008
+ confirmPassword: string;
1009
+ site?: string | undefined;
1010
+ phoneNumber?: string | null | undefined;
1011
+ }>>, z.ZodObject<{
1012
+ email: z.ZodOptional<z.ZodString>;
1013
+ name: z.ZodOptional<z.ZodString>;
1014
+ tid: z.ZodOptional<z.ZodString>;
1015
+ } & {
1016
+ investorAccountType: z.ZodOptional<z.ZodNativeEnum<typeof InvestorAccountType>>;
1017
+ userId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ email?: string | undefined;
1020
+ name?: string | undefined;
1021
+ tid?: string | undefined;
1022
+ userId?: string | undefined;
1023
+ investorAccountType?: InvestorAccountType | undefined;
1024
+ }, {
1025
+ email?: string | undefined;
1026
+ name?: string | undefined;
1027
+ tid?: string | undefined;
1028
+ userId?: string | undefined;
1029
+ investorAccountType?: InvestorAccountType | undefined;
1030
+ }>>, z.ZodObject<{
1031
+ lastName: z.ZodOptional<z.ZodString>;
1032
+ firstName: z.ZodOptional<z.ZodString>;
1033
+ dob: z.ZodOptional<z.ZodDate>;
1034
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1035
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
1036
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
1037
+ currencyCode: z.ZodOptional<z.ZodString>;
1038
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1039
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1040
+ isOk: () => boolean;
1041
+ isErr: () => boolean;
1042
+ value?: any;
1043
+ error?: any;
1044
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1045
+ isOk: () => boolean;
1046
+ isErr: () => boolean;
1047
+ value?: any;
1048
+ error?: any;
1049
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1050
+ ownership: z.ZodOptional<z.ZodNumber>;
1051
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
1052
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
1053
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
1054
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
1055
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1056
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
1057
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
1058
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1059
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1060
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1061
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1062
+ tid: z.ZodOptional<z.ZodString>;
1063
+ } & {
1064
+ investorAccountId: z.ZodOptional<z.ZodString>;
1065
+ role: z.ZodOptional<z.ZodNativeEnum<typeof IndividualRole>>;
1066
+ }, "strip", z.ZodTypeAny, {
1067
+ firstName?: string | undefined;
1068
+ lastName?: string | undefined;
1069
+ email?: string | undefined;
1070
+ role?: IndividualRole | undefined;
1071
+ tid?: string | undefined;
1072
+ phone?: any;
1073
+ investorAccountId?: string | undefined;
1074
+ currencyCode?: string | undefined;
1075
+ liquidNetWorth?: number | undefined;
1076
+ dob?: Date | undefined;
1077
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1078
+ citizenship?: string | undefined;
1079
+ ssn?: string | null | undefined;
1080
+ investedInCrowdfunding?: number | undefined;
1081
+ currentAnnualIncome?: number | undefined;
1082
+ employerName?: string | null | undefined;
1083
+ setupStep?: import("./common.types").SetupStepType | undefined;
1084
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1085
+ ownership?: number | undefined;
1086
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1087
+ custodianName?: string | null | undefined;
1088
+ custodianAccountNumber?: string | null | undefined;
1089
+ custodianRepresentativeName?: string | null | undefined;
1090
+ custodianEmail?: string | null | undefined;
1091
+ }, {
1092
+ firstName?: string | undefined;
1093
+ lastName?: string | undefined;
1094
+ email?: string | undefined;
1095
+ role?: IndividualRole | undefined;
1096
+ tid?: string | undefined;
1097
+ phone?: string | null | undefined;
1098
+ investorAccountId?: string | undefined;
1099
+ currencyCode?: string | undefined;
1100
+ liquidNetWorth?: number | undefined;
1101
+ dob?: Date | undefined;
1102
+ isUsCitizenOrGreenCardHolder?: unknown;
1103
+ citizenship?: string | undefined;
1104
+ ssn?: string | null | undefined;
1105
+ investedInCrowdfunding?: number | undefined;
1106
+ currentAnnualIncome?: number | undefined;
1107
+ employerName?: string | null | undefined;
1108
+ setupStep?: import("./common.types").SetupStepType | undefined;
1109
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1110
+ ownership?: number | undefined;
1111
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1112
+ custodianName?: string | null | undefined;
1113
+ custodianAccountNumber?: string | null | undefined;
1114
+ custodianRepresentativeName?: string | null | undefined;
1115
+ 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<{
1152
+ lastName: z.ZodOptional<z.ZodString>;
1153
+ firstName: z.ZodOptional<z.ZodString>;
1154
+ kycFirstName: z.ZodOptional<z.ZodString>;
1155
+ kycLastName: z.ZodOptional<z.ZodString>;
1156
+ dob: z.ZodOptional<z.ZodDate>;
1157
+ currencyCode: z.ZodOptional<z.ZodString>;
1158
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1159
+ isOk: () => boolean;
1160
+ isErr: () => boolean;
1161
+ value?: any;
1162
+ error?: any;
1163
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1164
+ isOk: () => boolean;
1165
+ isErr: () => boolean;
1166
+ value?: any;
1167
+ error?: any;
1168
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1169
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1170
+ ownership: z.ZodOptional<z.ZodNumber>;
1171
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1172
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
1173
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
1174
+ kycDocumentType: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>>;
1175
+ kycDocumentIssuer: z.ZodOptional<z.ZodString>;
1176
+ kycExpirationDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
1177
+ kycIssuerDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
1178
+ kycDocumentNumber: z.ZodOptional<z.ZodString>;
1179
+ householdNetWorth: z.ZodOptional<z.ZodNumber>;
1180
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
1181
+ currentHouseholdIncome: z.ZodOptional<z.ZodNumber>;
1182
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
1183
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
1184
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
1185
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1186
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
1187
+ aicQuestionnaire: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1188
+ kycProvider: z.ZodOptional<z.ZodString>;
1189
+ aicAccreditationType: z.ZodOptional<z.ZodNativeEnum<typeof AicAccreditationType>>;
1190
+ accredited: z.ZodOptional<z.ZodBoolean>;
1191
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
1192
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1193
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1194
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1195
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1196
+ }, "firstName" | "lastName">, "strip", z.ZodTypeAny, {
1197
+ email?: string | undefined;
1198
+ phone?: any;
1199
+ kycFirstName?: string | undefined;
1200
+ kycLastName?: string | undefined;
1201
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1202
+ kycDocumentIssuer?: string | undefined;
1203
+ kycProvider?: string | undefined;
1204
+ currencyCode?: string | undefined;
1205
+ kycDocumentNumber?: string | undefined;
1206
+ kycIssuerDate?: string | undefined;
1207
+ kycExpirationDate?: string | undefined;
1208
+ liquidNetWorth?: number | undefined;
1209
+ aicAccreditationType?: AicAccreditationType | undefined;
1210
+ aicQuestionnaire?: string | undefined;
1211
+ dob?: Date | undefined;
1212
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1213
+ citizenship?: string | undefined;
1214
+ ssn?: string | null | undefined;
1215
+ investedInCrowdfunding?: number | undefined;
1216
+ currentAnnualIncome?: number | undefined;
1217
+ currentHouseholdIncome?: number | undefined;
1218
+ householdNetWorth?: number | undefined;
1219
+ employerName?: string | null | undefined;
1220
+ setupStep?: import("./common.types").SetupStepType | undefined;
1221
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1222
+ ownership?: number | undefined;
1223
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1224
+ custodianName?: string | null | undefined;
1225
+ custodianAccountNumber?: string | null | undefined;
1226
+ custodianRepresentativeName?: string | null | undefined;
1227
+ custodianEmail?: string | null | undefined;
1228
+ accredited?: boolean | undefined;
1229
+ }, {
1230
+ email?: string | undefined;
1231
+ phone?: string | null | undefined;
1232
+ kycFirstName?: string | undefined;
1233
+ kycLastName?: string | undefined;
1234
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1235
+ kycDocumentIssuer?: string | undefined;
1236
+ kycProvider?: string | undefined;
1237
+ currencyCode?: string | undefined;
1238
+ kycDocumentNumber?: string | undefined;
1239
+ kycIssuerDate?: Date | undefined;
1240
+ kycExpirationDate?: Date | undefined;
1241
+ liquidNetWorth?: number | undefined;
1242
+ aicAccreditationType?: AicAccreditationType | undefined;
1243
+ aicQuestionnaire?: string | undefined;
1244
+ dob?: Date | undefined;
1245
+ isUsCitizenOrGreenCardHolder?: unknown;
1246
+ citizenship?: string | undefined;
1247
+ ssn?: string | null | undefined;
1248
+ investedInCrowdfunding?: number | undefined;
1249
+ currentAnnualIncome?: number | undefined;
1250
+ currentHouseholdIncome?: number | undefined;
1251
+ householdNetWorth?: number | undefined;
1252
+ employerName?: string | null | undefined;
1253
+ setupStep?: import("./common.types").SetupStepType | undefined;
1254
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1255
+ ownership?: number | undefined;
1256
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1257
+ custodianName?: string | null | undefined;
1258
+ custodianAccountNumber?: string | null | undefined;
1259
+ custodianRepresentativeName?: string | null | undefined;
1260
+ custodianEmail?: string | null | undefined;
1261
+ accredited?: boolean | undefined;
1262
+ }>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1263
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1264
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1265
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1266
+ }, "strip", z.ZodTypeAny, {
1267
+ address?: string | null | undefined;
1268
+ city?: string | null | undefined;
1269
+ address2?: string | null | undefined;
1270
+ }, {
1271
+ address?: string | null | undefined;
1272
+ city?: string | null | undefined;
1273
+ address2?: string | null | undefined;
1274
+ }>, z.ZodEffects<z.ZodObject<{
1275
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
1276
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1277
+ }, "strip", z.ZodTypeAny, {
1278
+ country?: string | null | undefined;
1279
+ state?: string | null | undefined;
1280
+ }, {
1281
+ country?: string | null | undefined;
1282
+ state?: string | null | undefined;
1283
+ }>, {
1284
+ country?: string | null | undefined;
1285
+ state?: string | null | undefined;
1286
+ }, {
1287
+ country?: string | null | undefined;
1288
+ state?: string | null | undefined;
1289
+ }>>, z.ZodEffects<z.ZodObject<{
1290
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
1291
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1292
+ }, "strip", z.ZodTypeAny, {
1293
+ country?: string | null | undefined;
1294
+ zip?: string | null | undefined;
1295
+ }, {
1296
+ country?: string | null | undefined;
1297
+ zip?: string | null | undefined;
1298
+ }>, {
1299
+ country?: string | null | undefined;
1300
+ zip?: string | null | undefined;
1301
+ }, {
1302
+ country?: string | null | undefined;
1303
+ zip?: string | null | undefined;
1304
+ }>>>, {
1305
+ firstName: string;
1306
+ lastName: string;
1307
+ email: string;
1308
+ password: string;
1309
+ confirmPassword: string;
1310
+ site?: string | undefined;
1311
+ phoneNumber?: any;
1312
+ } & {
1313
+ email?: string | undefined;
1314
+ phone?: any;
1315
+ kycFirstName?: string | undefined;
1316
+ kycLastName?: string | undefined;
1317
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1318
+ kycDocumentIssuer?: string | undefined;
1319
+ kycProvider?: string | undefined;
1320
+ currencyCode?: string | undefined;
1321
+ kycDocumentNumber?: string | undefined;
1322
+ kycIssuerDate?: string | undefined;
1323
+ kycExpirationDate?: string | undefined;
1324
+ liquidNetWorth?: number | undefined;
1325
+ aicAccreditationType?: AicAccreditationType | undefined;
1326
+ aicQuestionnaire?: string | undefined;
1327
+ dob?: Date | undefined;
1328
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1329
+ citizenship?: string | undefined;
1330
+ ssn?: string | null | undefined;
1331
+ investedInCrowdfunding?: number | undefined;
1332
+ currentAnnualIncome?: number | undefined;
1333
+ currentHouseholdIncome?: number | undefined;
1334
+ householdNetWorth?: number | undefined;
1335
+ employerName?: string | null | undefined;
1336
+ setupStep?: import("./common.types").SetupStepType | undefined;
1337
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1338
+ ownership?: number | undefined;
1339
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1340
+ custodianName?: string | null | undefined;
1341
+ custodianAccountNumber?: string | null | undefined;
1342
+ custodianRepresentativeName?: string | null | undefined;
1343
+ custodianEmail?: string | null | undefined;
1344
+ accredited?: boolean | undefined;
1345
+ } & {
1346
+ address?: string | null | undefined;
1347
+ city?: string | null | undefined;
1348
+ address2?: string | null | undefined;
1349
+ } & {
1350
+ country?: string | null | undefined;
1351
+ state?: string | null | undefined;
1352
+ } & {
1353
+ country?: string | null | undefined;
1354
+ zip?: string | null | undefined;
1355
+ }, {
1356
+ firstName: string;
1357
+ lastName: string;
1358
+ email: string;
1359
+ password: string;
1360
+ confirmPassword: string;
1361
+ site?: string | undefined;
1362
+ phoneNumber?: string | null | undefined;
1363
+ } & {
1364
+ email?: string | undefined;
1365
+ phone?: string | null | undefined;
1366
+ kycFirstName?: string | undefined;
1367
+ kycLastName?: string | undefined;
1368
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1369
+ kycDocumentIssuer?: string | undefined;
1370
+ kycProvider?: string | undefined;
1371
+ currencyCode?: string | undefined;
1372
+ kycDocumentNumber?: string | undefined;
1373
+ kycIssuerDate?: Date | undefined;
1374
+ kycExpirationDate?: Date | undefined;
1375
+ liquidNetWorth?: number | undefined;
1376
+ aicAccreditationType?: AicAccreditationType | undefined;
1377
+ aicQuestionnaire?: string | undefined;
1378
+ dob?: Date | undefined;
1379
+ isUsCitizenOrGreenCardHolder?: unknown;
1380
+ citizenship?: string | undefined;
1381
+ ssn?: string | null | undefined;
1382
+ investedInCrowdfunding?: number | undefined;
1383
+ currentAnnualIncome?: number | undefined;
1384
+ currentHouseholdIncome?: number | undefined;
1385
+ householdNetWorth?: number | undefined;
1386
+ employerName?: string | null | undefined;
1387
+ setupStep?: import("./common.types").SetupStepType | undefined;
1388
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1389
+ ownership?: number | undefined;
1390
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1391
+ custodianName?: string | null | undefined;
1392
+ custodianAccountNumber?: string | null | undefined;
1393
+ custodianRepresentativeName?: string | null | undefined;
1394
+ custodianEmail?: string | null | undefined;
1395
+ accredited?: boolean | undefined;
1396
+ } & {
1397
+ address?: string | null | undefined;
1398
+ city?: string | null | undefined;
1399
+ address2?: string | null | undefined;
1400
+ } & {
1401
+ country?: string | null | undefined;
1402
+ state?: string | null | undefined;
1403
+ } & {
1404
+ country?: string | null | undefined;
1405
+ 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>>;
1426
+ }, "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;
1435
+ }, {
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;
1449
+ /**
1450
+ * AIC Questionnaire CSV row structure
1451
+ * Extracted from aicQuestionnaire.AIC_Questionnaire in individuals.types.ts
1452
+ */
1453
+ export type AicQuestionnaireCsvRow = z.infer<typeof aicQuestionnaire>['AIC_Questionnaire'];
1454
+ /**
1455
+ * Zod schema for AIC questionnaire CSV validation
1456
+ * Reuses the existing aicQuestionnaire schema from individuals.types.ts
1457
+ */
1458
+ export declare const AicQuestionnaireCsvSchema: z.ZodObject<{
1459
+ investment_objective: z.ZodOptional<z.ZodString>;
1460
+ investment_experience: z.ZodOptional<z.ZodString>;
1461
+ risk_willingness: z.ZodOptional<z.ZodString>;
1462
+ equities_allocation: z.ZodOptional<z.ZodString>;
1463
+ bonds_allocation: z.ZodOptional<z.ZodString>;
1464
+ other_investments_allocation: z.ZodOptional<z.ZodString>;
1465
+ overall_portfolio_percentage: z.ZodOptional<z.ZodString>;
1466
+ annual_living_expenses: z.ZodOptional<z.ZodString>;
1467
+ marginal_tax_rate: z.ZodOptional<z.ZodString>;
1468
+ significant_liquid_net_worth: z.ZodOptional<z.ZodString>;
1469
+ risky_investment_understanding: z.ZodOptional<z.ZodString>;
1470
+ investment_time_horizon: z.ZodOptional<z.ZodString>;
1471
+ }, "strip", z.ZodTypeAny, {
1472
+ investment_objective?: string | undefined;
1473
+ investment_experience?: string | undefined;
1474
+ risk_willingness?: string | undefined;
1475
+ equities_allocation?: string | undefined;
1476
+ bonds_allocation?: string | undefined;
1477
+ other_investments_allocation?: string | undefined;
1478
+ overall_portfolio_percentage?: string | undefined;
1479
+ annual_living_expenses?: string | undefined;
1480
+ marginal_tax_rate?: string | undefined;
1481
+ significant_liquid_net_worth?: string | undefined;
1482
+ risky_investment_understanding?: string | undefined;
1483
+ investment_time_horizon?: string | undefined;
1484
+ }, {
1485
+ investment_objective?: string | undefined;
1486
+ investment_experience?: string | undefined;
1487
+ risk_willingness?: string | undefined;
1488
+ equities_allocation?: string | undefined;
1489
+ bonds_allocation?: string | undefined;
1490
+ other_investments_allocation?: string | undefined;
1491
+ overall_portfolio_percentage?: string | undefined;
1492
+ annual_living_expenses?: string | undefined;
1493
+ marginal_tax_rate?: string | undefined;
1494
+ significant_liquid_net_worth?: string | undefined;
1495
+ risky_investment_understanding?: string | undefined;
1496
+ investment_time_horizon?: string | undefined;
1497
+ }>;
1498
+ /**
1499
+ * Query parameters for investor account CSV upload
1500
+ */
1501
+ export declare const UploadInvestorCsvQuery: z.ZodObject<{
1502
+ type: z.ZodNativeEnum<typeof InvestorAccountType>;
1503
+ }, "strip", z.ZodTypeAny, {
1504
+ type: InvestorAccountType;
1505
+ }, {
1506
+ type: InvestorAccountType;
1507
+ }>;
1508
+ export type UploadInvestorCsvQuery = z.infer<typeof UploadInvestorCsvQuery>;
1509
+ /**
1510
+ * Query parameters for AIC questionnaire CSV upload
1511
+ */
1512
+ export declare const UploadAicCsvQuery: z.ZodObject<{
1513
+ accredited: z.ZodBoolean;
1514
+ aicAccreditationType: z.ZodNativeEnum<typeof AicAccreditationType>;
1515
+ investorAccountId: z.ZodEffects<z.ZodString, string, string>;
1516
+ }, "strip", z.ZodTypeAny, {
1517
+ investorAccountId: string;
1518
+ aicAccreditationType: AicAccreditationType;
1519
+ accredited: boolean;
1520
+ }, {
1521
+ investorAccountId: string;
1522
+ aicAccreditationType: AicAccreditationType;
1523
+ accredited: boolean;
1524
+ }>;
1525
+ export type UploadAicCsvQuery = z.infer<typeof UploadAicCsvQuery>;
1526
+ /**
1527
+ * KYC CSV row structure
1528
+ * Omits file ID fields (kycDocumentFrontFileId, kycDocumentBackFileId, kycSelfieFileId)
1529
+ * because they come from query parameters, not the CSV file
1530
+ * Accepts string dates for CSV parsing which will be coerced to Date objects
1531
+ */
1532
+ export declare const KycCsvSchema: z.ZodObject<{
1533
+ kycFirstName: z.ZodString;
1534
+ kycLastName: z.ZodString;
1535
+ kycDocumentType: z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>;
1536
+ kycDocumentId: z.ZodString;
1537
+ kycDocumentIssuer: z.ZodNativeEnum<{
1538
+ [x: string]: string;
1539
+ }>;
1540
+ kycProvider: z.ZodNativeEnum<typeof import("./kyc.types").KYCPlatformProvider>;
1541
+ kycLog: z.ZodEffects<z.ZodString, string, string>;
1542
+ } & {
1543
+ kycDocumentIssuedDate: z.ZodDate;
1544
+ kycDocumentExpirationDate: z.ZodDate;
1545
+ kycDocumentDob: z.ZodDate;
1546
+ }, "strip", z.ZodTypeAny, {
1547
+ kycFirstName: string;
1548
+ kycLastName: string;
1549
+ kycDocumentType: import("./common.types").KYCDocumentType;
1550
+ kycDocumentId: string;
1551
+ kycDocumentIssuer: string;
1552
+ kycDocumentIssuedDate: Date;
1553
+ kycDocumentExpirationDate: Date;
1554
+ kycDocumentDob: Date;
1555
+ kycProvider: import("./kyc.types").KYCPlatformProvider;
1556
+ kycLog: string;
1557
+ }, {
1558
+ kycFirstName: string;
1559
+ kycLastName: string;
1560
+ kycDocumentType: import("./common.types").KYCDocumentType;
1561
+ kycDocumentId: string;
1562
+ kycDocumentIssuer: string;
1563
+ kycDocumentIssuedDate: Date;
1564
+ kycDocumentExpirationDate: Date;
1565
+ kycDocumentDob: Date;
1566
+ kycProvider: import("./kyc.types").KYCPlatformProvider;
1567
+ kycLog: string;
1568
+ }>;
1569
+ export type KycCsvRow = z.infer<typeof KycCsvSchema>;
1570
+ /**
1571
+ * Type for KYC body that will be passed to the service
1572
+ * Uses input type (before transformation) to accept string dates in MM/DD/YYYY format
1573
+ */
1574
+ export type KycBodySchema = z.input<typeof PostKycBodySchema>;
1575
+ /**
1576
+ * Query parameters for KYC CSV upload
1577
+ */
1578
+ export declare const UploadKycCsvQuery: z.ZodObject<{
1579
+ individualId: z.ZodEffects<z.ZodString, string, string>;
1580
+ frontFileId: z.ZodEffects<z.ZodString, string, string>;
1581
+ backFileId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1582
+ selfieFileId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1583
+ }, "strip", z.ZodTypeAny, {
1584
+ individualId: string;
1585
+ frontFileId: string;
1586
+ backFileId?: string | undefined;
1587
+ selfieFileId?: string | undefined;
1588
+ }, {
1589
+ individualId: string;
1590
+ frontFileId: string;
1591
+ backFileId?: string | undefined;
1592
+ selfieFileId?: string | undefined;
1593
+ }>;
1594
+ export type UploadKycCsvQuery = z.infer<typeof UploadKycCsvQuery>;
1595
+ /**
1596
+ * Base issuer CSV fields schema
1597
+ * Combines IRegisterClientIssuerBodyZod and PostIssuerZod with accountName type override
1598
+ */
1599
+ export declare const BaseIssuerCsvFields: z.ZodIntersection<z.ZodIntersection<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1600
+ firstName: z.ZodString;
1601
+ lastName: z.ZodString;
1602
+ email: z.ZodEffects<z.ZodString, string, string>;
1603
+ password: z.ZodString;
1604
+ } & {
1605
+ confirmPassword: z.ZodString;
1606
+ accountName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1607
+ accountType: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>>;
1608
+ }, "strip", z.ZodTypeAny, {
1609
+ firstName: string;
1610
+ lastName: string;
1611
+ email: string;
1612
+ password: string;
1613
+ confirmPassword: string;
1614
+ accountType: import("./common.types").ManagedByType;
1615
+ accountName?: string | null | undefined;
1616
+ }, {
1617
+ firstName: string;
1618
+ lastName: string;
1619
+ email: string;
1620
+ password: string;
1621
+ confirmPassword: string;
1622
+ accountName?: string | null | undefined;
1623
+ accountType?: import("./common.types").ManagedByType | undefined;
1624
+ }>, {
1625
+ firstName: string;
1626
+ lastName: string;
1627
+ email: string;
1628
+ password: string;
1629
+ confirmPassword: string;
1630
+ accountType: import("./common.types").ManagedByType;
1631
+ accountName?: string | null | undefined;
1632
+ }, {
1633
+ firstName: string;
1634
+ lastName: string;
1635
+ email: string;
1636
+ password: string;
1637
+ confirmPassword: string;
1638
+ accountName?: string | null | undefined;
1639
+ accountType?: import("./common.types").ManagedByType | undefined;
1640
+ }>, {
1641
+ firstName: string;
1642
+ lastName: string;
1643
+ email: string;
1644
+ password: string;
1645
+ confirmPassword: string;
1646
+ accountType: import("./common.types").ManagedByType;
1647
+ accountName?: string | null | undefined;
1648
+ }, {
1649
+ firstName: string;
1650
+ lastName: string;
1651
+ email: string;
1652
+ password: string;
1653
+ confirmPassword: string;
1654
+ accountName?: string | null | undefined;
1655
+ accountType?: import("./common.types").ManagedByType | undefined;
1656
+ }>, z.ZodIntersection<z.ZodObject<{
1657
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1658
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1659
+ legalName: z.ZodString;
1660
+ dba: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1661
+ doi: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>>;
1662
+ ein: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1663
+ type: z.ZodNativeEnum<typeof import("./issuer.types").IssuerTypes>;
1664
+ }, "strip", z.ZodTypeAny, {
1665
+ type: import("./issuer.types").IssuerTypes;
1666
+ legalName: string;
1667
+ description?: string | null | undefined;
1668
+ title?: string | null | undefined;
1669
+ dba?: string | null | undefined;
1670
+ doi?: Date | null | undefined;
1671
+ ein?: string | null | undefined;
1672
+ }, {
1673
+ type: import("./issuer.types").IssuerTypes;
1674
+ legalName: string;
1675
+ description?: string | null | undefined;
1676
+ title?: string | null | undefined;
1677
+ dba?: string | null | undefined;
1678
+ doi?: string | null | undefined;
1679
+ ein?: string | null | undefined;
1680
+ }>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1681
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1682
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1683
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1684
+ }, "strip", z.ZodTypeAny, {
1685
+ address?: string | null | undefined;
1686
+ city?: string | null | undefined;
1687
+ address2?: string | null | undefined;
1688
+ }, {
1689
+ address?: string | null | undefined;
1690
+ city?: string | null | undefined;
1691
+ address2?: string | null | undefined;
1692
+ }>, z.ZodEffects<z.ZodObject<{
1693
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
1694
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1695
+ }, "strip", z.ZodTypeAny, {
1696
+ country?: string | null | undefined;
1697
+ state?: string | null | undefined;
1698
+ }, {
1699
+ country?: string | null | undefined;
1700
+ state?: string | null | undefined;
1701
+ }>, {
1702
+ country?: string | null | undefined;
1703
+ state?: string | null | undefined;
1704
+ }, {
1705
+ country?: string | null | undefined;
1706
+ state?: string | null | undefined;
1707
+ }>>, z.ZodEffects<z.ZodObject<{
1708
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
1709
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1710
+ }, "strip", z.ZodTypeAny, {
1711
+ country?: string | null | undefined;
1712
+ zip?: string | null | undefined;
1713
+ }, {
1714
+ country?: string | null | undefined;
1715
+ zip?: string | null | undefined;
1716
+ }>, {
1717
+ country?: string | null | undefined;
1718
+ zip?: string | null | undefined;
1719
+ }, {
1720
+ country?: string | null | undefined;
1721
+ zip?: string | null | undefined;
1722
+ }>>>>, z.ZodObject<{
1723
+ accountName: z.ZodOptional<z.ZodString>;
1724
+ }, "strip", z.ZodTypeAny, {
1725
+ accountName?: string | undefined;
1726
+ }, {
1727
+ accountName?: string | undefined;
1728
+ }>>;
1729
+ export type IssuerCsvRow = z.infer<typeof BaseIssuerCsvFields>;
1730
+ export {};