@dalmore/api-contracts 0.0.0-dev.d30d175 → 0.0.0-dev.d4b2a0e

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 (709) hide show
  1. package/README.md +23 -19
  2. package/common/constants.d.ts +33 -0
  3. package/common/constants.js +67 -0
  4. package/common/constants.js.map +1 -0
  5. package/common/helpers/index.d.ts +58 -0
  6. package/common/helpers/index.js +151 -0
  7. package/common/helpers/index.js.map +1 -0
  8. package/common/types/account-contact.types.d.ts +485 -0
  9. package/common/types/account-contact.types.js +75 -0
  10. package/common/types/account-contact.types.js.map +1 -0
  11. package/common/types/account-detail.types.d.ts +304 -0
  12. package/common/types/account-detail.types.js +20 -0
  13. package/common/types/account-detail.types.js.map +1 -0
  14. package/common/types/account-integration.types.d.ts +242 -0
  15. package/common/types/account-integration.types.js +121 -0
  16. package/common/types/account-integration.types.js.map +1 -0
  17. package/common/types/account-manager.types.d.ts +917 -0
  18. package/common/types/account-manager.types.js +89 -0
  19. package/common/types/account-manager.types.js.map +1 -0
  20. package/common/types/account-setting.types.d.ts +140 -0
  21. package/common/types/account-setting.types.js +23 -0
  22. package/common/types/account-setting.types.js.map +1 -0
  23. package/common/types/account.types.d.ts +640 -0
  24. package/common/types/account.types.js +218 -0
  25. package/common/types/account.types.js.map +1 -0
  26. package/common/types/activity.types.d.ts +590 -0
  27. package/common/types/activity.types.js +258 -0
  28. package/common/types/activity.types.js.map +1 -0
  29. package/common/types/address.types.d.ts +89 -0
  30. package/common/types/address.types.js +36 -0
  31. package/common/types/address.types.js.map +1 -0
  32. package/common/types/aic.types.d.ts +434 -0
  33. package/common/types/aic.types.js +170 -0
  34. package/common/types/aic.types.js.map +1 -0
  35. package/common/types/aml.types.d.ts +41 -0
  36. package/common/types/aml.types.js +16 -0
  37. package/common/types/aml.types.js.map +1 -0
  38. package/common/types/api-key-logs.types.d.ts +204 -0
  39. package/common/types/api-key-logs.types.js +52 -0
  40. package/common/types/api-key-logs.types.js.map +1 -0
  41. package/common/types/api-keys.types.d.ts +192 -0
  42. package/common/types/api-keys.types.js +57 -0
  43. package/common/types/api-keys.types.js.map +1 -0
  44. package/common/types/asset.types.d.ts +1100 -0
  45. package/common/types/asset.types.js +353 -0
  46. package/common/types/asset.types.js.map +1 -0
  47. package/common/types/auth.types.d.ts +523 -0
  48. package/common/types/auth.types.js +280 -0
  49. package/common/types/auth.types.js.map +1 -0
  50. package/common/types/batch-jobs.types.d.ts +321 -0
  51. package/common/types/batch-jobs.types.js +111 -0
  52. package/common/types/batch-jobs.types.js.map +1 -0
  53. package/common/types/bonus-tier.types.d.ts +991 -0
  54. package/common/types/bonus-tier.types.js +166 -0
  55. package/common/types/bonus-tier.types.js.map +1 -0
  56. package/common/types/cap-table.types.d.ts +1248 -0
  57. package/common/types/cap-table.types.js +437 -0
  58. package/common/types/cap-table.types.js.map +1 -0
  59. package/common/types/cart.types.d.ts +28 -0
  60. package/common/types/cart.types.js +19 -0
  61. package/common/types/cart.types.js.map +1 -0
  62. package/common/types/checklist-items.types.d.ts +195 -0
  63. package/common/types/checklist-items.types.js +54 -0
  64. package/common/types/checklist-items.types.js.map +1 -0
  65. package/common/types/checklist.types.d.ts +140 -0
  66. package/common/types/checklist.types.js +71 -0
  67. package/common/types/checklist.types.js.map +1 -0
  68. package/common/types/common.types.d.ts +1852 -0
  69. package/common/types/common.types.js +1502 -0
  70. package/common/types/common.types.js.map +1 -0
  71. package/common/types/comply-advantage-api.types.d.ts +3626 -0
  72. package/common/types/comply-advantage-api.types.js +291 -0
  73. package/common/types/comply-advantage-api.types.js.map +1 -0
  74. package/common/types/comply-advantage.types.d.ts +48 -0
  75. package/common/types/comply-advantage.types.js +21 -0
  76. package/common/types/comply-advantage.types.js.map +1 -0
  77. package/common/types/contact-us.types.d.ts +126 -0
  78. package/common/types/contact-us.types.js +91 -0
  79. package/common/types/contact-us.types.js.map +1 -0
  80. package/common/types/countries.types.d.ts +77 -0
  81. package/common/types/countries.types.js +349 -0
  82. package/common/types/countries.types.js.map +1 -0
  83. package/common/types/covered-person.types.d.ts +204 -0
  84. package/common/types/covered-person.types.js +234 -0
  85. package/common/types/covered-person.types.js.map +1 -0
  86. package/common/types/csv.types.d.ts +1917 -0
  87. package/common/types/csv.types.js +216 -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} +9 -3
  150. package/common/types/index.js +56 -0
  151. package/common/types/index.js.map +1 -0
  152. package/common/types/individuals.types.d.ts +2101 -0
  153. package/common/types/individuals.types.js +500 -0
  154. package/common/types/individuals.types.js.map +1 -0
  155. package/common/types/investor-account.types.d.ts +2996 -0
  156. package/common/types/investor-account.types.js +929 -0
  157. package/common/types/investor-account.types.js.map +1 -0
  158. package/common/types/investorAccountIdSchema.type.js +1 -0
  159. package/common/types/investorAccountIdSchema.type.js.map +1 -0
  160. package/common/types/investors-offering.types.d.ts +399 -0
  161. package/common/types/investors-offering.types.js +50 -0
  162. package/common/types/investors-offering.types.js.map +1 -0
  163. package/common/types/invite.types.d.ts +641 -0
  164. package/common/types/invite.types.js +113 -0
  165. package/common/types/invite.types.js.map +1 -0
  166. package/common/types/issuer-bank-account.types.d.ts +113 -0
  167. package/common/types/issuer-bank-account.types.js +81 -0
  168. package/common/types/issuer-bank-account.types.js.map +1 -0
  169. package/common/types/issuer-offering.types.d.ts +2236 -0
  170. package/common/types/issuer-offering.types.js +605 -0
  171. package/common/types/issuer-offering.types.js.map +1 -0
  172. package/common/types/issuer-payment-method.types.d.ts +1100 -0
  173. package/common/types/issuer-payment-method.types.js +311 -0
  174. package/common/types/issuer-payment-method.types.js.map +1 -0
  175. package/common/types/issuer.types.d.ts +539 -0
  176. package/common/types/issuer.types.js +275 -0
  177. package/common/types/issuer.types.js.map +1 -0
  178. package/common/types/job-item.types.d.ts +230 -0
  179. package/common/types/job-item.types.js +89 -0
  180. package/common/types/job-item.types.js.map +1 -0
  181. package/common/types/jobs.types.d.ts +296 -0
  182. package/common/types/jobs.types.js +150 -0
  183. package/common/types/jobs.types.js.map +1 -0
  184. package/common/types/kyb.types.d.ts +167 -0
  185. package/common/types/kyb.types.js +45 -0
  186. package/common/types/kyb.types.js.map +1 -0
  187. package/common/types/kyc.types.d.ts +2197 -0
  188. package/common/types/kyc.types.js +301 -0
  189. package/common/types/kyc.types.js.map +1 -0
  190. package/common/types/legal-entity.types.d.ts +676 -0
  191. package/common/types/legal-entity.types.js +151 -0
  192. package/common/types/legal-entity.types.js.map +1 -0
  193. package/common/types/login-history.types.d.ts +160 -0
  194. package/common/types/login-history.types.js +39 -0
  195. package/common/types/login-history.types.js.map +1 -0
  196. package/common/types/mail-template.types.d.ts +595 -0
  197. package/common/types/mail-template.types.js +401 -0
  198. package/common/types/mail-template.types.js.map +1 -0
  199. package/common/types/north-cap-integration.types.d.ts +1303 -0
  200. package/common/types/north-cap-integration.types.js +145 -0
  201. package/common/types/north-cap-integration.types.js.map +1 -0
  202. package/common/types/note.types.d.ts +216 -0
  203. package/common/types/note.types.js +82 -0
  204. package/common/types/note.types.js.map +1 -0
  205. package/common/types/notification.types.d.ts +2689 -0
  206. package/common/types/notification.types.js +408 -0
  207. package/common/types/notification.types.js.map +1 -0
  208. package/common/types/notion-api.types.d.ts +3626 -0
  209. package/common/types/notion-api.types.js +271 -0
  210. package/common/types/notion-api.types.js.map +1 -0
  211. package/common/types/notion-database.types.d.ts +191 -0
  212. package/common/types/notion-database.types.js +95 -0
  213. package/common/types/notion-database.types.js.map +1 -0
  214. package/common/types/notion-page.types.d.ts +3482 -0
  215. package/common/types/notion-page.types.js +208 -0
  216. package/common/types/notion-page.types.js.map +1 -0
  217. package/common/types/offering-reports.types.d.ts +525 -0
  218. package/common/types/offering-reports.types.js +111 -0
  219. package/common/types/offering-reports.types.js.map +1 -0
  220. package/common/types/offering-submission.types.d.ts +785 -0
  221. package/common/types/offering-submission.types.js +291 -0
  222. package/common/types/offering-submission.types.js.map +1 -0
  223. package/common/types/offering.types.d.ts +2859 -0
  224. package/common/types/offering.types.js +832 -0
  225. package/common/types/offering.types.js.map +1 -0
  226. package/common/types/page-revision.types.d.ts +74 -0
  227. package/common/types/page-revision.types.js +68 -0
  228. package/common/types/page-revision.types.js.map +1 -0
  229. package/common/types/page.types.d.ts +540 -0
  230. package/common/types/page.types.js +361 -0
  231. package/common/types/page.types.js.map +1 -0
  232. package/common/types/password.type.d.ts +2 -0
  233. package/common/types/password.type.js +14 -0
  234. package/common/types/password.type.js.map +1 -0
  235. package/common/types/payment-methods.types.d.ts +800 -0
  236. package/common/types/payment-methods.types.js +260 -0
  237. package/common/types/payment-methods.types.js.map +1 -0
  238. package/common/types/phone.type.d.ts +12 -0
  239. package/common/types/phone.type.js +29 -0
  240. package/common/types/phone.type.js.map +1 -0
  241. package/common/types/portfolio.types.d.ts +185 -0
  242. package/common/types/portfolio.types.js +36 -0
  243. package/common/types/portfolio.types.js.map +1 -0
  244. package/common/types/privacy-policy-and-tos.types.d.ts +2 -0
  245. package/common/types/{privacy-policy-and-tos.types.ts → privacy-policy-and-tos.types.js} +1 -1
  246. package/common/types/privacy-policy-and-tos.types.js.map +1 -0
  247. package/common/types/queue.types.d.ts +22 -0
  248. package/common/types/queue.types.js +73 -0
  249. package/common/types/queue.types.js.map +1 -0
  250. package/common/types/registered-reps.types.d.ts +6 -0
  251. package/common/types/registered-reps.types.js +21 -0
  252. package/common/types/registered-reps.types.js.map +1 -0
  253. package/common/types/rejection-reasons.types.d.ts +35 -0
  254. package/common/types/rejection-reasons.types.js +49 -0
  255. package/common/types/rejection-reasons.types.js.map +1 -0
  256. package/common/types/reports.types.d.ts +345 -0
  257. package/common/types/reports.types.js +69 -0
  258. package/common/types/reports.types.js.map +1 -0
  259. package/common/types/review.types.d.ts +419 -0
  260. package/common/types/review.types.js +101 -0
  261. package/common/types/review.types.js.map +1 -0
  262. package/common/types/role.types.d.ts +30 -0
  263. package/common/types/role.types.js +21 -0
  264. package/common/types/role.types.js.map +1 -0
  265. package/common/types/secondary-customer.types.d.ts +586 -0
  266. package/common/types/secondary-customer.types.js +39 -0
  267. package/common/types/secondary-customer.types.js.map +1 -0
  268. package/common/types/secondary-issuer.types.d.ts +283 -0
  269. package/common/types/secondary-issuer.types.js +37 -0
  270. package/common/types/secondary-issuer.types.js.map +1 -0
  271. package/common/types/secondary-order.types.d.ts +508 -0
  272. package/common/types/secondary-order.types.js +40 -0
  273. package/common/types/secondary-order.types.js.map +1 -0
  274. package/common/types/secondary-security.types.d.ts +175 -0
  275. package/common/types/secondary-security.types.js +45 -0
  276. package/common/types/secondary-security.types.js.map +1 -0
  277. package/common/types/secondary-trade.entity.d.ts +16 -0
  278. package/common/types/secondary-trade.entity.js +12 -0
  279. package/common/types/secondary-trade.entity.js.map +1 -0
  280. package/common/types/secondary-trade.types.d.ts +465 -0
  281. package/common/types/secondary-trade.types.js +61 -0
  282. package/common/types/secondary-trade.types.js.map +1 -0
  283. package/common/types/secure-request.types.d.ts +171 -0
  284. package/common/types/secure-request.types.js +51 -0
  285. package/common/types/secure-request.types.js.map +1 -0
  286. package/common/types/signer.types.d.ts +3406 -0
  287. package/common/types/signer.types.js +532 -0
  288. package/common/types/signer.types.js.map +1 -0
  289. package/common/types/site-link.types.d.ts +875 -0
  290. package/common/types/site-link.types.js +126 -0
  291. package/common/types/site-link.types.js.map +1 -0
  292. package/common/types/site-settings.types.d.ts +1673 -0
  293. package/common/types/site-settings.types.js +500 -0
  294. package/common/types/site-settings.types.js.map +1 -0
  295. package/common/types/site.types.d.ts +1481 -0
  296. package/common/types/site.types.js +213 -0
  297. package/common/types/site.types.js.map +1 -0
  298. package/common/types/sms.types.d.ts +40 -0
  299. package/common/types/sms.types.js +27 -0
  300. package/common/types/sms.types.js.map +1 -0
  301. package/common/types/state-machine.types.d.ts +591 -0
  302. package/common/types/state-machine.types.js +144 -0
  303. package/common/types/state-machine.types.js.map +1 -0
  304. package/common/types/states.types.d.ts +77 -0
  305. package/common/types/states.types.js +137 -0
  306. package/common/types/states.types.js.map +1 -0
  307. package/common/types/subdoc-preview.types.d.ts +379 -0
  308. package/common/types/subdoc-preview.types.js +24 -0
  309. package/common/types/subdoc-preview.types.js.map +1 -0
  310. package/common/types/task.types.d.ts +537 -0
  311. package/common/types/task.types.js +211 -0
  312. package/common/types/task.types.js.map +1 -0
  313. package/common/types/trade-adjustment.type.d.ts +40 -0
  314. package/common/types/trade-adjustment.type.js +26 -0
  315. package/common/types/trade-adjustment.type.js.map +1 -0
  316. package/common/types/trade-line-item.types.d.ts +353 -0
  317. package/common/types/trade-line-item.types.js +103 -0
  318. package/common/types/trade-line-item.types.js.map +1 -0
  319. package/common/types/trade.types.d.ts +2016 -0
  320. package/common/types/trade.types.js +805 -0
  321. package/common/types/trade.types.js.map +1 -0
  322. package/common/types/transaction.types.d.ts +453 -0
  323. package/common/types/transaction.types.js +173 -0
  324. package/common/types/transaction.types.js.map +1 -0
  325. package/common/types/trusted-contact.types.d.ts +440 -0
  326. package/common/types/trusted-contact.types.js +95 -0
  327. package/common/types/trusted-contact.types.js.map +1 -0
  328. package/common/types/typography.types.d.ts +52 -0
  329. package/common/types/typography.types.js +67 -0
  330. package/common/types/typography.types.js.map +1 -0
  331. package/common/types/user-manual.types.d.ts +287 -0
  332. package/common/types/user-manual.types.js +192 -0
  333. package/common/types/user-manual.types.js.map +1 -0
  334. package/common/types/user-setting.types.d.ts +273 -0
  335. package/common/types/user-setting.types.js +85 -0
  336. package/common/types/user-setting.types.js.map +1 -0
  337. package/common/types/user.types.d.ts +1974 -0
  338. package/common/types/user.types.js +221 -0
  339. package/common/types/user.types.js.map +1 -0
  340. package/common/types/webhook.types.d.ts +10829 -0
  341. package/common/types/webhook.types.js +658 -0
  342. package/common/types/webhook.types.js.map +1 -0
  343. package/common/types/zip.type.d.ts +35 -0
  344. package/common/types/zip.type.js +28 -0
  345. package/common/types/zip.type.js.map +1 -0
  346. package/contracts/clients/accounts/index.d.ts +308 -0
  347. package/contracts/clients/accounts/index.js +43 -0
  348. package/contracts/clients/accounts/index.js.map +1 -0
  349. package/contracts/clients/aic/index.d.ts +280 -0
  350. package/contracts/clients/aic/index.js +47 -0
  351. package/contracts/clients/aic/index.js.map +1 -0
  352. package/contracts/clients/api-key-logs/index.d.ts +287 -0
  353. package/contracts/clients/api-key-logs/index.js +37 -0
  354. package/contracts/clients/api-key-logs/index.js.map +1 -0
  355. package/contracts/clients/api-keys/index.d.ts +374 -0
  356. package/contracts/clients/api-keys/index.js +59 -0
  357. package/contracts/clients/api-keys/index.js.map +1 -0
  358. package/contracts/clients/assets/index.d.ts +1050 -0
  359. package/contracts/clients/assets/index.js +80 -0
  360. package/contracts/clients/assets/index.js.map +1 -0
  361. package/contracts/clients/auth/index.d.ts +236 -0
  362. package/contracts/clients/auth/index.js +38 -0
  363. package/contracts/clients/auth/index.js.map +1 -0
  364. package/contracts/clients/cart/index.d.ts +229 -0
  365. package/contracts/clients/cart/index.js +63 -0
  366. package/contracts/clients/cart/index.js.map +1 -0
  367. package/contracts/clients/csv/index.d.ts +1807 -0
  368. package/contracts/clients/csv/index.js +97 -0
  369. package/contracts/clients/csv/index.js.map +1 -0
  370. package/contracts/clients/files/index.d.ts +552 -0
  371. package/contracts/clients/files/index.js +142 -0
  372. package/contracts/clients/files/index.js.map +1 -0
  373. package/contracts/clients/files-public/index.d.ts +552 -0
  374. package/contracts/clients/files-public/index.js +142 -0
  375. package/contracts/clients/files-public/index.js.map +1 -0
  376. package/contracts/clients/index.d.ts +14696 -0
  377. package/contracts/clients/index.js +56 -0
  378. package/contracts/clients/index.js.map +1 -0
  379. package/contracts/clients/individuals/index.d.ts +3199 -0
  380. package/contracts/clients/individuals/index.js +74 -0
  381. package/contracts/clients/individuals/index.js.map +1 -0
  382. package/contracts/clients/investor-accounts/index.d.ts +339 -0
  383. package/contracts/clients/investor-accounts/index.js +73 -0
  384. package/contracts/clients/investor-accounts/index.js.map +1 -0
  385. package/contracts/clients/issuer-payment-methods/index.d.ts +276 -0
  386. package/contracts/clients/issuer-payment-methods/index.js +24 -0
  387. package/contracts/clients/issuer-payment-methods/index.js.map +1 -0
  388. package/contracts/clients/issuers/index.d.ts +449 -0
  389. package/contracts/clients/issuers/index.js +75 -0
  390. package/contracts/clients/issuers/index.js.map +1 -0
  391. package/contracts/clients/kyc/index.d.ts +345 -0
  392. package/contracts/clients/kyc/index.js +49 -0
  393. package/contracts/clients/kyc/index.js.map +1 -0
  394. package/contracts/clients/legal-entities/index.d.ts +887 -0
  395. package/contracts/clients/legal-entities/index.js +74 -0
  396. package/contracts/clients/legal-entities/index.js.map +1 -0
  397. package/contracts/clients/offerings/index.d.ts +1068 -0
  398. package/contracts/clients/offerings/index.js +95 -0
  399. package/contracts/clients/offerings/index.js.map +1 -0
  400. package/contracts/clients/payment-methods/index.d.ts +456 -0
  401. package/contracts/clients/payment-methods/index.js +68 -0
  402. package/contracts/clients/payment-methods/index.js.map +1 -0
  403. package/contracts/clients/review/index.d.ts +85 -0
  404. package/contracts/clients/review/index.js +27 -0
  405. package/contracts/clients/review/index.js.map +1 -0
  406. package/contracts/clients/secure-requests/index.d.ts +100 -0
  407. package/contracts/clients/secure-requests/index.js +22 -0
  408. package/contracts/clients/secure-requests/index.js.map +1 -0
  409. package/contracts/clients/sites/index.d.ts +657 -0
  410. package/contracts/clients/sites/index.js +40 -0
  411. package/contracts/clients/sites/index.js.map +1 -0
  412. package/contracts/clients/trade-line-items/index.d.ts +216 -0
  413. package/contracts/clients/trade-line-items/index.js +47 -0
  414. package/contracts/clients/trade-line-items/index.js.map +1 -0
  415. package/contracts/clients/trades/index.d.ts +871 -0
  416. package/contracts/clients/trades/index.js +156 -0
  417. package/contracts/clients/trades/index.js.map +1 -0
  418. package/contracts/clients/transactions/index.d.ts +88 -0
  419. package/contracts/clients/transactions/index.js +25 -0
  420. package/contracts/clients/transactions/index.js.map +1 -0
  421. package/package.json +27 -36
  422. package/common/helpers/index.ts +0 -59
  423. package/common/types/account-contact.types.ts +0 -98
  424. package/common/types/account-detail.types.ts +0 -27
  425. package/common/types/account-integration.types.ts +0 -143
  426. package/common/types/account-manager.types.ts +0 -124
  427. package/common/types/account.types.ts +0 -296
  428. package/common/types/activity.types.ts +0 -274
  429. package/common/types/address.types.ts +0 -41
  430. package/common/types/aic.types.ts +0 -246
  431. package/common/types/aml.types.ts +0 -18
  432. package/common/types/api-key-logs.types.ts +0 -66
  433. package/common/types/api-keys.types.ts +0 -69
  434. package/common/types/asset.types.ts +0 -338
  435. package/common/types/auth.types.ts +0 -370
  436. package/common/types/batch-jobs.types.ts +0 -151
  437. package/common/types/bonus-tier.types.ts +0 -147
  438. package/common/types/cart.types.ts +0 -18
  439. package/common/types/checklist-items.types.ts +0 -70
  440. package/common/types/checklist.types.ts +0 -97
  441. package/common/types/common.types.ts +0 -1520
  442. package/common/types/comply-advantage-api.types.ts +0 -316
  443. package/common/types/comply-advantage.types.ts +0 -25
  444. package/common/types/contact-us.types.ts +0 -107
  445. package/common/types/countries.types.ts +0 -375
  446. package/common/types/covered-person.types.ts +0 -274
  447. package/common/types/dashboard.types.ts +0 -799
  448. package/common/types/data-record.types.ts +0 -325
  449. package/common/types/data-room.types.ts +0 -242
  450. package/common/types/default-theme-config.types.ts +0 -87
  451. package/common/types/disbursement-adjustment.types.ts +0 -32
  452. package/common/types/disbursement-approval-user.types.ts +0 -100
  453. package/common/types/disbursement-review.types.ts +0 -110
  454. package/common/types/disbursement-transaction.types.ts +0 -72
  455. package/common/types/disbursements.types.ts +0 -310
  456. package/common/types/domain-filter.types.ts +0 -55
  457. package/common/types/email-theme.types.ts +0 -442
  458. package/common/types/entity.types.ts +0 -15
  459. package/common/types/error-responses.types.ts +0 -135
  460. package/common/types/escrow-account.types.ts +0 -104
  461. package/common/types/exchange-api-key.types.ts +0 -121
  462. package/common/types/exchange-import.types.ts +0 -36
  463. package/common/types/exchange-provider.types.ts +0 -329
  464. package/common/types/file.types.ts +0 -461
  465. package/common/types/health.types.ts +0 -29
  466. package/common/types/individuals.types.ts +0 -554
  467. package/common/types/investor-account.types.ts +0 -1239
  468. package/common/types/investors-offering.types.ts +0 -65
  469. package/common/types/invite.types.ts +0 -133
  470. package/common/types/issuer-bank-account.types.ts +0 -107
  471. package/common/types/issuer-offering.types.ts +0 -399
  472. package/common/types/issuer-payment-method.types.ts +0 -341
  473. package/common/types/issuer.types.ts +0 -312
  474. package/common/types/job-item.types.ts +0 -119
  475. package/common/types/jobs.types.ts +0 -171
  476. package/common/types/kyb.types.ts +0 -53
  477. package/common/types/kyc.types.ts +0 -188
  478. package/common/types/legal-entity.types.ts +0 -185
  479. package/common/types/login-history.types.ts +0 -46
  480. package/common/types/mail-template.types.ts +0 -436
  481. package/common/types/north-cap-integration.types.ts +0 -190
  482. package/common/types/note.types.ts +0 -109
  483. package/common/types/notification.types.ts +0 -58
  484. package/common/types/notion-api.types.ts +0 -374
  485. package/common/types/notion-database.types.ts +0 -125
  486. package/common/types/notion-page.types.ts +0 -267
  487. package/common/types/offering-reports.types.ts +0 -153
  488. package/common/types/offering-submission.types.ts +0 -314
  489. package/common/types/offering.types.ts +0 -686
  490. package/common/types/page-revision.types.ts +0 -86
  491. package/common/types/page.types.ts +0 -436
  492. package/common/types/password.type.ts +0 -15
  493. package/common/types/payment-methods.types.ts +0 -298
  494. package/common/types/phone.type.ts +0 -27
  495. package/common/types/portfolio.types.ts +0 -50
  496. package/common/types/queue.types.ts +0 -112
  497. package/common/types/registered-reps.types.ts +0 -25
  498. package/common/types/rejection-reasons.types.ts +0 -56
  499. package/common/types/reminder-config.types.ts +0 -40
  500. package/common/types/review.types.ts +0 -133
  501. package/common/types/role.types.ts +0 -26
  502. package/common/types/secondary-customer.types.ts +0 -66
  503. package/common/types/secondary-issuer.types.ts +0 -50
  504. package/common/types/secondary-order.types.ts +0 -58
  505. package/common/types/secondary-security.types.ts +0 -60
  506. package/common/types/secondary-trade.entity.ts +0 -16
  507. package/common/types/secondary-trade.types.ts +0 -95
  508. package/common/types/secure-request.types.ts +0 -68
  509. package/common/types/signer.types.ts +0 -651
  510. package/common/types/site-link.types.ts +0 -166
  511. package/common/types/site-settings.types.ts +0 -726
  512. package/common/types/site.types.ts +0 -270
  513. package/common/types/sms.types.ts +0 -30
  514. package/common/types/state-machine.types.ts +0 -177
  515. package/common/types/states.types.ts +0 -163
  516. package/common/types/subdoc-preview.types.ts +0 -35
  517. package/common/types/task.types.ts +0 -258
  518. package/common/types/trade-adjustment.type.ts +0 -33
  519. package/common/types/trade-line-item.type.ts +0 -132
  520. package/common/types/trade.types.ts +0 -999
  521. package/common/types/transaction.types.ts +0 -198
  522. package/common/types/trusted-contact.types.ts +0 -122
  523. package/common/types/typography.types.ts +0 -75
  524. package/common/types/user-manual.types.ts +0 -290
  525. package/common/types/user-setting.types.ts +0 -133
  526. package/common/types/user.types.ts +0 -320
  527. package/common/types/webhook.types.ts +0 -588
  528. package/common/types/zip.type.ts +0 -36
  529. package/contracts/clients/accounts/index.ts +0 -61
  530. package/contracts/clients/aic/index.ts +0 -59
  531. package/contracts/clients/api-key-logs/index.ts +0 -53
  532. package/contracts/clients/api-keys/index.ts +0 -73
  533. package/contracts/clients/assets/index.ts +0 -102
  534. package/contracts/clients/auth/index.ts +0 -50
  535. package/contracts/clients/files/index.ts +0 -166
  536. package/contracts/clients/files-public/index.ts +0 -166
  537. package/contracts/clients/index.ts +0 -44
  538. package/contracts/clients/individuals/index.ts +0 -93
  539. package/contracts/clients/investor-accounts/index.ts +0 -93
  540. package/contracts/clients/issuers/index.ts +0 -94
  541. package/contracts/clients/legal-entities/index.ts +0 -93
  542. package/contracts/clients/offerings/index.ts +0 -117
  543. package/contracts/clients/secure-requests/index.ts +0 -34
  544. package/contracts/clients/sites/index.ts +0 -56
  545. package/contracts/clients/trades/index.ts +0 -186
  546. package/contracts/compliance/account-contacts/index.ts +0 -82
  547. package/contracts/compliance/account-managers/index.ts +0 -142
  548. package/contracts/compliance/accounts/index.ts +0 -187
  549. package/contracts/compliance/activities/index.ts +0 -55
  550. package/contracts/compliance/aic/index.ts +0 -60
  551. package/contracts/compliance/api-keys/index.ts +0 -91
  552. package/contracts/compliance/assets/index.ts +0 -122
  553. package/contracts/compliance/auth/index.ts +0 -134
  554. package/contracts/compliance/batch-jobs/index.ts +0 -62
  555. package/contracts/compliance/bonus-tiers/index.ts +0 -55
  556. package/contracts/compliance/checklist/index.ts +0 -87
  557. package/contracts/compliance/checklist-items/index.ts +0 -86
  558. package/contracts/compliance/covered-persons/index.ts +0 -97
  559. package/contracts/compliance/dashboard/index.ts +0 -111
  560. package/contracts/compliance/data-records/index.ts +0 -116
  561. package/contracts/compliance/data-rooms/index.ts +0 -113
  562. package/contracts/compliance/default-theme-configs/index.ts +0 -95
  563. package/contracts/compliance/disbursement/index.ts +0 -165
  564. package/contracts/compliance/disbursement-approval-users/index.ts +0 -84
  565. package/contracts/compliance/disbursement-transactions/index.ts +0 -37
  566. package/contracts/compliance/domain-filters/index.ts +0 -117
  567. package/contracts/compliance/email-themes/index.ts +0 -284
  568. package/contracts/compliance/escrow-accounts/index.ts +0 -85
  569. package/contracts/compliance/exchange-api-keys/index.ts +0 -129
  570. package/contracts/compliance/exchange-imports/index.ts +0 -137
  571. package/contracts/compliance/files/index.ts +0 -267
  572. package/contracts/compliance/files-public/index.ts +0 -188
  573. package/contracts/compliance/health/index.ts +0 -26
  574. package/contracts/compliance/index.ts +0 -147
  575. package/contracts/compliance/individuals/index.ts +0 -57
  576. package/contracts/compliance/investor-accounts/index.ts +0 -141
  577. package/contracts/compliance/invites/index.ts +0 -137
  578. package/contracts/compliance/issuer-bank-accounts/index.ts +0 -81
  579. package/contracts/compliance/issuer-payment-methods/index.ts +0 -81
  580. package/contracts/compliance/issuers/index.ts +0 -97
  581. package/contracts/compliance/job-items/index.ts +0 -58
  582. package/contracts/compliance/jobs/index.ts +0 -59
  583. package/contracts/compliance/kyb/index.ts +0 -54
  584. package/contracts/compliance/kyc/index.ts +0 -77
  585. package/contracts/compliance/legal-entities/index.ts +0 -57
  586. package/contracts/compliance/login-histories/index.ts +0 -37
  587. package/contracts/compliance/notes/index.ts +0 -69
  588. package/contracts/compliance/notion-databases/index.ts +0 -107
  589. package/contracts/compliance/notion-pages/index.ts +0 -105
  590. package/contracts/compliance/offering-reports/index.ts +0 -149
  591. package/contracts/compliance/offerings/index.ts +0 -233
  592. package/contracts/compliance/pages/index.ts +0 -178
  593. package/contracts/compliance/payment-methods/index.ts +0 -57
  594. package/contracts/compliance/rejection-reasons/index.ts +0 -32
  595. package/contracts/compliance/review/index.ts +0 -169
  596. package/contracts/compliance/roles/index.ts +0 -34
  597. package/contracts/compliance/secondary-customers/index.ts +0 -77
  598. package/contracts/compliance/secondary-orders/index.ts +0 -60
  599. package/contracts/compliance/secondary-trades/index.ts +0 -100
  600. package/contracts/compliance/secure-requests/index.ts +0 -54
  601. package/contracts/compliance/signer/index.ts +0 -369
  602. package/contracts/compliance/site-links/index.ts +0 -128
  603. package/contracts/compliance/site-settings/index.ts +0 -669
  604. package/contracts/compliance/sites/index.ts +0 -56
  605. package/contracts/compliance/state-machine/index.ts +0 -94
  606. package/contracts/compliance/tasks/index.ts +0 -91
  607. package/contracts/compliance/third-parties/index.ts +0 -52
  608. package/contracts/compliance/trade-line-items/index.ts +0 -59
  609. package/contracts/compliance/trades/index.ts +0 -230
  610. package/contracts/compliance/transactions/index.ts +0 -161
  611. package/contracts/compliance/user-manuals/index.ts +0 -271
  612. package/contracts/compliance/user-settings/index.ts +0 -189
  613. package/contracts/compliance/users/index.ts +0 -200
  614. package/contracts/compliance/webhooks/index.ts +0 -41
  615. package/contracts/compliance-apikey/accounts/index.ts +0 -58
  616. package/contracts/compliance-apikey/index.ts +0 -14
  617. package/contracts/index.ts +0 -6
  618. package/contracts/investors/account-contacts/index.ts +0 -58
  619. package/contracts/investors/aic/index.ts +0 -59
  620. package/contracts/investors/assets/index.ts +0 -61
  621. package/contracts/investors/auth/index.ts +0 -116
  622. package/contracts/investors/bonus-tiers/index.ts +0 -37
  623. package/contracts/investors/cart/index.ts +0 -75
  624. package/contracts/investors/contact-us/index.ts +0 -48
  625. package/contracts/investors/data-records/index.ts +0 -113
  626. package/contracts/investors/data-rooms/index.ts +0 -96
  627. package/contracts/investors/files/index.ts +0 -167
  628. package/contracts/investors/files-public/index.ts +0 -185
  629. package/contracts/investors/index.ts +0 -72
  630. package/contracts/investors/individuals/index.ts +0 -99
  631. package/contracts/investors/investor-accounts/index.ts +0 -110
  632. package/contracts/investors/issuer-payment-methods/index.ts +0 -36
  633. package/contracts/investors/issuers/index.ts +0 -30
  634. package/contracts/investors/legal-entities/index.ts +0 -93
  635. package/contracts/investors/notes/index.ts +0 -69
  636. package/contracts/investors/offerings/index.ts +0 -93
  637. package/contracts/investors/pages/index.ts +0 -88
  638. package/contracts/investors/payment-methods/index.ts +0 -149
  639. package/contracts/investors/portfolios/index.ts +0 -53
  640. package/contracts/investors/sites/index.ts +0 -96
  641. package/contracts/investors/tasks/index.ts +0 -111
  642. package/contracts/investors/trade-line-items/index.ts +0 -75
  643. package/contracts/investors/trades/index.ts +0 -114
  644. package/contracts/investors/transactions/index.ts +0 -37
  645. package/contracts/investors/trusted-contacts/index.ts +0 -93
  646. package/contracts/investors/user-manuals/index.ts +0 -62
  647. package/contracts/investors/user-settings/index.ts +0 -170
  648. package/contracts/investors/users/index.ts +0 -45
  649. package/contracts/investors/webhooks/index.ts +0 -30
  650. package/contracts/issuers/account-contacts/index.ts +0 -76
  651. package/contracts/issuers/account-integrations/index.ts +0 -97
  652. package/contracts/issuers/accounts/index.ts +0 -97
  653. package/contracts/issuers/activities/index.ts +0 -54
  654. package/contracts/issuers/aic/index.ts +0 -39
  655. package/contracts/issuers/api-key-logs/index.ts +0 -53
  656. package/contracts/issuers/api-keys/index.ts +0 -93
  657. package/contracts/issuers/assets/index.ts +0 -122
  658. package/contracts/issuers/auth/index.ts +0 -152
  659. package/contracts/issuers/bonus-tiers/index.ts +0 -55
  660. package/contracts/issuers/contact-us/index.ts +0 -48
  661. package/contracts/issuers/covered-persons/index.ts +0 -136
  662. package/contracts/issuers/dashboard/index.ts +0 -72
  663. package/contracts/issuers/data-records/index.ts +0 -257
  664. package/contracts/issuers/data-rooms/index.ts +0 -134
  665. package/contracts/issuers/disbursement-approval-users/index.ts +0 -82
  666. package/contracts/issuers/disbursement-transactions/index.ts +0 -53
  667. package/contracts/issuers/disbursements/index.ts +0 -153
  668. package/contracts/issuers/email-themes/index.ts +0 -242
  669. package/contracts/issuers/escrow-accounts/index.ts +0 -81
  670. package/contracts/issuers/exchange-api-keys/index.ts +0 -144
  671. package/contracts/issuers/files/index.ts +0 -166
  672. package/contracts/issuers/files-public/index.ts +0 -166
  673. package/contracts/issuers/health/index.ts +0 -24
  674. package/contracts/issuers/index.ts +0 -112
  675. package/contracts/issuers/investor-accounts/index.ts +0 -148
  676. package/contracts/issuers/invites/index.ts +0 -129
  677. package/contracts/issuers/issuer/index.ts +0 -94
  678. package/contracts/issuers/issuer-bank-accounts/index.ts +0 -81
  679. package/contracts/issuers/issuer-payment-methods/index.ts +0 -136
  680. package/contracts/issuers/kyc/index.ts +0 -38
  681. package/contracts/issuers/login-histories/index.ts +0 -51
  682. package/contracts/issuers/notes/index.ts +0 -69
  683. package/contracts/issuers/offerings/index.ts +0 -206
  684. package/contracts/issuers/pages/index.ts +0 -138
  685. package/contracts/issuers/payment-methods/index.ts +0 -61
  686. package/contracts/issuers/portfolios/index.ts +0 -36
  687. package/contracts/issuers/rejection-reasons/index.ts +0 -32
  688. package/contracts/issuers/review/index.ts +0 -63
  689. package/contracts/issuers/secondary-customers/index.ts +0 -55
  690. package/contracts/issuers/secondary-orders/index.ts +0 -57
  691. package/contracts/issuers/secondary-trades/index.ts +0 -57
  692. package/contracts/issuers/secure-requests/index.ts +0 -34
  693. package/contracts/issuers/site-links/index.ts +0 -116
  694. package/contracts/issuers/site-settings/index.ts +0 -585
  695. package/contracts/issuers/sites/index.ts +0 -32
  696. package/contracts/issuers/tasks/index.ts +0 -111
  697. package/contracts/issuers/trades/index.ts +0 -132
  698. package/contracts/issuers/transactions/index.ts +0 -158
  699. package/contracts/issuers/user-manuals/index.ts +0 -62
  700. package/contracts/issuers/user-settings/index.ts +0 -170
  701. package/contracts/issuers/users/index.ts +0 -126
  702. package/contracts/secondaries/accounts/index.ts +0 -58
  703. package/contracts/secondaries/index.ts +0 -23
  704. package/contracts/secondaries/secondary-customers/index.ts +0 -55
  705. package/contracts/secondaries/secondary-issuers/index.ts +0 -94
  706. package/contracts/secondaries/secondary-orders/index.ts +0 -56
  707. package/contracts/secondaries/secondary-securities/index.ts +0 -95
  708. package/contracts/secondaries/secondary-trades/index.ts +0 -56
  709. /package/common/types/{investorAccountIdSchema.type.ts → investorAccountIdSchema.type.d.ts} +0 -0
@@ -0,0 +1,1917 @@
1
+ import { z } from 'zod';
2
+ import { InvestorAccountType, AicAccreditationType, SubmitIssuerOfferingError } from './common.types';
3
+ import { IndividualRole, aicQuestionnaire } from './individuals.types';
4
+ import { PostKycBodySchema } from './kyc.types';
5
+ /**
6
+ * CSV Validation Types
7
+ * These types are used for CSV file upload and validation
8
+ */
9
+ /**
10
+ * CSV Error type - reuses the standard error structure from common types
11
+ */
12
+ export type CsvError = z.infer<typeof SubmitIssuerOfferingError>;
13
+ export interface ParsedCsvRow {
14
+ row: number;
15
+ data: Record<string, unknown>;
16
+ issues?: string[];
17
+ }
18
+ /**
19
+ * CSV Parse Result with separated valid and invalid data
20
+ * Uses CsvError for consistent error structure across the application
21
+ */
22
+ export interface CsvParseResult {
23
+ validatedData: CsvRowData[];
24
+ allRecords: Record<string, unknown>[];
25
+ schemaErrors: CsvError[];
26
+ }
27
+ export interface CsvValidationResult {
28
+ valid: boolean;
29
+ totalRows: number;
30
+ validRows: number;
31
+ invalidRows: number;
32
+ data: CsvRowData[];
33
+ errors?: Array<{
34
+ row: number;
35
+ issues: string[];
36
+ }>;
37
+ }
38
+ /**
39
+ * Zod schema for CSV validation result (for API contracts)
40
+ */
41
+ export declare const CsvValidationResultZod: z.ZodObject<{
42
+ valid: z.ZodBoolean;
43
+ totalRows: z.ZodNumber;
44
+ validRows: z.ZodNumber;
45
+ invalidRows: z.ZodNumber;
46
+ data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
47
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
48
+ row: z.ZodNumber;
49
+ issues: z.ZodArray<z.ZodString, "many">;
50
+ }, "strip", z.ZodTypeAny, {
51
+ issues: string[];
52
+ row: number;
53
+ }, {
54
+ issues: string[];
55
+ row: number;
56
+ }>, "many">>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ valid: boolean;
59
+ data: Record<string, any>[];
60
+ totalRows: number;
61
+ validRows: number;
62
+ invalidRows: number;
63
+ errors?: {
64
+ issues: string[];
65
+ row: number;
66
+ }[] | undefined;
67
+ }, {
68
+ valid: boolean;
69
+ data: Record<string, any>[];
70
+ totalRows: number;
71
+ validRows: number;
72
+ invalidRows: number;
73
+ errors?: {
74
+ issues: string[];
75
+ row: number;
76
+ }[] | undefined;
77
+ }>;
78
+ export type CsvValidationResultZod = z.infer<typeof CsvValidationResultZod>;
79
+ /**
80
+ * CSV Persistence Types
81
+ * These types are used for CSV file upload with database persistence
82
+ */
83
+ /**
84
+ * Base information about a successfully created account (common fields)
85
+ */
86
+ interface BaseCreatedAccountInfo {
87
+ row: number;
88
+ userId: string;
89
+ }
90
+ /**
91
+ * Information about a successfully created investor account
92
+ */
93
+ export interface CreatedInvestorAccountInfo extends BaseCreatedAccountInfo {
94
+ investorAccountId: string;
95
+ }
96
+ /**
97
+ * Information about a successfully created issuer account
98
+ */
99
+ export interface CreatedIssuerAccountInfo extends BaseCreatedAccountInfo {
100
+ accountId: string;
101
+ }
102
+ /**
103
+ * Union type for created accounts (supports both investor and issuer)
104
+ */
105
+ export type CreatedAccountInfo = CreatedInvestorAccountInfo | CreatedIssuerAccountInfo;
106
+ /**
107
+ * Result of CSV persistence operation (All-or-Nothing)
108
+ *
109
+ * Note: With the all-or-nothing transaction approach:
110
+ * - On success: All rows are processed (successfulRows = totalRows)
111
+ * - On failure: Transaction is rolled back, returns ExtendedErrorResult instead
112
+ */
113
+ export interface CsvPersistenceResult {
114
+ totalRows: number;
115
+ successfulRows: number;
116
+ createdAccounts: CreatedAccountInfo[];
117
+ }
118
+ /**
119
+ * Zod schema for CSV persistence result (for API contracts)
120
+ *
121
+ * Note: With all-or-nothing transactions:
122
+ * - Success returns this schema with all accounts created
123
+ * - Failure returns ExtendedErrorResult with transaction rollback
124
+ * - failedRows removed: always 0 on success, redundant
125
+ *
126
+ * Schema supports both investor and issuer accounts using discriminated union
127
+ */
128
+ export declare const CsvPersistenceResultZod: z.ZodObject<{
129
+ totalRows: z.ZodNumber;
130
+ successfulRows: z.ZodNumber;
131
+ createdAccounts: z.ZodArray<z.ZodUnion<[z.ZodObject<{
132
+ row: z.ZodNumber;
133
+ userId: z.ZodString;
134
+ investorAccountId: z.ZodString;
135
+ }, "strip", z.ZodTypeAny, {
136
+ userId: string;
137
+ investorAccountId: string;
138
+ row: number;
139
+ }, {
140
+ userId: string;
141
+ investorAccountId: string;
142
+ row: number;
143
+ }>, z.ZodObject<{
144
+ row: z.ZodNumber;
145
+ userId: z.ZodString;
146
+ accountId: z.ZodString;
147
+ }, "strip", z.ZodTypeAny, {
148
+ accountId: string;
149
+ userId: string;
150
+ row: number;
151
+ }, {
152
+ accountId: string;
153
+ userId: string;
154
+ row: number;
155
+ }>]>, "many">;
156
+ }, "strip", z.ZodTypeAny, {
157
+ totalRows: number;
158
+ successfulRows: number;
159
+ createdAccounts: ({
160
+ userId: string;
161
+ investorAccountId: string;
162
+ row: number;
163
+ } | {
164
+ accountId: string;
165
+ userId: string;
166
+ row: number;
167
+ })[];
168
+ }, {
169
+ totalRows: number;
170
+ successfulRows: number;
171
+ createdAccounts: ({
172
+ userId: string;
173
+ investorAccountId: string;
174
+ row: number;
175
+ } | {
176
+ accountId: string;
177
+ userId: string;
178
+ row: number;
179
+ })[];
180
+ }>;
181
+ export type CsvPersistenceResultZod = z.infer<typeof CsvPersistenceResultZod>;
182
+ export declare const BaseIndividualCsvFields: z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
183
+ firstName: z.ZodString;
184
+ lastName: z.ZodString;
185
+ email: z.ZodEffects<z.ZodString, string, string>;
186
+ password: z.ZodString;
187
+ confirmPassword: z.ZodString;
188
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
189
+ isOk: () => boolean;
190
+ isErr: () => boolean;
191
+ value?: any;
192
+ error?: any;
193
+ } | import("neverthrow").Ok<null, never>, string | null>, {
194
+ isOk: () => boolean;
195
+ isErr: () => boolean;
196
+ value?: any;
197
+ error?: any;
198
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
199
+ } & {
200
+ site: z.ZodOptional<z.ZodString>;
201
+ }, "strip", z.ZodTypeAny, {
202
+ firstName: string;
203
+ lastName: string;
204
+ email: string;
205
+ password: string;
206
+ confirmPassword: string;
207
+ site?: string | undefined;
208
+ phoneNumber?: any;
209
+ }, {
210
+ firstName: string;
211
+ lastName: string;
212
+ email: string;
213
+ password: string;
214
+ confirmPassword: string;
215
+ site?: string | undefined;
216
+ phoneNumber?: string | null | undefined;
217
+ }>, z.ZodObject<Omit<{
218
+ lastName: z.ZodOptional<z.ZodString>;
219
+ firstName: z.ZodOptional<z.ZodString>;
220
+ kycFirstName: z.ZodOptional<z.ZodString>;
221
+ kycLastName: z.ZodOptional<z.ZodString>;
222
+ dob: z.ZodOptional<z.ZodDate>;
223
+ currencyCode: z.ZodOptional<z.ZodString>;
224
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
225
+ isOk: () => boolean;
226
+ isErr: () => boolean;
227
+ value?: any;
228
+ error?: any;
229
+ } | import("neverthrow").Ok<null, never>, string | null>, {
230
+ isOk: () => boolean;
231
+ isErr: () => boolean;
232
+ value?: any;
233
+ error?: any;
234
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
235
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
236
+ ownership: z.ZodOptional<z.ZodNumber>;
237
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
238
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
239
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
240
+ kycDocumentType: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>>;
241
+ kycDocumentIssuer: z.ZodOptional<z.ZodString>;
242
+ kycExpirationDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
243
+ kycIssuerDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
244
+ kycDocumentNumber: z.ZodOptional<z.ZodString>;
245
+ householdNetWorth: z.ZodOptional<z.ZodNumber>;
246
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
247
+ currentHouseholdIncome: z.ZodOptional<z.ZodNumber>;
248
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
249
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
250
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
251
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
252
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
253
+ aicQuestionnaire: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
254
+ kycProvider: z.ZodOptional<z.ZodString>;
255
+ aicAccreditationType: z.ZodOptional<z.ZodNativeEnum<typeof AicAccreditationType>>;
256
+ accredited: z.ZodOptional<z.ZodBoolean>;
257
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
258
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
260
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
261
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
262
+ }, "firstName" | "lastName">, "strip", z.ZodTypeAny, {
263
+ email?: string | undefined;
264
+ phone?: any;
265
+ kycFirstName?: string | undefined;
266
+ kycLastName?: string | undefined;
267
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
268
+ kycDocumentIssuer?: string | undefined;
269
+ kycProvider?: string | undefined;
270
+ currencyCode?: string | undefined;
271
+ kycDocumentNumber?: string | undefined;
272
+ kycIssuerDate?: string | undefined;
273
+ kycExpirationDate?: string | undefined;
274
+ liquidNetWorth?: number | undefined;
275
+ aicAccreditationType?: AicAccreditationType | undefined;
276
+ aicQuestionnaire?: string | undefined;
277
+ dob?: Date | undefined;
278
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
279
+ citizenship?: string | undefined;
280
+ ssn?: string | null | undefined;
281
+ investedInCrowdfunding?: number | undefined;
282
+ currentAnnualIncome?: number | undefined;
283
+ currentHouseholdIncome?: number | undefined;
284
+ householdNetWorth?: number | undefined;
285
+ employerName?: string | null | undefined;
286
+ setupStep?: import("./common.types").SetupStepType | undefined;
287
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
288
+ ownership?: number | undefined;
289
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
290
+ custodianName?: string | null | undefined;
291
+ custodianAccountNumber?: string | null | undefined;
292
+ custodianRepresentativeName?: string | null | undefined;
293
+ custodianEmail?: string | null | undefined;
294
+ accredited?: boolean | undefined;
295
+ }, {
296
+ email?: string | undefined;
297
+ phone?: string | null | undefined;
298
+ kycFirstName?: string | undefined;
299
+ kycLastName?: string | undefined;
300
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
301
+ kycDocumentIssuer?: string | undefined;
302
+ kycProvider?: string | undefined;
303
+ currencyCode?: string | undefined;
304
+ kycDocumentNumber?: string | undefined;
305
+ kycIssuerDate?: Date | undefined;
306
+ kycExpirationDate?: Date | undefined;
307
+ liquidNetWorth?: number | undefined;
308
+ aicAccreditationType?: AicAccreditationType | undefined;
309
+ aicQuestionnaire?: string | undefined;
310
+ dob?: Date | undefined;
311
+ isUsCitizenOrGreenCardHolder?: unknown;
312
+ citizenship?: string | undefined;
313
+ ssn?: string | null | undefined;
314
+ investedInCrowdfunding?: number | undefined;
315
+ currentAnnualIncome?: number | undefined;
316
+ currentHouseholdIncome?: number | undefined;
317
+ householdNetWorth?: number | undefined;
318
+ employerName?: string | null | undefined;
319
+ setupStep?: import("./common.types").SetupStepType | undefined;
320
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
321
+ ownership?: number | undefined;
322
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
323
+ custodianName?: string | null | undefined;
324
+ custodianAccountNumber?: string | null | undefined;
325
+ custodianRepresentativeName?: string | null | undefined;
326
+ custodianEmail?: string | null | undefined;
327
+ accredited?: boolean | undefined;
328
+ }>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
329
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
330
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
331
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
332
+ }, "strip", z.ZodTypeAny, {
333
+ address?: string | null | undefined;
334
+ city?: string | null | undefined;
335
+ address2?: string | null | undefined;
336
+ }, {
337
+ address?: string | null | undefined;
338
+ city?: string | null | undefined;
339
+ address2?: string | null | undefined;
340
+ }>, z.ZodEffects<z.ZodObject<{
341
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
342
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
343
+ }, "strip", z.ZodTypeAny, {
344
+ country?: string | null | undefined;
345
+ state?: string | null | undefined;
346
+ }, {
347
+ country?: string | null | undefined;
348
+ state?: string | null | undefined;
349
+ }>, {
350
+ country?: string | null | undefined;
351
+ state?: string | null | undefined;
352
+ }, {
353
+ country?: string | null | undefined;
354
+ state?: string | null | undefined;
355
+ }>>, z.ZodEffects<z.ZodObject<{
356
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
357
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
358
+ }, "strip", z.ZodTypeAny, {
359
+ country?: string | null | undefined;
360
+ zip?: string | null | undefined;
361
+ }, {
362
+ country?: string | null | undefined;
363
+ zip?: string | null | undefined;
364
+ }>, {
365
+ country?: string | null | undefined;
366
+ zip?: string | null | undefined;
367
+ }, {
368
+ country?: string | null | undefined;
369
+ zip?: string | null | undefined;
370
+ }>>>, {
371
+ firstName: string;
372
+ lastName: string;
373
+ email: string;
374
+ password: string;
375
+ confirmPassword: string;
376
+ site?: string | undefined;
377
+ phoneNumber?: any;
378
+ } & {
379
+ email?: string | undefined;
380
+ phone?: any;
381
+ kycFirstName?: string | undefined;
382
+ kycLastName?: string | undefined;
383
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
384
+ kycDocumentIssuer?: string | undefined;
385
+ kycProvider?: string | undefined;
386
+ currencyCode?: string | undefined;
387
+ kycDocumentNumber?: string | undefined;
388
+ kycIssuerDate?: string | undefined;
389
+ kycExpirationDate?: string | undefined;
390
+ liquidNetWorth?: number | undefined;
391
+ aicAccreditationType?: AicAccreditationType | undefined;
392
+ aicQuestionnaire?: string | undefined;
393
+ dob?: Date | undefined;
394
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
395
+ citizenship?: string | undefined;
396
+ ssn?: string | null | undefined;
397
+ investedInCrowdfunding?: number | undefined;
398
+ currentAnnualIncome?: number | undefined;
399
+ currentHouseholdIncome?: number | undefined;
400
+ householdNetWorth?: number | undefined;
401
+ employerName?: string | null | undefined;
402
+ setupStep?: import("./common.types").SetupStepType | undefined;
403
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
404
+ ownership?: number | undefined;
405
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
406
+ custodianName?: string | null | undefined;
407
+ custodianAccountNumber?: string | null | undefined;
408
+ custodianRepresentativeName?: string | null | undefined;
409
+ custodianEmail?: string | null | undefined;
410
+ accredited?: boolean | undefined;
411
+ } & {
412
+ address?: string | null | undefined;
413
+ city?: string | null | undefined;
414
+ address2?: string | null | undefined;
415
+ } & {
416
+ country?: string | null | undefined;
417
+ state?: string | null | undefined;
418
+ } & {
419
+ country?: string | null | undefined;
420
+ zip?: string | null | undefined;
421
+ }, {
422
+ firstName: string;
423
+ lastName: string;
424
+ email: string;
425
+ password: string;
426
+ confirmPassword: string;
427
+ site?: string | undefined;
428
+ phoneNumber?: string | null | undefined;
429
+ } & {
430
+ email?: string | undefined;
431
+ phone?: string | null | undefined;
432
+ kycFirstName?: string | undefined;
433
+ kycLastName?: string | undefined;
434
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
435
+ kycDocumentIssuer?: string | undefined;
436
+ kycProvider?: string | undefined;
437
+ currencyCode?: string | undefined;
438
+ kycDocumentNumber?: string | undefined;
439
+ kycIssuerDate?: Date | undefined;
440
+ kycExpirationDate?: Date | undefined;
441
+ liquidNetWorth?: number | undefined;
442
+ aicAccreditationType?: AicAccreditationType | undefined;
443
+ aicQuestionnaire?: string | undefined;
444
+ dob?: Date | undefined;
445
+ isUsCitizenOrGreenCardHolder?: unknown;
446
+ citizenship?: string | undefined;
447
+ ssn?: string | null | undefined;
448
+ investedInCrowdfunding?: number | undefined;
449
+ currentAnnualIncome?: number | undefined;
450
+ currentHouseholdIncome?: number | undefined;
451
+ householdNetWorth?: number | undefined;
452
+ employerName?: string | null | undefined;
453
+ setupStep?: import("./common.types").SetupStepType | undefined;
454
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
455
+ ownership?: number | undefined;
456
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
457
+ custodianName?: string | null | undefined;
458
+ custodianAccountNumber?: string | null | undefined;
459
+ custodianRepresentativeName?: string | null | undefined;
460
+ custodianEmail?: string | null | undefined;
461
+ accredited?: boolean | undefined;
462
+ } & {
463
+ address?: string | null | undefined;
464
+ city?: string | null | undefined;
465
+ address2?: string | null | undefined;
466
+ } & {
467
+ country?: string | null | undefined;
468
+ state?: string | null | undefined;
469
+ } & {
470
+ country?: string | null | undefined;
471
+ zip?: string | null | undefined;
472
+ }>;
473
+ export declare const BaseJointCsvFields: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
474
+ secondHolderFirstName: z.ZodOptional<z.ZodString>;
475
+ secondHolderLastName: z.ZodOptional<z.ZodString>;
476
+ secondHolderEmail: z.ZodOptional<z.ZodString>;
477
+ secondHolderPhone: z.ZodOptional<z.ZodString>;
478
+ secondHolderDob: z.ZodOptional<z.ZodDate>;
479
+ secondHolderDateOfBirth: z.ZodOptional<z.ZodDate>;
480
+ secondHolderSsn: z.ZodOptional<z.ZodString>;
481
+ secondHolderOwnership: z.ZodOptional<z.ZodNumber>;
482
+ secondHolderIsUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
483
+ secondHolderCitizenship: z.ZodOptional<z.ZodString>;
484
+ }, "strip", z.ZodTypeAny, {
485
+ secondHolderFirstName?: string | undefined;
486
+ secondHolderLastName?: string | undefined;
487
+ secondHolderEmail?: string | undefined;
488
+ secondHolderPhone?: string | undefined;
489
+ secondHolderDob?: Date | undefined;
490
+ secondHolderDateOfBirth?: Date | undefined;
491
+ secondHolderSsn?: string | undefined;
492
+ secondHolderOwnership?: number | undefined;
493
+ secondHolderIsUsCitizenOrGreenCardHolder?: boolean | undefined;
494
+ secondHolderCitizenship?: string | undefined;
495
+ }, {
496
+ secondHolderFirstName?: string | undefined;
497
+ secondHolderLastName?: string | undefined;
498
+ secondHolderEmail?: string | undefined;
499
+ secondHolderPhone?: string | undefined;
500
+ secondHolderDob?: Date | undefined;
501
+ secondHolderDateOfBirth?: Date | undefined;
502
+ secondHolderSsn?: string | undefined;
503
+ secondHolderOwnership?: number | undefined;
504
+ secondHolderIsUsCitizenOrGreenCardHolder?: unknown;
505
+ secondHolderCitizenship?: string | undefined;
506
+ }>, z.ZodObject<{
507
+ firstName: z.ZodString;
508
+ lastName: z.ZodString;
509
+ email: z.ZodEffects<z.ZodString, string, string>;
510
+ password: z.ZodString;
511
+ confirmPassword: z.ZodString;
512
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
513
+ isOk: () => boolean;
514
+ isErr: () => boolean;
515
+ value?: any;
516
+ error?: any;
517
+ } | import("neverthrow").Ok<null, never>, string | null>, {
518
+ isOk: () => boolean;
519
+ isErr: () => boolean;
520
+ value?: any;
521
+ error?: any;
522
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
523
+ } & {
524
+ site: z.ZodOptional<z.ZodString>;
525
+ }, "strip", z.ZodTypeAny, {
526
+ firstName: string;
527
+ lastName: string;
528
+ email: string;
529
+ password: string;
530
+ confirmPassword: string;
531
+ site?: string | undefined;
532
+ phoneNumber?: any;
533
+ }, {
534
+ firstName: string;
535
+ lastName: string;
536
+ email: string;
537
+ password: string;
538
+ confirmPassword: string;
539
+ site?: string | undefined;
540
+ phoneNumber?: string | null | undefined;
541
+ }>>, z.ZodObject<{
542
+ email: z.ZodOptional<z.ZodString>;
543
+ name: z.ZodOptional<z.ZodString>;
544
+ tid: z.ZodOptional<z.ZodString>;
545
+ } & {
546
+ investorAccountType: z.ZodOptional<z.ZodNativeEnum<typeof InvestorAccountType>>;
547
+ userId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
548
+ }, "strip", z.ZodTypeAny, {
549
+ email?: string | undefined;
550
+ name?: string | undefined;
551
+ tid?: string | undefined;
552
+ userId?: string | undefined;
553
+ investorAccountType?: InvestorAccountType | undefined;
554
+ }, {
555
+ email?: string | undefined;
556
+ name?: string | undefined;
557
+ tid?: string | undefined;
558
+ userId?: string | undefined;
559
+ investorAccountType?: InvestorAccountType | undefined;
560
+ }>>, z.ZodObject<{
561
+ lastName: z.ZodOptional<z.ZodString>;
562
+ firstName: z.ZodOptional<z.ZodString>;
563
+ dob: z.ZodOptional<z.ZodDate>;
564
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
565
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
566
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
567
+ currencyCode: z.ZodOptional<z.ZodString>;
568
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
569
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
570
+ isOk: () => boolean;
571
+ isErr: () => boolean;
572
+ value?: any;
573
+ error?: any;
574
+ } | import("neverthrow").Ok<null, never>, string | null>, {
575
+ isOk: () => boolean;
576
+ isErr: () => boolean;
577
+ value?: any;
578
+ error?: any;
579
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
580
+ ownership: z.ZodOptional<z.ZodNumber>;
581
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
582
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
583
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
584
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
585
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
586
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
587
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
588
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
589
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
590
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
591
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
592
+ tid: z.ZodOptional<z.ZodString>;
593
+ } & {
594
+ investorAccountId: z.ZodOptional<z.ZodString>;
595
+ role: z.ZodOptional<z.ZodNativeEnum<typeof IndividualRole>>;
596
+ }, "strip", z.ZodTypeAny, {
597
+ firstName?: string | undefined;
598
+ lastName?: string | undefined;
599
+ email?: string | undefined;
600
+ role?: IndividualRole | undefined;
601
+ tid?: string | undefined;
602
+ phone?: any;
603
+ investorAccountId?: string | undefined;
604
+ currencyCode?: string | undefined;
605
+ liquidNetWorth?: number | undefined;
606
+ dob?: Date | undefined;
607
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
608
+ citizenship?: string | undefined;
609
+ ssn?: string | null | undefined;
610
+ investedInCrowdfunding?: number | undefined;
611
+ currentAnnualIncome?: number | undefined;
612
+ employerName?: string | null | undefined;
613
+ setupStep?: import("./common.types").SetupStepType | undefined;
614
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
615
+ ownership?: number | undefined;
616
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
617
+ custodianName?: string | null | undefined;
618
+ custodianAccountNumber?: string | null | undefined;
619
+ custodianRepresentativeName?: string | null | undefined;
620
+ custodianEmail?: string | null | undefined;
621
+ }, {
622
+ firstName?: string | undefined;
623
+ lastName?: string | undefined;
624
+ email?: string | undefined;
625
+ role?: IndividualRole | undefined;
626
+ tid?: string | undefined;
627
+ phone?: string | null | undefined;
628
+ investorAccountId?: string | undefined;
629
+ currencyCode?: string | undefined;
630
+ liquidNetWorth?: number | undefined;
631
+ dob?: Date | undefined;
632
+ isUsCitizenOrGreenCardHolder?: unknown;
633
+ citizenship?: string | undefined;
634
+ ssn?: string | null | undefined;
635
+ investedInCrowdfunding?: number | undefined;
636
+ currentAnnualIncome?: number | undefined;
637
+ employerName?: string | null | undefined;
638
+ setupStep?: import("./common.types").SetupStepType | undefined;
639
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
640
+ ownership?: number | undefined;
641
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
642
+ custodianName?: string | null | undefined;
643
+ custodianAccountNumber?: string | null | undefined;
644
+ custodianRepresentativeName?: string | null | undefined;
645
+ custodianEmail?: string | null | undefined;
646
+ }>>, z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
647
+ firstName: z.ZodString;
648
+ lastName: z.ZodString;
649
+ email: z.ZodEffects<z.ZodString, string, string>;
650
+ password: z.ZodString;
651
+ confirmPassword: z.ZodString;
652
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
653
+ isOk: () => boolean;
654
+ isErr: () => boolean;
655
+ value?: any;
656
+ error?: any;
657
+ } | import("neverthrow").Ok<null, never>, string | null>, {
658
+ isOk: () => boolean;
659
+ isErr: () => boolean;
660
+ value?: any;
661
+ error?: any;
662
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
663
+ } & {
664
+ site: z.ZodOptional<z.ZodString>;
665
+ }, "strip", z.ZodTypeAny, {
666
+ firstName: string;
667
+ lastName: string;
668
+ email: string;
669
+ password: string;
670
+ confirmPassword: string;
671
+ site?: string | undefined;
672
+ phoneNumber?: any;
673
+ }, {
674
+ firstName: string;
675
+ lastName: string;
676
+ email: string;
677
+ password: string;
678
+ confirmPassword: string;
679
+ site?: string | undefined;
680
+ phoneNumber?: string | null | undefined;
681
+ }>, z.ZodObject<Omit<{
682
+ lastName: z.ZodOptional<z.ZodString>;
683
+ firstName: z.ZodOptional<z.ZodString>;
684
+ kycFirstName: z.ZodOptional<z.ZodString>;
685
+ kycLastName: z.ZodOptional<z.ZodString>;
686
+ dob: z.ZodOptional<z.ZodDate>;
687
+ currencyCode: z.ZodOptional<z.ZodString>;
688
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
689
+ isOk: () => boolean;
690
+ isErr: () => boolean;
691
+ value?: any;
692
+ error?: any;
693
+ } | import("neverthrow").Ok<null, never>, string | null>, {
694
+ isOk: () => boolean;
695
+ isErr: () => boolean;
696
+ value?: any;
697
+ error?: any;
698
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
699
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
700
+ ownership: z.ZodOptional<z.ZodNumber>;
701
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
702
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
703
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
704
+ kycDocumentType: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>>;
705
+ kycDocumentIssuer: z.ZodOptional<z.ZodString>;
706
+ kycExpirationDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
707
+ kycIssuerDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
708
+ kycDocumentNumber: z.ZodOptional<z.ZodString>;
709
+ householdNetWorth: z.ZodOptional<z.ZodNumber>;
710
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
711
+ currentHouseholdIncome: z.ZodOptional<z.ZodNumber>;
712
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
713
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
714
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
715
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
716
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
717
+ aicQuestionnaire: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
718
+ kycProvider: z.ZodOptional<z.ZodString>;
719
+ aicAccreditationType: z.ZodOptional<z.ZodNativeEnum<typeof AicAccreditationType>>;
720
+ accredited: z.ZodOptional<z.ZodBoolean>;
721
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
722
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
723
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
724
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
725
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
726
+ }, "firstName" | "lastName">, "strip", z.ZodTypeAny, {
727
+ email?: string | undefined;
728
+ phone?: any;
729
+ kycFirstName?: string | undefined;
730
+ kycLastName?: string | undefined;
731
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
732
+ kycDocumentIssuer?: string | undefined;
733
+ kycProvider?: string | undefined;
734
+ currencyCode?: string | undefined;
735
+ kycDocumentNumber?: string | undefined;
736
+ kycIssuerDate?: string | undefined;
737
+ kycExpirationDate?: string | undefined;
738
+ liquidNetWorth?: number | undefined;
739
+ aicAccreditationType?: AicAccreditationType | undefined;
740
+ aicQuestionnaire?: string | undefined;
741
+ dob?: Date | undefined;
742
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
743
+ citizenship?: string | undefined;
744
+ ssn?: string | null | undefined;
745
+ investedInCrowdfunding?: number | undefined;
746
+ currentAnnualIncome?: number | undefined;
747
+ currentHouseholdIncome?: number | undefined;
748
+ householdNetWorth?: number | undefined;
749
+ employerName?: string | null | undefined;
750
+ setupStep?: import("./common.types").SetupStepType | undefined;
751
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
752
+ ownership?: number | undefined;
753
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
754
+ custodianName?: string | null | undefined;
755
+ custodianAccountNumber?: string | null | undefined;
756
+ custodianRepresentativeName?: string | null | undefined;
757
+ custodianEmail?: string | null | undefined;
758
+ accredited?: boolean | undefined;
759
+ }, {
760
+ email?: string | undefined;
761
+ phone?: string | null | undefined;
762
+ kycFirstName?: string | undefined;
763
+ kycLastName?: string | undefined;
764
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
765
+ kycDocumentIssuer?: string | undefined;
766
+ kycProvider?: string | undefined;
767
+ currencyCode?: string | undefined;
768
+ kycDocumentNumber?: string | undefined;
769
+ kycIssuerDate?: Date | undefined;
770
+ kycExpirationDate?: Date | undefined;
771
+ liquidNetWorth?: number | undefined;
772
+ aicAccreditationType?: AicAccreditationType | undefined;
773
+ aicQuestionnaire?: string | undefined;
774
+ dob?: Date | undefined;
775
+ isUsCitizenOrGreenCardHolder?: unknown;
776
+ citizenship?: string | undefined;
777
+ ssn?: string | null | undefined;
778
+ investedInCrowdfunding?: number | undefined;
779
+ currentAnnualIncome?: number | undefined;
780
+ currentHouseholdIncome?: number | undefined;
781
+ householdNetWorth?: number | undefined;
782
+ employerName?: string | null | undefined;
783
+ setupStep?: import("./common.types").SetupStepType | undefined;
784
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
785
+ ownership?: number | undefined;
786
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
787
+ custodianName?: string | null | undefined;
788
+ custodianAccountNumber?: string | null | undefined;
789
+ custodianRepresentativeName?: string | null | undefined;
790
+ custodianEmail?: string | null | undefined;
791
+ accredited?: boolean | undefined;
792
+ }>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
793
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
794
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
795
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
796
+ }, "strip", z.ZodTypeAny, {
797
+ address?: string | null | undefined;
798
+ city?: string | null | undefined;
799
+ address2?: string | null | undefined;
800
+ }, {
801
+ address?: string | null | undefined;
802
+ city?: string | null | undefined;
803
+ address2?: string | null | undefined;
804
+ }>, z.ZodEffects<z.ZodObject<{
805
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
806
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
807
+ }, "strip", z.ZodTypeAny, {
808
+ country?: string | null | undefined;
809
+ state?: string | null | undefined;
810
+ }, {
811
+ country?: string | null | undefined;
812
+ state?: string | null | undefined;
813
+ }>, {
814
+ country?: string | null | undefined;
815
+ state?: string | null | undefined;
816
+ }, {
817
+ country?: string | null | undefined;
818
+ state?: string | null | undefined;
819
+ }>>, z.ZodEffects<z.ZodObject<{
820
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
821
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
822
+ }, "strip", z.ZodTypeAny, {
823
+ country?: string | null | undefined;
824
+ zip?: string | null | undefined;
825
+ }, {
826
+ country?: string | null | undefined;
827
+ zip?: string | null | undefined;
828
+ }>, {
829
+ country?: string | null | undefined;
830
+ zip?: string | null | undefined;
831
+ }, {
832
+ country?: string | null | undefined;
833
+ zip?: string | null | undefined;
834
+ }>>>, {
835
+ firstName: string;
836
+ lastName: string;
837
+ email: string;
838
+ password: string;
839
+ confirmPassword: string;
840
+ site?: string | undefined;
841
+ phoneNumber?: any;
842
+ } & {
843
+ email?: string | undefined;
844
+ phone?: any;
845
+ kycFirstName?: string | undefined;
846
+ kycLastName?: string | undefined;
847
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
848
+ kycDocumentIssuer?: string | undefined;
849
+ kycProvider?: string | undefined;
850
+ currencyCode?: string | undefined;
851
+ kycDocumentNumber?: string | undefined;
852
+ kycIssuerDate?: string | undefined;
853
+ kycExpirationDate?: string | undefined;
854
+ liquidNetWorth?: number | undefined;
855
+ aicAccreditationType?: AicAccreditationType | undefined;
856
+ aicQuestionnaire?: string | undefined;
857
+ dob?: Date | undefined;
858
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
859
+ citizenship?: string | undefined;
860
+ ssn?: string | null | undefined;
861
+ investedInCrowdfunding?: number | undefined;
862
+ currentAnnualIncome?: number | undefined;
863
+ currentHouseholdIncome?: number | undefined;
864
+ householdNetWorth?: number | undefined;
865
+ employerName?: string | null | undefined;
866
+ setupStep?: import("./common.types").SetupStepType | undefined;
867
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
868
+ ownership?: number | undefined;
869
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
870
+ custodianName?: string | null | undefined;
871
+ custodianAccountNumber?: string | null | undefined;
872
+ custodianRepresentativeName?: string | null | undefined;
873
+ custodianEmail?: string | null | undefined;
874
+ accredited?: boolean | undefined;
875
+ } & {
876
+ address?: string | null | undefined;
877
+ city?: string | null | undefined;
878
+ address2?: string | null | undefined;
879
+ } & {
880
+ country?: string | null | undefined;
881
+ state?: string | null | undefined;
882
+ } & {
883
+ country?: string | null | undefined;
884
+ zip?: string | null | undefined;
885
+ }, {
886
+ firstName: string;
887
+ lastName: string;
888
+ email: string;
889
+ password: string;
890
+ confirmPassword: string;
891
+ site?: string | undefined;
892
+ phoneNumber?: string | null | undefined;
893
+ } & {
894
+ email?: string | undefined;
895
+ phone?: string | null | undefined;
896
+ kycFirstName?: string | undefined;
897
+ kycLastName?: string | undefined;
898
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
899
+ kycDocumentIssuer?: string | undefined;
900
+ kycProvider?: string | undefined;
901
+ currencyCode?: string | undefined;
902
+ kycDocumentNumber?: string | undefined;
903
+ kycIssuerDate?: Date | undefined;
904
+ kycExpirationDate?: Date | undefined;
905
+ liquidNetWorth?: number | undefined;
906
+ aicAccreditationType?: AicAccreditationType | undefined;
907
+ aicQuestionnaire?: string | undefined;
908
+ dob?: Date | undefined;
909
+ isUsCitizenOrGreenCardHolder?: unknown;
910
+ citizenship?: string | undefined;
911
+ ssn?: string | null | undefined;
912
+ investedInCrowdfunding?: number | undefined;
913
+ currentAnnualIncome?: number | undefined;
914
+ currentHouseholdIncome?: number | undefined;
915
+ householdNetWorth?: number | undefined;
916
+ employerName?: string | null | undefined;
917
+ setupStep?: import("./common.types").SetupStepType | undefined;
918
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
919
+ ownership?: number | undefined;
920
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
921
+ custodianName?: string | null | undefined;
922
+ custodianAccountNumber?: string | null | undefined;
923
+ custodianRepresentativeName?: string | null | undefined;
924
+ custodianEmail?: string | null | undefined;
925
+ accredited?: boolean | undefined;
926
+ } & {
927
+ address?: string | null | undefined;
928
+ city?: string | null | undefined;
929
+ address2?: string | null | undefined;
930
+ } & {
931
+ country?: string | null | undefined;
932
+ state?: string | null | undefined;
933
+ } & {
934
+ country?: string | null | undefined;
935
+ zip?: string | null | undefined;
936
+ }>>;
937
+ export declare const BaseLegalEntityCsvFields: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
938
+ entityName: z.ZodString;
939
+ }, "strip", z.ZodTypeAny, {
940
+ entityName: string;
941
+ }, {
942
+ entityName: string;
943
+ }>, z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
944
+ secondHolderFirstName: z.ZodOptional<z.ZodString>;
945
+ secondHolderLastName: z.ZodOptional<z.ZodString>;
946
+ secondHolderEmail: z.ZodOptional<z.ZodString>;
947
+ secondHolderPhone: z.ZodOptional<z.ZodString>;
948
+ secondHolderDob: z.ZodOptional<z.ZodDate>;
949
+ secondHolderDateOfBirth: z.ZodOptional<z.ZodDate>;
950
+ secondHolderSsn: z.ZodOptional<z.ZodString>;
951
+ secondHolderOwnership: z.ZodOptional<z.ZodNumber>;
952
+ secondHolderIsUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
953
+ secondHolderCitizenship: z.ZodOptional<z.ZodString>;
954
+ }, "strip", z.ZodTypeAny, {
955
+ secondHolderFirstName?: string | undefined;
956
+ secondHolderLastName?: string | undefined;
957
+ secondHolderEmail?: string | undefined;
958
+ secondHolderPhone?: string | undefined;
959
+ secondHolderDob?: Date | undefined;
960
+ secondHolderDateOfBirth?: Date | undefined;
961
+ secondHolderSsn?: string | undefined;
962
+ secondHolderOwnership?: number | undefined;
963
+ secondHolderIsUsCitizenOrGreenCardHolder?: boolean | undefined;
964
+ secondHolderCitizenship?: string | undefined;
965
+ }, {
966
+ secondHolderFirstName?: string | undefined;
967
+ secondHolderLastName?: string | undefined;
968
+ secondHolderEmail?: string | undefined;
969
+ secondHolderPhone?: string | undefined;
970
+ secondHolderDob?: Date | undefined;
971
+ secondHolderDateOfBirth?: Date | undefined;
972
+ secondHolderSsn?: string | undefined;
973
+ secondHolderOwnership?: number | undefined;
974
+ secondHolderIsUsCitizenOrGreenCardHolder?: unknown;
975
+ secondHolderCitizenship?: string | undefined;
976
+ }>, z.ZodObject<{
977
+ firstName: z.ZodString;
978
+ lastName: z.ZodString;
979
+ email: z.ZodEffects<z.ZodString, string, string>;
980
+ password: z.ZodString;
981
+ confirmPassword: z.ZodString;
982
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
983
+ isOk: () => boolean;
984
+ isErr: () => boolean;
985
+ value?: any;
986
+ error?: any;
987
+ } | import("neverthrow").Ok<null, never>, string | null>, {
988
+ isOk: () => boolean;
989
+ isErr: () => boolean;
990
+ value?: any;
991
+ error?: any;
992
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
993
+ } & {
994
+ site: z.ZodOptional<z.ZodString>;
995
+ }, "strip", z.ZodTypeAny, {
996
+ firstName: string;
997
+ lastName: string;
998
+ email: string;
999
+ password: string;
1000
+ confirmPassword: string;
1001
+ site?: string | undefined;
1002
+ phoneNumber?: any;
1003
+ }, {
1004
+ firstName: string;
1005
+ lastName: string;
1006
+ email: string;
1007
+ password: string;
1008
+ confirmPassword: string;
1009
+ site?: string | undefined;
1010
+ phoneNumber?: string | null | undefined;
1011
+ }>>, z.ZodObject<{
1012
+ email: z.ZodOptional<z.ZodString>;
1013
+ name: z.ZodOptional<z.ZodString>;
1014
+ tid: z.ZodOptional<z.ZodString>;
1015
+ } & {
1016
+ investorAccountType: z.ZodOptional<z.ZodNativeEnum<typeof InvestorAccountType>>;
1017
+ userId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ email?: string | undefined;
1020
+ name?: string | undefined;
1021
+ tid?: string | undefined;
1022
+ userId?: string | undefined;
1023
+ investorAccountType?: InvestorAccountType | undefined;
1024
+ }, {
1025
+ email?: string | undefined;
1026
+ name?: string | undefined;
1027
+ tid?: string | undefined;
1028
+ userId?: string | undefined;
1029
+ investorAccountType?: InvestorAccountType | undefined;
1030
+ }>>, z.ZodObject<{
1031
+ lastName: z.ZodOptional<z.ZodString>;
1032
+ firstName: z.ZodOptional<z.ZodString>;
1033
+ dob: z.ZodOptional<z.ZodDate>;
1034
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1035
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
1036
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
1037
+ currencyCode: z.ZodOptional<z.ZodString>;
1038
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1039
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1040
+ isOk: () => boolean;
1041
+ isErr: () => boolean;
1042
+ value?: any;
1043
+ error?: any;
1044
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1045
+ isOk: () => boolean;
1046
+ isErr: () => boolean;
1047
+ value?: any;
1048
+ error?: any;
1049
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1050
+ ownership: z.ZodOptional<z.ZodNumber>;
1051
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
1052
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
1053
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
1054
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
1055
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1056
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
1057
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
1058
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1059
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1060
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1061
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1062
+ tid: z.ZodOptional<z.ZodString>;
1063
+ } & {
1064
+ investorAccountId: z.ZodOptional<z.ZodString>;
1065
+ role: z.ZodOptional<z.ZodNativeEnum<typeof IndividualRole>>;
1066
+ }, "strip", z.ZodTypeAny, {
1067
+ firstName?: string | undefined;
1068
+ lastName?: string | undefined;
1069
+ email?: string | undefined;
1070
+ role?: IndividualRole | undefined;
1071
+ tid?: string | undefined;
1072
+ phone?: any;
1073
+ investorAccountId?: string | undefined;
1074
+ currencyCode?: string | undefined;
1075
+ liquidNetWorth?: number | undefined;
1076
+ dob?: Date | undefined;
1077
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1078
+ citizenship?: string | undefined;
1079
+ ssn?: string | null | undefined;
1080
+ investedInCrowdfunding?: number | undefined;
1081
+ currentAnnualIncome?: number | undefined;
1082
+ employerName?: string | null | undefined;
1083
+ setupStep?: import("./common.types").SetupStepType | undefined;
1084
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1085
+ ownership?: number | undefined;
1086
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1087
+ custodianName?: string | null | undefined;
1088
+ custodianAccountNumber?: string | null | undefined;
1089
+ custodianRepresentativeName?: string | null | undefined;
1090
+ custodianEmail?: string | null | undefined;
1091
+ }, {
1092
+ firstName?: string | undefined;
1093
+ lastName?: string | undefined;
1094
+ email?: string | undefined;
1095
+ role?: IndividualRole | undefined;
1096
+ tid?: string | undefined;
1097
+ phone?: string | null | undefined;
1098
+ investorAccountId?: string | undefined;
1099
+ currencyCode?: string | undefined;
1100
+ liquidNetWorth?: number | undefined;
1101
+ dob?: Date | undefined;
1102
+ isUsCitizenOrGreenCardHolder?: unknown;
1103
+ citizenship?: string | undefined;
1104
+ ssn?: string | null | undefined;
1105
+ investedInCrowdfunding?: number | undefined;
1106
+ currentAnnualIncome?: number | undefined;
1107
+ employerName?: string | null | undefined;
1108
+ setupStep?: import("./common.types").SetupStepType | undefined;
1109
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1110
+ ownership?: number | undefined;
1111
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1112
+ custodianName?: string | null | undefined;
1113
+ custodianAccountNumber?: string | null | undefined;
1114
+ custodianRepresentativeName?: string | null | undefined;
1115
+ custodianEmail?: string | null | undefined;
1116
+ }>>, z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1117
+ firstName: z.ZodString;
1118
+ lastName: z.ZodString;
1119
+ email: z.ZodEffects<z.ZodString, string, string>;
1120
+ password: z.ZodString;
1121
+ confirmPassword: z.ZodString;
1122
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1123
+ isOk: () => boolean;
1124
+ isErr: () => boolean;
1125
+ value?: any;
1126
+ error?: any;
1127
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1128
+ isOk: () => boolean;
1129
+ isErr: () => boolean;
1130
+ value?: any;
1131
+ error?: any;
1132
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1133
+ } & {
1134
+ site: z.ZodOptional<z.ZodString>;
1135
+ }, "strip", z.ZodTypeAny, {
1136
+ firstName: string;
1137
+ lastName: string;
1138
+ email: string;
1139
+ password: string;
1140
+ confirmPassword: string;
1141
+ site?: string | undefined;
1142
+ phoneNumber?: any;
1143
+ }, {
1144
+ firstName: string;
1145
+ lastName: string;
1146
+ email: string;
1147
+ password: string;
1148
+ confirmPassword: string;
1149
+ site?: string | undefined;
1150
+ phoneNumber?: string | null | undefined;
1151
+ }>, z.ZodObject<Omit<{
1152
+ lastName: z.ZodOptional<z.ZodString>;
1153
+ firstName: z.ZodOptional<z.ZodString>;
1154
+ kycFirstName: z.ZodOptional<z.ZodString>;
1155
+ kycLastName: z.ZodOptional<z.ZodString>;
1156
+ dob: z.ZodOptional<z.ZodDate>;
1157
+ currencyCode: z.ZodOptional<z.ZodString>;
1158
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1159
+ isOk: () => boolean;
1160
+ isErr: () => boolean;
1161
+ value?: any;
1162
+ error?: any;
1163
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1164
+ isOk: () => boolean;
1165
+ isErr: () => boolean;
1166
+ value?: any;
1167
+ error?: any;
1168
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1169
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1170
+ ownership: z.ZodOptional<z.ZodNumber>;
1171
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1172
+ citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
1173
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
1174
+ kycDocumentType: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>>;
1175
+ kycDocumentIssuer: z.ZodOptional<z.ZodString>;
1176
+ kycExpirationDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
1177
+ kycIssuerDate: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
1178
+ kycDocumentNumber: z.ZodOptional<z.ZodString>;
1179
+ householdNetWorth: z.ZodOptional<z.ZodNumber>;
1180
+ liquidNetWorth: z.ZodOptional<z.ZodNumber>;
1181
+ currentHouseholdIncome: z.ZodOptional<z.ZodNumber>;
1182
+ currentAnnualIncome: z.ZodOptional<z.ZodNumber>;
1183
+ investedInCrowdfunding: z.ZodOptional<z.ZodNumber>;
1184
+ setupStep: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").SetupStepType>>;
1185
+ employerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1186
+ sourceOfIncome: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").SourceOfIncome>>>;
1187
+ aicQuestionnaire: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1188
+ kycProvider: z.ZodOptional<z.ZodString>;
1189
+ aicAccreditationType: z.ZodOptional<z.ZodNativeEnum<typeof AicAccreditationType>>;
1190
+ accredited: z.ZodOptional<z.ZodBoolean>;
1191
+ retirementAccountType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").RetirementAccountType>>>;
1192
+ custodianName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1193
+ custodianAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1194
+ custodianRepresentativeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1195
+ custodianEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1196
+ }, "firstName" | "lastName">, "strip", z.ZodTypeAny, {
1197
+ email?: string | undefined;
1198
+ phone?: any;
1199
+ kycFirstName?: string | undefined;
1200
+ kycLastName?: string | undefined;
1201
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1202
+ kycDocumentIssuer?: string | undefined;
1203
+ kycProvider?: string | undefined;
1204
+ currencyCode?: string | undefined;
1205
+ kycDocumentNumber?: string | undefined;
1206
+ kycIssuerDate?: string | undefined;
1207
+ kycExpirationDate?: string | undefined;
1208
+ liquidNetWorth?: number | undefined;
1209
+ aicAccreditationType?: AicAccreditationType | undefined;
1210
+ aicQuestionnaire?: string | undefined;
1211
+ dob?: Date | undefined;
1212
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1213
+ citizenship?: string | undefined;
1214
+ ssn?: string | null | undefined;
1215
+ investedInCrowdfunding?: number | undefined;
1216
+ currentAnnualIncome?: number | undefined;
1217
+ currentHouseholdIncome?: number | undefined;
1218
+ householdNetWorth?: number | undefined;
1219
+ employerName?: string | null | undefined;
1220
+ setupStep?: import("./common.types").SetupStepType | undefined;
1221
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1222
+ ownership?: number | undefined;
1223
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1224
+ custodianName?: string | null | undefined;
1225
+ custodianAccountNumber?: string | null | undefined;
1226
+ custodianRepresentativeName?: string | null | undefined;
1227
+ custodianEmail?: string | null | undefined;
1228
+ accredited?: boolean | undefined;
1229
+ }, {
1230
+ email?: string | undefined;
1231
+ phone?: string | null | undefined;
1232
+ kycFirstName?: string | undefined;
1233
+ kycLastName?: string | undefined;
1234
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1235
+ kycDocumentIssuer?: string | undefined;
1236
+ kycProvider?: string | undefined;
1237
+ currencyCode?: string | undefined;
1238
+ kycDocumentNumber?: string | undefined;
1239
+ kycIssuerDate?: Date | undefined;
1240
+ kycExpirationDate?: Date | undefined;
1241
+ liquidNetWorth?: number | undefined;
1242
+ aicAccreditationType?: AicAccreditationType | undefined;
1243
+ aicQuestionnaire?: string | undefined;
1244
+ dob?: Date | undefined;
1245
+ isUsCitizenOrGreenCardHolder?: unknown;
1246
+ citizenship?: string | undefined;
1247
+ ssn?: string | null | undefined;
1248
+ investedInCrowdfunding?: number | undefined;
1249
+ currentAnnualIncome?: number | undefined;
1250
+ currentHouseholdIncome?: number | undefined;
1251
+ householdNetWorth?: number | undefined;
1252
+ employerName?: string | null | undefined;
1253
+ setupStep?: import("./common.types").SetupStepType | undefined;
1254
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1255
+ ownership?: number | undefined;
1256
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1257
+ custodianName?: string | null | undefined;
1258
+ custodianAccountNumber?: string | null | undefined;
1259
+ custodianRepresentativeName?: string | null | undefined;
1260
+ custodianEmail?: string | null | undefined;
1261
+ accredited?: boolean | undefined;
1262
+ }>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1263
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1264
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1265
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1266
+ }, "strip", z.ZodTypeAny, {
1267
+ address?: string | null | undefined;
1268
+ city?: string | null | undefined;
1269
+ address2?: string | null | undefined;
1270
+ }, {
1271
+ address?: string | null | undefined;
1272
+ city?: string | null | undefined;
1273
+ address2?: string | null | undefined;
1274
+ }>, z.ZodEffects<z.ZodObject<{
1275
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
1276
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1277
+ }, "strip", z.ZodTypeAny, {
1278
+ country?: string | null | undefined;
1279
+ state?: string | null | undefined;
1280
+ }, {
1281
+ country?: string | null | undefined;
1282
+ state?: string | null | undefined;
1283
+ }>, {
1284
+ country?: string | null | undefined;
1285
+ state?: string | null | undefined;
1286
+ }, {
1287
+ country?: string | null | undefined;
1288
+ state?: string | null | undefined;
1289
+ }>>, z.ZodEffects<z.ZodObject<{
1290
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
1291
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1292
+ }, "strip", z.ZodTypeAny, {
1293
+ country?: string | null | undefined;
1294
+ zip?: string | null | undefined;
1295
+ }, {
1296
+ country?: string | null | undefined;
1297
+ zip?: string | null | undefined;
1298
+ }>, {
1299
+ country?: string | null | undefined;
1300
+ zip?: string | null | undefined;
1301
+ }, {
1302
+ country?: string | null | undefined;
1303
+ zip?: string | null | undefined;
1304
+ }>>>, {
1305
+ firstName: string;
1306
+ lastName: string;
1307
+ email: string;
1308
+ password: string;
1309
+ confirmPassword: string;
1310
+ site?: string | undefined;
1311
+ phoneNumber?: any;
1312
+ } & {
1313
+ email?: string | undefined;
1314
+ phone?: any;
1315
+ kycFirstName?: string | undefined;
1316
+ kycLastName?: string | undefined;
1317
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1318
+ kycDocumentIssuer?: string | undefined;
1319
+ kycProvider?: string | undefined;
1320
+ currencyCode?: string | undefined;
1321
+ kycDocumentNumber?: string | undefined;
1322
+ kycIssuerDate?: string | undefined;
1323
+ kycExpirationDate?: string | undefined;
1324
+ liquidNetWorth?: number | undefined;
1325
+ aicAccreditationType?: AicAccreditationType | undefined;
1326
+ aicQuestionnaire?: string | undefined;
1327
+ dob?: Date | undefined;
1328
+ isUsCitizenOrGreenCardHolder?: boolean | undefined;
1329
+ citizenship?: string | undefined;
1330
+ ssn?: string | null | undefined;
1331
+ investedInCrowdfunding?: number | undefined;
1332
+ currentAnnualIncome?: number | undefined;
1333
+ currentHouseholdIncome?: number | undefined;
1334
+ householdNetWorth?: number | undefined;
1335
+ employerName?: string | null | undefined;
1336
+ setupStep?: import("./common.types").SetupStepType | undefined;
1337
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1338
+ ownership?: number | undefined;
1339
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1340
+ custodianName?: string | null | undefined;
1341
+ custodianAccountNumber?: string | null | undefined;
1342
+ custodianRepresentativeName?: string | null | undefined;
1343
+ custodianEmail?: string | null | undefined;
1344
+ accredited?: boolean | undefined;
1345
+ } & {
1346
+ address?: string | null | undefined;
1347
+ city?: string | null | undefined;
1348
+ address2?: string | null | undefined;
1349
+ } & {
1350
+ country?: string | null | undefined;
1351
+ state?: string | null | undefined;
1352
+ } & {
1353
+ country?: string | null | undefined;
1354
+ zip?: string | null | undefined;
1355
+ }, {
1356
+ firstName: string;
1357
+ lastName: string;
1358
+ email: string;
1359
+ password: string;
1360
+ confirmPassword: string;
1361
+ site?: string | undefined;
1362
+ phoneNumber?: string | null | undefined;
1363
+ } & {
1364
+ email?: string | undefined;
1365
+ phone?: string | null | undefined;
1366
+ kycFirstName?: string | undefined;
1367
+ kycLastName?: string | undefined;
1368
+ kycDocumentType?: import("./common.types").KYCDocumentType | undefined;
1369
+ kycDocumentIssuer?: string | undefined;
1370
+ kycProvider?: string | undefined;
1371
+ currencyCode?: string | undefined;
1372
+ kycDocumentNumber?: string | undefined;
1373
+ kycIssuerDate?: Date | undefined;
1374
+ kycExpirationDate?: Date | undefined;
1375
+ liquidNetWorth?: number | undefined;
1376
+ aicAccreditationType?: AicAccreditationType | undefined;
1377
+ aicQuestionnaire?: string | undefined;
1378
+ dob?: Date | undefined;
1379
+ isUsCitizenOrGreenCardHolder?: unknown;
1380
+ citizenship?: string | undefined;
1381
+ ssn?: string | null | undefined;
1382
+ investedInCrowdfunding?: number | undefined;
1383
+ currentAnnualIncome?: number | undefined;
1384
+ currentHouseholdIncome?: number | undefined;
1385
+ householdNetWorth?: number | undefined;
1386
+ employerName?: string | null | undefined;
1387
+ setupStep?: import("./common.types").SetupStepType | undefined;
1388
+ sourceOfIncome?: import("./common.types").SourceOfIncome | null | undefined;
1389
+ ownership?: number | undefined;
1390
+ retirementAccountType?: import("./common.types").RetirementAccountType | null | undefined;
1391
+ custodianName?: string | null | undefined;
1392
+ custodianAccountNumber?: string | null | undefined;
1393
+ custodianRepresentativeName?: string | null | undefined;
1394
+ custodianEmail?: string | null | undefined;
1395
+ accredited?: boolean | undefined;
1396
+ } & {
1397
+ address?: string | null | undefined;
1398
+ city?: string | null | undefined;
1399
+ address2?: string | null | undefined;
1400
+ } & {
1401
+ country?: string | null | undefined;
1402
+ state?: string | null | undefined;
1403
+ } & {
1404
+ country?: string | null | undefined;
1405
+ zip?: string | null | undefined;
1406
+ }>>>, z.ZodObject<{
1407
+ name: z.ZodString;
1408
+ ein: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1409
+ email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1410
+ companyType: z.ZodOptional<z.ZodString>;
1411
+ phone: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, {
1412
+ isOk: () => boolean;
1413
+ isErr: () => boolean;
1414
+ value?: any;
1415
+ error?: any;
1416
+ } | import("neverthrow").Ok<null, never>, string | null>, {
1417
+ isOk: () => boolean;
1418
+ isErr: () => boolean;
1419
+ value?: any;
1420
+ error?: any;
1421
+ } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1422
+ dateOfIncorporation: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>>;
1423
+ stateOfIncorporation: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
1424
+ } & {
1425
+ investorAccountId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1426
+ }, "strip", z.ZodTypeAny, {
1427
+ name: string;
1428
+ email?: string | undefined;
1429
+ phone?: any;
1430
+ ein?: string | undefined;
1431
+ investorAccountId?: string | undefined;
1432
+ companyType?: string | undefined;
1433
+ dateOfIncorporation?: Date | null | undefined;
1434
+ stateOfIncorporation?: string | undefined;
1435
+ }, {
1436
+ name: string;
1437
+ email?: string | undefined;
1438
+ phone?: string | null | undefined;
1439
+ ein?: string | undefined;
1440
+ investorAccountId?: string | undefined;
1441
+ companyType?: string | undefined;
1442
+ dateOfIncorporation?: string | null | undefined;
1443
+ stateOfIncorporation?: string | undefined;
1444
+ }>>;
1445
+ export type IndividualCsvRow = z.infer<typeof BaseIndividualCsvFields>;
1446
+ export type JointCsvRow = z.infer<typeof BaseJointCsvFields>;
1447
+ export type LegalEntityCsvRow = z.infer<typeof BaseLegalEntityCsvFields>;
1448
+ export type CsvRowData = IndividualCsvRow | JointCsvRow | LegalEntityCsvRow;
1449
+ /**
1450
+ * AIC Questionnaire CSV row structure
1451
+ * Extracted from aicQuestionnaire.AIC_Questionnaire in individuals.types.ts
1452
+ */
1453
+ export type AicQuestionnaireCsvRow = z.infer<typeof aicQuestionnaire>['AIC_Questionnaire'];
1454
+ /**
1455
+ * Zod schema for AIC questionnaire CSV validation
1456
+ * Reuses the existing aicQuestionnaire schema from individuals.types.ts
1457
+ */
1458
+ export declare const AicQuestionnaireCsvSchema: z.ZodObject<{
1459
+ investment_objective: z.ZodOptional<z.ZodString>;
1460
+ investment_experience: z.ZodOptional<z.ZodString>;
1461
+ risk_willingness: z.ZodOptional<z.ZodString>;
1462
+ equities_allocation: z.ZodOptional<z.ZodString>;
1463
+ bonds_allocation: z.ZodOptional<z.ZodString>;
1464
+ other_investments_allocation: z.ZodOptional<z.ZodString>;
1465
+ overall_portfolio_percentage: z.ZodOptional<z.ZodString>;
1466
+ annual_living_expenses: z.ZodOptional<z.ZodString>;
1467
+ marginal_tax_rate: z.ZodOptional<z.ZodString>;
1468
+ significant_liquid_net_worth: z.ZodOptional<z.ZodString>;
1469
+ risky_investment_understanding: z.ZodOptional<z.ZodString>;
1470
+ investment_time_horizon: z.ZodOptional<z.ZodString>;
1471
+ }, "strip", z.ZodTypeAny, {
1472
+ investment_objective?: string | undefined;
1473
+ investment_experience?: string | undefined;
1474
+ risk_willingness?: string | undefined;
1475
+ equities_allocation?: string | undefined;
1476
+ bonds_allocation?: string | undefined;
1477
+ other_investments_allocation?: string | undefined;
1478
+ overall_portfolio_percentage?: string | undefined;
1479
+ annual_living_expenses?: string | undefined;
1480
+ marginal_tax_rate?: string | undefined;
1481
+ significant_liquid_net_worth?: string | undefined;
1482
+ risky_investment_understanding?: string | undefined;
1483
+ investment_time_horizon?: string | undefined;
1484
+ }, {
1485
+ investment_objective?: string | undefined;
1486
+ investment_experience?: string | undefined;
1487
+ risk_willingness?: string | undefined;
1488
+ equities_allocation?: string | undefined;
1489
+ bonds_allocation?: string | undefined;
1490
+ other_investments_allocation?: string | undefined;
1491
+ overall_portfolio_percentage?: string | undefined;
1492
+ annual_living_expenses?: string | undefined;
1493
+ marginal_tax_rate?: string | undefined;
1494
+ significant_liquid_net_worth?: string | undefined;
1495
+ risky_investment_understanding?: string | undefined;
1496
+ investment_time_horizon?: string | undefined;
1497
+ }>;
1498
+ /**
1499
+ * Query parameters for investor account CSV upload
1500
+ */
1501
+ export declare const UploadInvestorCsvQuery: z.ZodObject<{
1502
+ type: z.ZodNativeEnum<typeof InvestorAccountType>;
1503
+ }, "strip", z.ZodTypeAny, {
1504
+ type: InvestorAccountType;
1505
+ }, {
1506
+ type: InvestorAccountType;
1507
+ }>;
1508
+ export type UploadInvestorCsvQuery = z.infer<typeof UploadInvestorCsvQuery>;
1509
+ /**
1510
+ * Query parameters for AIC questionnaire CSV upload
1511
+ */
1512
+ export declare const UploadAicCsvQuery: z.ZodObject<{
1513
+ accredited: z.ZodBoolean;
1514
+ aicAccreditationType: z.ZodNativeEnum<typeof AicAccreditationType>;
1515
+ investorAccountId: z.ZodEffects<z.ZodString, string, string>;
1516
+ }, "strip", z.ZodTypeAny, {
1517
+ investorAccountId: string;
1518
+ aicAccreditationType: AicAccreditationType;
1519
+ accredited: boolean;
1520
+ }, {
1521
+ investorAccountId: string;
1522
+ aicAccreditationType: AicAccreditationType;
1523
+ accredited: boolean;
1524
+ }>;
1525
+ export type UploadAicCsvQuery = z.infer<typeof UploadAicCsvQuery>;
1526
+ /**
1527
+ * KYC CSV row structure
1528
+ * Omits file ID fields (kycDocumentFrontFileId, kycDocumentBackFileId, kycSelfieFileId)
1529
+ * because they come from query parameters, not the CSV file
1530
+ * Accepts string dates for CSV parsing which will be coerced to Date objects
1531
+ */
1532
+ export declare const KycCsvSchema: z.ZodObject<{
1533
+ kycFirstName: z.ZodString;
1534
+ kycLastName: z.ZodString;
1535
+ kycDocumentType: z.ZodNativeEnum<typeof import("./common.types").KYCDocumentType>;
1536
+ kycDocumentId: z.ZodString;
1537
+ kycDocumentIssuer: z.ZodNativeEnum<{
1538
+ [x: string]: string;
1539
+ }>;
1540
+ kycProvider: z.ZodNativeEnum<typeof import("./kyc.types").KYCPlatformProvider>;
1541
+ kycLog: z.ZodEffects<z.ZodString, string, string>;
1542
+ } & {
1543
+ kycDocumentIssuedDate: z.ZodDate;
1544
+ kycDocumentExpirationDate: z.ZodDate;
1545
+ kycDocumentDob: z.ZodDate;
1546
+ }, "strip", z.ZodTypeAny, {
1547
+ kycFirstName: string;
1548
+ kycLastName: string;
1549
+ kycDocumentType: import("./common.types").KYCDocumentType;
1550
+ kycDocumentId: string;
1551
+ kycDocumentIssuer: string;
1552
+ kycDocumentIssuedDate: Date;
1553
+ kycDocumentExpirationDate: Date;
1554
+ kycDocumentDob: Date;
1555
+ kycProvider: import("./kyc.types").KYCPlatformProvider;
1556
+ kycLog: string;
1557
+ }, {
1558
+ kycFirstName: string;
1559
+ kycLastName: string;
1560
+ kycDocumentType: import("./common.types").KYCDocumentType;
1561
+ kycDocumentId: string;
1562
+ kycDocumentIssuer: string;
1563
+ kycDocumentIssuedDate: Date;
1564
+ kycDocumentExpirationDate: Date;
1565
+ kycDocumentDob: Date;
1566
+ kycProvider: import("./kyc.types").KYCPlatformProvider;
1567
+ kycLog: string;
1568
+ }>;
1569
+ export type KycCsvRow = z.infer<typeof KycCsvSchema>;
1570
+ /**
1571
+ * Type for KYC body that will be passed to the service
1572
+ * Uses input type (before transformation) to accept string dates in MM/DD/YYYY format
1573
+ */
1574
+ export type KycBodySchema = z.input<typeof PostKycBodySchema>;
1575
+ /**
1576
+ * Query parameters for KYC CSV upload
1577
+ */
1578
+ export declare const UploadKycCsvQuery: z.ZodObject<{
1579
+ individualId: z.ZodEffects<z.ZodString, string, string>;
1580
+ frontFileId: z.ZodEffects<z.ZodString, string, string>;
1581
+ backFileId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1582
+ selfieFileId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1583
+ }, "strip", z.ZodTypeAny, {
1584
+ individualId: string;
1585
+ frontFileId: string;
1586
+ backFileId?: string | undefined;
1587
+ selfieFileId?: string | undefined;
1588
+ }, {
1589
+ individualId: string;
1590
+ frontFileId: string;
1591
+ backFileId?: string | undefined;
1592
+ selfieFileId?: string | undefined;
1593
+ }>;
1594
+ export type UploadKycCsvQuery = z.infer<typeof UploadKycCsvQuery>;
1595
+ /**
1596
+ * Base issuer CSV fields schema
1597
+ * Combines IRegisterClientIssuerBodyZod and PostIssuerZod with accountName type override
1598
+ */
1599
+ export declare const BaseIssuerCsvFields: z.ZodIntersection<z.ZodIntersection<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1600
+ firstName: z.ZodString;
1601
+ lastName: z.ZodString;
1602
+ email: z.ZodEffects<z.ZodString, string, string>;
1603
+ password: z.ZodString;
1604
+ } & {
1605
+ confirmPassword: z.ZodString;
1606
+ accountName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1607
+ accountType: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>>;
1608
+ }, "strip", z.ZodTypeAny, {
1609
+ firstName: string;
1610
+ lastName: string;
1611
+ email: string;
1612
+ password: string;
1613
+ confirmPassword: string;
1614
+ accountType: import("./common.types").ManagedByType;
1615
+ accountName?: string | null | undefined;
1616
+ }, {
1617
+ firstName: string;
1618
+ lastName: string;
1619
+ email: string;
1620
+ password: string;
1621
+ confirmPassword: string;
1622
+ accountName?: string | null | undefined;
1623
+ accountType?: import("./common.types").ManagedByType | undefined;
1624
+ }>, {
1625
+ firstName: string;
1626
+ lastName: string;
1627
+ email: string;
1628
+ password: string;
1629
+ confirmPassword: string;
1630
+ accountType: import("./common.types").ManagedByType;
1631
+ accountName?: string | null | undefined;
1632
+ }, {
1633
+ firstName: string;
1634
+ lastName: string;
1635
+ email: string;
1636
+ password: string;
1637
+ confirmPassword: string;
1638
+ accountName?: string | null | undefined;
1639
+ accountType?: import("./common.types").ManagedByType | undefined;
1640
+ }>, {
1641
+ firstName: string;
1642
+ lastName: string;
1643
+ email: string;
1644
+ password: string;
1645
+ confirmPassword: string;
1646
+ accountType: import("./common.types").ManagedByType;
1647
+ accountName?: string | null | undefined;
1648
+ }, {
1649
+ firstName: string;
1650
+ lastName: string;
1651
+ email: string;
1652
+ password: string;
1653
+ confirmPassword: string;
1654
+ accountName?: string | null | undefined;
1655
+ accountType?: import("./common.types").ManagedByType | undefined;
1656
+ }>, z.ZodIntersection<z.ZodObject<{
1657
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1658
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1659
+ legalName: z.ZodString;
1660
+ dba: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1661
+ doi: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>>;
1662
+ ein: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1663
+ type: z.ZodNativeEnum<typeof import("./issuer.types").IssuerTypes>;
1664
+ }, "strip", z.ZodTypeAny, {
1665
+ type: import("./issuer.types").IssuerTypes;
1666
+ legalName: string;
1667
+ description?: string | null | undefined;
1668
+ title?: string | null | undefined;
1669
+ dba?: string | null | undefined;
1670
+ doi?: Date | null | undefined;
1671
+ ein?: string | null | undefined;
1672
+ }, {
1673
+ type: import("./issuer.types").IssuerTypes;
1674
+ legalName: string;
1675
+ description?: string | null | undefined;
1676
+ title?: string | null | undefined;
1677
+ dba?: string | null | undefined;
1678
+ doi?: string | null | undefined;
1679
+ ein?: string | null | undefined;
1680
+ }>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1681
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1682
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1683
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1684
+ }, "strip", z.ZodTypeAny, {
1685
+ address?: string | null | undefined;
1686
+ city?: string | null | undefined;
1687
+ address2?: string | null | undefined;
1688
+ }, {
1689
+ address?: string | null | undefined;
1690
+ city?: string | null | undefined;
1691
+ address2?: string | null | undefined;
1692
+ }>, z.ZodEffects<z.ZodObject<{
1693
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
1694
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1695
+ }, "strip", z.ZodTypeAny, {
1696
+ country?: string | null | undefined;
1697
+ state?: string | null | undefined;
1698
+ }, {
1699
+ country?: string | null | undefined;
1700
+ state?: string | null | undefined;
1701
+ }>, {
1702
+ country?: string | null | undefined;
1703
+ state?: string | null | undefined;
1704
+ }, {
1705
+ country?: string | null | undefined;
1706
+ state?: string | null | undefined;
1707
+ }>>, z.ZodEffects<z.ZodObject<{
1708
+ country: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<Readonly<Record<string, string>>>>>;
1709
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1710
+ }, "strip", z.ZodTypeAny, {
1711
+ country?: string | null | undefined;
1712
+ zip?: string | null | undefined;
1713
+ }, {
1714
+ country?: string | null | undefined;
1715
+ zip?: string | null | undefined;
1716
+ }>, {
1717
+ country?: string | null | undefined;
1718
+ zip?: string | null | undefined;
1719
+ }, {
1720
+ country?: string | null | undefined;
1721
+ zip?: string | null | undefined;
1722
+ }>>>>, z.ZodObject<{
1723
+ accountName: z.ZodOptional<z.ZodString>;
1724
+ }, "strip", z.ZodTypeAny, {
1725
+ accountName?: string | undefined;
1726
+ }, {
1727
+ accountName?: string | undefined;
1728
+ }>>;
1729
+ export type IssuerCsvRow = z.infer<typeof BaseIssuerCsvFields>;
1730
+ /**
1731
+ * Offering CSV row structure with coercion for CSV string values
1732
+ * CSV files contain all values as strings, so we need to coerce them to proper types
1733
+ */
1734
+ export declare const OfferingCsvSchema: z.ZodObject<{
1735
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1736
+ name: z.ZodString;
1737
+ type: z.ZodNativeEnum<typeof import("./common.types").OfferingType>;
1738
+ startAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1739
+ endAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1740
+ 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>>;
1741
+ managedBy: z.ZodOptional<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
1742
+ assetName: z.ZodString;
1743
+ assetType: z.ZodNativeEnum<typeof import("./common.types").AssetType>;
1744
+ durationType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").DurationType>>>;
1745
+ template: z.ZodDefault<z.ZodNativeEnum<typeof import("./asset.types").AssetTemplateType>>;
1746
+ tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1747
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
1748
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1749
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1750
+ bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1751
+ type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1752
+ value: z.ZodEffects<z.ZodNumber, number, number>;
1753
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
1754
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
1755
+ }, "strip", z.ZodTypeAny, {
1756
+ value: number;
1757
+ type: import("./bonus-tier.types").BonusType;
1758
+ startAmount: number;
1759
+ endAmount: number;
1760
+ }, {
1761
+ value: number;
1762
+ type: import("./bonus-tier.types").BonusType;
1763
+ startAmount: number;
1764
+ endAmount: number;
1765
+ }>, {
1766
+ value: number;
1767
+ type: import("./bonus-tier.types").BonusType;
1768
+ startAmount: number;
1769
+ endAmount: number;
1770
+ }, {
1771
+ value: number;
1772
+ type: import("./bonus-tier.types").BonusType;
1773
+ startAmount: number;
1774
+ endAmount: number;
1775
+ }>, {
1776
+ value: number;
1777
+ type: import("./bonus-tier.types").BonusType;
1778
+ startAmount: number;
1779
+ endAmount: number;
1780
+ }, {
1781
+ value: number;
1782
+ type: import("./bonus-tier.types").BonusType;
1783
+ startAmount: number;
1784
+ endAmount: number;
1785
+ }>, "many">>;
1786
+ warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1787
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1788
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1789
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1790
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1791
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").WarrantSharesCalculationMethod>>>;
1792
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1793
+ showTotalRaised: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1794
+ } & {
1795
+ issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1796
+ targetAmount: z.ZodNumber;
1797
+ raiseAmount: z.ZodOptional<z.ZodNumber>;
1798
+ minInvestment: z.ZodOptional<z.ZodNumber>;
1799
+ maxInvestment: z.ZodOptional<z.ZodNumber>;
1800
+ contingencyAmount: z.ZodOptional<z.ZodNumber>;
1801
+ cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1802
+ active: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1803
+ pricePerUnit: z.ZodNullable<z.ZodNumber>;
1804
+ totalUnits: z.ZodNullable<z.ZodNumber>;
1805
+ yield: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1806
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1807
+ enableBonus: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1808
+ interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1809
+ }, "strip", z.ZodTypeAny, {
1810
+ type: import("./common.types").OfferingType;
1811
+ name: string;
1812
+ template: import("./asset.types").AssetTemplateType;
1813
+ targetAmount: number;
1814
+ warrantsEnabled: boolean;
1815
+ assetName: string;
1816
+ assetType: import("./common.types").AssetType;
1817
+ pricePerUnit: number | null;
1818
+ totalUnits: number | null;
1819
+ active?: boolean | undefined;
1820
+ managedBy?: import("./common.types").ManagedByType | undefined;
1821
+ description?: string | null | undefined;
1822
+ raiseAmount?: number | undefined;
1823
+ minInvestment?: number | undefined;
1824
+ maxInvestment?: number | undefined;
1825
+ contingencyAmount?: number | undefined;
1826
+ startAt?: Date | null | undefined;
1827
+ endAt?: Date | null | undefined;
1828
+ issuerId?: string | undefined;
1829
+ cancellationPeriod?: number | null | undefined;
1830
+ showTotalRaised?: boolean | undefined;
1831
+ hasEscrow?: boolean | undefined;
1832
+ bankAccountId?: string | null | undefined;
1833
+ escrowAccountId?: string | null | undefined;
1834
+ totalShares?: number | null | undefined;
1835
+ warrantTermYears?: number | null | undefined;
1836
+ exercisePrice?: number | null | undefined;
1837
+ warrantPercentage?: number | null | undefined;
1838
+ calculationMethod?: import("./common.types").WarrantSharesCalculationMethod | null | undefined;
1839
+ incrementThreshold?: number | null | undefined;
1840
+ shareClassId?: string | null | undefined;
1841
+ yield?: number | null | undefined;
1842
+ duration?: number | null | undefined;
1843
+ durationType?: import("./common.types").DurationType | null | undefined;
1844
+ tiers?: number[] | null | undefined;
1845
+ enableBonus?: boolean | undefined;
1846
+ interestRate?: number | null | undefined;
1847
+ bonusTiers?: {
1848
+ value: number;
1849
+ type: import("./bonus-tier.types").BonusType;
1850
+ startAmount: number;
1851
+ endAmount: number;
1852
+ }[] | undefined;
1853
+ }, {
1854
+ type: import("./common.types").OfferingType;
1855
+ name: string;
1856
+ targetAmount: number;
1857
+ assetName: string;
1858
+ assetType: import("./common.types").AssetType;
1859
+ pricePerUnit: number | null;
1860
+ totalUnits: number | null;
1861
+ active?: unknown;
1862
+ managedBy?: import("./common.types").ManagedByType | undefined;
1863
+ description?: string | null | undefined;
1864
+ template?: import("./asset.types").AssetTemplateType | undefined;
1865
+ raiseAmount?: number | undefined;
1866
+ minInvestment?: number | undefined;
1867
+ maxInvestment?: number | undefined;
1868
+ contingencyAmount?: number | undefined;
1869
+ startAt?: string | null | undefined;
1870
+ endAt?: string | null | undefined;
1871
+ issuerId?: string | undefined;
1872
+ cancellationPeriod?: number | null | undefined;
1873
+ showTotalRaised?: boolean | undefined;
1874
+ hasEscrow?: boolean | undefined;
1875
+ bankAccountId?: string | null | undefined;
1876
+ escrowAccountId?: string | null | undefined;
1877
+ warrantsEnabled?: boolean | undefined;
1878
+ totalShares?: number | null | undefined;
1879
+ warrantTermYears?: number | null | undefined;
1880
+ exercisePrice?: number | null | undefined;
1881
+ warrantPercentage?: number | null | undefined;
1882
+ calculationMethod?: import("./common.types").WarrantSharesCalculationMethod | null | undefined;
1883
+ incrementThreshold?: number | null | undefined;
1884
+ shareClassId?: string | null | undefined;
1885
+ yield?: number | null | undefined;
1886
+ duration?: number | null | undefined;
1887
+ durationType?: import("./common.types").DurationType | null | undefined;
1888
+ tiers?: number[] | null | undefined;
1889
+ enableBonus?: unknown;
1890
+ interestRate?: number | null | undefined;
1891
+ bonusTiers?: {
1892
+ value: number;
1893
+ type: import("./bonus-tier.types").BonusType;
1894
+ startAmount: number;
1895
+ endAmount: number;
1896
+ }[] | undefined;
1897
+ }>;
1898
+ export type OfferingCsvRow = z.infer<typeof OfferingCsvSchema>;
1899
+ /**
1900
+ * Query parameters for offering CSV upload
1901
+ */
1902
+ export declare const UploadOfferingCsvQuery: z.ZodObject<{
1903
+ issuerId: z.ZodEffects<z.ZodString, string, string>;
1904
+ }, "strip", z.ZodTypeAny, {
1905
+ issuerId: string;
1906
+ }, {
1907
+ issuerId: string;
1908
+ }>;
1909
+ export type UploadOfferingCsvQuery = z.infer<typeof UploadOfferingCsvQuery>;
1910
+ /**
1911
+ * Response type for offering CSV upload
1912
+ * Returns the full offering object with its assets array
1913
+ * Reuses IOffering schema for consistency with other offering endpoints
1914
+ */
1915
+ export declare const OfferingCsvResponseZod: z.ZodLazy<any>;
1916
+ export type OfferingCsvResponse = z.infer<typeof OfferingCsvResponseZod>;
1917
+ export {};