@dalmore/api-contracts 0.0.0-dev.eb820f7 → 0.0.0-dev.f0b9301

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 (714) hide show
  1. package/README.md +23 -19
  2. package/common/constants.d.ts +33 -0
  3. package/common/constants.js +67 -0
  4. package/common/constants.js.map +1 -0
  5. package/common/helpers/index.d.ts +58 -0
  6. package/common/helpers/index.js +151 -0
  7. package/common/helpers/index.js.map +1 -0
  8. package/common/types/account-contact.types.d.ts +485 -0
  9. package/common/types/account-contact.types.js +75 -0
  10. package/common/types/account-contact.types.js.map +1 -0
  11. package/common/types/account-detail.types.d.ts +304 -0
  12. package/common/types/account-detail.types.js +20 -0
  13. package/common/types/account-detail.types.js.map +1 -0
  14. package/common/types/account-integration.types.d.ts +242 -0
  15. package/common/types/account-integration.types.js +121 -0
  16. package/common/types/account-integration.types.js.map +1 -0
  17. package/common/types/account-manager.types.d.ts +917 -0
  18. package/common/types/account-manager.types.js +89 -0
  19. package/common/types/account-manager.types.js.map +1 -0
  20. package/common/types/account-setting.types.d.ts +140 -0
  21. package/common/types/account-setting.types.js +23 -0
  22. package/common/types/account-setting.types.js.map +1 -0
  23. package/common/types/account.types.d.ts +640 -0
  24. package/common/types/account.types.js +218 -0
  25. package/common/types/account.types.js.map +1 -0
  26. package/common/types/activity.types.d.ts +590 -0
  27. package/common/types/activity.types.js +258 -0
  28. package/common/types/activity.types.js.map +1 -0
  29. package/common/types/address.types.d.ts +89 -0
  30. package/common/types/address.types.js +36 -0
  31. package/common/types/address.types.js.map +1 -0
  32. package/common/types/aic.types.d.ts +434 -0
  33. package/common/types/aic.types.js +170 -0
  34. package/common/types/aic.types.js.map +1 -0
  35. package/common/types/aml.types.d.ts +41 -0
  36. package/common/types/aml.types.js +16 -0
  37. package/common/types/aml.types.js.map +1 -0
  38. package/common/types/api-key-logs.types.d.ts +204 -0
  39. package/common/types/api-key-logs.types.js +52 -0
  40. package/common/types/api-key-logs.types.js.map +1 -0
  41. package/common/types/api-keys.types.d.ts +192 -0
  42. package/common/types/api-keys.types.js +57 -0
  43. package/common/types/api-keys.types.js.map +1 -0
  44. package/common/types/asset.types.d.ts +1100 -0
  45. package/common/types/asset.types.js +353 -0
  46. package/common/types/asset.types.js.map +1 -0
  47. package/common/types/auth.types.d.ts +523 -0
  48. package/common/types/auth.types.js +280 -0
  49. package/common/types/auth.types.js.map +1 -0
  50. package/common/types/batch-jobs.types.d.ts +321 -0
  51. package/common/types/batch-jobs.types.js +111 -0
  52. package/common/types/batch-jobs.types.js.map +1 -0
  53. package/common/types/bonus-tier.types.d.ts +991 -0
  54. package/common/types/bonus-tier.types.js +166 -0
  55. package/common/types/bonus-tier.types.js.map +1 -0
  56. package/common/types/cap-table.types.d.ts +1248 -0
  57. package/common/types/cap-table.types.js +437 -0
  58. package/common/types/cap-table.types.js.map +1 -0
  59. package/common/types/cart.types.d.ts +28 -0
  60. package/common/types/cart.types.js +19 -0
  61. package/common/types/cart.types.js.map +1 -0
  62. package/common/types/checklist-items.types.d.ts +195 -0
  63. package/common/types/checklist-items.types.js +54 -0
  64. package/common/types/checklist-items.types.js.map +1 -0
  65. package/common/types/checklist.types.d.ts +140 -0
  66. package/common/types/checklist.types.js +71 -0
  67. package/common/types/checklist.types.js.map +1 -0
  68. package/common/types/common.types.d.ts +1852 -0
  69. package/common/types/common.types.js +1502 -0
  70. package/common/types/common.types.js.map +1 -0
  71. package/common/types/comply-advantage-api.types.d.ts +3626 -0
  72. package/common/types/comply-advantage-api.types.js +291 -0
  73. package/common/types/comply-advantage-api.types.js.map +1 -0
  74. package/common/types/comply-advantage.types.d.ts +48 -0
  75. package/common/types/comply-advantage.types.js +21 -0
  76. package/common/types/comply-advantage.types.js.map +1 -0
  77. package/common/types/contact-us.types.d.ts +126 -0
  78. package/common/types/contact-us.types.js +91 -0
  79. package/common/types/contact-us.types.js.map +1 -0
  80. package/common/types/countries.types.d.ts +77 -0
  81. package/common/types/countries.types.js +349 -0
  82. package/common/types/countries.types.js.map +1 -0
  83. package/common/types/covered-person.types.d.ts +204 -0
  84. package/common/types/covered-person.types.js +234 -0
  85. package/common/types/covered-person.types.js.map +1 -0
  86. package/common/types/csv.types.d.ts +3606 -0
  87. package/common/types/csv.types.js +290 -0
  88. package/common/types/csv.types.js.map +1 -0
  89. package/common/types/dashboard.types.d.ts +2086 -0
  90. package/common/types/dashboard.types.js +690 -0
  91. package/common/types/dashboard.types.js.map +1 -0
  92. package/common/types/data-record.types.d.ts +347 -0
  93. package/common/types/data-record.types.js +261 -0
  94. package/common/types/data-record.types.js.map +1 -0
  95. package/common/types/data-room.types.d.ts +1277 -0
  96. package/common/types/data-room.types.js +167 -0
  97. package/common/types/data-room.types.js.map +1 -0
  98. package/common/types/default-theme-config.types.d.ts +445 -0
  99. package/common/types/default-theme-config.types.js +63 -0
  100. package/common/types/default-theme-config.types.js.map +1 -0
  101. package/common/types/disbursement-adjustment.types.d.ts +21 -0
  102. package/common/types/disbursement-adjustment.types.js +25 -0
  103. package/common/types/disbursement-adjustment.types.js.map +1 -0
  104. package/common/types/disbursement-approval-user.types.d.ts +935 -0
  105. package/common/types/disbursement-approval-user.types.js +68 -0
  106. package/common/types/disbursement-approval-user.types.js.map +1 -0
  107. package/common/types/disbursement-review.types.d.ts +923 -0
  108. package/common/types/disbursement-review.types.js +76 -0
  109. package/common/types/disbursement-review.types.js.map +1 -0
  110. package/common/types/disbursement-transaction.types.d.ts +621 -0
  111. package/common/types/disbursement-transaction.types.js +51 -0
  112. package/common/types/disbursement-transaction.types.js.map +1 -0
  113. package/common/types/disbursements.types.d.ts +3496 -0
  114. package/common/types/disbursements.types.js +435 -0
  115. package/common/types/disbursements.types.js.map +1 -0
  116. package/common/types/domain-filter.types.d.ts +135 -0
  117. package/common/types/domain-filter.types.js +40 -0
  118. package/common/types/domain-filter.types.js.map +1 -0
  119. package/common/types/email-theme.types.d.ts +1359 -0
  120. package/common/types/email-theme.types.js +318 -0
  121. package/common/types/email-theme.types.js.map +1 -0
  122. package/common/types/entity.types.d.ts +21 -0
  123. package/common/types/entity.types.js +14 -0
  124. package/common/types/entity.types.js.map +1 -0
  125. package/common/types/error-responses.types.d.ts +144 -0
  126. package/common/types/error-responses.types.js +125 -0
  127. package/common/types/error-responses.types.js.map +1 -0
  128. package/common/types/escrow-account.types.d.ts +415 -0
  129. package/common/types/escrow-account.types.js +78 -0
  130. package/common/types/escrow-account.types.js.map +1 -0
  131. package/common/types/exchange-api-key.types.d.ts +1010 -0
  132. package/common/types/exchange-api-key.types.js +90 -0
  133. package/common/types/exchange-api-key.types.js.map +1 -0
  134. package/common/types/exchange-import.types.d.ts +23 -0
  135. package/common/types/exchange-import.types.js +23 -0
  136. package/common/types/exchange-import.types.js.map +1 -0
  137. package/common/types/exchange-provider.types.d.ts +1308 -0
  138. package/common/types/exchange-provider.types.js +268 -0
  139. package/common/types/exchange-provider.types.js.map +1 -0
  140. package/common/types/file.types.d.ts +428 -0
  141. package/common/types/file.types.js +392 -0
  142. package/common/types/file.types.js.map +1 -0
  143. package/common/types/health.types.d.ts +112 -0
  144. package/common/types/health.types.js +22 -0
  145. package/common/types/health.types.js.map +1 -0
  146. package/common/types/i-will-do-it-later.types.d.ts +51 -0
  147. package/common/types/i-will-do-it-later.types.js +30 -0
  148. package/common/types/i-will-do-it-later.types.js.map +1 -0
  149. package/common/types/{index.ts → index.d.ts} +7 -3
  150. package/common/types/index.js +56 -0
  151. package/common/types/index.js.map +1 -0
  152. package/common/types/individuals.types.d.ts +2101 -0
  153. package/common/types/individuals.types.js +500 -0
  154. package/common/types/individuals.types.js.map +1 -0
  155. package/common/types/investor-account.types.d.ts +2996 -0
  156. package/common/types/investor-account.types.js +929 -0
  157. package/common/types/investor-account.types.js.map +1 -0
  158. package/common/types/investorAccountIdSchema.type.js +1 -0
  159. package/common/types/investorAccountIdSchema.type.js.map +1 -0
  160. package/common/types/investors-offering.types.d.ts +399 -0
  161. package/common/types/investors-offering.types.js +50 -0
  162. package/common/types/investors-offering.types.js.map +1 -0
  163. package/common/types/invite.types.d.ts +644 -0
  164. package/common/types/invite.types.js +114 -0
  165. package/common/types/invite.types.js.map +1 -0
  166. package/common/types/issuer-bank-account.types.d.ts +113 -0
  167. package/common/types/issuer-bank-account.types.js +81 -0
  168. package/common/types/issuer-bank-account.types.js.map +1 -0
  169. package/common/types/issuer-offering.types.d.ts +2236 -0
  170. package/common/types/issuer-offering.types.js +605 -0
  171. package/common/types/issuer-offering.types.js.map +1 -0
  172. package/common/types/issuer-payment-method.types.d.ts +1100 -0
  173. package/common/types/issuer-payment-method.types.js +311 -0
  174. package/common/types/issuer-payment-method.types.js.map +1 -0
  175. package/common/types/issuer.types.d.ts +539 -0
  176. package/common/types/issuer.types.js +275 -0
  177. package/common/types/issuer.types.js.map +1 -0
  178. package/common/types/job-item.types.d.ts +230 -0
  179. package/common/types/job-item.types.js +89 -0
  180. package/common/types/job-item.types.js.map +1 -0
  181. package/common/types/jobs.types.d.ts +296 -0
  182. package/common/types/jobs.types.js +150 -0
  183. package/common/types/jobs.types.js.map +1 -0
  184. package/common/types/kyb.types.d.ts +167 -0
  185. package/common/types/kyb.types.js +45 -0
  186. package/common/types/kyb.types.js.map +1 -0
  187. package/common/types/kyc.types.d.ts +2197 -0
  188. package/common/types/kyc.types.js +301 -0
  189. package/common/types/kyc.types.js.map +1 -0
  190. package/common/types/legal-entity.types.d.ts +676 -0
  191. package/common/types/legal-entity.types.js +151 -0
  192. package/common/types/legal-entity.types.js.map +1 -0
  193. package/common/types/login-history.types.d.ts +160 -0
  194. package/common/types/login-history.types.js +39 -0
  195. package/common/types/login-history.types.js.map +1 -0
  196. package/common/types/mail-template.types.d.ts +595 -0
  197. package/common/types/mail-template.types.js +401 -0
  198. package/common/types/mail-template.types.js.map +1 -0
  199. package/common/types/north-cap-integration.types.d.ts +1303 -0
  200. package/common/types/north-cap-integration.types.js +145 -0
  201. package/common/types/north-cap-integration.types.js.map +1 -0
  202. package/common/types/note.types.d.ts +216 -0
  203. package/common/types/note.types.js +82 -0
  204. package/common/types/note.types.js.map +1 -0
  205. package/common/types/notification.types.d.ts +2689 -0
  206. package/common/types/notification.types.js +408 -0
  207. package/common/types/notification.types.js.map +1 -0
  208. package/common/types/notion-api.types.d.ts +3626 -0
  209. package/common/types/notion-api.types.js +271 -0
  210. package/common/types/notion-api.types.js.map +1 -0
  211. package/common/types/notion-database.types.d.ts +191 -0
  212. package/common/types/notion-database.types.js +95 -0
  213. package/common/types/notion-database.types.js.map +1 -0
  214. package/common/types/notion-page.types.d.ts +3482 -0
  215. package/common/types/notion-page.types.js +208 -0
  216. package/common/types/notion-page.types.js.map +1 -0
  217. package/common/types/offering-reports.types.d.ts +525 -0
  218. package/common/types/offering-reports.types.js +111 -0
  219. package/common/types/offering-reports.types.js.map +1 -0
  220. package/common/types/offering-submission.types.d.ts +785 -0
  221. package/common/types/offering-submission.types.js +291 -0
  222. package/common/types/offering-submission.types.js.map +1 -0
  223. package/common/types/offering.types.d.ts +2859 -0
  224. package/common/types/offering.types.js +832 -0
  225. package/common/types/offering.types.js.map +1 -0
  226. package/common/types/page-revision.types.d.ts +74 -0
  227. package/common/types/page-revision.types.js +68 -0
  228. package/common/types/page-revision.types.js.map +1 -0
  229. package/common/types/page.types.d.ts +540 -0
  230. package/common/types/page.types.js +361 -0
  231. package/common/types/page.types.js.map +1 -0
  232. package/common/types/password.type.d.ts +2 -0
  233. package/common/types/password.type.js +14 -0
  234. package/common/types/password.type.js.map +1 -0
  235. package/common/types/payment-methods.types.d.ts +800 -0
  236. package/common/types/payment-methods.types.js +260 -0
  237. package/common/types/payment-methods.types.js.map +1 -0
  238. package/common/types/phone.type.d.ts +12 -0
  239. package/common/types/phone.type.js +29 -0
  240. package/common/types/phone.type.js.map +1 -0
  241. package/common/types/portfolio.types.d.ts +185 -0
  242. package/common/types/portfolio.types.js +36 -0
  243. package/common/types/portfolio.types.js.map +1 -0
  244. package/common/types/privacy-policy-and-tos.types.d.ts +2 -0
  245. package/common/types/{privacy-policy-and-tos.types.ts → privacy-policy-and-tos.types.js} +1 -1
  246. package/common/types/privacy-policy-and-tos.types.js.map +1 -0
  247. package/common/types/queue.types.d.ts +22 -0
  248. package/common/types/queue.types.js +73 -0
  249. package/common/types/queue.types.js.map +1 -0
  250. package/common/types/registered-reps.types.d.ts +6 -0
  251. package/common/types/registered-reps.types.js +21 -0
  252. package/common/types/registered-reps.types.js.map +1 -0
  253. package/common/types/rejection-reasons.types.d.ts +35 -0
  254. package/common/types/rejection-reasons.types.js +49 -0
  255. package/common/types/rejection-reasons.types.js.map +1 -0
  256. package/common/types/reports.types.d.ts +345 -0
  257. package/common/types/reports.types.js +69 -0
  258. package/common/types/reports.types.js.map +1 -0
  259. package/common/types/review.types.d.ts +419 -0
  260. package/common/types/review.types.js +101 -0
  261. package/common/types/review.types.js.map +1 -0
  262. package/common/types/role.types.d.ts +30 -0
  263. package/common/types/role.types.js +21 -0
  264. package/common/types/role.types.js.map +1 -0
  265. package/common/types/secondary-customer.types.d.ts +586 -0
  266. package/common/types/secondary-customer.types.js +39 -0
  267. package/common/types/secondary-customer.types.js.map +1 -0
  268. package/common/types/secondary-issuer.types.d.ts +283 -0
  269. package/common/types/secondary-issuer.types.js +37 -0
  270. package/common/types/secondary-issuer.types.js.map +1 -0
  271. package/common/types/secondary-order.types.d.ts +508 -0
  272. package/common/types/secondary-order.types.js +40 -0
  273. package/common/types/secondary-order.types.js.map +1 -0
  274. package/common/types/secondary-security.types.d.ts +175 -0
  275. package/common/types/secondary-security.types.js +45 -0
  276. package/common/types/secondary-security.types.js.map +1 -0
  277. package/common/types/secondary-trade.entity.d.ts +16 -0
  278. package/common/types/secondary-trade.entity.js +12 -0
  279. package/common/types/secondary-trade.entity.js.map +1 -0
  280. package/common/types/secondary-trade.types.d.ts +465 -0
  281. package/common/types/secondary-trade.types.js +61 -0
  282. package/common/types/secondary-trade.types.js.map +1 -0
  283. package/common/types/secure-request.types.d.ts +171 -0
  284. package/common/types/secure-request.types.js +51 -0
  285. package/common/types/secure-request.types.js.map +1 -0
  286. package/common/types/signer.types.d.ts +3406 -0
  287. package/common/types/signer.types.js +532 -0
  288. package/common/types/signer.types.js.map +1 -0
  289. package/common/types/site-link.types.d.ts +875 -0
  290. package/common/types/site-link.types.js +126 -0
  291. package/common/types/site-link.types.js.map +1 -0
  292. package/common/types/site-settings.types.d.ts +1673 -0
  293. package/common/types/site-settings.types.js +500 -0
  294. package/common/types/site-settings.types.js.map +1 -0
  295. package/common/types/site.types.d.ts +1481 -0
  296. package/common/types/site.types.js +213 -0
  297. package/common/types/site.types.js.map +1 -0
  298. package/common/types/sms.types.d.ts +40 -0
  299. package/common/types/sms.types.js +27 -0
  300. package/common/types/sms.types.js.map +1 -0
  301. package/common/types/state-machine.types.d.ts +591 -0
  302. package/common/types/state-machine.types.js +144 -0
  303. package/common/types/state-machine.types.js.map +1 -0
  304. package/common/types/states.types.d.ts +77 -0
  305. package/common/types/states.types.js +137 -0
  306. package/common/types/states.types.js.map +1 -0
  307. package/common/types/subdoc-preview.types.d.ts +379 -0
  308. package/common/types/subdoc-preview.types.js +24 -0
  309. package/common/types/subdoc-preview.types.js.map +1 -0
  310. package/common/types/task.types.d.ts +545 -0
  311. package/common/types/task.types.js +214 -0
  312. package/common/types/task.types.js.map +1 -0
  313. package/common/types/trade-adjustment.type.d.ts +40 -0
  314. package/common/types/trade-adjustment.type.js +26 -0
  315. package/common/types/trade-adjustment.type.js.map +1 -0
  316. package/common/types/trade-line-item.types.d.ts +353 -0
  317. package/common/types/trade-line-item.types.js +103 -0
  318. package/common/types/trade-line-item.types.js.map +1 -0
  319. package/common/types/trade.types.d.ts +2016 -0
  320. package/common/types/trade.types.js +805 -0
  321. package/common/types/trade.types.js.map +1 -0
  322. package/common/types/transaction.types.d.ts +453 -0
  323. package/common/types/transaction.types.js +173 -0
  324. package/common/types/transaction.types.js.map +1 -0
  325. package/common/types/trusted-contact.types.d.ts +440 -0
  326. package/common/types/trusted-contact.types.js +95 -0
  327. package/common/types/trusted-contact.types.js.map +1 -0
  328. package/common/types/typography.types.d.ts +52 -0
  329. package/common/types/typography.types.js +67 -0
  330. package/common/types/typography.types.js.map +1 -0
  331. package/common/types/user-manual.types.d.ts +287 -0
  332. package/common/types/user-manual.types.js +192 -0
  333. package/common/types/user-manual.types.js.map +1 -0
  334. package/common/types/user-setting.types.d.ts +273 -0
  335. package/common/types/user-setting.types.js +85 -0
  336. package/common/types/user-setting.types.js.map +1 -0
  337. package/common/types/user.types.d.ts +1977 -0
  338. package/common/types/user.types.js +225 -0
  339. package/common/types/user.types.js.map +1 -0
  340. package/common/types/webhook.types.d.ts +10829 -0
  341. package/common/types/webhook.types.js +658 -0
  342. package/common/types/webhook.types.js.map +1 -0
  343. package/common/types/zip.type.d.ts +35 -0
  344. package/common/types/zip.type.js +28 -0
  345. package/common/types/zip.type.js.map +1 -0
  346. package/contracts/clients/accounts/index.d.ts +308 -0
  347. package/contracts/clients/accounts/index.js +43 -0
  348. package/contracts/clients/accounts/index.js.map +1 -0
  349. package/contracts/clients/aic/index.d.ts +280 -0
  350. package/contracts/clients/aic/index.js +47 -0
  351. package/contracts/clients/aic/index.js.map +1 -0
  352. package/contracts/clients/api-key-logs/index.d.ts +287 -0
  353. package/contracts/clients/api-key-logs/index.js +37 -0
  354. package/contracts/clients/api-key-logs/index.js.map +1 -0
  355. package/contracts/clients/api-keys/index.d.ts +374 -0
  356. package/contracts/clients/api-keys/index.js +59 -0
  357. package/contracts/clients/api-keys/index.js.map +1 -0
  358. package/contracts/clients/assets/index.d.ts +1050 -0
  359. package/contracts/clients/assets/index.js +80 -0
  360. package/contracts/clients/assets/index.js.map +1 -0
  361. package/contracts/clients/auth/index.d.ts +236 -0
  362. package/contracts/clients/auth/index.js +38 -0
  363. package/contracts/clients/auth/index.js.map +1 -0
  364. package/contracts/clients/cart/index.d.ts +229 -0
  365. package/contracts/clients/cart/index.js +63 -0
  366. package/contracts/clients/cart/index.js.map +1 -0
  367. package/contracts/clients/csv/index.d.ts +1800 -0
  368. package/contracts/clients/csv/index.js +96 -0
  369. package/contracts/clients/csv/index.js.map +1 -0
  370. package/contracts/clients/files/index.d.ts +552 -0
  371. package/contracts/clients/files/index.js +142 -0
  372. package/contracts/clients/files/index.js.map +1 -0
  373. package/contracts/clients/files-public/index.d.ts +552 -0
  374. package/contracts/clients/files-public/index.js +142 -0
  375. package/contracts/clients/files-public/index.js.map +1 -0
  376. package/contracts/clients/index.d.ts +14689 -0
  377. package/contracts/clients/index.js +56 -0
  378. package/contracts/clients/index.js.map +1 -0
  379. package/contracts/clients/individuals/index.d.ts +3199 -0
  380. package/contracts/clients/individuals/index.js +74 -0
  381. package/contracts/clients/individuals/index.js.map +1 -0
  382. package/contracts/clients/investor-accounts/index.d.ts +339 -0
  383. package/contracts/clients/investor-accounts/index.js +73 -0
  384. package/contracts/clients/investor-accounts/index.js.map +1 -0
  385. package/contracts/clients/issuer-payment-methods/index.d.ts +276 -0
  386. package/contracts/clients/issuer-payment-methods/index.js +24 -0
  387. package/contracts/clients/issuer-payment-methods/index.js.map +1 -0
  388. package/contracts/clients/issuers/index.d.ts +449 -0
  389. package/contracts/clients/issuers/index.js +75 -0
  390. package/contracts/clients/issuers/index.js.map +1 -0
  391. package/contracts/clients/kyc/index.d.ts +345 -0
  392. package/contracts/clients/kyc/index.js +49 -0
  393. package/contracts/clients/kyc/index.js.map +1 -0
  394. package/contracts/clients/legal-entities/index.d.ts +887 -0
  395. package/contracts/clients/legal-entities/index.js +74 -0
  396. package/contracts/clients/legal-entities/index.js.map +1 -0
  397. package/contracts/clients/offerings/index.d.ts +1068 -0
  398. package/contracts/clients/offerings/index.js +95 -0
  399. package/contracts/clients/offerings/index.js.map +1 -0
  400. package/contracts/clients/payment-methods/index.d.ts +456 -0
  401. package/contracts/clients/payment-methods/index.js +68 -0
  402. package/contracts/clients/payment-methods/index.js.map +1 -0
  403. package/contracts/clients/review/index.d.ts +85 -0
  404. package/contracts/clients/review/index.js +27 -0
  405. package/contracts/clients/review/index.js.map +1 -0
  406. package/contracts/clients/secure-requests/index.d.ts +100 -0
  407. package/contracts/clients/secure-requests/index.js +22 -0
  408. package/contracts/clients/secure-requests/index.js.map +1 -0
  409. package/contracts/clients/sites/index.d.ts +657 -0
  410. package/contracts/clients/sites/index.js +40 -0
  411. package/contracts/clients/sites/index.js.map +1 -0
  412. package/contracts/clients/trade-line-items/index.d.ts +216 -0
  413. package/contracts/clients/trade-line-items/index.js +47 -0
  414. package/contracts/clients/trade-line-items/index.js.map +1 -0
  415. package/contracts/clients/trades/index.d.ts +871 -0
  416. package/contracts/clients/trades/index.js +156 -0
  417. package/contracts/clients/trades/index.js.map +1 -0
  418. package/contracts/clients/transactions/index.d.ts +88 -0
  419. package/contracts/clients/transactions/index.js +25 -0
  420. package/contracts/clients/transactions/index.js.map +1 -0
  421. package/package.json +27 -36
  422. package/common/helpers/index.ts +0 -59
  423. package/common/types/account-contact.types.ts +0 -98
  424. package/common/types/account-detail.types.ts +0 -27
  425. package/common/types/account-integration.types.ts +0 -143
  426. package/common/types/account-manager.types.ts +0 -124
  427. package/common/types/account.types.ts +0 -296
  428. package/common/types/activity.types.ts +0 -274
  429. package/common/types/address.types.ts +0 -41
  430. package/common/types/aic.types.ts +0 -246
  431. package/common/types/aml.types.ts +0 -18
  432. package/common/types/api-key-logs.types.ts +0 -66
  433. package/common/types/api-keys.types.ts +0 -69
  434. package/common/types/asset.types.ts +0 -338
  435. package/common/types/auth.types.ts +0 -370
  436. package/common/types/batch-jobs.types.ts +0 -151
  437. package/common/types/bonus-tier.types.ts +0 -147
  438. package/common/types/cart.types.ts +0 -18
  439. package/common/types/checklist-items.types.ts +0 -70
  440. package/common/types/checklist.types.ts +0 -97
  441. package/common/types/common.types.ts +0 -1520
  442. package/common/types/comply-advantage-api.types.ts +0 -316
  443. package/common/types/comply-advantage.types.ts +0 -25
  444. package/common/types/contact-us.types.ts +0 -107
  445. package/common/types/countries.types.ts +0 -375
  446. package/common/types/covered-person.types.ts +0 -274
  447. package/common/types/dashboard.types.ts +0 -799
  448. package/common/types/data-record.types.ts +0 -325
  449. package/common/types/data-room.types.ts +0 -242
  450. package/common/types/default-theme-config.types.ts +0 -87
  451. package/common/types/disbursement-adjustment.types.ts +0 -32
  452. package/common/types/disbursement-approval-user.types.ts +0 -100
  453. package/common/types/disbursement-review.types.ts +0 -110
  454. package/common/types/disbursement-transaction.types.ts +0 -72
  455. package/common/types/disbursements.types.ts +0 -426
  456. package/common/types/domain-filter.types.ts +0 -55
  457. package/common/types/email-theme.types.ts +0 -442
  458. package/common/types/entity.types.ts +0 -15
  459. package/common/types/error-responses.types.ts +0 -135
  460. package/common/types/escrow-account.types.ts +0 -104
  461. package/common/types/exchange-api-key.types.ts +0 -121
  462. package/common/types/exchange-import.types.ts +0 -36
  463. package/common/types/exchange-provider.types.ts +0 -329
  464. package/common/types/file.types.ts +0 -477
  465. package/common/types/health.types.ts +0 -29
  466. package/common/types/i-will-do-it-later.types.ts +0 -68
  467. package/common/types/individuals.types.ts +0 -541
  468. package/common/types/investor-account.types.ts +0 -1239
  469. package/common/types/investors-offering.types.ts +0 -65
  470. package/common/types/invite.types.ts +0 -133
  471. package/common/types/issuer-bank-account.types.ts +0 -107
  472. package/common/types/issuer-offering.types.ts +0 -395
  473. package/common/types/issuer-payment-method.types.ts +0 -382
  474. package/common/types/issuer.types.ts +0 -321
  475. package/common/types/job-item.types.ts +0 -119
  476. package/common/types/jobs.types.ts +0 -171
  477. package/common/types/kyb.types.ts +0 -53
  478. package/common/types/kyc.types.ts +0 -188
  479. package/common/types/legal-entity.types.ts +0 -185
  480. package/common/types/login-history.types.ts +0 -46
  481. package/common/types/mail-template.types.ts +0 -436
  482. package/common/types/north-cap-integration.types.ts +0 -190
  483. package/common/types/note.types.ts +0 -109
  484. package/common/types/notification.types.ts +0 -58
  485. package/common/types/notion-api.types.ts +0 -374
  486. package/common/types/notion-database.types.ts +0 -125
  487. package/common/types/notion-page.types.ts +0 -267
  488. package/common/types/offering-reports.types.ts +0 -153
  489. package/common/types/offering-submission.types.ts +0 -314
  490. package/common/types/offering.types.ts +0 -683
  491. package/common/types/page-revision.types.ts +0 -86
  492. package/common/types/page.types.ts +0 -436
  493. package/common/types/password.type.ts +0 -15
  494. package/common/types/payment-methods.types.ts +0 -298
  495. package/common/types/phone.type.ts +0 -27
  496. package/common/types/portfolio.types.ts +0 -50
  497. package/common/types/queue.types.ts +0 -112
  498. package/common/types/registered-reps.types.ts +0 -25
  499. package/common/types/rejection-reasons.types.ts +0 -56
  500. package/common/types/reminder-config.types.ts +0 -40
  501. package/common/types/review.types.ts +0 -133
  502. package/common/types/role.types.ts +0 -26
  503. package/common/types/secondary-customer.types.ts +0 -66
  504. package/common/types/secondary-issuer.types.ts +0 -50
  505. package/common/types/secondary-order.types.ts +0 -58
  506. package/common/types/secondary-security.types.ts +0 -60
  507. package/common/types/secondary-trade.entity.ts +0 -16
  508. package/common/types/secondary-trade.types.ts +0 -95
  509. package/common/types/secure-request.types.ts +0 -68
  510. package/common/types/signer.types.ts +0 -651
  511. package/common/types/site-link.types.ts +0 -166
  512. package/common/types/site-settings.types.ts +0 -726
  513. package/common/types/site.types.ts +0 -270
  514. package/common/types/sms.types.ts +0 -30
  515. package/common/types/state-machine.types.ts +0 -177
  516. package/common/types/states.types.ts +0 -163
  517. package/common/types/subdoc-preview.types.ts +0 -35
  518. package/common/types/task.types.ts +0 -258
  519. package/common/types/trade-adjustment.type.ts +0 -33
  520. package/common/types/trade-line-item.type.ts +0 -132
  521. package/common/types/trade.types.ts +0 -999
  522. package/common/types/transaction.types.ts +0 -198
  523. package/common/types/trusted-contact.types.ts +0 -122
  524. package/common/types/typography.types.ts +0 -75
  525. package/common/types/user-manual.types.ts +0 -290
  526. package/common/types/user-setting.types.ts +0 -133
  527. package/common/types/user.types.ts +0 -320
  528. package/common/types/webhook.types.ts +0 -588
  529. package/common/types/zip.type.ts +0 -36
  530. package/contracts/clients/accounts/index.ts +0 -61
  531. package/contracts/clients/aic/index.ts +0 -59
  532. package/contracts/clients/api-key-logs/index.ts +0 -53
  533. package/contracts/clients/api-keys/index.ts +0 -73
  534. package/contracts/clients/assets/index.ts +0 -102
  535. package/contracts/clients/auth/index.ts +0 -50
  536. package/contracts/clients/cart/index.ts +0 -60
  537. package/contracts/clients/files/index.ts +0 -166
  538. package/contracts/clients/files-public/index.ts +0 -166
  539. package/contracts/clients/index.ts +0 -52
  540. package/contracts/clients/individuals/index.ts +0 -93
  541. package/contracts/clients/investor-accounts/index.ts +0 -93
  542. package/contracts/clients/issuer-payment-methods/index.ts +0 -39
  543. package/contracts/clients/issuers/index.ts +0 -94
  544. package/contracts/clients/legal-entities/index.ts +0 -93
  545. package/contracts/clients/offerings/index.ts +0 -117
  546. package/contracts/clients/payment-methods/index.ts +0 -85
  547. package/contracts/clients/secure-requests/index.ts +0 -34
  548. package/contracts/clients/sites/index.ts +0 -56
  549. package/contracts/clients/trade-line-items/index.ts +0 -66
  550. package/contracts/clients/trades/index.ts +0 -186
  551. package/contracts/compliance/account-contacts/index.ts +0 -82
  552. package/contracts/compliance/account-managers/index.ts +0 -142
  553. package/contracts/compliance/accounts/index.ts +0 -187
  554. package/contracts/compliance/activities/index.ts +0 -55
  555. package/contracts/compliance/aic/index.ts +0 -60
  556. package/contracts/compliance/api-keys/index.ts +0 -91
  557. package/contracts/compliance/assets/index.ts +0 -122
  558. package/contracts/compliance/auth/index.ts +0 -134
  559. package/contracts/compliance/batch-jobs/index.ts +0 -62
  560. package/contracts/compliance/bonus-tiers/index.ts +0 -55
  561. package/contracts/compliance/checklist/index.ts +0 -87
  562. package/contracts/compliance/checklist-items/index.ts +0 -86
  563. package/contracts/compliance/covered-persons/index.ts +0 -97
  564. package/contracts/compliance/dashboard/index.ts +0 -111
  565. package/contracts/compliance/data-records/index.ts +0 -116
  566. package/contracts/compliance/data-rooms/index.ts +0 -113
  567. package/contracts/compliance/default-theme-configs/index.ts +0 -95
  568. package/contracts/compliance/disbursement/index.ts +0 -165
  569. package/contracts/compliance/disbursement-approval-users/index.ts +0 -84
  570. package/contracts/compliance/disbursement-transactions/index.ts +0 -37
  571. package/contracts/compliance/domain-filters/index.ts +0 -117
  572. package/contracts/compliance/email-themes/index.ts +0 -284
  573. package/contracts/compliance/escrow-accounts/index.ts +0 -85
  574. package/contracts/compliance/exchange-api-keys/index.ts +0 -129
  575. package/contracts/compliance/exchange-imports/index.ts +0 -137
  576. package/contracts/compliance/files/index.ts +0 -267
  577. package/contracts/compliance/files-public/index.ts +0 -188
  578. package/contracts/compliance/health/index.ts +0 -26
  579. package/contracts/compliance/index.ts +0 -147
  580. package/contracts/compliance/individuals/index.ts +0 -57
  581. package/contracts/compliance/investor-accounts/index.ts +0 -141
  582. package/contracts/compliance/invites/index.ts +0 -137
  583. package/contracts/compliance/issuer-bank-accounts/index.ts +0 -81
  584. package/contracts/compliance/issuer-payment-methods/index.ts +0 -81
  585. package/contracts/compliance/issuers/index.ts +0 -97
  586. package/contracts/compliance/job-items/index.ts +0 -58
  587. package/contracts/compliance/jobs/index.ts +0 -59
  588. package/contracts/compliance/kyb/index.ts +0 -54
  589. package/contracts/compliance/kyc/index.ts +0 -77
  590. package/contracts/compliance/legal-entities/index.ts +0 -57
  591. package/contracts/compliance/login-histories/index.ts +0 -37
  592. package/contracts/compliance/notes/index.ts +0 -69
  593. package/contracts/compliance/notion-databases/index.ts +0 -107
  594. package/contracts/compliance/notion-pages/index.ts +0 -105
  595. package/contracts/compliance/offering-reports/index.ts +0 -149
  596. package/contracts/compliance/offerings/index.ts +0 -233
  597. package/contracts/compliance/pages/index.ts +0 -178
  598. package/contracts/compliance/payment-methods/index.ts +0 -57
  599. package/contracts/compliance/rejection-reasons/index.ts +0 -32
  600. package/contracts/compliance/review/index.ts +0 -169
  601. package/contracts/compliance/roles/index.ts +0 -34
  602. package/contracts/compliance/secondary-customers/index.ts +0 -77
  603. package/contracts/compliance/secondary-orders/index.ts +0 -60
  604. package/contracts/compliance/secondary-trades/index.ts +0 -100
  605. package/contracts/compliance/secure-requests/index.ts +0 -54
  606. package/contracts/compliance/signer/index.ts +0 -369
  607. package/contracts/compliance/site-links/index.ts +0 -128
  608. package/contracts/compliance/site-settings/index.ts +0 -669
  609. package/contracts/compliance/sites/index.ts +0 -56
  610. package/contracts/compliance/state-machine/index.ts +0 -94
  611. package/contracts/compliance/tasks/index.ts +0 -91
  612. package/contracts/compliance/third-parties/index.ts +0 -52
  613. package/contracts/compliance/trade-line-items/index.ts +0 -59
  614. package/contracts/compliance/trades/index.ts +0 -230
  615. package/contracts/compliance/transactions/index.ts +0 -161
  616. package/contracts/compliance/user-manuals/index.ts +0 -271
  617. package/contracts/compliance/user-settings/index.ts +0 -189
  618. package/contracts/compliance/users/index.ts +0 -200
  619. package/contracts/compliance/webhooks/index.ts +0 -41
  620. package/contracts/compliance-apikey/accounts/index.ts +0 -58
  621. package/contracts/compliance-apikey/index.ts +0 -14
  622. package/contracts/index.ts +0 -6
  623. package/contracts/investors/account-contacts/index.ts +0 -58
  624. package/contracts/investors/aic/index.ts +0 -59
  625. package/contracts/investors/assets/index.ts +0 -61
  626. package/contracts/investors/auth/index.ts +0 -116
  627. package/contracts/investors/bonus-tiers/index.ts +0 -37
  628. package/contracts/investors/cart/index.ts +0 -75
  629. package/contracts/investors/contact-us/index.ts +0 -48
  630. package/contracts/investors/data-records/index.ts +0 -113
  631. package/contracts/investors/data-rooms/index.ts +0 -96
  632. package/contracts/investors/files/index.ts +0 -167
  633. package/contracts/investors/files-public/index.ts +0 -185
  634. package/contracts/investors/index.ts +0 -72
  635. package/contracts/investors/individuals/index.ts +0 -121
  636. package/contracts/investors/investor-accounts/index.ts +0 -110
  637. package/contracts/investors/issuer-payment-methods/index.ts +0 -36
  638. package/contracts/investors/issuers/index.ts +0 -30
  639. package/contracts/investors/legal-entities/index.ts +0 -93
  640. package/contracts/investors/notes/index.ts +0 -69
  641. package/contracts/investors/offerings/index.ts +0 -93
  642. package/contracts/investors/pages/index.ts +0 -88
  643. package/contracts/investors/payment-methods/index.ts +0 -149
  644. package/contracts/investors/portfolios/index.ts +0 -53
  645. package/contracts/investors/sites/index.ts +0 -96
  646. package/contracts/investors/tasks/index.ts +0 -111
  647. package/contracts/investors/trade-line-items/index.ts +0 -75
  648. package/contracts/investors/trades/index.ts +0 -114
  649. package/contracts/investors/transactions/index.ts +0 -37
  650. package/contracts/investors/trusted-contacts/index.ts +0 -93
  651. package/contracts/investors/user-manuals/index.ts +0 -62
  652. package/contracts/investors/user-settings/index.ts +0 -170
  653. package/contracts/investors/users/index.ts +0 -45
  654. package/contracts/investors/webhooks/index.ts +0 -30
  655. package/contracts/issuers/account-contacts/index.ts +0 -76
  656. package/contracts/issuers/account-integrations/index.ts +0 -97
  657. package/contracts/issuers/accounts/index.ts +0 -97
  658. package/contracts/issuers/activities/index.ts +0 -54
  659. package/contracts/issuers/aic/index.ts +0 -39
  660. package/contracts/issuers/api-key-logs/index.ts +0 -53
  661. package/contracts/issuers/api-keys/index.ts +0 -93
  662. package/contracts/issuers/assets/index.ts +0 -122
  663. package/contracts/issuers/auth/index.ts +0 -152
  664. package/contracts/issuers/bonus-tiers/index.ts +0 -55
  665. package/contracts/issuers/contact-us/index.ts +0 -48
  666. package/contracts/issuers/covered-persons/index.ts +0 -136
  667. package/contracts/issuers/dashboard/index.ts +0 -72
  668. package/contracts/issuers/data-records/index.ts +0 -257
  669. package/contracts/issuers/data-rooms/index.ts +0 -134
  670. package/contracts/issuers/disbursement-approval-users/index.ts +0 -82
  671. package/contracts/issuers/disbursement-transactions/index.ts +0 -53
  672. package/contracts/issuers/disbursements/index.ts +0 -189
  673. package/contracts/issuers/email-themes/index.ts +0 -242
  674. package/contracts/issuers/escrow-accounts/index.ts +0 -81
  675. package/contracts/issuers/exchange-api-keys/index.ts +0 -144
  676. package/contracts/issuers/files/index.ts +0 -166
  677. package/contracts/issuers/files-public/index.ts +0 -166
  678. package/contracts/issuers/health/index.ts +0 -24
  679. package/contracts/issuers/index.ts +0 -112
  680. package/contracts/issuers/investor-accounts/index.ts +0 -148
  681. package/contracts/issuers/invites/index.ts +0 -129
  682. package/contracts/issuers/issuer/index.ts +0 -94
  683. package/contracts/issuers/issuer-bank-accounts/index.ts +0 -81
  684. package/contracts/issuers/issuer-payment-methods/index.ts +0 -136
  685. package/contracts/issuers/kyc/index.ts +0 -38
  686. package/contracts/issuers/login-histories/index.ts +0 -51
  687. package/contracts/issuers/notes/index.ts +0 -69
  688. package/contracts/issuers/offerings/index.ts +0 -206
  689. package/contracts/issuers/pages/index.ts +0 -138
  690. package/contracts/issuers/payment-methods/index.ts +0 -61
  691. package/contracts/issuers/portfolios/index.ts +0 -36
  692. package/contracts/issuers/rejection-reasons/index.ts +0 -32
  693. package/contracts/issuers/review/index.ts +0 -63
  694. package/contracts/issuers/secondary-customers/index.ts +0 -55
  695. package/contracts/issuers/secondary-orders/index.ts +0 -57
  696. package/contracts/issuers/secondary-trades/index.ts +0 -57
  697. package/contracts/issuers/secure-requests/index.ts +0 -34
  698. package/contracts/issuers/site-links/index.ts +0 -116
  699. package/contracts/issuers/site-settings/index.ts +0 -585
  700. package/contracts/issuers/sites/index.ts +0 -32
  701. package/contracts/issuers/tasks/index.ts +0 -111
  702. package/contracts/issuers/trades/index.ts +0 -132
  703. package/contracts/issuers/transactions/index.ts +0 -158
  704. package/contracts/issuers/user-manuals/index.ts +0 -62
  705. package/contracts/issuers/user-settings/index.ts +0 -170
  706. package/contracts/issuers/users/index.ts +0 -126
  707. package/contracts/secondaries/accounts/index.ts +0 -58
  708. package/contracts/secondaries/index.ts +0 -23
  709. package/contracts/secondaries/secondary-customers/index.ts +0 -55
  710. package/contracts/secondaries/secondary-issuers/index.ts +0 -94
  711. package/contracts/secondaries/secondary-orders/index.ts +0 -56
  712. package/contracts/secondaries/secondary-securities/index.ts +0 -95
  713. package/contracts/secondaries/secondary-trades/index.ts +0 -56
  714. /package/common/types/{investorAccountIdSchema.type.ts → investorAccountIdSchema.type.d.ts} +0 -0
@@ -0,0 +1,3606 @@
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
+ /**
183
+ * Base schema for INDIVIDUAL investor accounts
184
+ * Includes common registration fields, individual updates, and address
185
+ */
186
+ export declare const BaseIndividualCsvFields: z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
187
+ firstName: z.ZodString;
188
+ lastName: z.ZodString;
189
+ email: z.ZodEffects<z.ZodString, string, string>;
190
+ password: z.ZodString;
191
+ confirmPassword: z.ZodString;
192
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
193
+ isOk: () => boolean;
194
+ isErr: () => boolean;
195
+ value?: any;
196
+ error?: any;
197
+ } | import("neverthrow").Ok<null, never>, string | null>, {
198
+ isOk: () => boolean;
199
+ isErr: () => boolean;
200
+ value?: any;
201
+ error?: any;
202
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
203
+ } & {
204
+ site: z.ZodOptional<z.ZodString>;
205
+ }, "strip", z.ZodTypeAny, {
206
+ firstName: string;
207
+ lastName: string;
208
+ email: string;
209
+ password: string;
210
+ confirmPassword: string;
211
+ site?: string | undefined;
212
+ phoneNumber?: any;
213
+ }, {
214
+ firstName: string;
215
+ lastName: string;
216
+ email: string;
217
+ password: string;
218
+ confirmPassword: string;
219
+ site?: string | undefined;
220
+ phoneNumber?: string | null | undefined;
221
+ }>, z.ZodObject<{
222
+ email: z.ZodOptional<z.ZodString>;
223
+ name: z.ZodOptional<z.ZodString>;
224
+ tid: z.ZodOptional<z.ZodString>;
225
+ } & {
226
+ investorAccountType: z.ZodOptional<z.ZodNativeEnum<typeof InvestorAccountType>>;
227
+ userId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
228
+ }, "strip", z.ZodTypeAny, {
229
+ email?: string | undefined;
230
+ name?: string | undefined;
231
+ tid?: string | undefined;
232
+ userId?: string | undefined;
233
+ investorAccountType?: InvestorAccountType | undefined;
234
+ }, {
235
+ email?: string | undefined;
236
+ name?: string | undefined;
237
+ tid?: string | undefined;
238
+ userId?: string | undefined;
239
+ investorAccountType?: InvestorAccountType | undefined;
240
+ }>>, z.ZodObject<{
241
+ lastName: z.ZodOptional<z.ZodString>;
242
+ firstName: z.ZodOptional<z.ZodString>;
243
+ dob: z.ZodOptional<z.ZodDate>;
244
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
245
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
246
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
247
+ currencyCode: z.ZodOptional<z.ZodString>;
248
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
249
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
250
+ isOk: () => boolean;
251
+ isErr: () => boolean;
252
+ value?: any;
253
+ error?: any;
254
+ } | import("neverthrow").Ok<null, never>, string | null>, {
255
+ isOk: () => boolean;
256
+ isErr: () => boolean;
257
+ value?: any;
258
+ error?: any;
259
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
260
+ ownership: z.ZodOptional<z.ZodNumber>;
261
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
262
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
263
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
264
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
265
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
266
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
267
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
268
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
269
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
270
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
271
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
272
+ tid: z.ZodOptional<z.ZodString>;
273
+ } & {
274
+ investorAccountId: z.ZodOptional<z.ZodString>;
275
+ role: z.ZodOptional<z.ZodNativeEnum<typeof IndividualRole>>;
276
+ }, "strip", z.ZodTypeAny, {
277
+ firstName?: string | undefined;
278
+ lastName?: string | undefined;
279
+ email?: string | undefined;
280
+ role?: IndividualRole | undefined;
281
+ tid?: string | undefined;
282
+ phone?: any;
283
+ investorAccountId?: string | undefined;
284
+ currencyCode?: string | undefined;
285
+ liquidNetWorth?: number | undefined;
286
+ dob?: Date | undefined;
287
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
288
+ citizenship?: string | undefined;
289
+ ssn?: string | null | undefined;
290
+ investedInCrowdfunding?: number | undefined;
291
+ currentAnnualIncome?: number | undefined;
292
+ employerName?: string | null | undefined;
293
+ setupStep?: import("./common.types").SetupStepType | undefined;
294
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
295
+ ownership?: number | undefined;
296
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
297
+ custodianName?: string | null | undefined;
298
+ custodianAccountNumber?: string | null | undefined;
299
+ custodianRepresentativeName?: string | null | undefined;
300
+ custodianEmail?: string | null | undefined;
301
+ }, {
302
+ firstName?: string | undefined;
303
+ lastName?: string | undefined;
304
+ email?: string | undefined;
305
+ role?: IndividualRole | undefined;
306
+ tid?: string | undefined;
307
+ phone?: string | null | undefined;
308
+ investorAccountId?: string | undefined;
309
+ currencyCode?: string | undefined;
310
+ liquidNetWorth?: number | undefined;
311
+ dob?: Date | undefined;
312
+ isUsCitizenOrGreenCardHolder?: unknown;
313
+ citizenship?: string | undefined;
314
+ ssn?: string | null | undefined;
315
+ investedInCrowdfunding?: number | undefined;
316
+ currentAnnualIncome?: number | undefined;
317
+ employerName?: string | null | undefined;
318
+ setupStep?: import("./common.types").SetupStepType | undefined;
319
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
320
+ ownership?: number | undefined;
321
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
322
+ custodianName?: string | null | undefined;
323
+ custodianAccountNumber?: string | null | undefined;
324
+ custodianRepresentativeName?: string | null | undefined;
325
+ custodianEmail?: string | null | undefined;
326
+ }>>, z.ZodObject<Omit<{
327
+ lastName: z.ZodOptional<z.ZodString>;
328
+ firstName: z.ZodOptional<z.ZodString>;
329
+ kycFirstName: z.ZodOptional<z.ZodString>;
330
+ kycLastName: z.ZodOptional<z.ZodString>;
331
+ dob: z.ZodOptional<z.ZodDate>;
332
+ currencyCode: z.ZodOptional<z.ZodString>;
333
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
334
+ isOk: () => boolean;
335
+ isErr: () => boolean;
336
+ value?: any;
337
+ error?: any;
338
+ } | import("neverthrow").Ok<null, never>, string | null>, {
339
+ isOk: () => boolean;
340
+ isErr: () => boolean;
341
+ value?: any;
342
+ error?: any;
343
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
344
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
345
+ ownership: z.ZodOptional<z.ZodNumber>;
346
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
347
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
348
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
349
+ kycDocumentType: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>>;
350
+ kycDocumentIssuer: z.ZodOptional<z.ZodString>;
351
+ kycExpirationDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
352
+ kycIssuerDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
353
+ kycDocumentNumber: z.ZodOptional<z.ZodString>;
354
+ householdNetWorth: z.ZodOptional<z.ZodNumber>;
355
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
356
+ currentHouseholdIncome: z.ZodOptional<z.ZodNumber>;
357
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
358
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
359
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
360
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
361
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
362
+ aicQuestionnaire: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
363
+ kycProvider: z.ZodOptional<z.ZodString>;
364
+ aicAccreditationType: z.ZodOptional<z.ZodNativeEnum<typeof AicAccreditationType>>;
365
+ accredited: z.ZodOptional<z.ZodBoolean>;
366
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
367
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
368
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
369
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
370
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
371
+ }, "firstName" | "lastName">, "strip", z.ZodTypeAny, {
372
+ email?: string | undefined;
373
+ phone?: any;
374
+ kycFirstName?: string | undefined;
375
+ kycLastName?: string | undefined;
376
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
377
+ kycDocumentIssuer?: string | undefined;
378
+ kycProvider?: string | undefined;
379
+ currencyCode?: string | undefined;
380
+ kycDocumentNumber?: string | undefined;
381
+ kycIssuerDate?: string | undefined;
382
+ kycExpirationDate?: string | undefined;
383
+ liquidNetWorth?: number | undefined;
384
+ aicAccreditationType?: AicAccreditationType | undefined;
385
+ aicQuestionnaire?: string | undefined;
386
+ dob?: Date | undefined;
387
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
388
+ citizenship?: string | undefined;
389
+ ssn?: string | null | undefined;
390
+ investedInCrowdfunding?: number | undefined;
391
+ currentAnnualIncome?: number | undefined;
392
+ currentHouseholdIncome?: number | undefined;
393
+ householdNetWorth?: number | undefined;
394
+ employerName?: string | null | undefined;
395
+ setupStep?: import("./common.types").SetupStepType | undefined;
396
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
397
+ ownership?: number | undefined;
398
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
399
+ custodianName?: string | null | undefined;
400
+ custodianAccountNumber?: string | null | undefined;
401
+ custodianRepresentativeName?: string | null | undefined;
402
+ custodianEmail?: string | null | undefined;
403
+ accredited?: boolean | undefined;
404
+ }, {
405
+ email?: string | undefined;
406
+ phone?: string | null | undefined;
407
+ kycFirstName?: string | undefined;
408
+ kycLastName?: string | undefined;
409
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
410
+ kycDocumentIssuer?: string | undefined;
411
+ kycProvider?: string | undefined;
412
+ currencyCode?: string | undefined;
413
+ kycDocumentNumber?: string | undefined;
414
+ kycIssuerDate?: Date | undefined;
415
+ kycExpirationDate?: Date | undefined;
416
+ liquidNetWorth?: number | undefined;
417
+ aicAccreditationType?: AicAccreditationType | undefined;
418
+ aicQuestionnaire?: string | undefined;
419
+ dob?: Date | undefined;
420
+ isUsCitizenOrGreenCardHolder?: unknown;
421
+ citizenship?: string | undefined;
422
+ ssn?: string | null | undefined;
423
+ investedInCrowdfunding?: number | undefined;
424
+ currentAnnualIncome?: number | undefined;
425
+ currentHouseholdIncome?: number | undefined;
426
+ householdNetWorth?: number | undefined;
427
+ employerName?: string | null | undefined;
428
+ setupStep?: import("./common.types").SetupStepType | undefined;
429
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
430
+ ownership?: number | undefined;
431
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
432
+ custodianName?: string | null | undefined;
433
+ custodianAccountNumber?: string | null | undefined;
434
+ custodianRepresentativeName?: string | null | undefined;
435
+ custodianEmail?: string | null | undefined;
436
+ accredited?: boolean | undefined;
437
+ }>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
438
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
439
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
440
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
441
+ }, "strip", z.ZodTypeAny, {
442
+ address?: string | null | undefined;
443
+ city?: string | null | undefined;
444
+ address2?: string | null | undefined;
445
+ }, {
446
+ address?: string | null | undefined;
447
+ city?: string | null | undefined;
448
+ address2?: string | null | undefined;
449
+ }>, z.ZodEffects<z.ZodObject<{
450
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
451
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
452
+ }, "strip", z.ZodTypeAny, {
453
+ country?: string | null | undefined;
454
+ state?: string | null | undefined;
455
+ }, {
456
+ country?: string | null | undefined;
457
+ state?: string | null | undefined;
458
+ }>, {
459
+ country?: string | null | undefined;
460
+ state?: string | null | undefined;
461
+ }, {
462
+ country?: string | null | undefined;
463
+ state?: string | null | undefined;
464
+ }>>, z.ZodEffects<z.ZodObject<{
465
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
466
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
467
+ }, "strip", z.ZodTypeAny, {
468
+ country?: string | null | undefined;
469
+ zip?: string | null | undefined;
470
+ }, {
471
+ country?: string | null | undefined;
472
+ zip?: string | null | undefined;
473
+ }>, {
474
+ country?: string | null | undefined;
475
+ zip?: string | null | undefined;
476
+ }, {
477
+ country?: string | null | undefined;
478
+ zip?: string | null | undefined;
479
+ }>>>, {
480
+ firstName: string;
481
+ lastName: string;
482
+ email: string;
483
+ password: string;
484
+ confirmPassword: string;
485
+ site?: string | undefined;
486
+ phoneNumber?: any;
487
+ } & {
488
+ email?: string | undefined;
489
+ name?: string | undefined;
490
+ tid?: string | undefined;
491
+ userId?: string | undefined;
492
+ investorAccountType?: InvestorAccountType | undefined;
493
+ } & {
494
+ firstName?: string | undefined;
495
+ lastName?: string | undefined;
496
+ email?: string | undefined;
497
+ role?: IndividualRole | undefined;
498
+ tid?: string | undefined;
499
+ phone?: any;
500
+ investorAccountId?: string | undefined;
501
+ currencyCode?: string | undefined;
502
+ liquidNetWorth?: number | undefined;
503
+ dob?: Date | undefined;
504
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
505
+ citizenship?: string | undefined;
506
+ ssn?: string | null | undefined;
507
+ investedInCrowdfunding?: number | undefined;
508
+ currentAnnualIncome?: number | undefined;
509
+ employerName?: string | null | undefined;
510
+ setupStep?: import("./common.types").SetupStepType | undefined;
511
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
512
+ ownership?: number | undefined;
513
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
514
+ custodianName?: string | null | undefined;
515
+ custodianAccountNumber?: string | null | undefined;
516
+ custodianRepresentativeName?: string | null | undefined;
517
+ custodianEmail?: string | null | undefined;
518
+ } & {
519
+ email?: string | undefined;
520
+ phone?: any;
521
+ kycFirstName?: string | undefined;
522
+ kycLastName?: string | undefined;
523
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
524
+ kycDocumentIssuer?: string | undefined;
525
+ kycProvider?: string | undefined;
526
+ currencyCode?: string | undefined;
527
+ kycDocumentNumber?: string | undefined;
528
+ kycIssuerDate?: string | undefined;
529
+ kycExpirationDate?: string | undefined;
530
+ liquidNetWorth?: number | undefined;
531
+ aicAccreditationType?: AicAccreditationType | undefined;
532
+ aicQuestionnaire?: string | undefined;
533
+ dob?: Date | undefined;
534
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
535
+ citizenship?: string | undefined;
536
+ ssn?: string | null | undefined;
537
+ investedInCrowdfunding?: number | undefined;
538
+ currentAnnualIncome?: number | undefined;
539
+ currentHouseholdIncome?: number | undefined;
540
+ householdNetWorth?: number | undefined;
541
+ employerName?: string | null | undefined;
542
+ setupStep?: import("./common.types").SetupStepType | undefined;
543
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
544
+ ownership?: number | undefined;
545
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
546
+ custodianName?: string | null | undefined;
547
+ custodianAccountNumber?: string | null | undefined;
548
+ custodianRepresentativeName?: string | null | undefined;
549
+ custodianEmail?: string | null | undefined;
550
+ accredited?: boolean | undefined;
551
+ } & {
552
+ address?: string | null | undefined;
553
+ city?: string | null | undefined;
554
+ address2?: string | null | undefined;
555
+ } & {
556
+ country?: string | null | undefined;
557
+ state?: string | null | undefined;
558
+ } & {
559
+ country?: string | null | undefined;
560
+ zip?: string | null | undefined;
561
+ }, {
562
+ firstName: string;
563
+ lastName: string;
564
+ email: string;
565
+ password: string;
566
+ confirmPassword: string;
567
+ site?: string | undefined;
568
+ phoneNumber?: string | null | undefined;
569
+ } & {
570
+ email?: string | undefined;
571
+ name?: string | undefined;
572
+ tid?: string | undefined;
573
+ userId?: string | undefined;
574
+ investorAccountType?: InvestorAccountType | undefined;
575
+ } & {
576
+ firstName?: string | undefined;
577
+ lastName?: string | undefined;
578
+ email?: string | undefined;
579
+ role?: IndividualRole | undefined;
580
+ tid?: string | undefined;
581
+ phone?: string | null | undefined;
582
+ investorAccountId?: string | undefined;
583
+ currencyCode?: string | undefined;
584
+ liquidNetWorth?: number | undefined;
585
+ dob?: Date | undefined;
586
+ isUsCitizenOrGreenCardHolder?: unknown;
587
+ citizenship?: string | undefined;
588
+ ssn?: string | null | undefined;
589
+ investedInCrowdfunding?: number | undefined;
590
+ currentAnnualIncome?: number | undefined;
591
+ employerName?: string | null | undefined;
592
+ setupStep?: import("./common.types").SetupStepType | undefined;
593
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
594
+ ownership?: number | undefined;
595
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
596
+ custodianName?: string | null | undefined;
597
+ custodianAccountNumber?: string | null | undefined;
598
+ custodianRepresentativeName?: string | null | undefined;
599
+ custodianEmail?: string | null | undefined;
600
+ } & {
601
+ email?: string | undefined;
602
+ phone?: string | null | undefined;
603
+ kycFirstName?: string | undefined;
604
+ kycLastName?: string | undefined;
605
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
606
+ kycDocumentIssuer?: string | undefined;
607
+ kycProvider?: string | undefined;
608
+ currencyCode?: string | undefined;
609
+ kycDocumentNumber?: string | undefined;
610
+ kycIssuerDate?: Date | undefined;
611
+ kycExpirationDate?: Date | undefined;
612
+ liquidNetWorth?: number | undefined;
613
+ aicAccreditationType?: AicAccreditationType | undefined;
614
+ aicQuestionnaire?: string | undefined;
615
+ dob?: Date | undefined;
616
+ isUsCitizenOrGreenCardHolder?: unknown;
617
+ citizenship?: string | undefined;
618
+ ssn?: string | null | undefined;
619
+ investedInCrowdfunding?: number | undefined;
620
+ currentAnnualIncome?: number | undefined;
621
+ currentHouseholdIncome?: number | undefined;
622
+ householdNetWorth?: number | undefined;
623
+ employerName?: string | null | undefined;
624
+ setupStep?: import("./common.types").SetupStepType | undefined;
625
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
626
+ ownership?: number | undefined;
627
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
628
+ custodianName?: string | null | undefined;
629
+ custodianAccountNumber?: string | null | undefined;
630
+ custodianRepresentativeName?: string | null | undefined;
631
+ custodianEmail?: string | null | undefined;
632
+ accredited?: boolean | undefined;
633
+ } & {
634
+ address?: string | null | undefined;
635
+ city?: string | null | undefined;
636
+ address2?: string | null | undefined;
637
+ } & {
638
+ country?: string | null | undefined;
639
+ state?: string | null | undefined;
640
+ } & {
641
+ country?: string | null | undefined;
642
+ zip?: string | null | undefined;
643
+ }>;
644
+ /**
645
+ * Base schema for JOINT investor accounts
646
+ * Extends INDIVIDUAL schema with required second holder fields
647
+ */
648
+ export declare const BaseJointCsvFields: z.ZodIntersection<z.ZodObject<{
649
+ secondHolderFirstName: z.ZodString;
650
+ secondHolderLastName: z.ZodString;
651
+ secondHolderEmail: z.ZodString;
652
+ secondHolderPhone: z.ZodString;
653
+ secondHolderDob: z.ZodOptional<z.ZodDate>;
654
+ secondHolderDateOfBirth: z.ZodOptional<z.ZodDate>;
655
+ secondHolderSsn: z.ZodString;
656
+ secondHolderOwnership: z.ZodNumber;
657
+ secondHolderIsUsCitizenOrGreenCardHolder: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
658
+ secondHolderCitizenship: z.ZodString;
659
+ }, "strip", z.ZodTypeAny, {
660
+ secondHolderFirstName: string;
661
+ secondHolderLastName: string;
662
+ secondHolderEmail: string;
663
+ secondHolderPhone: string;
664
+ secondHolderSsn: string;
665
+ secondHolderOwnership: number;
666
+ secondHolderIsUsCitizenOrGreenCardHolder: boolean;
667
+ secondHolderCitizenship: string;
668
+ secondHolderDob?: Date | undefined;
669
+ secondHolderDateOfBirth?: Date | undefined;
670
+ }, {
671
+ secondHolderFirstName: string;
672
+ secondHolderLastName: string;
673
+ secondHolderEmail: string;
674
+ secondHolderPhone: string;
675
+ secondHolderSsn: string;
676
+ secondHolderOwnership: number;
677
+ secondHolderCitizenship: string;
678
+ secondHolderDob?: Date | undefined;
679
+ secondHolderDateOfBirth?: Date | undefined;
680
+ secondHolderIsUsCitizenOrGreenCardHolder?: unknown;
681
+ }>, z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
682
+ firstName: z.ZodString;
683
+ lastName: z.ZodString;
684
+ email: z.ZodEffects<z.ZodString, string, string>;
685
+ password: z.ZodString;
686
+ confirmPassword: z.ZodString;
687
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
688
+ isOk: () => boolean;
689
+ isErr: () => boolean;
690
+ value?: any;
691
+ error?: any;
692
+ } | import("neverthrow").Ok<null, never>, string | null>, {
693
+ isOk: () => boolean;
694
+ isErr: () => boolean;
695
+ value?: any;
696
+ error?: any;
697
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
698
+ } & {
699
+ site: z.ZodOptional<z.ZodString>;
700
+ }, "strip", z.ZodTypeAny, {
701
+ firstName: string;
702
+ lastName: string;
703
+ email: string;
704
+ password: string;
705
+ confirmPassword: string;
706
+ site?: string | undefined;
707
+ phoneNumber?: any;
708
+ }, {
709
+ firstName: string;
710
+ lastName: string;
711
+ email: string;
712
+ password: string;
713
+ confirmPassword: string;
714
+ site?: string | undefined;
715
+ phoneNumber?: string | null | undefined;
716
+ }>, z.ZodObject<{
717
+ email: z.ZodOptional<z.ZodString>;
718
+ name: z.ZodOptional<z.ZodString>;
719
+ tid: z.ZodOptional<z.ZodString>;
720
+ } & {
721
+ investorAccountType: z.ZodOptional<z.ZodNativeEnum<typeof InvestorAccountType>>;
722
+ userId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
723
+ }, "strip", z.ZodTypeAny, {
724
+ email?: string | undefined;
725
+ name?: string | undefined;
726
+ tid?: string | undefined;
727
+ userId?: string | undefined;
728
+ investorAccountType?: InvestorAccountType | undefined;
729
+ }, {
730
+ email?: string | undefined;
731
+ name?: string | undefined;
732
+ tid?: string | undefined;
733
+ userId?: string | undefined;
734
+ investorAccountType?: InvestorAccountType | undefined;
735
+ }>>, z.ZodObject<{
736
+ lastName: z.ZodOptional<z.ZodString>;
737
+ firstName: z.ZodOptional<z.ZodString>;
738
+ dob: z.ZodOptional<z.ZodDate>;
739
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
740
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
741
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
742
+ currencyCode: z.ZodOptional<z.ZodString>;
743
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
744
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
745
+ isOk: () => boolean;
746
+ isErr: () => boolean;
747
+ value?: any;
748
+ error?: any;
749
+ } | import("neverthrow").Ok<null, never>, string | null>, {
750
+ isOk: () => boolean;
751
+ isErr: () => boolean;
752
+ value?: any;
753
+ error?: any;
754
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
755
+ ownership: z.ZodOptional<z.ZodNumber>;
756
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
757
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
758
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
759
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
760
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
761
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
762
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
763
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
764
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
765
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
766
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
767
+ tid: z.ZodOptional<z.ZodString>;
768
+ } & {
769
+ investorAccountId: z.ZodOptional<z.ZodString>;
770
+ role: z.ZodOptional<z.ZodNativeEnum<typeof IndividualRole>>;
771
+ }, "strip", z.ZodTypeAny, {
772
+ firstName?: string | undefined;
773
+ lastName?: string | undefined;
774
+ email?: string | undefined;
775
+ role?: IndividualRole | undefined;
776
+ tid?: string | undefined;
777
+ phone?: any;
778
+ investorAccountId?: string | undefined;
779
+ currencyCode?: string | undefined;
780
+ liquidNetWorth?: number | undefined;
781
+ dob?: Date | undefined;
782
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
783
+ citizenship?: string | undefined;
784
+ ssn?: string | null | undefined;
785
+ investedInCrowdfunding?: number | undefined;
786
+ currentAnnualIncome?: number | undefined;
787
+ employerName?: string | null | undefined;
788
+ setupStep?: import("./common.types").SetupStepType | undefined;
789
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
790
+ ownership?: number | undefined;
791
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
792
+ custodianName?: string | null | undefined;
793
+ custodianAccountNumber?: string | null | undefined;
794
+ custodianRepresentativeName?: string | null | undefined;
795
+ custodianEmail?: string | null | undefined;
796
+ }, {
797
+ firstName?: string | undefined;
798
+ lastName?: string | undefined;
799
+ email?: string | undefined;
800
+ role?: IndividualRole | undefined;
801
+ tid?: string | undefined;
802
+ phone?: string | null | undefined;
803
+ investorAccountId?: string | undefined;
804
+ currencyCode?: string | undefined;
805
+ liquidNetWorth?: number | undefined;
806
+ dob?: Date | undefined;
807
+ isUsCitizenOrGreenCardHolder?: unknown;
808
+ citizenship?: string | undefined;
809
+ ssn?: string | null | undefined;
810
+ investedInCrowdfunding?: number | undefined;
811
+ currentAnnualIncome?: number | undefined;
812
+ employerName?: string | null | undefined;
813
+ setupStep?: import("./common.types").SetupStepType | undefined;
814
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
815
+ ownership?: number | undefined;
816
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
817
+ custodianName?: string | null | undefined;
818
+ custodianAccountNumber?: string | null | undefined;
819
+ custodianRepresentativeName?: string | null | undefined;
820
+ custodianEmail?: string | null | undefined;
821
+ }>>, z.ZodObject<Omit<{
822
+ lastName: z.ZodOptional<z.ZodString>;
823
+ firstName: z.ZodOptional<z.ZodString>;
824
+ kycFirstName: z.ZodOptional<z.ZodString>;
825
+ kycLastName: z.ZodOptional<z.ZodString>;
826
+ dob: z.ZodOptional<z.ZodDate>;
827
+ currencyCode: z.ZodOptional<z.ZodString>;
828
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
829
+ isOk: () => boolean;
830
+ isErr: () => boolean;
831
+ value?: any;
832
+ error?: any;
833
+ } | import("neverthrow").Ok<null, never>, string | null>, {
834
+ isOk: () => boolean;
835
+ isErr: () => boolean;
836
+ value?: any;
837
+ error?: any;
838
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
839
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
840
+ ownership: z.ZodOptional<z.ZodNumber>;
841
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
842
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
843
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
844
+ kycDocumentType: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>>;
845
+ kycDocumentIssuer: z.ZodOptional<z.ZodString>;
846
+ kycExpirationDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
847
+ kycIssuerDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
848
+ kycDocumentNumber: z.ZodOptional<z.ZodString>;
849
+ householdNetWorth: z.ZodOptional<z.ZodNumber>;
850
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
851
+ currentHouseholdIncome: z.ZodOptional<z.ZodNumber>;
852
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
853
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
854
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
855
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
856
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
857
+ aicQuestionnaire: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
858
+ kycProvider: z.ZodOptional<z.ZodString>;
859
+ aicAccreditationType: z.ZodOptional<z.ZodNativeEnum<typeof AicAccreditationType>>;
860
+ accredited: z.ZodOptional<z.ZodBoolean>;
861
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
862
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
863
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
864
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
865
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
866
+ }, "firstName" | "lastName">, "strip", z.ZodTypeAny, {
867
+ email?: string | undefined;
868
+ phone?: any;
869
+ kycFirstName?: string | undefined;
870
+ kycLastName?: string | undefined;
871
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
872
+ kycDocumentIssuer?: string | undefined;
873
+ kycProvider?: string | undefined;
874
+ currencyCode?: string | undefined;
875
+ kycDocumentNumber?: string | undefined;
876
+ kycIssuerDate?: string | undefined;
877
+ kycExpirationDate?: string | undefined;
878
+ liquidNetWorth?: number | undefined;
879
+ aicAccreditationType?: AicAccreditationType | undefined;
880
+ aicQuestionnaire?: string | undefined;
881
+ dob?: Date | undefined;
882
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
883
+ citizenship?: string | undefined;
884
+ ssn?: string | null | undefined;
885
+ investedInCrowdfunding?: number | undefined;
886
+ currentAnnualIncome?: number | undefined;
887
+ currentHouseholdIncome?: number | undefined;
888
+ householdNetWorth?: number | undefined;
889
+ employerName?: string | null | undefined;
890
+ setupStep?: import("./common.types").SetupStepType | undefined;
891
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
892
+ ownership?: number | undefined;
893
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
894
+ custodianName?: string | null | undefined;
895
+ custodianAccountNumber?: string | null | undefined;
896
+ custodianRepresentativeName?: string | null | undefined;
897
+ custodianEmail?: string | null | undefined;
898
+ accredited?: boolean | undefined;
899
+ }, {
900
+ email?: string | undefined;
901
+ phone?: string | null | undefined;
902
+ kycFirstName?: string | undefined;
903
+ kycLastName?: string | undefined;
904
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
905
+ kycDocumentIssuer?: string | undefined;
906
+ kycProvider?: string | undefined;
907
+ currencyCode?: string | undefined;
908
+ kycDocumentNumber?: string | undefined;
909
+ kycIssuerDate?: Date | undefined;
910
+ kycExpirationDate?: Date | undefined;
911
+ liquidNetWorth?: number | undefined;
912
+ aicAccreditationType?: AicAccreditationType | undefined;
913
+ aicQuestionnaire?: string | undefined;
914
+ dob?: Date | undefined;
915
+ isUsCitizenOrGreenCardHolder?: unknown;
916
+ citizenship?: string | undefined;
917
+ ssn?: string | null | undefined;
918
+ investedInCrowdfunding?: number | undefined;
919
+ currentAnnualIncome?: number | undefined;
920
+ currentHouseholdIncome?: number | undefined;
921
+ householdNetWorth?: number | undefined;
922
+ employerName?: string | null | undefined;
923
+ setupStep?: import("./common.types").SetupStepType | undefined;
924
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
925
+ ownership?: number | undefined;
926
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
927
+ custodianName?: string | null | undefined;
928
+ custodianAccountNumber?: string | null | undefined;
929
+ custodianRepresentativeName?: string | null | undefined;
930
+ custodianEmail?: string | null | undefined;
931
+ accredited?: boolean | undefined;
932
+ }>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
933
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
934
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
935
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
936
+ }, "strip", z.ZodTypeAny, {
937
+ address?: string | null | undefined;
938
+ city?: string | null | undefined;
939
+ address2?: string | null | undefined;
940
+ }, {
941
+ address?: string | null | undefined;
942
+ city?: string | null | undefined;
943
+ address2?: string | null | undefined;
944
+ }>, z.ZodEffects<z.ZodObject<{
945
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
946
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
947
+ }, "strip", z.ZodTypeAny, {
948
+ country?: string | null | undefined;
949
+ state?: string | null | undefined;
950
+ }, {
951
+ country?: string | null | undefined;
952
+ state?: string | null | undefined;
953
+ }>, {
954
+ country?: string | null | undefined;
955
+ state?: string | null | undefined;
956
+ }, {
957
+ country?: string | null | undefined;
958
+ state?: string | null | undefined;
959
+ }>>, z.ZodEffects<z.ZodObject<{
960
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
961
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
962
+ }, "strip", z.ZodTypeAny, {
963
+ country?: string | null | undefined;
964
+ zip?: string | null | undefined;
965
+ }, {
966
+ country?: string | null | undefined;
967
+ zip?: string | null | undefined;
968
+ }>, {
969
+ country?: string | null | undefined;
970
+ zip?: string | null | undefined;
971
+ }, {
972
+ country?: string | null | undefined;
973
+ zip?: string | null | undefined;
974
+ }>>>, {
975
+ firstName: string;
976
+ lastName: string;
977
+ email: string;
978
+ password: string;
979
+ confirmPassword: string;
980
+ site?: string | undefined;
981
+ phoneNumber?: any;
982
+ } & {
983
+ email?: string | undefined;
984
+ name?: string | undefined;
985
+ tid?: string | undefined;
986
+ userId?: string | undefined;
987
+ investorAccountType?: InvestorAccountType | undefined;
988
+ } & {
989
+ firstName?: string | undefined;
990
+ lastName?: string | undefined;
991
+ email?: string | undefined;
992
+ role?: IndividualRole | undefined;
993
+ tid?: string | undefined;
994
+ phone?: any;
995
+ investorAccountId?: string | undefined;
996
+ currencyCode?: string | undefined;
997
+ liquidNetWorth?: number | undefined;
998
+ dob?: Date | undefined;
999
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1000
+ citizenship?: string | undefined;
1001
+ ssn?: string | null | undefined;
1002
+ investedInCrowdfunding?: number | undefined;
1003
+ currentAnnualIncome?: number | undefined;
1004
+ employerName?: string | null | undefined;
1005
+ setupStep?: import("./common.types").SetupStepType | undefined;
1006
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1007
+ ownership?: number | undefined;
1008
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1009
+ custodianName?: string | null | undefined;
1010
+ custodianAccountNumber?: string | null | undefined;
1011
+ custodianRepresentativeName?: string | null | undefined;
1012
+ custodianEmail?: string | null | undefined;
1013
+ } & {
1014
+ email?: string | undefined;
1015
+ phone?: any;
1016
+ kycFirstName?: string | undefined;
1017
+ kycLastName?: string | undefined;
1018
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1019
+ kycDocumentIssuer?: string | undefined;
1020
+ kycProvider?: string | undefined;
1021
+ currencyCode?: string | undefined;
1022
+ kycDocumentNumber?: string | undefined;
1023
+ kycIssuerDate?: string | undefined;
1024
+ kycExpirationDate?: string | undefined;
1025
+ liquidNetWorth?: number | undefined;
1026
+ aicAccreditationType?: AicAccreditationType | undefined;
1027
+ aicQuestionnaire?: string | undefined;
1028
+ dob?: Date | undefined;
1029
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1030
+ citizenship?: string | undefined;
1031
+ ssn?: string | null | undefined;
1032
+ investedInCrowdfunding?: number | undefined;
1033
+ currentAnnualIncome?: number | undefined;
1034
+ currentHouseholdIncome?: number | undefined;
1035
+ householdNetWorth?: number | undefined;
1036
+ employerName?: string | null | undefined;
1037
+ setupStep?: import("./common.types").SetupStepType | undefined;
1038
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1039
+ ownership?: number | undefined;
1040
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1041
+ custodianName?: string | null | undefined;
1042
+ custodianAccountNumber?: string | null | undefined;
1043
+ custodianRepresentativeName?: string | null | undefined;
1044
+ custodianEmail?: string | null | undefined;
1045
+ accredited?: boolean | undefined;
1046
+ } & {
1047
+ address?: string | null | undefined;
1048
+ city?: string | null | undefined;
1049
+ address2?: string | null | undefined;
1050
+ } & {
1051
+ country?: string | null | undefined;
1052
+ state?: string | null | undefined;
1053
+ } & {
1054
+ country?: string | null | undefined;
1055
+ zip?: string | null | undefined;
1056
+ }, {
1057
+ firstName: string;
1058
+ lastName: string;
1059
+ email: string;
1060
+ password: string;
1061
+ confirmPassword: string;
1062
+ site?: string | undefined;
1063
+ phoneNumber?: string | null | undefined;
1064
+ } & {
1065
+ email?: string | undefined;
1066
+ name?: string | undefined;
1067
+ tid?: string | undefined;
1068
+ userId?: string | undefined;
1069
+ investorAccountType?: InvestorAccountType | undefined;
1070
+ } & {
1071
+ firstName?: string | undefined;
1072
+ lastName?: string | undefined;
1073
+ email?: string | undefined;
1074
+ role?: IndividualRole | undefined;
1075
+ tid?: string | undefined;
1076
+ phone?: string | null | undefined;
1077
+ investorAccountId?: string | undefined;
1078
+ currencyCode?: string | undefined;
1079
+ liquidNetWorth?: number | undefined;
1080
+ dob?: Date | undefined;
1081
+ isUsCitizenOrGreenCardHolder?: unknown;
1082
+ citizenship?: string | undefined;
1083
+ ssn?: string | null | undefined;
1084
+ investedInCrowdfunding?: number | undefined;
1085
+ currentAnnualIncome?: number | undefined;
1086
+ employerName?: string | null | undefined;
1087
+ setupStep?: import("./common.types").SetupStepType | undefined;
1088
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1089
+ ownership?: number | undefined;
1090
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1091
+ custodianName?: string | null | undefined;
1092
+ custodianAccountNumber?: string | null | undefined;
1093
+ custodianRepresentativeName?: string | null | undefined;
1094
+ custodianEmail?: string | null | undefined;
1095
+ } & {
1096
+ email?: string | undefined;
1097
+ phone?: string | null | undefined;
1098
+ kycFirstName?: string | undefined;
1099
+ kycLastName?: string | undefined;
1100
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1101
+ kycDocumentIssuer?: string | undefined;
1102
+ kycProvider?: string | undefined;
1103
+ currencyCode?: string | undefined;
1104
+ kycDocumentNumber?: string | undefined;
1105
+ kycIssuerDate?: Date | undefined;
1106
+ kycExpirationDate?: Date | undefined;
1107
+ liquidNetWorth?: number | undefined;
1108
+ aicAccreditationType?: AicAccreditationType | undefined;
1109
+ aicQuestionnaire?: string | undefined;
1110
+ dob?: Date | undefined;
1111
+ isUsCitizenOrGreenCardHolder?: unknown;
1112
+ citizenship?: string | undefined;
1113
+ ssn?: string | null | undefined;
1114
+ investedInCrowdfunding?: number | undefined;
1115
+ currentAnnualIncome?: number | undefined;
1116
+ currentHouseholdIncome?: number | undefined;
1117
+ householdNetWorth?: number | undefined;
1118
+ employerName?: string | null | undefined;
1119
+ setupStep?: import("./common.types").SetupStepType | undefined;
1120
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1121
+ ownership?: number | undefined;
1122
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1123
+ custodianName?: string | null | undefined;
1124
+ custodianAccountNumber?: string | null | undefined;
1125
+ custodianRepresentativeName?: string | null | undefined;
1126
+ custodianEmail?: string | null | undefined;
1127
+ accredited?: boolean | undefined;
1128
+ } & {
1129
+ address?: string | null | undefined;
1130
+ city?: string | null | undefined;
1131
+ address2?: string | null | undefined;
1132
+ } & {
1133
+ country?: string | null | undefined;
1134
+ state?: string | null | undefined;
1135
+ } & {
1136
+ country?: string | null | undefined;
1137
+ zip?: string | null | undefined;
1138
+ }>>;
1139
+ /**
1140
+ * Base schema for LEGAL_ENTITY investor accounts
1141
+ * Extends INDIVIDUAL schema with required entity fields and optional second holder (UBO2)
1142
+ */
1143
+ export declare const BaseLegalEntityCsvFields: z.ZodIntersection<z.ZodObject<{
1144
+ entityName: z.ZodString;
1145
+ ein: z.ZodString;
1146
+ companyType: z.ZodString;
1147
+ dateOfIncorporation: z.ZodDate;
1148
+ stateOfIncorporation: z.ZodString;
1149
+ secondHolderFirstName: z.ZodOptional<z.ZodString>;
1150
+ secondHolderLastName: z.ZodOptional<z.ZodString>;
1151
+ secondHolderEmail: z.ZodOptional<z.ZodString>;
1152
+ secondHolderPhone: z.ZodOptional<z.ZodString>;
1153
+ secondHolderDob: z.ZodOptional<z.ZodDate>;
1154
+ secondHolderDateOfBirth: z.ZodOptional<z.ZodDate>;
1155
+ secondHolderSsn: z.ZodOptional<z.ZodString>;
1156
+ secondHolderOwnership: z.ZodOptional<z.ZodNumber>;
1157
+ secondHolderIsUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1158
+ secondHolderCitizenship: z.ZodOptional<z.ZodString>;
1159
+ }, "strip", z.ZodTypeAny, {
1160
+ ein: string;
1161
+ companyType: string;
1162
+ entityName: string;
1163
+ dateOfIncorporation: Date;
1164
+ stateOfIncorporation: string;
1165
+ secondHolderFirstName?: string | undefined;
1166
+ secondHolderLastName?: string | undefined;
1167
+ secondHolderEmail?: string | undefined;
1168
+ secondHolderPhone?: string | undefined;
1169
+ secondHolderDob?: Date | undefined;
1170
+ secondHolderDateOfBirth?: Date | undefined;
1171
+ secondHolderSsn?: string | undefined;
1172
+ secondHolderOwnership?: number | undefined;
1173
+ secondHolderIsUsCitizenOrGreenCardHolder?: boolean | undefined;
1174
+ secondHolderCitizenship?: string | undefined;
1175
+ }, {
1176
+ ein: string;
1177
+ companyType: string;
1178
+ entityName: string;
1179
+ dateOfIncorporation: Date;
1180
+ stateOfIncorporation: string;
1181
+ secondHolderFirstName?: string | undefined;
1182
+ secondHolderLastName?: string | undefined;
1183
+ secondHolderEmail?: string | undefined;
1184
+ secondHolderPhone?: string | undefined;
1185
+ secondHolderDob?: Date | undefined;
1186
+ secondHolderDateOfBirth?: Date | undefined;
1187
+ secondHolderSsn?: string | undefined;
1188
+ secondHolderOwnership?: number | undefined;
1189
+ secondHolderIsUsCitizenOrGreenCardHolder?: unknown;
1190
+ secondHolderCitizenship?: string | undefined;
1191
+ }>, z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1192
+ firstName: z.ZodString;
1193
+ lastName: z.ZodString;
1194
+ email: z.ZodEffects<z.ZodString, string, string>;
1195
+ password: z.ZodString;
1196
+ confirmPassword: z.ZodString;
1197
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1198
+ isOk: () => boolean;
1199
+ isErr: () => boolean;
1200
+ value?: any;
1201
+ error?: any;
1202
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1203
+ isOk: () => boolean;
1204
+ isErr: () => boolean;
1205
+ value?: any;
1206
+ error?: any;
1207
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1208
+ } & {
1209
+ site: z.ZodOptional<z.ZodString>;
1210
+ }, "strip", z.ZodTypeAny, {
1211
+ firstName: string;
1212
+ lastName: string;
1213
+ email: string;
1214
+ password: string;
1215
+ confirmPassword: string;
1216
+ site?: string | undefined;
1217
+ phoneNumber?: any;
1218
+ }, {
1219
+ firstName: string;
1220
+ lastName: string;
1221
+ email: string;
1222
+ password: string;
1223
+ confirmPassword: string;
1224
+ site?: string | undefined;
1225
+ phoneNumber?: string | null | undefined;
1226
+ }>, z.ZodObject<{
1227
+ email: z.ZodOptional<z.ZodString>;
1228
+ name: z.ZodOptional<z.ZodString>;
1229
+ tid: z.ZodOptional<z.ZodString>;
1230
+ } & {
1231
+ investorAccountType: z.ZodOptional<z.ZodNativeEnum<typeof InvestorAccountType>>;
1232
+ userId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1233
+ }, "strip", z.ZodTypeAny, {
1234
+ email?: string | undefined;
1235
+ name?: string | undefined;
1236
+ tid?: string | undefined;
1237
+ userId?: string | undefined;
1238
+ investorAccountType?: InvestorAccountType | undefined;
1239
+ }, {
1240
+ email?: string | undefined;
1241
+ name?: string | undefined;
1242
+ tid?: string | undefined;
1243
+ userId?: string | undefined;
1244
+ investorAccountType?: InvestorAccountType | undefined;
1245
+ }>>, z.ZodObject<{
1246
+ lastName: z.ZodOptional<z.ZodString>;
1247
+ firstName: z.ZodOptional<z.ZodString>;
1248
+ dob: z.ZodOptional<z.ZodDate>;
1249
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1250
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
1251
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
1252
+ currencyCode: z.ZodOptional<z.ZodString>;
1253
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1254
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1255
+ isOk: () => boolean;
1256
+ isErr: () => boolean;
1257
+ value?: any;
1258
+ error?: any;
1259
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1260
+ isOk: () => boolean;
1261
+ isErr: () => boolean;
1262
+ value?: any;
1263
+ error?: any;
1264
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1265
+ ownership: z.ZodOptional<z.ZodNumber>;
1266
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
1267
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
1268
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
1269
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
1270
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1271
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
1272
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
1273
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1274
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1275
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1276
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1277
+ tid: z.ZodOptional<z.ZodString>;
1278
+ } & {
1279
+ investorAccountId: z.ZodOptional<z.ZodString>;
1280
+ role: z.ZodOptional<z.ZodNativeEnum<typeof IndividualRole>>;
1281
+ }, "strip", z.ZodTypeAny, {
1282
+ firstName?: string | undefined;
1283
+ lastName?: string | undefined;
1284
+ email?: string | undefined;
1285
+ role?: IndividualRole | undefined;
1286
+ tid?: string | undefined;
1287
+ phone?: any;
1288
+ investorAccountId?: string | undefined;
1289
+ currencyCode?: string | undefined;
1290
+ liquidNetWorth?: number | undefined;
1291
+ dob?: Date | undefined;
1292
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1293
+ citizenship?: string | undefined;
1294
+ ssn?: string | null | undefined;
1295
+ investedInCrowdfunding?: number | undefined;
1296
+ currentAnnualIncome?: number | undefined;
1297
+ employerName?: string | null | undefined;
1298
+ setupStep?: import("./common.types").SetupStepType | undefined;
1299
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1300
+ ownership?: number | undefined;
1301
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1302
+ custodianName?: string | null | undefined;
1303
+ custodianAccountNumber?: string | null | undefined;
1304
+ custodianRepresentativeName?: string | null | undefined;
1305
+ custodianEmail?: string | null | undefined;
1306
+ }, {
1307
+ firstName?: string | undefined;
1308
+ lastName?: string | undefined;
1309
+ email?: string | undefined;
1310
+ role?: IndividualRole | undefined;
1311
+ tid?: string | undefined;
1312
+ phone?: string | null | undefined;
1313
+ investorAccountId?: string | undefined;
1314
+ currencyCode?: string | undefined;
1315
+ liquidNetWorth?: number | undefined;
1316
+ dob?: Date | undefined;
1317
+ isUsCitizenOrGreenCardHolder?: unknown;
1318
+ citizenship?: string | undefined;
1319
+ ssn?: string | null | undefined;
1320
+ investedInCrowdfunding?: number | undefined;
1321
+ currentAnnualIncome?: number | undefined;
1322
+ employerName?: string | null | undefined;
1323
+ setupStep?: import("./common.types").SetupStepType | undefined;
1324
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1325
+ ownership?: number | undefined;
1326
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1327
+ custodianName?: string | null | undefined;
1328
+ custodianAccountNumber?: string | null | undefined;
1329
+ custodianRepresentativeName?: string | null | undefined;
1330
+ custodianEmail?: string | null | undefined;
1331
+ }>>, z.ZodObject<Omit<{
1332
+ lastName: z.ZodOptional<z.ZodString>;
1333
+ firstName: z.ZodOptional<z.ZodString>;
1334
+ kycFirstName: z.ZodOptional<z.ZodString>;
1335
+ kycLastName: z.ZodOptional<z.ZodString>;
1336
+ dob: z.ZodOptional<z.ZodDate>;
1337
+ currencyCode: z.ZodOptional<z.ZodString>;
1338
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1339
+ isOk: () => boolean;
1340
+ isErr: () => boolean;
1341
+ value?: any;
1342
+ error?: any;
1343
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1344
+ isOk: () => boolean;
1345
+ isErr: () => boolean;
1346
+ value?: any;
1347
+ error?: any;
1348
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1349
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1350
+ ownership: z.ZodOptional<z.ZodNumber>;
1351
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1352
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
1353
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
1354
+ kycDocumentType: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>>;
1355
+ kycDocumentIssuer: z.ZodOptional<z.ZodString>;
1356
+ kycExpirationDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
1357
+ kycIssuerDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
1358
+ kycDocumentNumber: z.ZodOptional<z.ZodString>;
1359
+ householdNetWorth: z.ZodOptional<z.ZodNumber>;
1360
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
1361
+ currentHouseholdIncome: z.ZodOptional<z.ZodNumber>;
1362
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
1363
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
1364
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
1365
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1366
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
1367
+ aicQuestionnaire: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1368
+ kycProvider: z.ZodOptional<z.ZodString>;
1369
+ aicAccreditationType: z.ZodOptional<z.ZodNativeEnum<typeof AicAccreditationType>>;
1370
+ accredited: z.ZodOptional<z.ZodBoolean>;
1371
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
1372
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1373
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1374
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1375
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1376
+ }, "firstName" | "lastName">, "strip", z.ZodTypeAny, {
1377
+ email?: string | undefined;
1378
+ phone?: any;
1379
+ kycFirstName?: string | undefined;
1380
+ kycLastName?: string | undefined;
1381
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1382
+ kycDocumentIssuer?: string | undefined;
1383
+ kycProvider?: string | undefined;
1384
+ currencyCode?: string | undefined;
1385
+ kycDocumentNumber?: string | undefined;
1386
+ kycIssuerDate?: string | undefined;
1387
+ kycExpirationDate?: string | undefined;
1388
+ liquidNetWorth?: number | undefined;
1389
+ aicAccreditationType?: AicAccreditationType | undefined;
1390
+ aicQuestionnaire?: string | undefined;
1391
+ dob?: Date | undefined;
1392
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1393
+ citizenship?: string | undefined;
1394
+ ssn?: string | null | undefined;
1395
+ investedInCrowdfunding?: number | undefined;
1396
+ currentAnnualIncome?: number | undefined;
1397
+ currentHouseholdIncome?: number | undefined;
1398
+ householdNetWorth?: number | undefined;
1399
+ employerName?: string | null | undefined;
1400
+ setupStep?: import("./common.types").SetupStepType | undefined;
1401
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1402
+ ownership?: number | undefined;
1403
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1404
+ custodianName?: string | null | undefined;
1405
+ custodianAccountNumber?: string | null | undefined;
1406
+ custodianRepresentativeName?: string | null | undefined;
1407
+ custodianEmail?: string | null | undefined;
1408
+ accredited?: boolean | undefined;
1409
+ }, {
1410
+ email?: string | undefined;
1411
+ phone?: string | null | undefined;
1412
+ kycFirstName?: string | undefined;
1413
+ kycLastName?: string | undefined;
1414
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1415
+ kycDocumentIssuer?: string | undefined;
1416
+ kycProvider?: string | undefined;
1417
+ currencyCode?: string | undefined;
1418
+ kycDocumentNumber?: string | undefined;
1419
+ kycIssuerDate?: Date | undefined;
1420
+ kycExpirationDate?: Date | undefined;
1421
+ liquidNetWorth?: number | undefined;
1422
+ aicAccreditationType?: AicAccreditationType | undefined;
1423
+ aicQuestionnaire?: string | undefined;
1424
+ dob?: Date | undefined;
1425
+ isUsCitizenOrGreenCardHolder?: unknown;
1426
+ citizenship?: string | undefined;
1427
+ ssn?: string | null | undefined;
1428
+ investedInCrowdfunding?: number | undefined;
1429
+ currentAnnualIncome?: number | undefined;
1430
+ currentHouseholdIncome?: number | undefined;
1431
+ householdNetWorth?: number | undefined;
1432
+ employerName?: string | null | undefined;
1433
+ setupStep?: import("./common.types").SetupStepType | undefined;
1434
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1435
+ ownership?: number | undefined;
1436
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1437
+ custodianName?: string | null | undefined;
1438
+ custodianAccountNumber?: string | null | undefined;
1439
+ custodianRepresentativeName?: string | null | undefined;
1440
+ custodianEmail?: string | null | undefined;
1441
+ accredited?: boolean | undefined;
1442
+ }>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1443
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1444
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1445
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1446
+ }, "strip", z.ZodTypeAny, {
1447
+ address?: string | null | undefined;
1448
+ city?: string | null | undefined;
1449
+ address2?: string | null | undefined;
1450
+ }, {
1451
+ address?: string | null | undefined;
1452
+ city?: string | null | undefined;
1453
+ address2?: string | null | undefined;
1454
+ }>, z.ZodEffects<z.ZodObject<{
1455
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
1456
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1457
+ }, "strip", z.ZodTypeAny, {
1458
+ country?: string | null | undefined;
1459
+ state?: string | null | undefined;
1460
+ }, {
1461
+ country?: string | null | undefined;
1462
+ state?: string | null | undefined;
1463
+ }>, {
1464
+ country?: string | null | undefined;
1465
+ state?: string | null | undefined;
1466
+ }, {
1467
+ country?: string | null | undefined;
1468
+ state?: string | null | undefined;
1469
+ }>>, z.ZodEffects<z.ZodObject<{
1470
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
1471
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1472
+ }, "strip", z.ZodTypeAny, {
1473
+ country?: string | null | undefined;
1474
+ zip?: string | null | undefined;
1475
+ }, {
1476
+ country?: string | null | undefined;
1477
+ zip?: string | null | undefined;
1478
+ }>, {
1479
+ country?: string | null | undefined;
1480
+ zip?: string | null | undefined;
1481
+ }, {
1482
+ country?: string | null | undefined;
1483
+ zip?: string | null | undefined;
1484
+ }>>>, {
1485
+ firstName: string;
1486
+ lastName: string;
1487
+ email: string;
1488
+ password: string;
1489
+ confirmPassword: string;
1490
+ site?: string | undefined;
1491
+ phoneNumber?: any;
1492
+ } & {
1493
+ email?: string | undefined;
1494
+ name?: string | undefined;
1495
+ tid?: string | undefined;
1496
+ userId?: string | undefined;
1497
+ investorAccountType?: InvestorAccountType | undefined;
1498
+ } & {
1499
+ firstName?: string | undefined;
1500
+ lastName?: string | undefined;
1501
+ email?: string | undefined;
1502
+ role?: IndividualRole | undefined;
1503
+ tid?: string | undefined;
1504
+ phone?: any;
1505
+ investorAccountId?: string | undefined;
1506
+ currencyCode?: string | undefined;
1507
+ liquidNetWorth?: number | undefined;
1508
+ dob?: Date | undefined;
1509
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1510
+ citizenship?: string | undefined;
1511
+ ssn?: string | null | undefined;
1512
+ investedInCrowdfunding?: number | undefined;
1513
+ currentAnnualIncome?: number | undefined;
1514
+ employerName?: string | null | undefined;
1515
+ setupStep?: import("./common.types").SetupStepType | undefined;
1516
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1517
+ ownership?: number | undefined;
1518
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1519
+ custodianName?: string | null | undefined;
1520
+ custodianAccountNumber?: string | null | undefined;
1521
+ custodianRepresentativeName?: string | null | undefined;
1522
+ custodianEmail?: string | null | undefined;
1523
+ } & {
1524
+ email?: string | undefined;
1525
+ phone?: any;
1526
+ kycFirstName?: string | undefined;
1527
+ kycLastName?: string | undefined;
1528
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1529
+ kycDocumentIssuer?: string | undefined;
1530
+ kycProvider?: string | undefined;
1531
+ currencyCode?: string | undefined;
1532
+ kycDocumentNumber?: string | undefined;
1533
+ kycIssuerDate?: string | undefined;
1534
+ kycExpirationDate?: string | undefined;
1535
+ liquidNetWorth?: number | undefined;
1536
+ aicAccreditationType?: AicAccreditationType | undefined;
1537
+ aicQuestionnaire?: string | undefined;
1538
+ dob?: Date | undefined;
1539
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1540
+ citizenship?: string | undefined;
1541
+ ssn?: string | null | undefined;
1542
+ investedInCrowdfunding?: number | undefined;
1543
+ currentAnnualIncome?: number | undefined;
1544
+ currentHouseholdIncome?: number | undefined;
1545
+ householdNetWorth?: number | undefined;
1546
+ employerName?: string | null | undefined;
1547
+ setupStep?: import("./common.types").SetupStepType | undefined;
1548
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1549
+ ownership?: number | undefined;
1550
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1551
+ custodianName?: string | null | undefined;
1552
+ custodianAccountNumber?: string | null | undefined;
1553
+ custodianRepresentativeName?: string | null | undefined;
1554
+ custodianEmail?: string | null | undefined;
1555
+ accredited?: boolean | undefined;
1556
+ } & {
1557
+ address?: string | null | undefined;
1558
+ city?: string | null | undefined;
1559
+ address2?: string | null | undefined;
1560
+ } & {
1561
+ country?: string | null | undefined;
1562
+ state?: string | null | undefined;
1563
+ } & {
1564
+ country?: string | null | undefined;
1565
+ zip?: string | null | undefined;
1566
+ }, {
1567
+ firstName: string;
1568
+ lastName: string;
1569
+ email: string;
1570
+ password: string;
1571
+ confirmPassword: string;
1572
+ site?: string | undefined;
1573
+ phoneNumber?: string | null | undefined;
1574
+ } & {
1575
+ email?: string | undefined;
1576
+ name?: string | undefined;
1577
+ tid?: string | undefined;
1578
+ userId?: string | undefined;
1579
+ investorAccountType?: InvestorAccountType | undefined;
1580
+ } & {
1581
+ firstName?: string | undefined;
1582
+ lastName?: string | undefined;
1583
+ email?: string | undefined;
1584
+ role?: IndividualRole | undefined;
1585
+ tid?: string | undefined;
1586
+ phone?: string | null | undefined;
1587
+ investorAccountId?: string | undefined;
1588
+ currencyCode?: string | undefined;
1589
+ liquidNetWorth?: number | undefined;
1590
+ dob?: Date | undefined;
1591
+ isUsCitizenOrGreenCardHolder?: unknown;
1592
+ citizenship?: string | undefined;
1593
+ ssn?: string | null | undefined;
1594
+ investedInCrowdfunding?: number | undefined;
1595
+ currentAnnualIncome?: number | undefined;
1596
+ employerName?: string | null | undefined;
1597
+ setupStep?: import("./common.types").SetupStepType | undefined;
1598
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1599
+ ownership?: number | undefined;
1600
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1601
+ custodianName?: string | null | undefined;
1602
+ custodianAccountNumber?: string | null | undefined;
1603
+ custodianRepresentativeName?: string | null | undefined;
1604
+ custodianEmail?: string | null | undefined;
1605
+ } & {
1606
+ email?: string | undefined;
1607
+ phone?: string | null | undefined;
1608
+ kycFirstName?: string | undefined;
1609
+ kycLastName?: string | undefined;
1610
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1611
+ kycDocumentIssuer?: string | undefined;
1612
+ kycProvider?: string | undefined;
1613
+ currencyCode?: string | undefined;
1614
+ kycDocumentNumber?: string | undefined;
1615
+ kycIssuerDate?: Date | undefined;
1616
+ kycExpirationDate?: Date | undefined;
1617
+ liquidNetWorth?: number | undefined;
1618
+ aicAccreditationType?: AicAccreditationType | undefined;
1619
+ aicQuestionnaire?: string | undefined;
1620
+ dob?: Date | undefined;
1621
+ isUsCitizenOrGreenCardHolder?: unknown;
1622
+ citizenship?: string | undefined;
1623
+ ssn?: string | null | undefined;
1624
+ investedInCrowdfunding?: number | undefined;
1625
+ currentAnnualIncome?: number | undefined;
1626
+ currentHouseholdIncome?: number | undefined;
1627
+ householdNetWorth?: number | undefined;
1628
+ employerName?: string | null | undefined;
1629
+ setupStep?: import("./common.types").SetupStepType | undefined;
1630
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1631
+ ownership?: number | undefined;
1632
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1633
+ custodianName?: string | null | undefined;
1634
+ custodianAccountNumber?: string | null | undefined;
1635
+ custodianRepresentativeName?: string | null | undefined;
1636
+ custodianEmail?: string | null | undefined;
1637
+ accredited?: boolean | undefined;
1638
+ } & {
1639
+ address?: string | null | undefined;
1640
+ city?: string | null | undefined;
1641
+ address2?: string | null | undefined;
1642
+ } & {
1643
+ country?: string | null | undefined;
1644
+ state?: string | null | undefined;
1645
+ } & {
1646
+ country?: string | null | undefined;
1647
+ zip?: string | null | undefined;
1648
+ }>>;
1649
+ export type IndividualCsvRow = z.infer<typeof BaseIndividualCsvFields>;
1650
+ export type JointCsvRow = z.infer<typeof BaseJointCsvFields>;
1651
+ export type LegalEntityCsvRow = z.infer<typeof BaseLegalEntityCsvFields>;
1652
+ export type CsvRowData = IndividualCsvRow | JointCsvRow | LegalEntityCsvRow;
1653
+ export declare const IndividualCsvSchemaWithType: z.ZodIntersection<z.ZodObject<{
1654
+ type: z.ZodLiteral<"INDIVIDUAL">;
1655
+ }, "strip", z.ZodTypeAny, {
1656
+ type: "INDIVIDUAL";
1657
+ }, {
1658
+ type: "INDIVIDUAL";
1659
+ }>, z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1660
+ firstName: z.ZodString;
1661
+ lastName: z.ZodString;
1662
+ email: z.ZodEffects<z.ZodString, string, string>;
1663
+ password: z.ZodString;
1664
+ confirmPassword: z.ZodString;
1665
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1666
+ isOk: () => boolean;
1667
+ isErr: () => boolean;
1668
+ value?: any;
1669
+ error?: any;
1670
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1671
+ isOk: () => boolean;
1672
+ isErr: () => boolean;
1673
+ value?: any;
1674
+ error?: any;
1675
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1676
+ } & {
1677
+ site: z.ZodOptional<z.ZodString>;
1678
+ }, "strip", z.ZodTypeAny, {
1679
+ firstName: string;
1680
+ lastName: string;
1681
+ email: string;
1682
+ password: string;
1683
+ confirmPassword: string;
1684
+ site?: string | undefined;
1685
+ phoneNumber?: any;
1686
+ }, {
1687
+ firstName: string;
1688
+ lastName: string;
1689
+ email: string;
1690
+ password: string;
1691
+ confirmPassword: string;
1692
+ site?: string | undefined;
1693
+ phoneNumber?: string | null | undefined;
1694
+ }>, z.ZodObject<{
1695
+ email: z.ZodOptional<z.ZodString>;
1696
+ name: z.ZodOptional<z.ZodString>;
1697
+ tid: z.ZodOptional<z.ZodString>;
1698
+ } & {
1699
+ investorAccountType: z.ZodOptional<z.ZodNativeEnum<typeof InvestorAccountType>>;
1700
+ userId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1701
+ }, "strip", z.ZodTypeAny, {
1702
+ email?: string | undefined;
1703
+ name?: string | undefined;
1704
+ tid?: string | undefined;
1705
+ userId?: string | undefined;
1706
+ investorAccountType?: InvestorAccountType | undefined;
1707
+ }, {
1708
+ email?: string | undefined;
1709
+ name?: string | undefined;
1710
+ tid?: string | undefined;
1711
+ userId?: string | undefined;
1712
+ investorAccountType?: InvestorAccountType | undefined;
1713
+ }>>, z.ZodObject<{
1714
+ lastName: z.ZodOptional<z.ZodString>;
1715
+ firstName: z.ZodOptional<z.ZodString>;
1716
+ dob: z.ZodOptional<z.ZodDate>;
1717
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1718
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
1719
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
1720
+ currencyCode: z.ZodOptional<z.ZodString>;
1721
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1722
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1723
+ isOk: () => boolean;
1724
+ isErr: () => boolean;
1725
+ value?: any;
1726
+ error?: any;
1727
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1728
+ isOk: () => boolean;
1729
+ isErr: () => boolean;
1730
+ value?: any;
1731
+ error?: any;
1732
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1733
+ ownership: z.ZodOptional<z.ZodNumber>;
1734
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
1735
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
1736
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
1737
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
1738
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1739
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
1740
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
1741
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1742
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1743
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1744
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1745
+ tid: z.ZodOptional<z.ZodString>;
1746
+ } & {
1747
+ investorAccountId: z.ZodOptional<z.ZodString>;
1748
+ role: z.ZodOptional<z.ZodNativeEnum<typeof IndividualRole>>;
1749
+ }, "strip", z.ZodTypeAny, {
1750
+ firstName?: string | undefined;
1751
+ lastName?: string | undefined;
1752
+ email?: string | undefined;
1753
+ role?: IndividualRole | undefined;
1754
+ tid?: string | undefined;
1755
+ phone?: any;
1756
+ investorAccountId?: string | undefined;
1757
+ currencyCode?: string | undefined;
1758
+ liquidNetWorth?: number | undefined;
1759
+ dob?: Date | undefined;
1760
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1761
+ citizenship?: string | undefined;
1762
+ ssn?: string | null | undefined;
1763
+ investedInCrowdfunding?: number | undefined;
1764
+ currentAnnualIncome?: number | undefined;
1765
+ employerName?: string | null | undefined;
1766
+ setupStep?: import("./common.types").SetupStepType | undefined;
1767
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1768
+ ownership?: number | undefined;
1769
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1770
+ custodianName?: string | null | undefined;
1771
+ custodianAccountNumber?: string | null | undefined;
1772
+ custodianRepresentativeName?: string | null | undefined;
1773
+ custodianEmail?: string | null | undefined;
1774
+ }, {
1775
+ firstName?: string | undefined;
1776
+ lastName?: string | undefined;
1777
+ email?: string | undefined;
1778
+ role?: IndividualRole | undefined;
1779
+ tid?: string | undefined;
1780
+ phone?: string | null | undefined;
1781
+ investorAccountId?: string | undefined;
1782
+ currencyCode?: string | undefined;
1783
+ liquidNetWorth?: number | undefined;
1784
+ dob?: Date | undefined;
1785
+ isUsCitizenOrGreenCardHolder?: unknown;
1786
+ citizenship?: string | undefined;
1787
+ ssn?: string | null | undefined;
1788
+ investedInCrowdfunding?: number | undefined;
1789
+ currentAnnualIncome?: number | undefined;
1790
+ employerName?: string | null | undefined;
1791
+ setupStep?: import("./common.types").SetupStepType | undefined;
1792
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1793
+ ownership?: number | undefined;
1794
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1795
+ custodianName?: string | null | undefined;
1796
+ custodianAccountNumber?: string | null | undefined;
1797
+ custodianRepresentativeName?: string | null | undefined;
1798
+ custodianEmail?: string | null | undefined;
1799
+ }>>, z.ZodObject<Omit<{
1800
+ lastName: z.ZodOptional<z.ZodString>;
1801
+ firstName: z.ZodOptional<z.ZodString>;
1802
+ kycFirstName: z.ZodOptional<z.ZodString>;
1803
+ kycLastName: z.ZodOptional<z.ZodString>;
1804
+ dob: z.ZodOptional<z.ZodDate>;
1805
+ currencyCode: z.ZodOptional<z.ZodString>;
1806
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1807
+ isOk: () => boolean;
1808
+ isErr: () => boolean;
1809
+ value?: any;
1810
+ error?: any;
1811
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1812
+ isOk: () => boolean;
1813
+ isErr: () => boolean;
1814
+ value?: any;
1815
+ error?: any;
1816
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1817
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1818
+ ownership: z.ZodOptional<z.ZodNumber>;
1819
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1820
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
1821
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
1822
+ kycDocumentType: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>>;
1823
+ kycDocumentIssuer: z.ZodOptional<z.ZodString>;
1824
+ kycExpirationDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
1825
+ kycIssuerDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
1826
+ kycDocumentNumber: z.ZodOptional<z.ZodString>;
1827
+ householdNetWorth: z.ZodOptional<z.ZodNumber>;
1828
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
1829
+ currentHouseholdIncome: z.ZodOptional<z.ZodNumber>;
1830
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
1831
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
1832
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
1833
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1834
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
1835
+ aicQuestionnaire: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1836
+ kycProvider: z.ZodOptional<z.ZodString>;
1837
+ aicAccreditationType: z.ZodOptional<z.ZodNativeEnum<typeof AicAccreditationType>>;
1838
+ accredited: z.ZodOptional<z.ZodBoolean>;
1839
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
1840
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1841
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1842
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1843
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1844
+ }, "firstName" | "lastName">, "strip", z.ZodTypeAny, {
1845
+ email?: string | undefined;
1846
+ phone?: any;
1847
+ kycFirstName?: string | undefined;
1848
+ kycLastName?: string | undefined;
1849
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1850
+ kycDocumentIssuer?: string | undefined;
1851
+ kycProvider?: string | undefined;
1852
+ currencyCode?: string | undefined;
1853
+ kycDocumentNumber?: string | undefined;
1854
+ kycIssuerDate?: string | undefined;
1855
+ kycExpirationDate?: string | undefined;
1856
+ liquidNetWorth?: number | undefined;
1857
+ aicAccreditationType?: AicAccreditationType | undefined;
1858
+ aicQuestionnaire?: string | undefined;
1859
+ dob?: Date | undefined;
1860
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1861
+ citizenship?: string | undefined;
1862
+ ssn?: string | null | undefined;
1863
+ investedInCrowdfunding?: number | undefined;
1864
+ currentAnnualIncome?: number | undefined;
1865
+ currentHouseholdIncome?: number | undefined;
1866
+ householdNetWorth?: number | undefined;
1867
+ employerName?: string | null | undefined;
1868
+ setupStep?: import("./common.types").SetupStepType | undefined;
1869
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1870
+ ownership?: number | undefined;
1871
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1872
+ custodianName?: string | null | undefined;
1873
+ custodianAccountNumber?: string | null | undefined;
1874
+ custodianRepresentativeName?: string | null | undefined;
1875
+ custodianEmail?: string | null | undefined;
1876
+ accredited?: boolean | undefined;
1877
+ }, {
1878
+ email?: string | undefined;
1879
+ phone?: string | null | undefined;
1880
+ kycFirstName?: string | undefined;
1881
+ kycLastName?: string | undefined;
1882
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1883
+ kycDocumentIssuer?: string | undefined;
1884
+ kycProvider?: string | undefined;
1885
+ currencyCode?: string | undefined;
1886
+ kycDocumentNumber?: string | undefined;
1887
+ kycIssuerDate?: Date | undefined;
1888
+ kycExpirationDate?: Date | undefined;
1889
+ liquidNetWorth?: number | undefined;
1890
+ aicAccreditationType?: AicAccreditationType | undefined;
1891
+ aicQuestionnaire?: string | undefined;
1892
+ dob?: Date | undefined;
1893
+ isUsCitizenOrGreenCardHolder?: unknown;
1894
+ citizenship?: string | undefined;
1895
+ ssn?: string | null | undefined;
1896
+ investedInCrowdfunding?: number | undefined;
1897
+ currentAnnualIncome?: number | undefined;
1898
+ currentHouseholdIncome?: number | undefined;
1899
+ householdNetWorth?: number | undefined;
1900
+ employerName?: string | null | undefined;
1901
+ setupStep?: import("./common.types").SetupStepType | undefined;
1902
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1903
+ ownership?: number | undefined;
1904
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1905
+ custodianName?: string | null | undefined;
1906
+ custodianAccountNumber?: string | null | undefined;
1907
+ custodianRepresentativeName?: string | null | undefined;
1908
+ custodianEmail?: string | null | undefined;
1909
+ accredited?: boolean | undefined;
1910
+ }>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1911
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1912
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1913
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1914
+ }, "strip", z.ZodTypeAny, {
1915
+ address?: string | null | undefined;
1916
+ city?: string | null | undefined;
1917
+ address2?: string | null | undefined;
1918
+ }, {
1919
+ address?: string | null | undefined;
1920
+ city?: string | null | undefined;
1921
+ address2?: string | null | undefined;
1922
+ }>, z.ZodEffects<z.ZodObject<{
1923
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
1924
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1925
+ }, "strip", z.ZodTypeAny, {
1926
+ country?: string | null | undefined;
1927
+ state?: string | null | undefined;
1928
+ }, {
1929
+ country?: string | null | undefined;
1930
+ state?: string | null | undefined;
1931
+ }>, {
1932
+ country?: string | null | undefined;
1933
+ state?: string | null | undefined;
1934
+ }, {
1935
+ country?: string | null | undefined;
1936
+ state?: string | null | undefined;
1937
+ }>>, z.ZodEffects<z.ZodObject<{
1938
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
1939
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1940
+ }, "strip", z.ZodTypeAny, {
1941
+ country?: string | null | undefined;
1942
+ zip?: string | null | undefined;
1943
+ }, {
1944
+ country?: string | null | undefined;
1945
+ zip?: string | null | undefined;
1946
+ }>, {
1947
+ country?: string | null | undefined;
1948
+ zip?: string | null | undefined;
1949
+ }, {
1950
+ country?: string | null | undefined;
1951
+ zip?: string | null | undefined;
1952
+ }>>>, {
1953
+ firstName: string;
1954
+ lastName: string;
1955
+ email: string;
1956
+ password: string;
1957
+ confirmPassword: string;
1958
+ site?: string | undefined;
1959
+ phoneNumber?: any;
1960
+ } & {
1961
+ email?: string | undefined;
1962
+ name?: string | undefined;
1963
+ tid?: string | undefined;
1964
+ userId?: string | undefined;
1965
+ investorAccountType?: InvestorAccountType | undefined;
1966
+ } & {
1967
+ firstName?: string | undefined;
1968
+ lastName?: string | undefined;
1969
+ email?: string | undefined;
1970
+ role?: IndividualRole | undefined;
1971
+ tid?: string | undefined;
1972
+ phone?: any;
1973
+ investorAccountId?: string | undefined;
1974
+ currencyCode?: string | undefined;
1975
+ liquidNetWorth?: number | undefined;
1976
+ dob?: Date | undefined;
1977
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1978
+ citizenship?: string | undefined;
1979
+ ssn?: string | null | undefined;
1980
+ investedInCrowdfunding?: number | undefined;
1981
+ currentAnnualIncome?: number | undefined;
1982
+ employerName?: string | null | undefined;
1983
+ setupStep?: import("./common.types").SetupStepType | undefined;
1984
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1985
+ ownership?: number | undefined;
1986
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1987
+ custodianName?: string | null | undefined;
1988
+ custodianAccountNumber?: string | null | undefined;
1989
+ custodianRepresentativeName?: string | null | undefined;
1990
+ custodianEmail?: string | null | undefined;
1991
+ } & {
1992
+ email?: string | undefined;
1993
+ phone?: any;
1994
+ kycFirstName?: string | undefined;
1995
+ kycLastName?: string | undefined;
1996
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1997
+ kycDocumentIssuer?: string | undefined;
1998
+ kycProvider?: string | undefined;
1999
+ currencyCode?: string | undefined;
2000
+ kycDocumentNumber?: string | undefined;
2001
+ kycIssuerDate?: string | undefined;
2002
+ kycExpirationDate?: string | undefined;
2003
+ liquidNetWorth?: number | undefined;
2004
+ aicAccreditationType?: AicAccreditationType | undefined;
2005
+ aicQuestionnaire?: string | undefined;
2006
+ dob?: Date | undefined;
2007
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
2008
+ citizenship?: string | undefined;
2009
+ ssn?: string | null | undefined;
2010
+ investedInCrowdfunding?: number | undefined;
2011
+ currentAnnualIncome?: number | undefined;
2012
+ currentHouseholdIncome?: number | undefined;
2013
+ householdNetWorth?: number | undefined;
2014
+ employerName?: string | null | undefined;
2015
+ setupStep?: import("./common.types").SetupStepType | undefined;
2016
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2017
+ ownership?: number | undefined;
2018
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2019
+ custodianName?: string | null | undefined;
2020
+ custodianAccountNumber?: string | null | undefined;
2021
+ custodianRepresentativeName?: string | null | undefined;
2022
+ custodianEmail?: string | null | undefined;
2023
+ accredited?: boolean | undefined;
2024
+ } & {
2025
+ address?: string | null | undefined;
2026
+ city?: string | null | undefined;
2027
+ address2?: string | null | undefined;
2028
+ } & {
2029
+ country?: string | null | undefined;
2030
+ state?: string | null | undefined;
2031
+ } & {
2032
+ country?: string | null | undefined;
2033
+ zip?: string | null | undefined;
2034
+ }, {
2035
+ firstName: string;
2036
+ lastName: string;
2037
+ email: string;
2038
+ password: string;
2039
+ confirmPassword: string;
2040
+ site?: string | undefined;
2041
+ phoneNumber?: string | null | undefined;
2042
+ } & {
2043
+ email?: string | undefined;
2044
+ name?: string | undefined;
2045
+ tid?: string | undefined;
2046
+ userId?: string | undefined;
2047
+ investorAccountType?: InvestorAccountType | undefined;
2048
+ } & {
2049
+ firstName?: string | undefined;
2050
+ lastName?: string | undefined;
2051
+ email?: string | undefined;
2052
+ role?: IndividualRole | undefined;
2053
+ tid?: string | undefined;
2054
+ phone?: string | null | undefined;
2055
+ investorAccountId?: string | undefined;
2056
+ currencyCode?: string | undefined;
2057
+ liquidNetWorth?: number | undefined;
2058
+ dob?: Date | undefined;
2059
+ isUsCitizenOrGreenCardHolder?: unknown;
2060
+ citizenship?: string | undefined;
2061
+ ssn?: string | null | undefined;
2062
+ investedInCrowdfunding?: number | undefined;
2063
+ currentAnnualIncome?: number | undefined;
2064
+ employerName?: string | null | undefined;
2065
+ setupStep?: import("./common.types").SetupStepType | undefined;
2066
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2067
+ ownership?: number | undefined;
2068
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2069
+ custodianName?: string | null | undefined;
2070
+ custodianAccountNumber?: string | null | undefined;
2071
+ custodianRepresentativeName?: string | null | undefined;
2072
+ custodianEmail?: string | null | undefined;
2073
+ } & {
2074
+ email?: string | undefined;
2075
+ phone?: string | null | undefined;
2076
+ kycFirstName?: string | undefined;
2077
+ kycLastName?: string | undefined;
2078
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
2079
+ kycDocumentIssuer?: string | undefined;
2080
+ kycProvider?: string | undefined;
2081
+ currencyCode?: string | undefined;
2082
+ kycDocumentNumber?: string | undefined;
2083
+ kycIssuerDate?: Date | undefined;
2084
+ kycExpirationDate?: Date | undefined;
2085
+ liquidNetWorth?: number | undefined;
2086
+ aicAccreditationType?: AicAccreditationType | undefined;
2087
+ aicQuestionnaire?: string | undefined;
2088
+ dob?: Date | undefined;
2089
+ isUsCitizenOrGreenCardHolder?: unknown;
2090
+ citizenship?: string | undefined;
2091
+ ssn?: string | null | undefined;
2092
+ investedInCrowdfunding?: number | undefined;
2093
+ currentAnnualIncome?: number | undefined;
2094
+ currentHouseholdIncome?: number | undefined;
2095
+ householdNetWorth?: number | undefined;
2096
+ employerName?: string | null | undefined;
2097
+ setupStep?: import("./common.types").SetupStepType | undefined;
2098
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2099
+ ownership?: number | undefined;
2100
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2101
+ custodianName?: string | null | undefined;
2102
+ custodianAccountNumber?: string | null | undefined;
2103
+ custodianRepresentativeName?: string | null | undefined;
2104
+ custodianEmail?: string | null | undefined;
2105
+ accredited?: boolean | undefined;
2106
+ } & {
2107
+ address?: string | null | undefined;
2108
+ city?: string | null | undefined;
2109
+ address2?: string | null | undefined;
2110
+ } & {
2111
+ country?: string | null | undefined;
2112
+ state?: string | null | undefined;
2113
+ } & {
2114
+ country?: string | null | undefined;
2115
+ zip?: string | null | undefined;
2116
+ }>>;
2117
+ export declare const JointCsvSchemaWithType: z.ZodIntersection<z.ZodObject<{
2118
+ type: z.ZodLiteral<"JOINT">;
2119
+ }, "strip", z.ZodTypeAny, {
2120
+ type: "JOINT";
2121
+ }, {
2122
+ type: "JOINT";
2123
+ }>, z.ZodIntersection<z.ZodObject<{
2124
+ secondHolderFirstName: z.ZodString;
2125
+ secondHolderLastName: z.ZodString;
2126
+ secondHolderEmail: z.ZodString;
2127
+ secondHolderPhone: z.ZodString;
2128
+ secondHolderDob: z.ZodOptional<z.ZodDate>;
2129
+ secondHolderDateOfBirth: z.ZodOptional<z.ZodDate>;
2130
+ secondHolderSsn: z.ZodString;
2131
+ secondHolderOwnership: z.ZodNumber;
2132
+ secondHolderIsUsCitizenOrGreenCardHolder: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
2133
+ secondHolderCitizenship: z.ZodString;
2134
+ }, "strip", z.ZodTypeAny, {
2135
+ secondHolderFirstName: string;
2136
+ secondHolderLastName: string;
2137
+ secondHolderEmail: string;
2138
+ secondHolderPhone: string;
2139
+ secondHolderSsn: string;
2140
+ secondHolderOwnership: number;
2141
+ secondHolderIsUsCitizenOrGreenCardHolder: boolean;
2142
+ secondHolderCitizenship: string;
2143
+ secondHolderDob?: Date | undefined;
2144
+ secondHolderDateOfBirth?: Date | undefined;
2145
+ }, {
2146
+ secondHolderFirstName: string;
2147
+ secondHolderLastName: string;
2148
+ secondHolderEmail: string;
2149
+ secondHolderPhone: string;
2150
+ secondHolderSsn: string;
2151
+ secondHolderOwnership: number;
2152
+ secondHolderCitizenship: string;
2153
+ secondHolderDob?: Date | undefined;
2154
+ secondHolderDateOfBirth?: Date | undefined;
2155
+ secondHolderIsUsCitizenOrGreenCardHolder?: unknown;
2156
+ }>, z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
2157
+ firstName: z.ZodString;
2158
+ lastName: z.ZodString;
2159
+ email: z.ZodEffects<z.ZodString, string, string>;
2160
+ password: z.ZodString;
2161
+ confirmPassword: z.ZodString;
2162
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
2163
+ isOk: () => boolean;
2164
+ isErr: () => boolean;
2165
+ value?: any;
2166
+ error?: any;
2167
+ } | import("neverthrow").Ok<null, never>, string | null>, {
2168
+ isOk: () => boolean;
2169
+ isErr: () => boolean;
2170
+ value?: any;
2171
+ error?: any;
2172
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
2173
+ } & {
2174
+ site: z.ZodOptional<z.ZodString>;
2175
+ }, "strip", z.ZodTypeAny, {
2176
+ firstName: string;
2177
+ lastName: string;
2178
+ email: string;
2179
+ password: string;
2180
+ confirmPassword: string;
2181
+ site?: string | undefined;
2182
+ phoneNumber?: any;
2183
+ }, {
2184
+ firstName: string;
2185
+ lastName: string;
2186
+ email: string;
2187
+ password: string;
2188
+ confirmPassword: string;
2189
+ site?: string | undefined;
2190
+ phoneNumber?: string | null | undefined;
2191
+ }>, z.ZodObject<{
2192
+ email: z.ZodOptional<z.ZodString>;
2193
+ name: z.ZodOptional<z.ZodString>;
2194
+ tid: z.ZodOptional<z.ZodString>;
2195
+ } & {
2196
+ investorAccountType: z.ZodOptional<z.ZodNativeEnum<typeof InvestorAccountType>>;
2197
+ userId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
2198
+ }, "strip", z.ZodTypeAny, {
2199
+ email?: string | undefined;
2200
+ name?: string | undefined;
2201
+ tid?: string | undefined;
2202
+ userId?: string | undefined;
2203
+ investorAccountType?: InvestorAccountType | undefined;
2204
+ }, {
2205
+ email?: string | undefined;
2206
+ name?: string | undefined;
2207
+ tid?: string | undefined;
2208
+ userId?: string | undefined;
2209
+ investorAccountType?: InvestorAccountType | undefined;
2210
+ }>>, z.ZodObject<{
2211
+ lastName: z.ZodOptional<z.ZodString>;
2212
+ firstName: z.ZodOptional<z.ZodString>;
2213
+ dob: z.ZodOptional<z.ZodDate>;
2214
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
2215
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
2216
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
2217
+ currencyCode: z.ZodOptional<z.ZodString>;
2218
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2219
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
2220
+ isOk: () => boolean;
2221
+ isErr: () => boolean;
2222
+ value?: any;
2223
+ error?: any;
2224
+ } | import("neverthrow").Ok<null, never>, string | null>, {
2225
+ isOk: () => boolean;
2226
+ isErr: () => boolean;
2227
+ value?: any;
2228
+ error?: any;
2229
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
2230
+ ownership: z.ZodOptional<z.ZodNumber>;
2231
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
2232
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
2233
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
2234
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
2235
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2236
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
2237
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
2238
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2239
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2240
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2241
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2242
+ tid: z.ZodOptional<z.ZodString>;
2243
+ } & {
2244
+ investorAccountId: z.ZodOptional<z.ZodString>;
2245
+ role: z.ZodOptional<z.ZodNativeEnum<typeof IndividualRole>>;
2246
+ }, "strip", z.ZodTypeAny, {
2247
+ firstName?: string | undefined;
2248
+ lastName?: string | undefined;
2249
+ email?: string | undefined;
2250
+ role?: IndividualRole | undefined;
2251
+ tid?: string | undefined;
2252
+ phone?: any;
2253
+ investorAccountId?: string | undefined;
2254
+ currencyCode?: string | undefined;
2255
+ liquidNetWorth?: number | undefined;
2256
+ dob?: Date | undefined;
2257
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
2258
+ citizenship?: string | undefined;
2259
+ ssn?: string | null | undefined;
2260
+ investedInCrowdfunding?: number | undefined;
2261
+ currentAnnualIncome?: number | undefined;
2262
+ employerName?: string | null | undefined;
2263
+ setupStep?: import("./common.types").SetupStepType | undefined;
2264
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2265
+ ownership?: number | undefined;
2266
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2267
+ custodianName?: string | null | undefined;
2268
+ custodianAccountNumber?: string | null | undefined;
2269
+ custodianRepresentativeName?: string | null | undefined;
2270
+ custodianEmail?: string | null | undefined;
2271
+ }, {
2272
+ firstName?: string | undefined;
2273
+ lastName?: string | undefined;
2274
+ email?: string | undefined;
2275
+ role?: IndividualRole | undefined;
2276
+ tid?: string | undefined;
2277
+ phone?: string | null | undefined;
2278
+ investorAccountId?: string | undefined;
2279
+ currencyCode?: string | undefined;
2280
+ liquidNetWorth?: number | undefined;
2281
+ dob?: Date | undefined;
2282
+ isUsCitizenOrGreenCardHolder?: unknown;
2283
+ citizenship?: string | undefined;
2284
+ ssn?: string | null | undefined;
2285
+ investedInCrowdfunding?: number | undefined;
2286
+ currentAnnualIncome?: number | undefined;
2287
+ employerName?: string | null | undefined;
2288
+ setupStep?: import("./common.types").SetupStepType | undefined;
2289
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2290
+ ownership?: number | undefined;
2291
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2292
+ custodianName?: string | null | undefined;
2293
+ custodianAccountNumber?: string | null | undefined;
2294
+ custodianRepresentativeName?: string | null | undefined;
2295
+ custodianEmail?: string | null | undefined;
2296
+ }>>, z.ZodObject<Omit<{
2297
+ lastName: z.ZodOptional<z.ZodString>;
2298
+ firstName: z.ZodOptional<z.ZodString>;
2299
+ kycFirstName: z.ZodOptional<z.ZodString>;
2300
+ kycLastName: z.ZodOptional<z.ZodString>;
2301
+ dob: z.ZodOptional<z.ZodDate>;
2302
+ currencyCode: z.ZodOptional<z.ZodString>;
2303
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
2304
+ isOk: () => boolean;
2305
+ isErr: () => boolean;
2306
+ value?: any;
2307
+ error?: any;
2308
+ } | import("neverthrow").Ok<null, never>, string | null>, {
2309
+ isOk: () => boolean;
2310
+ isErr: () => boolean;
2311
+ value?: any;
2312
+ error?: any;
2313
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
2314
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2315
+ ownership: z.ZodOptional<z.ZodNumber>;
2316
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
2317
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
2318
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
2319
+ kycDocumentType: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>>;
2320
+ kycDocumentIssuer: z.ZodOptional<z.ZodString>;
2321
+ kycExpirationDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
2322
+ kycIssuerDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
2323
+ kycDocumentNumber: z.ZodOptional<z.ZodString>;
2324
+ householdNetWorth: z.ZodOptional<z.ZodNumber>;
2325
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
2326
+ currentHouseholdIncome: z.ZodOptional<z.ZodNumber>;
2327
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
2328
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
2329
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
2330
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2331
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
2332
+ aicQuestionnaire: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2333
+ kycProvider: z.ZodOptional<z.ZodString>;
2334
+ aicAccreditationType: z.ZodOptional<z.ZodNativeEnum<typeof AicAccreditationType>>;
2335
+ accredited: z.ZodOptional<z.ZodBoolean>;
2336
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
2337
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2338
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2339
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2340
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2341
+ }, "firstName" | "lastName">, "strip", z.ZodTypeAny, {
2342
+ email?: string | undefined;
2343
+ phone?: any;
2344
+ kycFirstName?: string | undefined;
2345
+ kycLastName?: string | undefined;
2346
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
2347
+ kycDocumentIssuer?: string | undefined;
2348
+ kycProvider?: string | undefined;
2349
+ currencyCode?: string | undefined;
2350
+ kycDocumentNumber?: string | undefined;
2351
+ kycIssuerDate?: string | undefined;
2352
+ kycExpirationDate?: string | undefined;
2353
+ liquidNetWorth?: number | undefined;
2354
+ aicAccreditationType?: AicAccreditationType | undefined;
2355
+ aicQuestionnaire?: string | undefined;
2356
+ dob?: Date | undefined;
2357
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
2358
+ citizenship?: string | undefined;
2359
+ ssn?: string | null | undefined;
2360
+ investedInCrowdfunding?: number | undefined;
2361
+ currentAnnualIncome?: number | undefined;
2362
+ currentHouseholdIncome?: number | undefined;
2363
+ householdNetWorth?: number | undefined;
2364
+ employerName?: string | null | undefined;
2365
+ setupStep?: import("./common.types").SetupStepType | undefined;
2366
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2367
+ ownership?: number | undefined;
2368
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2369
+ custodianName?: string | null | undefined;
2370
+ custodianAccountNumber?: string | null | undefined;
2371
+ custodianRepresentativeName?: string | null | undefined;
2372
+ custodianEmail?: string | null | undefined;
2373
+ accredited?: boolean | undefined;
2374
+ }, {
2375
+ email?: string | undefined;
2376
+ phone?: string | null | undefined;
2377
+ kycFirstName?: string | undefined;
2378
+ kycLastName?: string | undefined;
2379
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
2380
+ kycDocumentIssuer?: string | undefined;
2381
+ kycProvider?: string | undefined;
2382
+ currencyCode?: string | undefined;
2383
+ kycDocumentNumber?: string | undefined;
2384
+ kycIssuerDate?: Date | undefined;
2385
+ kycExpirationDate?: Date | undefined;
2386
+ liquidNetWorth?: number | undefined;
2387
+ aicAccreditationType?: AicAccreditationType | undefined;
2388
+ aicQuestionnaire?: string | undefined;
2389
+ dob?: Date | undefined;
2390
+ isUsCitizenOrGreenCardHolder?: unknown;
2391
+ citizenship?: string | undefined;
2392
+ ssn?: string | null | undefined;
2393
+ investedInCrowdfunding?: number | undefined;
2394
+ currentAnnualIncome?: number | undefined;
2395
+ currentHouseholdIncome?: number | undefined;
2396
+ householdNetWorth?: number | undefined;
2397
+ employerName?: string | null | undefined;
2398
+ setupStep?: import("./common.types").SetupStepType | undefined;
2399
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2400
+ ownership?: number | undefined;
2401
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2402
+ custodianName?: string | null | undefined;
2403
+ custodianAccountNumber?: string | null | undefined;
2404
+ custodianRepresentativeName?: string | null | undefined;
2405
+ custodianEmail?: string | null | undefined;
2406
+ accredited?: boolean | undefined;
2407
+ }>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
2408
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2409
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2410
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2411
+ }, "strip", z.ZodTypeAny, {
2412
+ address?: string | null | undefined;
2413
+ city?: string | null | undefined;
2414
+ address2?: string | null | undefined;
2415
+ }, {
2416
+ address?: string | null | undefined;
2417
+ city?: string | null | undefined;
2418
+ address2?: string | null | undefined;
2419
+ }>, z.ZodEffects<z.ZodObject<{
2420
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
2421
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2422
+ }, "strip", z.ZodTypeAny, {
2423
+ country?: string | null | undefined;
2424
+ state?: string | null | undefined;
2425
+ }, {
2426
+ country?: string | null | undefined;
2427
+ state?: string | null | undefined;
2428
+ }>, {
2429
+ country?: string | null | undefined;
2430
+ state?: string | null | undefined;
2431
+ }, {
2432
+ country?: string | null | undefined;
2433
+ state?: string | null | undefined;
2434
+ }>>, z.ZodEffects<z.ZodObject<{
2435
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
2436
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2437
+ }, "strip", z.ZodTypeAny, {
2438
+ country?: string | null | undefined;
2439
+ zip?: string | null | undefined;
2440
+ }, {
2441
+ country?: string | null | undefined;
2442
+ zip?: string | null | undefined;
2443
+ }>, {
2444
+ country?: string | null | undefined;
2445
+ zip?: string | null | undefined;
2446
+ }, {
2447
+ country?: string | null | undefined;
2448
+ zip?: string | null | undefined;
2449
+ }>>>, {
2450
+ firstName: string;
2451
+ lastName: string;
2452
+ email: string;
2453
+ password: string;
2454
+ confirmPassword: string;
2455
+ site?: string | undefined;
2456
+ phoneNumber?: any;
2457
+ } & {
2458
+ email?: string | undefined;
2459
+ name?: string | undefined;
2460
+ tid?: string | undefined;
2461
+ userId?: string | undefined;
2462
+ investorAccountType?: InvestorAccountType | undefined;
2463
+ } & {
2464
+ firstName?: string | undefined;
2465
+ lastName?: string | undefined;
2466
+ email?: string | undefined;
2467
+ role?: IndividualRole | undefined;
2468
+ tid?: string | undefined;
2469
+ phone?: any;
2470
+ investorAccountId?: string | undefined;
2471
+ currencyCode?: string | undefined;
2472
+ liquidNetWorth?: number | undefined;
2473
+ dob?: Date | undefined;
2474
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
2475
+ citizenship?: string | undefined;
2476
+ ssn?: string | null | undefined;
2477
+ investedInCrowdfunding?: number | undefined;
2478
+ currentAnnualIncome?: number | undefined;
2479
+ employerName?: string | null | undefined;
2480
+ setupStep?: import("./common.types").SetupStepType | undefined;
2481
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2482
+ ownership?: number | undefined;
2483
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2484
+ custodianName?: string | null | undefined;
2485
+ custodianAccountNumber?: string | null | undefined;
2486
+ custodianRepresentativeName?: string | null | undefined;
2487
+ custodianEmail?: string | null | undefined;
2488
+ } & {
2489
+ email?: string | undefined;
2490
+ phone?: any;
2491
+ kycFirstName?: string | undefined;
2492
+ kycLastName?: string | undefined;
2493
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
2494
+ kycDocumentIssuer?: string | undefined;
2495
+ kycProvider?: string | undefined;
2496
+ currencyCode?: string | undefined;
2497
+ kycDocumentNumber?: string | undefined;
2498
+ kycIssuerDate?: string | undefined;
2499
+ kycExpirationDate?: string | undefined;
2500
+ liquidNetWorth?: number | undefined;
2501
+ aicAccreditationType?: AicAccreditationType | undefined;
2502
+ aicQuestionnaire?: string | undefined;
2503
+ dob?: Date | undefined;
2504
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
2505
+ citizenship?: string | undefined;
2506
+ ssn?: string | null | undefined;
2507
+ investedInCrowdfunding?: number | undefined;
2508
+ currentAnnualIncome?: number | undefined;
2509
+ currentHouseholdIncome?: number | undefined;
2510
+ householdNetWorth?: number | undefined;
2511
+ employerName?: string | null | undefined;
2512
+ setupStep?: import("./common.types").SetupStepType | undefined;
2513
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2514
+ ownership?: number | undefined;
2515
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2516
+ custodianName?: string | null | undefined;
2517
+ custodianAccountNumber?: string | null | undefined;
2518
+ custodianRepresentativeName?: string | null | undefined;
2519
+ custodianEmail?: string | null | undefined;
2520
+ accredited?: boolean | undefined;
2521
+ } & {
2522
+ address?: string | null | undefined;
2523
+ city?: string | null | undefined;
2524
+ address2?: string | null | undefined;
2525
+ } & {
2526
+ country?: string | null | undefined;
2527
+ state?: string | null | undefined;
2528
+ } & {
2529
+ country?: string | null | undefined;
2530
+ zip?: string | null | undefined;
2531
+ }, {
2532
+ firstName: string;
2533
+ lastName: string;
2534
+ email: string;
2535
+ password: string;
2536
+ confirmPassword: string;
2537
+ site?: string | undefined;
2538
+ phoneNumber?: string | null | undefined;
2539
+ } & {
2540
+ email?: string | undefined;
2541
+ name?: string | undefined;
2542
+ tid?: string | undefined;
2543
+ userId?: string | undefined;
2544
+ investorAccountType?: InvestorAccountType | undefined;
2545
+ } & {
2546
+ firstName?: string | undefined;
2547
+ lastName?: string | undefined;
2548
+ email?: string | undefined;
2549
+ role?: IndividualRole | undefined;
2550
+ tid?: string | undefined;
2551
+ phone?: string | null | undefined;
2552
+ investorAccountId?: string | undefined;
2553
+ currencyCode?: string | undefined;
2554
+ liquidNetWorth?: number | undefined;
2555
+ dob?: Date | undefined;
2556
+ isUsCitizenOrGreenCardHolder?: unknown;
2557
+ citizenship?: string | undefined;
2558
+ ssn?: string | null | undefined;
2559
+ investedInCrowdfunding?: number | undefined;
2560
+ currentAnnualIncome?: number | undefined;
2561
+ employerName?: string | null | undefined;
2562
+ setupStep?: import("./common.types").SetupStepType | undefined;
2563
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2564
+ ownership?: number | undefined;
2565
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2566
+ custodianName?: string | null | undefined;
2567
+ custodianAccountNumber?: string | null | undefined;
2568
+ custodianRepresentativeName?: string | null | undefined;
2569
+ custodianEmail?: string | null | undefined;
2570
+ } & {
2571
+ email?: string | undefined;
2572
+ phone?: string | null | undefined;
2573
+ kycFirstName?: string | undefined;
2574
+ kycLastName?: string | undefined;
2575
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
2576
+ kycDocumentIssuer?: string | undefined;
2577
+ kycProvider?: string | undefined;
2578
+ currencyCode?: string | undefined;
2579
+ kycDocumentNumber?: string | undefined;
2580
+ kycIssuerDate?: Date | undefined;
2581
+ kycExpirationDate?: Date | undefined;
2582
+ liquidNetWorth?: number | undefined;
2583
+ aicAccreditationType?: AicAccreditationType | undefined;
2584
+ aicQuestionnaire?: string | undefined;
2585
+ dob?: Date | undefined;
2586
+ isUsCitizenOrGreenCardHolder?: unknown;
2587
+ citizenship?: string | undefined;
2588
+ ssn?: string | null | undefined;
2589
+ investedInCrowdfunding?: number | undefined;
2590
+ currentAnnualIncome?: number | undefined;
2591
+ currentHouseholdIncome?: number | undefined;
2592
+ householdNetWorth?: number | undefined;
2593
+ employerName?: string | null | undefined;
2594
+ setupStep?: import("./common.types").SetupStepType | undefined;
2595
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2596
+ ownership?: number | undefined;
2597
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2598
+ custodianName?: string | null | undefined;
2599
+ custodianAccountNumber?: string | null | undefined;
2600
+ custodianRepresentativeName?: string | null | undefined;
2601
+ custodianEmail?: string | null | undefined;
2602
+ accredited?: boolean | undefined;
2603
+ } & {
2604
+ address?: string | null | undefined;
2605
+ city?: string | null | undefined;
2606
+ address2?: string | null | undefined;
2607
+ } & {
2608
+ country?: string | null | undefined;
2609
+ state?: string | null | undefined;
2610
+ } & {
2611
+ country?: string | null | undefined;
2612
+ zip?: string | null | undefined;
2613
+ }>>>;
2614
+ export declare const LegalEntityCsvSchemaWithType: z.ZodIntersection<z.ZodObject<{
2615
+ type: z.ZodLiteral<"LEGAL_ENTITY">;
2616
+ }, "strip", z.ZodTypeAny, {
2617
+ type: "LEGAL_ENTITY";
2618
+ }, {
2619
+ type: "LEGAL_ENTITY";
2620
+ }>, z.ZodIntersection<z.ZodObject<{
2621
+ entityName: z.ZodString;
2622
+ ein: z.ZodString;
2623
+ companyType: z.ZodString;
2624
+ dateOfIncorporation: z.ZodDate;
2625
+ stateOfIncorporation: z.ZodString;
2626
+ secondHolderFirstName: z.ZodOptional<z.ZodString>;
2627
+ secondHolderLastName: z.ZodOptional<z.ZodString>;
2628
+ secondHolderEmail: z.ZodOptional<z.ZodString>;
2629
+ secondHolderPhone: z.ZodOptional<z.ZodString>;
2630
+ secondHolderDob: z.ZodOptional<z.ZodDate>;
2631
+ secondHolderDateOfBirth: z.ZodOptional<z.ZodDate>;
2632
+ secondHolderSsn: z.ZodOptional<z.ZodString>;
2633
+ secondHolderOwnership: z.ZodOptional<z.ZodNumber>;
2634
+ secondHolderIsUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
2635
+ secondHolderCitizenship: z.ZodOptional<z.ZodString>;
2636
+ }, "strip", z.ZodTypeAny, {
2637
+ ein: string;
2638
+ companyType: string;
2639
+ entityName: string;
2640
+ dateOfIncorporation: Date;
2641
+ stateOfIncorporation: string;
2642
+ secondHolderFirstName?: string | undefined;
2643
+ secondHolderLastName?: string | undefined;
2644
+ secondHolderEmail?: string | undefined;
2645
+ secondHolderPhone?: string | undefined;
2646
+ secondHolderDob?: Date | undefined;
2647
+ secondHolderDateOfBirth?: Date | undefined;
2648
+ secondHolderSsn?: string | undefined;
2649
+ secondHolderOwnership?: number | undefined;
2650
+ secondHolderIsUsCitizenOrGreenCardHolder?: boolean | undefined;
2651
+ secondHolderCitizenship?: string | undefined;
2652
+ }, {
2653
+ ein: string;
2654
+ companyType: string;
2655
+ entityName: string;
2656
+ dateOfIncorporation: Date;
2657
+ stateOfIncorporation: string;
2658
+ secondHolderFirstName?: string | undefined;
2659
+ secondHolderLastName?: string | undefined;
2660
+ secondHolderEmail?: string | undefined;
2661
+ secondHolderPhone?: string | undefined;
2662
+ secondHolderDob?: Date | undefined;
2663
+ secondHolderDateOfBirth?: Date | undefined;
2664
+ secondHolderSsn?: string | undefined;
2665
+ secondHolderOwnership?: number | undefined;
2666
+ secondHolderIsUsCitizenOrGreenCardHolder?: unknown;
2667
+ secondHolderCitizenship?: string | undefined;
2668
+ }>, z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
2669
+ firstName: z.ZodString;
2670
+ lastName: z.ZodString;
2671
+ email: z.ZodEffects<z.ZodString, string, string>;
2672
+ password: z.ZodString;
2673
+ confirmPassword: z.ZodString;
2674
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
2675
+ isOk: () => boolean;
2676
+ isErr: () => boolean;
2677
+ value?: any;
2678
+ error?: any;
2679
+ } | import("neverthrow").Ok<null, never>, string | null>, {
2680
+ isOk: () => boolean;
2681
+ isErr: () => boolean;
2682
+ value?: any;
2683
+ error?: any;
2684
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
2685
+ } & {
2686
+ site: z.ZodOptional<z.ZodString>;
2687
+ }, "strip", z.ZodTypeAny, {
2688
+ firstName: string;
2689
+ lastName: string;
2690
+ email: string;
2691
+ password: string;
2692
+ confirmPassword: string;
2693
+ site?: string | undefined;
2694
+ phoneNumber?: any;
2695
+ }, {
2696
+ firstName: string;
2697
+ lastName: string;
2698
+ email: string;
2699
+ password: string;
2700
+ confirmPassword: string;
2701
+ site?: string | undefined;
2702
+ phoneNumber?: string | null | undefined;
2703
+ }>, z.ZodObject<{
2704
+ email: z.ZodOptional<z.ZodString>;
2705
+ name: z.ZodOptional<z.ZodString>;
2706
+ tid: z.ZodOptional<z.ZodString>;
2707
+ } & {
2708
+ investorAccountType: z.ZodOptional<z.ZodNativeEnum<typeof InvestorAccountType>>;
2709
+ userId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
2710
+ }, "strip", z.ZodTypeAny, {
2711
+ email?: string | undefined;
2712
+ name?: string | undefined;
2713
+ tid?: string | undefined;
2714
+ userId?: string | undefined;
2715
+ investorAccountType?: InvestorAccountType | undefined;
2716
+ }, {
2717
+ email?: string | undefined;
2718
+ name?: string | undefined;
2719
+ tid?: string | undefined;
2720
+ userId?: string | undefined;
2721
+ investorAccountType?: InvestorAccountType | undefined;
2722
+ }>>, z.ZodObject<{
2723
+ lastName: z.ZodOptional<z.ZodString>;
2724
+ firstName: z.ZodOptional<z.ZodString>;
2725
+ dob: z.ZodOptional<z.ZodDate>;
2726
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
2727
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
2728
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
2729
+ currencyCode: z.ZodOptional<z.ZodString>;
2730
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2731
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
2732
+ isOk: () => boolean;
2733
+ isErr: () => boolean;
2734
+ value?: any;
2735
+ error?: any;
2736
+ } | import("neverthrow").Ok<null, never>, string | null>, {
2737
+ isOk: () => boolean;
2738
+ isErr: () => boolean;
2739
+ value?: any;
2740
+ error?: any;
2741
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
2742
+ ownership: z.ZodOptional<z.ZodNumber>;
2743
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
2744
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
2745
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
2746
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
2747
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2748
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
2749
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
2750
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2751
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2752
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2753
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2754
+ tid: z.ZodOptional<z.ZodString>;
2755
+ } & {
2756
+ investorAccountId: z.ZodOptional<z.ZodString>;
2757
+ role: z.ZodOptional<z.ZodNativeEnum<typeof IndividualRole>>;
2758
+ }, "strip", z.ZodTypeAny, {
2759
+ firstName?: string | undefined;
2760
+ lastName?: string | undefined;
2761
+ email?: string | undefined;
2762
+ role?: IndividualRole | undefined;
2763
+ tid?: string | undefined;
2764
+ phone?: any;
2765
+ investorAccountId?: string | undefined;
2766
+ currencyCode?: string | undefined;
2767
+ liquidNetWorth?: number | undefined;
2768
+ dob?: Date | undefined;
2769
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
2770
+ citizenship?: string | undefined;
2771
+ ssn?: string | null | undefined;
2772
+ investedInCrowdfunding?: number | undefined;
2773
+ currentAnnualIncome?: number | undefined;
2774
+ employerName?: string | null | undefined;
2775
+ setupStep?: import("./common.types").SetupStepType | undefined;
2776
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2777
+ ownership?: number | undefined;
2778
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2779
+ custodianName?: string | null | undefined;
2780
+ custodianAccountNumber?: string | null | undefined;
2781
+ custodianRepresentativeName?: string | null | undefined;
2782
+ custodianEmail?: string | null | undefined;
2783
+ }, {
2784
+ firstName?: string | undefined;
2785
+ lastName?: string | undefined;
2786
+ email?: string | undefined;
2787
+ role?: IndividualRole | undefined;
2788
+ tid?: string | undefined;
2789
+ phone?: string | null | undefined;
2790
+ investorAccountId?: string | undefined;
2791
+ currencyCode?: string | undefined;
2792
+ liquidNetWorth?: number | undefined;
2793
+ dob?: Date | undefined;
2794
+ isUsCitizenOrGreenCardHolder?: unknown;
2795
+ citizenship?: string | undefined;
2796
+ ssn?: string | null | undefined;
2797
+ investedInCrowdfunding?: number | undefined;
2798
+ currentAnnualIncome?: number | undefined;
2799
+ employerName?: string | null | undefined;
2800
+ setupStep?: import("./common.types").SetupStepType | undefined;
2801
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2802
+ ownership?: number | undefined;
2803
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2804
+ custodianName?: string | null | undefined;
2805
+ custodianAccountNumber?: string | null | undefined;
2806
+ custodianRepresentativeName?: string | null | undefined;
2807
+ custodianEmail?: string | null | undefined;
2808
+ }>>, z.ZodObject<Omit<{
2809
+ lastName: z.ZodOptional<z.ZodString>;
2810
+ firstName: z.ZodOptional<z.ZodString>;
2811
+ kycFirstName: z.ZodOptional<z.ZodString>;
2812
+ kycLastName: z.ZodOptional<z.ZodString>;
2813
+ dob: z.ZodOptional<z.ZodDate>;
2814
+ currencyCode: z.ZodOptional<z.ZodString>;
2815
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
2816
+ isOk: () => boolean;
2817
+ isErr: () => boolean;
2818
+ value?: any;
2819
+ error?: any;
2820
+ } | import("neverthrow").Ok<null, never>, string | null>, {
2821
+ isOk: () => boolean;
2822
+ isErr: () => boolean;
2823
+ value?: any;
2824
+ error?: any;
2825
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
2826
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2827
+ ownership: z.ZodOptional<z.ZodNumber>;
2828
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
2829
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
2830
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
2831
+ kycDocumentType: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>>;
2832
+ kycDocumentIssuer: z.ZodOptional<z.ZodString>;
2833
+ kycExpirationDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
2834
+ kycIssuerDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
2835
+ kycDocumentNumber: z.ZodOptional<z.ZodString>;
2836
+ householdNetWorth: z.ZodOptional<z.ZodNumber>;
2837
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
2838
+ currentHouseholdIncome: z.ZodOptional<z.ZodNumber>;
2839
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
2840
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
2841
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
2842
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2843
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
2844
+ aicQuestionnaire: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2845
+ kycProvider: z.ZodOptional<z.ZodString>;
2846
+ aicAccreditationType: z.ZodOptional<z.ZodNativeEnum<typeof AicAccreditationType>>;
2847
+ accredited: z.ZodOptional<z.ZodBoolean>;
2848
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
2849
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2850
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2851
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2852
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2853
+ }, "firstName" | "lastName">, "strip", z.ZodTypeAny, {
2854
+ email?: string | undefined;
2855
+ phone?: any;
2856
+ kycFirstName?: string | undefined;
2857
+ kycLastName?: string | undefined;
2858
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
2859
+ kycDocumentIssuer?: string | undefined;
2860
+ kycProvider?: string | undefined;
2861
+ currencyCode?: string | undefined;
2862
+ kycDocumentNumber?: string | undefined;
2863
+ kycIssuerDate?: string | undefined;
2864
+ kycExpirationDate?: string | undefined;
2865
+ liquidNetWorth?: number | undefined;
2866
+ aicAccreditationType?: AicAccreditationType | undefined;
2867
+ aicQuestionnaire?: string | undefined;
2868
+ dob?: Date | undefined;
2869
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
2870
+ citizenship?: string | undefined;
2871
+ ssn?: string | null | undefined;
2872
+ investedInCrowdfunding?: number | undefined;
2873
+ currentAnnualIncome?: number | undefined;
2874
+ currentHouseholdIncome?: number | undefined;
2875
+ householdNetWorth?: number | undefined;
2876
+ employerName?: string | null | undefined;
2877
+ setupStep?: import("./common.types").SetupStepType | undefined;
2878
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2879
+ ownership?: number | undefined;
2880
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2881
+ custodianName?: string | null | undefined;
2882
+ custodianAccountNumber?: string | null | undefined;
2883
+ custodianRepresentativeName?: string | null | undefined;
2884
+ custodianEmail?: string | null | undefined;
2885
+ accredited?: boolean | undefined;
2886
+ }, {
2887
+ email?: string | undefined;
2888
+ phone?: string | null | undefined;
2889
+ kycFirstName?: string | undefined;
2890
+ kycLastName?: string | undefined;
2891
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
2892
+ kycDocumentIssuer?: string | undefined;
2893
+ kycProvider?: string | undefined;
2894
+ currencyCode?: string | undefined;
2895
+ kycDocumentNumber?: string | undefined;
2896
+ kycIssuerDate?: Date | undefined;
2897
+ kycExpirationDate?: Date | undefined;
2898
+ liquidNetWorth?: number | undefined;
2899
+ aicAccreditationType?: AicAccreditationType | undefined;
2900
+ aicQuestionnaire?: string | undefined;
2901
+ dob?: Date | undefined;
2902
+ isUsCitizenOrGreenCardHolder?: unknown;
2903
+ citizenship?: string | undefined;
2904
+ ssn?: string | null | undefined;
2905
+ investedInCrowdfunding?: number | undefined;
2906
+ currentAnnualIncome?: number | undefined;
2907
+ currentHouseholdIncome?: number | undefined;
2908
+ householdNetWorth?: number | undefined;
2909
+ employerName?: string | null | undefined;
2910
+ setupStep?: import("./common.types").SetupStepType | undefined;
2911
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2912
+ ownership?: number | undefined;
2913
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2914
+ custodianName?: string | null | undefined;
2915
+ custodianAccountNumber?: string | null | undefined;
2916
+ custodianRepresentativeName?: string | null | undefined;
2917
+ custodianEmail?: string | null | undefined;
2918
+ accredited?: boolean | undefined;
2919
+ }>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
2920
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2921
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2922
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2923
+ }, "strip", z.ZodTypeAny, {
2924
+ address?: string | null | undefined;
2925
+ city?: string | null | undefined;
2926
+ address2?: string | null | undefined;
2927
+ }, {
2928
+ address?: string | null | undefined;
2929
+ city?: string | null | undefined;
2930
+ address2?: string | null | undefined;
2931
+ }>, z.ZodEffects<z.ZodObject<{
2932
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
2933
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2934
+ }, "strip", z.ZodTypeAny, {
2935
+ country?: string | null | undefined;
2936
+ state?: string | null | undefined;
2937
+ }, {
2938
+ country?: string | null | undefined;
2939
+ state?: string | null | undefined;
2940
+ }>, {
2941
+ country?: string | null | undefined;
2942
+ state?: string | null | undefined;
2943
+ }, {
2944
+ country?: string | null | undefined;
2945
+ state?: string | null | undefined;
2946
+ }>>, z.ZodEffects<z.ZodObject<{
2947
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
2948
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2949
+ }, "strip", z.ZodTypeAny, {
2950
+ country?: string | null | undefined;
2951
+ zip?: string | null | undefined;
2952
+ }, {
2953
+ country?: string | null | undefined;
2954
+ zip?: string | null | undefined;
2955
+ }>, {
2956
+ country?: string | null | undefined;
2957
+ zip?: string | null | undefined;
2958
+ }, {
2959
+ country?: string | null | undefined;
2960
+ zip?: string | null | undefined;
2961
+ }>>>, {
2962
+ firstName: string;
2963
+ lastName: string;
2964
+ email: string;
2965
+ password: string;
2966
+ confirmPassword: string;
2967
+ site?: string | undefined;
2968
+ phoneNumber?: any;
2969
+ } & {
2970
+ email?: string | undefined;
2971
+ name?: string | undefined;
2972
+ tid?: string | undefined;
2973
+ userId?: string | undefined;
2974
+ investorAccountType?: InvestorAccountType | undefined;
2975
+ } & {
2976
+ firstName?: string | undefined;
2977
+ lastName?: string | undefined;
2978
+ email?: string | undefined;
2979
+ role?: IndividualRole | undefined;
2980
+ tid?: string | undefined;
2981
+ phone?: any;
2982
+ investorAccountId?: string | undefined;
2983
+ currencyCode?: string | undefined;
2984
+ liquidNetWorth?: number | undefined;
2985
+ dob?: Date | undefined;
2986
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
2987
+ citizenship?: string | undefined;
2988
+ ssn?: string | null | undefined;
2989
+ investedInCrowdfunding?: number | undefined;
2990
+ currentAnnualIncome?: number | undefined;
2991
+ employerName?: string | null | undefined;
2992
+ setupStep?: import("./common.types").SetupStepType | undefined;
2993
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
2994
+ ownership?: number | undefined;
2995
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
2996
+ custodianName?: string | null | undefined;
2997
+ custodianAccountNumber?: string | null | undefined;
2998
+ custodianRepresentativeName?: string | null | undefined;
2999
+ custodianEmail?: string | null | undefined;
3000
+ } & {
3001
+ email?: string | undefined;
3002
+ phone?: any;
3003
+ kycFirstName?: string | undefined;
3004
+ kycLastName?: string | undefined;
3005
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
3006
+ kycDocumentIssuer?: string | undefined;
3007
+ kycProvider?: string | undefined;
3008
+ currencyCode?: string | undefined;
3009
+ kycDocumentNumber?: string | undefined;
3010
+ kycIssuerDate?: string | undefined;
3011
+ kycExpirationDate?: string | undefined;
3012
+ liquidNetWorth?: number | undefined;
3013
+ aicAccreditationType?: AicAccreditationType | undefined;
3014
+ aicQuestionnaire?: string | undefined;
3015
+ dob?: Date | undefined;
3016
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
3017
+ citizenship?: string | undefined;
3018
+ ssn?: string | null | undefined;
3019
+ investedInCrowdfunding?: number | undefined;
3020
+ currentAnnualIncome?: number | undefined;
3021
+ currentHouseholdIncome?: number | undefined;
3022
+ householdNetWorth?: number | undefined;
3023
+ employerName?: string | null | undefined;
3024
+ setupStep?: import("./common.types").SetupStepType | undefined;
3025
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
3026
+ ownership?: number | undefined;
3027
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
3028
+ custodianName?: string | null | undefined;
3029
+ custodianAccountNumber?: string | null | undefined;
3030
+ custodianRepresentativeName?: string | null | undefined;
3031
+ custodianEmail?: string | null | undefined;
3032
+ accredited?: boolean | undefined;
3033
+ } & {
3034
+ address?: string | null | undefined;
3035
+ city?: string | null | undefined;
3036
+ address2?: string | null | undefined;
3037
+ } & {
3038
+ country?: string | null | undefined;
3039
+ state?: string | null | undefined;
3040
+ } & {
3041
+ country?: string | null | undefined;
3042
+ zip?: string | null | undefined;
3043
+ }, {
3044
+ firstName: string;
3045
+ lastName: string;
3046
+ email: string;
3047
+ password: string;
3048
+ confirmPassword: string;
3049
+ site?: string | undefined;
3050
+ phoneNumber?: string | null | undefined;
3051
+ } & {
3052
+ email?: string | undefined;
3053
+ name?: string | undefined;
3054
+ tid?: string | undefined;
3055
+ userId?: string | undefined;
3056
+ investorAccountType?: InvestorAccountType | undefined;
3057
+ } & {
3058
+ firstName?: string | undefined;
3059
+ lastName?: string | undefined;
3060
+ email?: string | undefined;
3061
+ role?: IndividualRole | undefined;
3062
+ tid?: string | undefined;
3063
+ phone?: string | null | undefined;
3064
+ investorAccountId?: string | undefined;
3065
+ currencyCode?: string | undefined;
3066
+ liquidNetWorth?: number | undefined;
3067
+ dob?: Date | undefined;
3068
+ isUsCitizenOrGreenCardHolder?: unknown;
3069
+ citizenship?: string | undefined;
3070
+ ssn?: string | null | undefined;
3071
+ investedInCrowdfunding?: number | undefined;
3072
+ currentAnnualIncome?: number | undefined;
3073
+ employerName?: string | null | undefined;
3074
+ setupStep?: import("./common.types").SetupStepType | undefined;
3075
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
3076
+ ownership?: number | undefined;
3077
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
3078
+ custodianName?: string | null | undefined;
3079
+ custodianAccountNumber?: string | null | undefined;
3080
+ custodianRepresentativeName?: string | null | undefined;
3081
+ custodianEmail?: string | null | undefined;
3082
+ } & {
3083
+ email?: string | undefined;
3084
+ phone?: string | null | undefined;
3085
+ kycFirstName?: string | undefined;
3086
+ kycLastName?: string | undefined;
3087
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
3088
+ kycDocumentIssuer?: string | undefined;
3089
+ kycProvider?: string | undefined;
3090
+ currencyCode?: string | undefined;
3091
+ kycDocumentNumber?: string | undefined;
3092
+ kycIssuerDate?: Date | undefined;
3093
+ kycExpirationDate?: Date | undefined;
3094
+ liquidNetWorth?: number | undefined;
3095
+ aicAccreditationType?: AicAccreditationType | undefined;
3096
+ aicQuestionnaire?: string | undefined;
3097
+ dob?: Date | undefined;
3098
+ isUsCitizenOrGreenCardHolder?: unknown;
3099
+ citizenship?: string | undefined;
3100
+ ssn?: string | null | undefined;
3101
+ investedInCrowdfunding?: number | undefined;
3102
+ currentAnnualIncome?: number | undefined;
3103
+ currentHouseholdIncome?: number | undefined;
3104
+ householdNetWorth?: number | undefined;
3105
+ employerName?: string | null | undefined;
3106
+ setupStep?: import("./common.types").SetupStepType | undefined;
3107
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
3108
+ ownership?: number | undefined;
3109
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
3110
+ custodianName?: string | null | undefined;
3111
+ custodianAccountNumber?: string | null | undefined;
3112
+ custodianRepresentativeName?: string | null | undefined;
3113
+ custodianEmail?: string | null | undefined;
3114
+ accredited?: boolean | undefined;
3115
+ } & {
3116
+ address?: string | null | undefined;
3117
+ city?: string | null | undefined;
3118
+ address2?: string | null | undefined;
3119
+ } & {
3120
+ country?: string | null | undefined;
3121
+ state?: string | null | undefined;
3122
+ } & {
3123
+ country?: string | null | undefined;
3124
+ zip?: string | null | undefined;
3125
+ }>>>;
3126
+ /**
3127
+ * Base schema for unified CSV that only validates the type field
3128
+ * The actual type-specific validation happens in the service layer
3129
+ * to avoid duplicate error messages from overlapping field definitions
3130
+ */
3131
+ export declare const UnifiedInvestorCsvBaseSchema: z.ZodObject<{
3132
+ type: z.ZodEnum<["INDIVIDUAL", "JOINT", "LEGAL_ENTITY"]>;
3133
+ }, "strip", z.ZodTypeAny, {
3134
+ type: "INDIVIDUAL" | "JOINT" | "LEGAL_ENTITY";
3135
+ }, {
3136
+ type: "INDIVIDUAL" | "JOINT" | "LEGAL_ENTITY";
3137
+ }>;
3138
+ /**
3139
+ * AIC Questionnaire CSV row structure
3140
+ * Extracted from aicQuestionnaire.AIC_Questionnaire in individuals.types.ts
3141
+ */
3142
+ export type AicQuestionnaireCsvRow = z.infer<typeof aicQuestionnaire>['AIC_Questionnaire'];
3143
+ /**
3144
+ * Zod schema for AIC questionnaire CSV validation
3145
+ * Reuses the existing aicQuestionnaire schema from individuals.types.ts
3146
+ */
3147
+ export declare const AicQuestionnaireCsvSchema: z.ZodObject<{
3148
+ investment_objective: z.ZodOptional<z.ZodString>;
3149
+ investment_experience: z.ZodOptional<z.ZodString>;
3150
+ risk_willingness: z.ZodOptional<z.ZodString>;
3151
+ equities_allocation: z.ZodOptional<z.ZodString>;
3152
+ bonds_allocation: z.ZodOptional<z.ZodString>;
3153
+ other_investments_allocation: z.ZodOptional<z.ZodString>;
3154
+ overall_portfolio_percentage: z.ZodOptional<z.ZodString>;
3155
+ annual_living_expenses: z.ZodOptional<z.ZodString>;
3156
+ marginal_tax_rate: z.ZodOptional<z.ZodString>;
3157
+ significant_liquid_net_worth: z.ZodOptional<z.ZodString>;
3158
+ risky_investment_understanding: z.ZodOptional<z.ZodString>;
3159
+ investment_time_horizon: z.ZodOptional<z.ZodString>;
3160
+ }, "strip", z.ZodTypeAny, {
3161
+ investment_objective?: string | undefined;
3162
+ investment_experience?: string | undefined;
3163
+ risk_willingness?: string | undefined;
3164
+ equities_allocation?: string | undefined;
3165
+ bonds_allocation?: string | undefined;
3166
+ other_investments_allocation?: string | undefined;
3167
+ overall_portfolio_percentage?: string | undefined;
3168
+ annual_living_expenses?: string | undefined;
3169
+ marginal_tax_rate?: string | undefined;
3170
+ significant_liquid_net_worth?: string | undefined;
3171
+ risky_investment_understanding?: string | undefined;
3172
+ investment_time_horizon?: string | undefined;
3173
+ }, {
3174
+ investment_objective?: string | undefined;
3175
+ investment_experience?: string | undefined;
3176
+ risk_willingness?: string | undefined;
3177
+ equities_allocation?: string | undefined;
3178
+ bonds_allocation?: string | undefined;
3179
+ other_investments_allocation?: string | undefined;
3180
+ overall_portfolio_percentage?: string | undefined;
3181
+ annual_living_expenses?: string | undefined;
3182
+ marginal_tax_rate?: string | undefined;
3183
+ significant_liquid_net_worth?: string | undefined;
3184
+ risky_investment_understanding?: string | undefined;
3185
+ investment_time_horizon?: string | undefined;
3186
+ }>;
3187
+ /**
3188
+ * Query parameters for investor account CSV upload
3189
+ */
3190
+ export declare const UploadInvestorCsvQuery: z.ZodObject<{
3191
+ type: z.ZodNativeEnum<typeof InvestorAccountType>;
3192
+ }, "strip", z.ZodTypeAny, {
3193
+ type: InvestorAccountType;
3194
+ }, {
3195
+ type: InvestorAccountType;
3196
+ }>;
3197
+ export type UploadInvestorCsvQuery = z.infer<typeof UploadInvestorCsvQuery>;
3198
+ /**
3199
+ * Query parameters for AIC questionnaire CSV upload
3200
+ */
3201
+ export declare const UploadAicCsvQuery: z.ZodObject<{
3202
+ accredited: z.ZodBoolean;
3203
+ aicAccreditationType: z.ZodNativeEnum<typeof AicAccreditationType>;
3204
+ investorAccountId: z.ZodEffects<z.ZodString, string, string>;
3205
+ }, "strip", z.ZodTypeAny, {
3206
+ investorAccountId: string;
3207
+ aicAccreditationType: AicAccreditationType;
3208
+ accredited: boolean;
3209
+ }, {
3210
+ investorAccountId: string;
3211
+ aicAccreditationType: AicAccreditationType;
3212
+ accredited: boolean;
3213
+ }>;
3214
+ export type UploadAicCsvQuery = z.infer<typeof UploadAicCsvQuery>;
3215
+ /**
3216
+ * KYC CSV row structure
3217
+ * Omits file ID fields (kycDocumentFrontFileId, kycDocumentBackFileId, kycSelfieFileId)
3218
+ * because they come from query parameters, not the CSV file
3219
+ * Accepts string dates for CSV parsing which will be coerced to Date objects
3220
+ */
3221
+ export declare const KycCsvSchema: z.ZodObject<{
3222
+ kycFirstName: z.ZodString;
3223
+ kycLastName: z.ZodString;
3224
+ kycDocumentType: z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>;
3225
+ kycDocumentId: z.ZodString;
3226
+ kycDocumentIssuer: z.ZodNativeEnum<{
3227
+ [x: string]: string;
3228
+ }>;
3229
+ kycProvider: z.ZodNativeEnum<typeof import("./kyc.types").KYCPlatformProvider>;
3230
+ kycLog: z.ZodEffects<z.ZodString, string, string>;
3231
+ } & {
3232
+ kycDocumentIssuedDate: z.ZodDate;
3233
+ kycDocumentExpirationDate: z.ZodDate;
3234
+ kycDocumentDob: z.ZodDate;
3235
+ }, "strip", z.ZodTypeAny, {
3236
+ kycFirstName: string;
3237
+ kycLastName: string;
3238
+ kycDocumentType: import("./common.types").KYCDocumentType;
3239
+ kycDocumentId: string;
3240
+ kycDocumentIssuer: string;
3241
+ kycDocumentIssuedDate: Date;
3242
+ kycDocumentExpirationDate: Date;
3243
+ kycDocumentDob: Date;
3244
+ kycProvider: import("./kyc.types").KYCPlatformProvider;
3245
+ kycLog: string;
3246
+ }, {
3247
+ kycFirstName: string;
3248
+ kycLastName: string;
3249
+ kycDocumentType: import("./common.types").KYCDocumentType;
3250
+ kycDocumentId: string;
3251
+ kycDocumentIssuer: string;
3252
+ kycDocumentIssuedDate: Date;
3253
+ kycDocumentExpirationDate: Date;
3254
+ kycDocumentDob: Date;
3255
+ kycProvider: import("./kyc.types").KYCPlatformProvider;
3256
+ kycLog: string;
3257
+ }>;
3258
+ export type KycCsvRow = z.infer<typeof KycCsvSchema>;
3259
+ /**
3260
+ * Type for KYC body that will be passed to the service
3261
+ * Uses input type (before transformation) to accept string dates in MM/DD/YYYY format
3262
+ */
3263
+ export type KycBodySchema = z.input<typeof PostKycBodySchema>;
3264
+ /**
3265
+ * Query parameters for KYC CSV upload
3266
+ */
3267
+ export declare const UploadKycCsvQuery: z.ZodObject<{
3268
+ individualId: z.ZodEffects<z.ZodString, string, string>;
3269
+ frontFileId: z.ZodEffects<z.ZodString, string, string>;
3270
+ backFileId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3271
+ selfieFileId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3272
+ }, "strip", z.ZodTypeAny, {
3273
+ individualId: string;
3274
+ frontFileId: string;
3275
+ backFileId?: string | undefined;
3276
+ selfieFileId?: string | undefined;
3277
+ }, {
3278
+ individualId: string;
3279
+ frontFileId: string;
3280
+ backFileId?: string | undefined;
3281
+ selfieFileId?: string | undefined;
3282
+ }>;
3283
+ export type UploadKycCsvQuery = z.infer<typeof UploadKycCsvQuery>;
3284
+ /**
3285
+ * Base issuer CSV fields schema
3286
+ * Combines IRegisterClientIssuerBodyZod and PostIssuerZod with accountName type override
3287
+ */
3288
+ export declare const BaseIssuerCsvFields: z.ZodIntersection<z.ZodIntersection<z.ZodEffects<z.ZodEffects<z.ZodObject<{
3289
+ firstName: z.ZodString;
3290
+ lastName: z.ZodString;
3291
+ email: z.ZodEffects<z.ZodString, string, string>;
3292
+ password: z.ZodString;
3293
+ } & {
3294
+ confirmPassword: z.ZodString;
3295
+ accountName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3296
+ accountType: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>>;
3297
+ }, "strip", z.ZodTypeAny, {
3298
+ firstName: string;
3299
+ lastName: string;
3300
+ email: string;
3301
+ password: string;
3302
+ confirmPassword: string;
3303
+ accountType: import("./common.types").ManagedByType;
3304
+ accountName?: string | null | undefined;
3305
+ }, {
3306
+ firstName: string;
3307
+ lastName: string;
3308
+ email: string;
3309
+ password: string;
3310
+ confirmPassword: string;
3311
+ accountName?: string | null | undefined;
3312
+ accountType?: import("./common.types").ManagedByType | undefined;
3313
+ }>, {
3314
+ firstName: string;
3315
+ lastName: string;
3316
+ email: string;
3317
+ password: string;
3318
+ confirmPassword: string;
3319
+ accountType: import("./common.types").ManagedByType;
3320
+ accountName?: string | null | undefined;
3321
+ }, {
3322
+ firstName: string;
3323
+ lastName: string;
3324
+ email: string;
3325
+ password: string;
3326
+ confirmPassword: string;
3327
+ accountName?: string | null | undefined;
3328
+ accountType?: import("./common.types").ManagedByType | undefined;
3329
+ }>, {
3330
+ firstName: string;
3331
+ lastName: string;
3332
+ email: string;
3333
+ password: string;
3334
+ confirmPassword: string;
3335
+ accountType: import("./common.types").ManagedByType;
3336
+ accountName?: string | null | undefined;
3337
+ }, {
3338
+ firstName: string;
3339
+ lastName: string;
3340
+ email: string;
3341
+ password: string;
3342
+ confirmPassword: string;
3343
+ accountName?: string | null | undefined;
3344
+ accountType?: import("./common.types").ManagedByType | undefined;
3345
+ }>, z.ZodIntersection<z.ZodObject<{
3346
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3347
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3348
+ legalName: z.ZodString;
3349
+ dba: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3350
+ doi: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>>;
3351
+ ein: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3352
+ type: z.ZodNativeEnum<typeof import("./issuer.types").IssuerTypes>;
3353
+ }, "strip", z.ZodTypeAny, {
3354
+ type: import("./issuer.types").IssuerTypes;
3355
+ legalName: string;
3356
+ description?: string | null | undefined;
3357
+ title?: string | null | undefined;
3358
+ dba?: string | null | undefined;
3359
+ doi?: Date | null | undefined;
3360
+ ein?: string | null | undefined;
3361
+ }, {
3362
+ type: import("./issuer.types").IssuerTypes;
3363
+ legalName: string;
3364
+ description?: string | null | undefined;
3365
+ title?: string | null | undefined;
3366
+ dba?: string | null | undefined;
3367
+ doi?: string | null | undefined;
3368
+ ein?: string | null | undefined;
3369
+ }>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
3370
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3371
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3372
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3373
+ }, "strip", z.ZodTypeAny, {
3374
+ address?: string | null | undefined;
3375
+ city?: string | null | undefined;
3376
+ address2?: string | null | undefined;
3377
+ }, {
3378
+ address?: string | null | undefined;
3379
+ city?: string | null | undefined;
3380
+ address2?: string | null | undefined;
3381
+ }>, z.ZodEffects<z.ZodObject<{
3382
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
3383
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3384
+ }, "strip", z.ZodTypeAny, {
3385
+ country?: string | null | undefined;
3386
+ state?: string | null | undefined;
3387
+ }, {
3388
+ country?: string | null | undefined;
3389
+ state?: string | null | undefined;
3390
+ }>, {
3391
+ country?: string | null | undefined;
3392
+ state?: string | null | undefined;
3393
+ }, {
3394
+ country?: string | null | undefined;
3395
+ state?: string | null | undefined;
3396
+ }>>, z.ZodEffects<z.ZodObject<{
3397
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
3398
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3399
+ }, "strip", z.ZodTypeAny, {
3400
+ country?: string | null | undefined;
3401
+ zip?: string | null | undefined;
3402
+ }, {
3403
+ country?: string | null | undefined;
3404
+ zip?: string | null | undefined;
3405
+ }>, {
3406
+ country?: string | null | undefined;
3407
+ zip?: string | null | undefined;
3408
+ }, {
3409
+ country?: string | null | undefined;
3410
+ zip?: string | null | undefined;
3411
+ }>>>>, z.ZodObject<{
3412
+ accountName: z.ZodOptional<z.ZodString>;
3413
+ }, "strip", z.ZodTypeAny, {
3414
+ accountName?: string | undefined;
3415
+ }, {
3416
+ accountName?: string | undefined;
3417
+ }>>;
3418
+ export type IssuerCsvRow = z.infer<typeof BaseIssuerCsvFields>;
3419
+ /**
3420
+ * Offering CSV row structure with coercion for CSV string values
3421
+ * CSV files contain all values as strings, so we need to coerce them to proper types
3422
+ */
3423
+ export declare const OfferingCsvSchema: z.ZodObject<{
3424
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
3425
+ name: z.ZodString;
3426
+ type: z.ZodNativeEnum<typeof import("./common.types").OfferingType>;
3427
+ startAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
3428
+ endAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
3429
+ description: z.ZodLazy<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>>;
3430
+ managedBy: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
3431
+ assetName: z.ZodString;
3432
+ assetType: z.ZodNativeEnum<typeof import("./common.types").AssetType>;
3433
+ durationType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").DurationType>>>;
3434
+ template: z.ZodDefault<z.ZodNativeEnum<typeof import("./asset.types").AssetTemplateType>>;
3435
+ tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
3436
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
3437
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
3438
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
3439
+ bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
3440
+ type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
3441
+ value: z.ZodEffects<z.ZodNumber, number, number>;
3442
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
3443
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
3444
+ }, "strip", z.ZodTypeAny, {
3445
+ value: number;
3446
+ type: import("./bonus-tier.types").BonusType;
3447
+ startAmount: number;
3448
+ endAmount: number;
3449
+ }, {
3450
+ value: number;
3451
+ type: import("./bonus-tier.types").BonusType;
3452
+ startAmount: number;
3453
+ endAmount: number;
3454
+ }>, {
3455
+ value: number;
3456
+ type: import("./bonus-tier.types").BonusType;
3457
+ startAmount: number;
3458
+ endAmount: number;
3459
+ }, {
3460
+ value: number;
3461
+ type: import("./bonus-tier.types").BonusType;
3462
+ startAmount: number;
3463
+ endAmount: number;
3464
+ }>, {
3465
+ value: number;
3466
+ type: import("./bonus-tier.types").BonusType;
3467
+ startAmount: number;
3468
+ endAmount: number;
3469
+ }, {
3470
+ value: number;
3471
+ type: import("./bonus-tier.types").BonusType;
3472
+ startAmount: number;
3473
+ endAmount: number;
3474
+ }>, "many">>;
3475
+ warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3476
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3477
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3478
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
3479
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
3480
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").WarrantSharesCalculationMethod>>>;
3481
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
3482
+ showTotalRaised: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3483
+ } & {
3484
+ issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3485
+ targetAmount: z.ZodNumber;
3486
+ raiseAmount: z.ZodOptional<z.ZodNumber>;
3487
+ minInvestment: z.ZodOptional<z.ZodNumber>;
3488
+ maxInvestment: z.ZodOptional<z.ZodNumber>;
3489
+ contingencyAmount: z.ZodOptional<z.ZodNumber>;
3490
+ cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3491
+ active: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
3492
+ pricePerUnit: z.ZodNullable<z.ZodNumber>;
3493
+ totalUnits: z.ZodNullable<z.ZodNumber>;
3494
+ yield: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3495
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3496
+ enableBonus: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
3497
+ interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3498
+ }, "strip", z.ZodTypeAny, {
3499
+ type: import("./common.types").OfferingType;
3500
+ name: string;
3501
+ template: import("./asset.types").AssetTemplateType;
3502
+ targetAmount: number;
3503
+ warrantsEnabled: boolean;
3504
+ assetName: string;
3505
+ assetType: import("./common.types").AssetType;
3506
+ pricePerUnit: number | null;
3507
+ totalUnits: number | null;
3508
+ active?: boolean | undefined;
3509
+ managedBy?: import("./common.types").ManagedByType | undefined;
3510
+ description?: string | null | undefined;
3511
+ raiseAmount?: number | undefined;
3512
+ minInvestment?: number | undefined;
3513
+ maxInvestment?: number | undefined;
3514
+ contingencyAmount?: number | undefined;
3515
+ startAt?: Date | null | undefined;
3516
+ endAt?: Date | null | undefined;
3517
+ issuerId?: string | undefined;
3518
+ cancellationPeriod?: number | null | undefined;
3519
+ showTotalRaised?: boolean | undefined;
3520
+ hasEscrow?: boolean | undefined;
3521
+ bankAccountId?: string | null | undefined;
3522
+ escrowAccountId?: string | null | undefined;
3523
+ totalShares?: number | null | undefined;
3524
+ warrantTermYears?: number | null | undefined;
3525
+ exercisePrice?: number | null | undefined;
3526
+ warrantPercentage?: number | null | undefined;
3527
+ calculationMethod?: import("./common.types").WarrantSharesCalculationMethod | null | undefined;
3528
+ incrementThreshold?: number | null | undefined;
3529
+ shareClassId?: string | null | undefined;
3530
+ yield?: number | null | undefined;
3531
+ duration?: number | null | undefined;
3532
+ durationType?: import("./common.types").DurationType | null | undefined;
3533
+ tiers?: number[] | null | undefined;
3534
+ enableBonus?: boolean | undefined;
3535
+ interestRate?: number | null | undefined;
3536
+ bonusTiers?: {
3537
+ value: number;
3538
+ type: import("./bonus-tier.types").BonusType;
3539
+ startAmount: number;
3540
+ endAmount: number;
3541
+ }[] | undefined;
3542
+ }, {
3543
+ type: import("./common.types").OfferingType;
3544
+ name: string;
3545
+ targetAmount: number;
3546
+ assetName: string;
3547
+ assetType: import("./common.types").AssetType;
3548
+ pricePerUnit: number | null;
3549
+ totalUnits: number | null;
3550
+ active?: unknown;
3551
+ managedBy?: import("./common.types").ManagedByType | undefined;
3552
+ description?: string | null | undefined;
3553
+ template?: import("./asset.types").AssetTemplateType | undefined;
3554
+ raiseAmount?: number | undefined;
3555
+ minInvestment?: number | undefined;
3556
+ maxInvestment?: number | undefined;
3557
+ contingencyAmount?: number | undefined;
3558
+ startAt?: string | null | undefined;
3559
+ endAt?: string | null | undefined;
3560
+ issuerId?: string | undefined;
3561
+ cancellationPeriod?: number | null | undefined;
3562
+ showTotalRaised?: boolean | undefined;
3563
+ hasEscrow?: boolean | undefined;
3564
+ bankAccountId?: string | null | undefined;
3565
+ escrowAccountId?: string | null | undefined;
3566
+ warrantsEnabled?: boolean | undefined;
3567
+ totalShares?: number | null | undefined;
3568
+ warrantTermYears?: number | null | undefined;
3569
+ exercisePrice?: number | null | undefined;
3570
+ warrantPercentage?: number | null | undefined;
3571
+ calculationMethod?: import("./common.types").WarrantSharesCalculationMethod | null | undefined;
3572
+ incrementThreshold?: number | null | undefined;
3573
+ shareClassId?: string | null | undefined;
3574
+ yield?: number | null | undefined;
3575
+ duration?: number | null | undefined;
3576
+ durationType?: import("./common.types").DurationType | null | undefined;
3577
+ tiers?: number[] | null | undefined;
3578
+ enableBonus?: unknown;
3579
+ interestRate?: number | null | undefined;
3580
+ bonusTiers?: {
3581
+ value: number;
3582
+ type: import("./bonus-tier.types").BonusType;
3583
+ startAmount: number;
3584
+ endAmount: number;
3585
+ }[] | undefined;
3586
+ }>;
3587
+ export type OfferingCsvRow = z.infer<typeof OfferingCsvSchema>;
3588
+ /**
3589
+ * Query parameters for offering CSV upload
3590
+ */
3591
+ export declare const UploadOfferingCsvQuery: z.ZodObject<{
3592
+ issuerId: z.ZodEffects<z.ZodString, string, string>;
3593
+ }, "strip", z.ZodTypeAny, {
3594
+ issuerId: string;
3595
+ }, {
3596
+ issuerId: string;
3597
+ }>;
3598
+ export type UploadOfferingCsvQuery = z.infer<typeof UploadOfferingCsvQuery>;
3599
+ /**
3600
+ * Response type for offering CSV upload
3601
+ * Returns the full offering object with its assets array
3602
+ * Reuses IOffering schema for consistency with other offering endpoints
3603
+ */
3604
+ export declare const OfferingCsvResponseZod: z.ZodLazy<any>;
3605
+ export type OfferingCsvResponse = z.infer<typeof OfferingCsvResponseZod>;
3606
+ export {};