@dalmore/api-contracts 0.0.0-dev.f1cb508 → 0.0.0-dev.f317bb8

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