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

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