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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (716) hide show
  1. package/README.md +23 -19
  2. package/common/constants.d.ts +33 -0
  3. package/common/constants.js +67 -0
  4. package/common/constants.js.map +1 -0
  5. package/common/helpers/index.d.ts +58 -0
  6. package/common/helpers/index.js +151 -0
  7. package/common/helpers/index.js.map +1 -0
  8. package/common/types/account-contact.types.d.ts +485 -0
  9. package/common/types/account-contact.types.js +75 -0
  10. package/common/types/account-contact.types.js.map +1 -0
  11. package/common/types/account-detail.types.d.ts +304 -0
  12. package/common/types/account-detail.types.js +20 -0
  13. package/common/types/account-detail.types.js.map +1 -0
  14. package/common/types/account-integration.types.d.ts +242 -0
  15. package/common/types/account-integration.types.js +121 -0
  16. package/common/types/account-integration.types.js.map +1 -0
  17. package/common/types/account-manager.types.d.ts +917 -0
  18. package/common/types/account-manager.types.js +89 -0
  19. package/common/types/account-manager.types.js.map +1 -0
  20. package/common/types/account-setting.types.d.ts +140 -0
  21. package/common/types/account-setting.types.js +23 -0
  22. package/common/types/account-setting.types.js.map +1 -0
  23. package/common/types/account.types.d.ts +640 -0
  24. package/common/types/account.types.js +218 -0
  25. package/common/types/account.types.js.map +1 -0
  26. package/common/types/activity.types.d.ts +590 -0
  27. package/common/types/activity.types.js +258 -0
  28. package/common/types/activity.types.js.map +1 -0
  29. package/common/types/address.types.d.ts +89 -0
  30. package/common/types/address.types.js +36 -0
  31. package/common/types/address.types.js.map +1 -0
  32. package/common/types/aic.types.d.ts +434 -0
  33. package/common/types/aic.types.js +170 -0
  34. package/common/types/aic.types.js.map +1 -0
  35. package/common/types/aml.types.d.ts +41 -0
  36. package/common/types/aml.types.js +16 -0
  37. package/common/types/aml.types.js.map +1 -0
  38. package/common/types/api-key-logs.types.d.ts +204 -0
  39. package/common/types/api-key-logs.types.js +52 -0
  40. package/common/types/api-key-logs.types.js.map +1 -0
  41. package/common/types/api-keys.types.d.ts +192 -0
  42. package/common/types/api-keys.types.js +57 -0
  43. package/common/types/api-keys.types.js.map +1 -0
  44. package/common/types/asset.types.d.ts +1100 -0
  45. package/common/types/asset.types.js +353 -0
  46. package/common/types/asset.types.js.map +1 -0
  47. package/common/types/auth.types.d.ts +523 -0
  48. package/common/types/auth.types.js +280 -0
  49. package/common/types/auth.types.js.map +1 -0
  50. package/common/types/batch-jobs.types.d.ts +321 -0
  51. package/common/types/batch-jobs.types.js +111 -0
  52. package/common/types/batch-jobs.types.js.map +1 -0
  53. package/common/types/bonus-tier.types.d.ts +991 -0
  54. package/common/types/bonus-tier.types.js +166 -0
  55. package/common/types/bonus-tier.types.js.map +1 -0
  56. package/common/types/cap-table.types.d.ts +1248 -0
  57. package/common/types/cap-table.types.js +437 -0
  58. package/common/types/cap-table.types.js.map +1 -0
  59. package/common/types/cart.types.d.ts +28 -0
  60. package/common/types/cart.types.js +19 -0
  61. package/common/types/cart.types.js.map +1 -0
  62. package/common/types/checklist-items.types.d.ts +195 -0
  63. package/common/types/checklist-items.types.js +54 -0
  64. package/common/types/checklist-items.types.js.map +1 -0
  65. package/common/types/checklist.types.d.ts +140 -0
  66. package/common/types/checklist.types.js +71 -0
  67. package/common/types/checklist.types.js.map +1 -0
  68. package/common/types/common.types.d.ts +1852 -0
  69. package/common/types/common.types.js +1502 -0
  70. package/common/types/common.types.js.map +1 -0
  71. package/common/types/comply-advantage-api.types.d.ts +3626 -0
  72. package/common/types/comply-advantage-api.types.js +291 -0
  73. package/common/types/comply-advantage-api.types.js.map +1 -0
  74. package/common/types/comply-advantage.types.d.ts +48 -0
  75. package/common/types/comply-advantage.types.js +21 -0
  76. package/common/types/comply-advantage.types.js.map +1 -0
  77. package/common/types/contact-us.types.d.ts +126 -0
  78. package/common/types/contact-us.types.js +91 -0
  79. package/common/types/contact-us.types.js.map +1 -0
  80. package/common/types/countries.types.d.ts +77 -0
  81. package/common/types/countries.types.js +349 -0
  82. package/common/types/countries.types.js.map +1 -0
  83. package/common/types/covered-person.types.d.ts +204 -0
  84. package/common/types/covered-person.types.js +234 -0
  85. package/common/types/covered-person.types.js.map +1 -0
  86. package/common/types/csv.types.d.ts +3606 -0
  87. package/common/types/csv.types.js +290 -0
  88. package/common/types/csv.types.js.map +1 -0
  89. package/common/types/dashboard.types.d.ts +2086 -0
  90. package/common/types/dashboard.types.js +690 -0
  91. package/common/types/dashboard.types.js.map +1 -0
  92. package/common/types/data-record.types.d.ts +347 -0
  93. package/common/types/data-record.types.js +261 -0
  94. package/common/types/data-record.types.js.map +1 -0
  95. package/common/types/data-room.types.d.ts +1277 -0
  96. package/common/types/data-room.types.js +167 -0
  97. package/common/types/data-room.types.js.map +1 -0
  98. package/common/types/default-theme-config.types.d.ts +445 -0
  99. package/common/types/default-theme-config.types.js +63 -0
  100. package/common/types/default-theme-config.types.js.map +1 -0
  101. package/common/types/disbursement-adjustment.types.d.ts +21 -0
  102. package/common/types/disbursement-adjustment.types.js +25 -0
  103. package/common/types/disbursement-adjustment.types.js.map +1 -0
  104. package/common/types/disbursement-approval-user.types.d.ts +935 -0
  105. package/common/types/disbursement-approval-user.types.js +68 -0
  106. package/common/types/disbursement-approval-user.types.js.map +1 -0
  107. package/common/types/disbursement-review.types.d.ts +923 -0
  108. package/common/types/disbursement-review.types.js +76 -0
  109. package/common/types/disbursement-review.types.js.map +1 -0
  110. package/common/types/disbursement-transaction.types.d.ts +621 -0
  111. package/common/types/disbursement-transaction.types.js +51 -0
  112. package/common/types/disbursement-transaction.types.js.map +1 -0
  113. package/common/types/disbursements.types.d.ts +3496 -0
  114. package/common/types/disbursements.types.js +435 -0
  115. package/common/types/disbursements.types.js.map +1 -0
  116. package/common/types/domain-filter.types.d.ts +135 -0
  117. package/common/types/domain-filter.types.js +40 -0
  118. package/common/types/domain-filter.types.js.map +1 -0
  119. package/common/types/email-theme.types.d.ts +1359 -0
  120. package/common/types/email-theme.types.js +318 -0
  121. package/common/types/email-theme.types.js.map +1 -0
  122. package/common/types/entity.types.d.ts +21 -0
  123. package/common/types/entity.types.js +14 -0
  124. package/common/types/entity.types.js.map +1 -0
  125. package/common/types/error-responses.types.d.ts +144 -0
  126. package/common/types/error-responses.types.js +125 -0
  127. package/common/types/error-responses.types.js.map +1 -0
  128. package/common/types/escrow-account.types.d.ts +415 -0
  129. package/common/types/escrow-account.types.js +78 -0
  130. package/common/types/escrow-account.types.js.map +1 -0
  131. package/common/types/exchange-api-key.types.d.ts +1010 -0
  132. package/common/types/exchange-api-key.types.js +90 -0
  133. package/common/types/exchange-api-key.types.js.map +1 -0
  134. package/common/types/exchange-import.types.d.ts +23 -0
  135. package/common/types/exchange-import.types.js +23 -0
  136. package/common/types/exchange-import.types.js.map +1 -0
  137. package/common/types/exchange-provider.types.d.ts +1308 -0
  138. package/common/types/exchange-provider.types.js +268 -0
  139. package/common/types/exchange-provider.types.js.map +1 -0
  140. package/common/types/file.types.d.ts +428 -0
  141. package/common/types/file.types.js +392 -0
  142. package/common/types/file.types.js.map +1 -0
  143. package/common/types/health.types.d.ts +112 -0
  144. package/common/types/health.types.js +22 -0
  145. package/common/types/health.types.js.map +1 -0
  146. package/common/types/i-will-do-it-later.types.d.ts +51 -0
  147. package/common/types/i-will-do-it-later.types.js +30 -0
  148. package/common/types/i-will-do-it-later.types.js.map +1 -0
  149. package/common/types/{index.ts → index.d.ts} +7 -3
  150. package/common/types/index.js +56 -0
  151. package/common/types/index.js.map +1 -0
  152. package/common/types/individuals.types.d.ts +2101 -0
  153. package/common/types/individuals.types.js +500 -0
  154. package/common/types/individuals.types.js.map +1 -0
  155. package/common/types/investor-account.types.d.ts +2996 -0
  156. package/common/types/investor-account.types.js +929 -0
  157. package/common/types/investor-account.types.js.map +1 -0
  158. package/common/types/investorAccountIdSchema.type.js +1 -0
  159. package/common/types/investorAccountIdSchema.type.js.map +1 -0
  160. package/common/types/investors-offering.types.d.ts +399 -0
  161. package/common/types/investors-offering.types.js +50 -0
  162. package/common/types/investors-offering.types.js.map +1 -0
  163. package/common/types/invite.types.d.ts +644 -0
  164. package/common/types/invite.types.js +114 -0
  165. package/common/types/invite.types.js.map +1 -0
  166. package/common/types/issuer-bank-account.types.d.ts +113 -0
  167. package/common/types/issuer-bank-account.types.js +81 -0
  168. package/common/types/issuer-bank-account.types.js.map +1 -0
  169. package/common/types/issuer-offering.types.d.ts +2236 -0
  170. package/common/types/issuer-offering.types.js +605 -0
  171. package/common/types/issuer-offering.types.js.map +1 -0
  172. package/common/types/issuer-payment-method.types.d.ts +1100 -0
  173. package/common/types/issuer-payment-method.types.js +311 -0
  174. package/common/types/issuer-payment-method.types.js.map +1 -0
  175. package/common/types/issuer.types.d.ts +539 -0
  176. package/common/types/issuer.types.js +275 -0
  177. package/common/types/issuer.types.js.map +1 -0
  178. package/common/types/job-item.types.d.ts +230 -0
  179. package/common/types/job-item.types.js +89 -0
  180. package/common/types/job-item.types.js.map +1 -0
  181. package/common/types/jobs.types.d.ts +296 -0
  182. package/common/types/jobs.types.js +150 -0
  183. package/common/types/jobs.types.js.map +1 -0
  184. package/common/types/kyb.types.d.ts +167 -0
  185. package/common/types/kyb.types.js +45 -0
  186. package/common/types/kyb.types.js.map +1 -0
  187. package/common/types/kyc.types.d.ts +2197 -0
  188. package/common/types/kyc.types.js +301 -0
  189. package/common/types/kyc.types.js.map +1 -0
  190. package/common/types/legal-entity.types.d.ts +676 -0
  191. package/common/types/legal-entity.types.js +151 -0
  192. package/common/types/legal-entity.types.js.map +1 -0
  193. package/common/types/login-history.types.d.ts +160 -0
  194. package/common/types/login-history.types.js +39 -0
  195. package/common/types/login-history.types.js.map +1 -0
  196. package/common/types/mail-template.types.d.ts +595 -0
  197. package/common/types/mail-template.types.js +401 -0
  198. package/common/types/mail-template.types.js.map +1 -0
  199. package/common/types/north-cap-integration.types.d.ts +1303 -0
  200. package/common/types/north-cap-integration.types.js +145 -0
  201. package/common/types/north-cap-integration.types.js.map +1 -0
  202. package/common/types/note.types.d.ts +216 -0
  203. package/common/types/note.types.js +82 -0
  204. package/common/types/note.types.js.map +1 -0
  205. package/common/types/notification.types.d.ts +2689 -0
  206. package/common/types/notification.types.js +408 -0
  207. package/common/types/notification.types.js.map +1 -0
  208. package/common/types/notion-api.types.d.ts +3626 -0
  209. package/common/types/notion-api.types.js +271 -0
  210. package/common/types/notion-api.types.js.map +1 -0
  211. package/common/types/notion-database.types.d.ts +191 -0
  212. package/common/types/notion-database.types.js +95 -0
  213. package/common/types/notion-database.types.js.map +1 -0
  214. package/common/types/notion-page.types.d.ts +3482 -0
  215. package/common/types/notion-page.types.js +208 -0
  216. package/common/types/notion-page.types.js.map +1 -0
  217. package/common/types/offering-reports.types.d.ts +525 -0
  218. package/common/types/offering-reports.types.js +111 -0
  219. package/common/types/offering-reports.types.js.map +1 -0
  220. package/common/types/offering-submission.types.d.ts +785 -0
  221. package/common/types/offering-submission.types.js +291 -0
  222. package/common/types/offering-submission.types.js.map +1 -0
  223. package/common/types/offering.types.d.ts +2859 -0
  224. package/common/types/offering.types.js +832 -0
  225. package/common/types/offering.types.js.map +1 -0
  226. package/common/types/page-revision.types.d.ts +74 -0
  227. package/common/types/page-revision.types.js +68 -0
  228. package/common/types/page-revision.types.js.map +1 -0
  229. package/common/types/page.types.d.ts +540 -0
  230. package/common/types/page.types.js +361 -0
  231. package/common/types/page.types.js.map +1 -0
  232. package/common/types/password.type.d.ts +2 -0
  233. package/common/types/password.type.js +14 -0
  234. package/common/types/password.type.js.map +1 -0
  235. package/common/types/payment-methods.types.d.ts +800 -0
  236. package/common/types/payment-methods.types.js +260 -0
  237. package/common/types/payment-methods.types.js.map +1 -0
  238. package/common/types/phone.type.d.ts +12 -0
  239. package/common/types/phone.type.js +29 -0
  240. package/common/types/phone.type.js.map +1 -0
  241. package/common/types/portfolio.types.d.ts +185 -0
  242. package/common/types/portfolio.types.js +36 -0
  243. package/common/types/portfolio.types.js.map +1 -0
  244. package/common/types/privacy-policy-and-tos.types.d.ts +2 -0
  245. package/common/types/{privacy-policy-and-tos.types.ts → privacy-policy-and-tos.types.js} +1 -1
  246. package/common/types/privacy-policy-and-tos.types.js.map +1 -0
  247. package/common/types/queue.types.d.ts +22 -0
  248. package/common/types/queue.types.js +73 -0
  249. package/common/types/queue.types.js.map +1 -0
  250. package/common/types/registered-reps.types.d.ts +6 -0
  251. package/common/types/registered-reps.types.js +21 -0
  252. package/common/types/registered-reps.types.js.map +1 -0
  253. package/common/types/rejection-reasons.types.d.ts +35 -0
  254. package/common/types/rejection-reasons.types.js +49 -0
  255. package/common/types/rejection-reasons.types.js.map +1 -0
  256. package/common/types/reports.types.d.ts +345 -0
  257. package/common/types/reports.types.js +69 -0
  258. package/common/types/reports.types.js.map +1 -0
  259. package/common/types/review.types.d.ts +419 -0
  260. package/common/types/review.types.js +101 -0
  261. package/common/types/review.types.js.map +1 -0
  262. package/common/types/role.types.d.ts +30 -0
  263. package/common/types/role.types.js +21 -0
  264. package/common/types/role.types.js.map +1 -0
  265. package/common/types/secondary-customer.types.d.ts +586 -0
  266. package/common/types/secondary-customer.types.js +39 -0
  267. package/common/types/secondary-customer.types.js.map +1 -0
  268. package/common/types/secondary-issuer.types.d.ts +283 -0
  269. package/common/types/secondary-issuer.types.js +37 -0
  270. package/common/types/secondary-issuer.types.js.map +1 -0
  271. package/common/types/secondary-order.types.d.ts +508 -0
  272. package/common/types/secondary-order.types.js +40 -0
  273. package/common/types/secondary-order.types.js.map +1 -0
  274. package/common/types/secondary-security.types.d.ts +175 -0
  275. package/common/types/secondary-security.types.js +45 -0
  276. package/common/types/secondary-security.types.js.map +1 -0
  277. package/common/types/secondary-trade.entity.d.ts +16 -0
  278. package/common/types/secondary-trade.entity.js +12 -0
  279. package/common/types/secondary-trade.entity.js.map +1 -0
  280. package/common/types/secondary-trade.types.d.ts +465 -0
  281. package/common/types/secondary-trade.types.js +61 -0
  282. package/common/types/secondary-trade.types.js.map +1 -0
  283. package/common/types/secure-request.types.d.ts +171 -0
  284. package/common/types/secure-request.types.js +51 -0
  285. package/common/types/secure-request.types.js.map +1 -0
  286. package/common/types/signer.types.d.ts +3406 -0
  287. package/common/types/signer.types.js +532 -0
  288. package/common/types/signer.types.js.map +1 -0
  289. package/common/types/site-link.types.d.ts +875 -0
  290. package/common/types/site-link.types.js +126 -0
  291. package/common/types/site-link.types.js.map +1 -0
  292. package/common/types/site-settings.types.d.ts +1673 -0
  293. package/common/types/site-settings.types.js +500 -0
  294. package/common/types/site-settings.types.js.map +1 -0
  295. package/common/types/site.types.d.ts +1481 -0
  296. package/common/types/site.types.js +213 -0
  297. package/common/types/site.types.js.map +1 -0
  298. package/common/types/sms.types.d.ts +40 -0
  299. package/common/types/sms.types.js +27 -0
  300. package/common/types/sms.types.js.map +1 -0
  301. package/common/types/state-machine.types.d.ts +591 -0
  302. package/common/types/state-machine.types.js +144 -0
  303. package/common/types/state-machine.types.js.map +1 -0
  304. package/common/types/states.types.d.ts +77 -0
  305. package/common/types/states.types.js +137 -0
  306. package/common/types/states.types.js.map +1 -0
  307. package/common/types/subdoc-preview.types.d.ts +379 -0
  308. package/common/types/subdoc-preview.types.js +24 -0
  309. package/common/types/subdoc-preview.types.js.map +1 -0
  310. package/common/types/task.types.d.ts +545 -0
  311. package/common/types/task.types.js +214 -0
  312. package/common/types/task.types.js.map +1 -0
  313. package/common/types/trade-adjustment.type.d.ts +40 -0
  314. package/common/types/trade-adjustment.type.js +26 -0
  315. package/common/types/trade-adjustment.type.js.map +1 -0
  316. package/common/types/trade-line-item.types.d.ts +353 -0
  317. package/common/types/trade-line-item.types.js +103 -0
  318. package/common/types/trade-line-item.types.js.map +1 -0
  319. package/common/types/trade.types.d.ts +2016 -0
  320. package/common/types/trade.types.js +805 -0
  321. package/common/types/trade.types.js.map +1 -0
  322. package/common/types/transaction.types.d.ts +453 -0
  323. package/common/types/transaction.types.js +173 -0
  324. package/common/types/transaction.types.js.map +1 -0
  325. package/common/types/trusted-contact.types.d.ts +440 -0
  326. package/common/types/trusted-contact.types.js +95 -0
  327. package/common/types/trusted-contact.types.js.map +1 -0
  328. package/common/types/typography.types.d.ts +52 -0
  329. package/common/types/typography.types.js +67 -0
  330. package/common/types/typography.types.js.map +1 -0
  331. package/common/types/user-manual.types.d.ts +287 -0
  332. package/common/types/user-manual.types.js +192 -0
  333. package/common/types/user-manual.types.js.map +1 -0
  334. package/common/types/user-setting.types.d.ts +273 -0
  335. package/common/types/user-setting.types.js +85 -0
  336. package/common/types/user-setting.types.js.map +1 -0
  337. package/common/types/user.types.d.ts +1977 -0
  338. package/common/types/user.types.js +225 -0
  339. package/common/types/user.types.js.map +1 -0
  340. package/common/types/webhook.types.d.ts +10829 -0
  341. package/common/types/webhook.types.js +658 -0
  342. package/common/types/webhook.types.js.map +1 -0
  343. package/common/types/zip.type.d.ts +35 -0
  344. package/common/types/zip.type.js +28 -0
  345. package/common/types/zip.type.js.map +1 -0
  346. package/contracts/clients/accounts/index.d.ts +308 -0
  347. package/contracts/clients/accounts/index.js +43 -0
  348. package/contracts/clients/accounts/index.js.map +1 -0
  349. package/contracts/clients/aic/index.d.ts +280 -0
  350. package/contracts/clients/aic/index.js +47 -0
  351. package/contracts/clients/aic/index.js.map +1 -0
  352. package/contracts/clients/api-key-logs/index.d.ts +287 -0
  353. package/contracts/clients/api-key-logs/index.js +37 -0
  354. package/contracts/clients/api-key-logs/index.js.map +1 -0
  355. package/contracts/clients/api-keys/index.d.ts +374 -0
  356. package/contracts/clients/api-keys/index.js +59 -0
  357. package/contracts/clients/api-keys/index.js.map +1 -0
  358. package/contracts/clients/assets/index.d.ts +1050 -0
  359. package/contracts/clients/assets/index.js +80 -0
  360. package/contracts/clients/assets/index.js.map +1 -0
  361. package/contracts/clients/auth/index.d.ts +236 -0
  362. package/contracts/clients/auth/index.js +38 -0
  363. package/contracts/clients/auth/index.js.map +1 -0
  364. package/contracts/clients/cart/index.d.ts +229 -0
  365. package/contracts/clients/cart/index.js +63 -0
  366. package/contracts/clients/cart/index.js.map +1 -0
  367. package/contracts/clients/csv/index.d.ts +1800 -0
  368. package/contracts/clients/csv/index.js +96 -0
  369. package/contracts/clients/csv/index.js.map +1 -0
  370. package/contracts/clients/files/index.d.ts +552 -0
  371. package/contracts/clients/files/index.js +142 -0
  372. package/contracts/clients/files/index.js.map +1 -0
  373. package/contracts/clients/files-public/index.d.ts +552 -0
  374. package/contracts/clients/files-public/index.js +142 -0
  375. package/contracts/clients/files-public/index.js.map +1 -0
  376. package/contracts/clients/index.d.ts +14689 -0
  377. package/contracts/clients/index.js +56 -0
  378. package/contracts/clients/index.js.map +1 -0
  379. package/contracts/clients/individuals/index.d.ts +3199 -0
  380. package/contracts/clients/individuals/index.js +74 -0
  381. package/contracts/clients/individuals/index.js.map +1 -0
  382. package/contracts/clients/investor-accounts/index.d.ts +339 -0
  383. package/contracts/clients/investor-accounts/index.js +73 -0
  384. package/contracts/clients/investor-accounts/index.js.map +1 -0
  385. package/contracts/clients/issuer-payment-methods/index.d.ts +276 -0
  386. package/contracts/clients/issuer-payment-methods/index.js +24 -0
  387. package/contracts/clients/issuer-payment-methods/index.js.map +1 -0
  388. package/contracts/clients/issuers/index.d.ts +449 -0
  389. package/contracts/clients/issuers/index.js +75 -0
  390. package/contracts/clients/issuers/index.js.map +1 -0
  391. package/contracts/clients/kyc/index.d.ts +345 -0
  392. package/contracts/clients/kyc/index.js +49 -0
  393. package/contracts/clients/kyc/index.js.map +1 -0
  394. package/contracts/clients/legal-entities/index.d.ts +887 -0
  395. package/contracts/clients/legal-entities/index.js +74 -0
  396. package/contracts/clients/legal-entities/index.js.map +1 -0
  397. package/contracts/clients/offerings/index.d.ts +1068 -0
  398. package/contracts/clients/offerings/index.js +95 -0
  399. package/contracts/clients/offerings/index.js.map +1 -0
  400. package/contracts/clients/payment-methods/index.d.ts +456 -0
  401. package/contracts/clients/payment-methods/index.js +68 -0
  402. package/contracts/clients/payment-methods/index.js.map +1 -0
  403. package/contracts/clients/review/index.d.ts +85 -0
  404. package/contracts/clients/review/index.js +27 -0
  405. package/contracts/clients/review/index.js.map +1 -0
  406. package/contracts/clients/secure-requests/index.d.ts +100 -0
  407. package/contracts/clients/secure-requests/index.js +22 -0
  408. package/contracts/clients/secure-requests/index.js.map +1 -0
  409. package/contracts/clients/sites/index.d.ts +657 -0
  410. package/contracts/clients/sites/index.js +40 -0
  411. package/contracts/clients/sites/index.js.map +1 -0
  412. package/contracts/clients/trade-line-items/index.d.ts +216 -0
  413. package/contracts/clients/trade-line-items/index.js +47 -0
  414. package/contracts/clients/trade-line-items/index.js.map +1 -0
  415. package/contracts/clients/trades/index.d.ts +871 -0
  416. package/contracts/clients/trades/index.js +156 -0
  417. package/contracts/clients/trades/index.js.map +1 -0
  418. package/contracts/clients/transactions/index.d.ts +88 -0
  419. package/contracts/clients/transactions/index.js +25 -0
  420. package/contracts/clients/transactions/index.js.map +1 -0
  421. package/package.json +27 -36
  422. package/common/helpers/index.ts +0 -59
  423. package/common/types/account-contact.types.ts +0 -98
  424. package/common/types/account-detail.types.ts +0 -27
  425. package/common/types/account-integration.types.ts +0 -143
  426. package/common/types/account-manager.types.ts +0 -124
  427. package/common/types/account-setting.types.ts +0 -31
  428. package/common/types/account.types.ts +0 -296
  429. package/common/types/activity.types.ts +0 -274
  430. package/common/types/address.types.ts +0 -41
  431. package/common/types/aic.types.ts +0 -246
  432. package/common/types/aml.types.ts +0 -18
  433. package/common/types/api-key-logs.types.ts +0 -66
  434. package/common/types/api-keys.types.ts +0 -69
  435. package/common/types/asset.types.ts +0 -338
  436. package/common/types/auth.types.ts +0 -370
  437. package/common/types/batch-jobs.types.ts +0 -151
  438. package/common/types/bonus-tier.types.ts +0 -171
  439. package/common/types/cart.types.ts +0 -21
  440. package/common/types/checklist-items.types.ts +0 -70
  441. package/common/types/checklist.types.ts +0 -97
  442. package/common/types/common.types.ts +0 -1530
  443. package/common/types/comply-advantage-api.types.ts +0 -316
  444. package/common/types/comply-advantage.types.ts +0 -25
  445. package/common/types/contact-us.types.ts +0 -107
  446. package/common/types/countries.types.ts +0 -375
  447. package/common/types/covered-person.types.ts +0 -274
  448. package/common/types/dashboard.types.ts +0 -792
  449. package/common/types/data-record.types.ts +0 -325
  450. package/common/types/data-room.types.ts +0 -242
  451. package/common/types/default-theme-config.types.ts +0 -87
  452. package/common/types/disbursement-adjustment.types.ts +0 -32
  453. package/common/types/disbursement-approval-user.types.ts +0 -100
  454. package/common/types/disbursement-review.types.ts +0 -110
  455. package/common/types/disbursement-transaction.types.ts +0 -72
  456. package/common/types/disbursements.types.ts +0 -426
  457. package/common/types/domain-filter.types.ts +0 -55
  458. package/common/types/email-theme.types.ts +0 -442
  459. package/common/types/entity.types.ts +0 -15
  460. package/common/types/error-responses.types.ts +0 -135
  461. package/common/types/escrow-account.types.ts +0 -104
  462. package/common/types/exchange-api-key.types.ts +0 -121
  463. package/common/types/exchange-import.types.ts +0 -36
  464. package/common/types/exchange-provider.types.ts +0 -329
  465. package/common/types/file.types.ts +0 -477
  466. package/common/types/health.types.ts +0 -29
  467. package/common/types/i-will-do-it-later.types.ts +0 -68
  468. package/common/types/individuals.types.ts +0 -541
  469. package/common/types/investor-account.types.ts +0 -1239
  470. package/common/types/investors-offering.types.ts +0 -65
  471. package/common/types/invite.types.ts +0 -133
  472. package/common/types/issuer-bank-account.types.ts +0 -107
  473. package/common/types/issuer-offering.types.ts +0 -389
  474. package/common/types/issuer-payment-method.types.ts +0 -382
  475. package/common/types/issuer.types.ts +0 -321
  476. package/common/types/job-item.types.ts +0 -119
  477. package/common/types/jobs.types.ts +0 -171
  478. package/common/types/kyb.types.ts +0 -53
  479. package/common/types/kyc.types.ts +0 -188
  480. package/common/types/legal-entity.types.ts +0 -185
  481. package/common/types/login-history.types.ts +0 -46
  482. package/common/types/mail-template.types.ts +0 -436
  483. package/common/types/north-cap-integration.types.ts +0 -190
  484. package/common/types/note.types.ts +0 -109
  485. package/common/types/notification.types.ts +0 -268
  486. package/common/types/notion-api.types.ts +0 -374
  487. package/common/types/notion-database.types.ts +0 -125
  488. package/common/types/notion-page.types.ts +0 -267
  489. package/common/types/offering-reports.types.ts +0 -153
  490. package/common/types/offering-submission.types.ts +0 -314
  491. package/common/types/offering.types.ts +0 -676
  492. package/common/types/page-revision.types.ts +0 -86
  493. package/common/types/page.types.ts +0 -436
  494. package/common/types/password.type.ts +0 -15
  495. package/common/types/payment-methods.types.ts +0 -298
  496. package/common/types/phone.type.ts +0 -27
  497. package/common/types/portfolio.types.ts +0 -50
  498. package/common/types/queue.types.ts +0 -112
  499. package/common/types/registered-reps.types.ts +0 -25
  500. package/common/types/rejection-reasons.types.ts +0 -56
  501. package/common/types/reminder-config.types.ts +0 -40
  502. package/common/types/review.types.ts +0 -133
  503. package/common/types/role.types.ts +0 -26
  504. package/common/types/secondary-customer.types.ts +0 -66
  505. package/common/types/secondary-issuer.types.ts +0 -50
  506. package/common/types/secondary-order.types.ts +0 -58
  507. package/common/types/secondary-security.types.ts +0 -60
  508. package/common/types/secondary-trade.entity.ts +0 -16
  509. package/common/types/secondary-trade.types.ts +0 -95
  510. package/common/types/secure-request.types.ts +0 -68
  511. package/common/types/signer.types.ts +0 -651
  512. package/common/types/site-link.types.ts +0 -166
  513. package/common/types/site-settings.types.ts +0 -726
  514. package/common/types/site.types.ts +0 -263
  515. package/common/types/sms.types.ts +0 -30
  516. package/common/types/state-machine.types.ts +0 -177
  517. package/common/types/states.types.ts +0 -163
  518. package/common/types/subdoc-preview.types.ts +0 -35
  519. package/common/types/task.types.ts +0 -258
  520. package/common/types/trade-adjustment.type.ts +0 -33
  521. package/common/types/trade-line-item.types.ts +0 -125
  522. package/common/types/trade.types.ts +0 -999
  523. package/common/types/transaction.types.ts +0 -209
  524. package/common/types/trusted-contact.types.ts +0 -122
  525. package/common/types/typography.types.ts +0 -75
  526. package/common/types/user-manual.types.ts +0 -290
  527. package/common/types/user-setting.types.ts +0 -133
  528. package/common/types/user.types.ts +0 -307
  529. package/common/types/webhook.types.ts +0 -588
  530. package/common/types/zip.type.ts +0 -36
  531. package/contracts/clients/accounts/index.ts +0 -61
  532. package/contracts/clients/aic/index.ts +0 -59
  533. package/contracts/clients/api-key-logs/index.ts +0 -53
  534. package/contracts/clients/api-keys/index.ts +0 -73
  535. package/contracts/clients/assets/index.ts +0 -102
  536. package/contracts/clients/auth/index.ts +0 -50
  537. package/contracts/clients/cart/index.ts +0 -80
  538. package/contracts/clients/files/index.ts +0 -166
  539. package/contracts/clients/files-public/index.ts +0 -166
  540. package/contracts/clients/index.ts +0 -54
  541. package/contracts/clients/individuals/index.ts +0 -93
  542. package/contracts/clients/investor-accounts/index.ts +0 -93
  543. package/contracts/clients/issuer-payment-methods/index.ts +0 -39
  544. package/contracts/clients/issuers/index.ts +0 -94
  545. package/contracts/clients/legal-entities/index.ts +0 -93
  546. package/contracts/clients/offerings/index.ts +0 -117
  547. package/contracts/clients/payment-methods/index.ts +0 -85
  548. package/contracts/clients/secure-requests/index.ts +0 -34
  549. package/contracts/clients/sites/index.ts +0 -56
  550. package/contracts/clients/trade-line-items/index.ts +0 -66
  551. package/contracts/clients/trades/index.ts +0 -186
  552. package/contracts/clients/transactions/index.ts +0 -37
  553. package/contracts/compliance/account-contacts/index.ts +0 -82
  554. package/contracts/compliance/account-managers/index.ts +0 -142
  555. package/contracts/compliance/accounts/index.ts +0 -187
  556. package/contracts/compliance/activities/index.ts +0 -55
  557. package/contracts/compliance/aic/index.ts +0 -60
  558. package/contracts/compliance/api-keys/index.ts +0 -91
  559. package/contracts/compliance/assets/index.ts +0 -122
  560. package/contracts/compliance/auth/index.ts +0 -134
  561. package/contracts/compliance/batch-jobs/index.ts +0 -62
  562. package/contracts/compliance/bonus-tiers/index.ts +0 -74
  563. package/contracts/compliance/checklist/index.ts +0 -87
  564. package/contracts/compliance/checklist-items/index.ts +0 -86
  565. package/contracts/compliance/covered-persons/index.ts +0 -97
  566. package/contracts/compliance/dashboard/index.ts +0 -111
  567. package/contracts/compliance/data-records/index.ts +0 -116
  568. package/contracts/compliance/data-rooms/index.ts +0 -113
  569. package/contracts/compliance/default-theme-configs/index.ts +0 -95
  570. package/contracts/compliance/disbursement/index.ts +0 -165
  571. package/contracts/compliance/disbursement-approval-users/index.ts +0 -84
  572. package/contracts/compliance/disbursement-transactions/index.ts +0 -37
  573. package/contracts/compliance/domain-filters/index.ts +0 -117
  574. package/contracts/compliance/email-themes/index.ts +0 -284
  575. package/contracts/compliance/escrow-accounts/index.ts +0 -85
  576. package/contracts/compliance/exchange-api-keys/index.ts +0 -129
  577. package/contracts/compliance/exchange-imports/index.ts +0 -137
  578. package/contracts/compliance/files/index.ts +0 -267
  579. package/contracts/compliance/files-public/index.ts +0 -188
  580. package/contracts/compliance/health/index.ts +0 -26
  581. package/contracts/compliance/index.ts +0 -147
  582. package/contracts/compliance/individuals/index.ts +0 -57
  583. package/contracts/compliance/investor-accounts/index.ts +0 -141
  584. package/contracts/compliance/invites/index.ts +0 -137
  585. package/contracts/compliance/issuer-bank-accounts/index.ts +0 -81
  586. package/contracts/compliance/issuer-payment-methods/index.ts +0 -81
  587. package/contracts/compliance/issuers/index.ts +0 -97
  588. package/contracts/compliance/job-items/index.ts +0 -58
  589. package/contracts/compliance/jobs/index.ts +0 -59
  590. package/contracts/compliance/kyb/index.ts +0 -54
  591. package/contracts/compliance/kyc/index.ts +0 -77
  592. package/contracts/compliance/legal-entities/index.ts +0 -57
  593. package/contracts/compliance/login-histories/index.ts +0 -37
  594. package/contracts/compliance/notes/index.ts +0 -69
  595. package/contracts/compliance/notion-databases/index.ts +0 -107
  596. package/contracts/compliance/notion-pages/index.ts +0 -105
  597. package/contracts/compliance/offering-reports/index.ts +0 -149
  598. package/contracts/compliance/offerings/index.ts +0 -233
  599. package/contracts/compliance/pages/index.ts +0 -178
  600. package/contracts/compliance/payment-methods/index.ts +0 -57
  601. package/contracts/compliance/rejection-reasons/index.ts +0 -32
  602. package/contracts/compliance/review/index.ts +0 -169
  603. package/contracts/compliance/roles/index.ts +0 -34
  604. package/contracts/compliance/secondary-customers/index.ts +0 -77
  605. package/contracts/compliance/secondary-orders/index.ts +0 -60
  606. package/contracts/compliance/secondary-trades/index.ts +0 -100
  607. package/contracts/compliance/secure-requests/index.ts +0 -54
  608. package/contracts/compliance/signer/index.ts +0 -369
  609. package/contracts/compliance/site-links/index.ts +0 -128
  610. package/contracts/compliance/site-settings/index.ts +0 -669
  611. package/contracts/compliance/sites/index.ts +0 -56
  612. package/contracts/compliance/state-machine/index.ts +0 -94
  613. package/contracts/compliance/tasks/index.ts +0 -91
  614. package/contracts/compliance/third-parties/index.ts +0 -52
  615. package/contracts/compliance/trade-line-items/index.ts +0 -59
  616. package/contracts/compliance/trades/index.ts +0 -230
  617. package/contracts/compliance/transactions/index.ts +0 -161
  618. package/contracts/compliance/user-manuals/index.ts +0 -271
  619. package/contracts/compliance/user-settings/index.ts +0 -189
  620. package/contracts/compliance/users/index.ts +0 -221
  621. package/contracts/compliance/webhooks/index.ts +0 -41
  622. package/contracts/compliance-apikey/accounts/index.ts +0 -58
  623. package/contracts/compliance-apikey/index.ts +0 -14
  624. package/contracts/index.ts +0 -6
  625. package/contracts/investors/account-contacts/index.ts +0 -58
  626. package/contracts/investors/aic/index.ts +0 -59
  627. package/contracts/investors/assets/index.ts +0 -61
  628. package/contracts/investors/auth/index.ts +0 -116
  629. package/contracts/investors/bonus-tiers/index.ts +0 -55
  630. package/contracts/investors/cart/index.ts +0 -75
  631. package/contracts/investors/contact-us/index.ts +0 -48
  632. package/contracts/investors/data-records/index.ts +0 -113
  633. package/contracts/investors/data-rooms/index.ts +0 -96
  634. package/contracts/investors/files/index.ts +0 -167
  635. package/contracts/investors/files-public/index.ts +0 -185
  636. package/contracts/investors/index.ts +0 -72
  637. package/contracts/investors/individuals/index.ts +0 -121
  638. package/contracts/investors/investor-accounts/index.ts +0 -110
  639. package/contracts/investors/issuer-payment-methods/index.ts +0 -36
  640. package/contracts/investors/issuers/index.ts +0 -30
  641. package/contracts/investors/legal-entities/index.ts +0 -93
  642. package/contracts/investors/notes/index.ts +0 -69
  643. package/contracts/investors/offerings/index.ts +0 -93
  644. package/contracts/investors/pages/index.ts +0 -88
  645. package/contracts/investors/payment-methods/index.ts +0 -149
  646. package/contracts/investors/portfolios/index.ts +0 -53
  647. package/contracts/investors/sites/index.ts +0 -96
  648. package/contracts/investors/tasks/index.ts +0 -111
  649. package/contracts/investors/trade-line-items/index.ts +0 -75
  650. package/contracts/investors/trades/index.ts +0 -114
  651. package/contracts/investors/transactions/index.ts +0 -37
  652. package/contracts/investors/trusted-contacts/index.ts +0 -93
  653. package/contracts/investors/user-manuals/index.ts +0 -62
  654. package/contracts/investors/user-settings/index.ts +0 -170
  655. package/contracts/investors/users/index.ts +0 -45
  656. package/contracts/investors/webhooks/index.ts +0 -30
  657. package/contracts/issuers/account-contacts/index.ts +0 -76
  658. package/contracts/issuers/account-integrations/index.ts +0 -97
  659. package/contracts/issuers/accounts/index.ts +0 -97
  660. package/contracts/issuers/activities/index.ts +0 -54
  661. package/contracts/issuers/aic/index.ts +0 -39
  662. package/contracts/issuers/api-key-logs/index.ts +0 -53
  663. package/contracts/issuers/api-keys/index.ts +0 -93
  664. package/contracts/issuers/assets/index.ts +0 -122
  665. package/contracts/issuers/auth/index.ts +0 -152
  666. package/contracts/issuers/bonus-tiers/index.ts +0 -73
  667. package/contracts/issuers/contact-us/index.ts +0 -48
  668. package/contracts/issuers/covered-persons/index.ts +0 -136
  669. package/contracts/issuers/dashboard/index.ts +0 -72
  670. package/contracts/issuers/data-records/index.ts +0 -257
  671. package/contracts/issuers/data-rooms/index.ts +0 -134
  672. package/contracts/issuers/disbursement-approval-users/index.ts +0 -82
  673. package/contracts/issuers/disbursement-transactions/index.ts +0 -53
  674. package/contracts/issuers/disbursements/index.ts +0 -189
  675. package/contracts/issuers/email-themes/index.ts +0 -242
  676. package/contracts/issuers/escrow-accounts/index.ts +0 -81
  677. package/contracts/issuers/exchange-api-keys/index.ts +0 -144
  678. package/contracts/issuers/files/index.ts +0 -166
  679. package/contracts/issuers/files-public/index.ts +0 -166
  680. package/contracts/issuers/health/index.ts +0 -24
  681. package/contracts/issuers/index.ts +0 -112
  682. package/contracts/issuers/investor-accounts/index.ts +0 -148
  683. package/contracts/issuers/invites/index.ts +0 -129
  684. package/contracts/issuers/issuer/index.ts +0 -94
  685. package/contracts/issuers/issuer-bank-accounts/index.ts +0 -81
  686. package/contracts/issuers/issuer-payment-methods/index.ts +0 -136
  687. package/contracts/issuers/kyc/index.ts +0 -38
  688. package/contracts/issuers/login-histories/index.ts +0 -51
  689. package/contracts/issuers/notes/index.ts +0 -69
  690. package/contracts/issuers/offerings/index.ts +0 -206
  691. package/contracts/issuers/pages/index.ts +0 -138
  692. package/contracts/issuers/payment-methods/index.ts +0 -61
  693. package/contracts/issuers/portfolios/index.ts +0 -36
  694. package/contracts/issuers/rejection-reasons/index.ts +0 -32
  695. package/contracts/issuers/review/index.ts +0 -63
  696. package/contracts/issuers/secondary-customers/index.ts +0 -55
  697. package/contracts/issuers/secondary-orders/index.ts +0 -57
  698. package/contracts/issuers/secondary-trades/index.ts +0 -57
  699. package/contracts/issuers/secure-requests/index.ts +0 -34
  700. package/contracts/issuers/site-links/index.ts +0 -116
  701. package/contracts/issuers/site-settings/index.ts +0 -585
  702. package/contracts/issuers/sites/index.ts +0 -32
  703. package/contracts/issuers/tasks/index.ts +0 -111
  704. package/contracts/issuers/trades/index.ts +0 -132
  705. package/contracts/issuers/transactions/index.ts +0 -158
  706. package/contracts/issuers/user-manuals/index.ts +0 -62
  707. package/contracts/issuers/user-settings/index.ts +0 -170
  708. package/contracts/issuers/users/index.ts +0 -126
  709. package/contracts/secondaries/accounts/index.ts +0 -58
  710. package/contracts/secondaries/index.ts +0 -23
  711. package/contracts/secondaries/secondary-customers/index.ts +0 -55
  712. package/contracts/secondaries/secondary-issuers/index.ts +0 -94
  713. package/contracts/secondaries/secondary-orders/index.ts +0 -56
  714. package/contracts/secondaries/secondary-securities/index.ts +0 -95
  715. package/contracts/secondaries/secondary-trades/index.ts +0 -56
  716. /package/common/types/{investorAccountIdSchema.type.ts → investorAccountIdSchema.type.d.ts} +0 -0
@@ -0,0 +1,1852 @@
1
+ import { z } from 'zod';
2
+ import { ErrorHttpStatusCode } from '@ts-rest/core';
3
+ import { TwoFactorMethod } from './sms.types';
4
+ import { HttpStatus } from '@nestjs/common';
5
+ export declare enum BaseStatus {
6
+ NEEDS_REVIEW = "NEEDS_REVIEW",
7
+ PENDING = "PENDING",
8
+ APPROVED = "APPROVED",
9
+ REJECTED = "REJECTED",
10
+ IN_REVIEW = "IN_REVIEW",
11
+ ADDITIONAL_INFO = "ADDITIONAL_INFO",
12
+ SUBMITTED = "SUBMITTED",
13
+ IN_PROGRESS = "IN_PROGRESS",
14
+ CANCELLED = "CANCELLED",
15
+ SETTLED = "SETTLED",
16
+ REFUNDED = "REFUNDED",
17
+ RESUBMIT = "RESUBMIT",
18
+ FUNDED = "FUNDED",
19
+ COMPLETED = "COMPLETED",
20
+ SIGNED = "SIGNED",
21
+ DECLINED = "DECLINED",
22
+ CART = "CART",
23
+ PLACED = "PLACED",
24
+ NEEDS_INFO = "NEEDS_INFO",
25
+ NEEDS_PAYMENT_INFO = "NEEDS_PAYMENT_INFO",
26
+ FUNDING = "FUNDING",
27
+ CHARGED = "CHARGED",
28
+ NEW = "NEW",
29
+ IMPORT_ERROR = "IMPORT_ERROR",
30
+ ERROR = "ERROR",
31
+ UPDATE_PAYMENT_METHOD = "UPDATE_PAYMENT_METHOD",
32
+ RE_SIGN = "RE_SIGN",
33
+ RESET_2FA = "RESET_2FA",
34
+ FORGOT_PASSWORD = "FORGOT_PASSWORD",
35
+ RESET_PASSWORD = "RESET_PASSWORD",
36
+ TWO_FACTOR_LOGIN = "TWO_FACTOR_LOGIN",
37
+ LOGIN = "LOGIN",
38
+ FAILED = "FAILED",
39
+ AUTHORIZING = "AUTHORIZING",
40
+ VALID = "VALID",
41
+ DELETED = "DELETED",
42
+ REVOKED = "REVOKED",
43
+ WARNING = "WARNING",
44
+ READY_TO_APPROVE = "READY_TO_APPROVE",
45
+ INCOMPLETE = "INCOMPLETE",
46
+ RE_PROCESS = "RE_PROCESS",
47
+ INVALID = "INVALID",
48
+ NOT_PROCESSED = "NOT_PROCESSED",
49
+ PROCESSING = "PROCESSING",
50
+ PROCESSING_ERROR = "PROCESSING_ERROR",
51
+ REVIEW_ERROR = "REVIEW_ERROR",
52
+ PROCESSED = "PROCESSED",
53
+ SAVE = "SAVE",
54
+ ACCEPTED = "ACCEPTED",
55
+ ONBOARDING = "ONBOARDING",
56
+ LIVE = "LIVE",
57
+ OVERDUE = "OVERDUE",
58
+ SUSPENDED = "SUSPENDED",
59
+ INACTIVE = "INACTIVE",
60
+ PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
61
+ VOIDED = "VOIDED",
62
+ REFUND_INITIATED = "REFUND_INITIATED",
63
+ REFUND_COMPLETED = "REFUND_COMPLETED",
64
+ REFUND_FAILED = "REFUND_FAILED",
65
+ VOID_INITIATED = "VOID_INITIATED",
66
+ VOID_COMPLETED = "VOID_COMPLETED",
67
+ VOID_FAILED = "VOID_FAILED",
68
+ RESTORE = "RESTORE",
69
+ JOIN = "JOIN",
70
+ ACTIVE = "ACTIVE",
71
+ LOCKED = "LOCKED",
72
+ ENABLED = "ENABLED",
73
+ DISABLED = "DISABLED",
74
+ PAUSED = "PAUSED",
75
+ CLOSED = "CLOSED"
76
+ }
77
+ export declare const UserWithoutPasswordAccountZod: z.ZodObject<{
78
+ id: z.ZodString;
79
+ __entity: z.ZodOptional<z.ZodString>;
80
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
81
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
82
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
83
+ } & {
84
+ firstName: z.ZodString;
85
+ lastName: z.ZodString;
86
+ email: z.ZodString;
87
+ provider: z.ZodString;
88
+ active: z.ZodBoolean;
89
+ lastLoginAt: z.ZodNullable<z.ZodDate>;
90
+ loginCount: z.ZodNumber;
91
+ inviteId: z.ZodNullable<z.ZodString>;
92
+ accountId: z.ZodNullable<z.ZodString>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ id: string;
95
+ createdAt: string | Date;
96
+ updatedAt: string | Date;
97
+ deletedAt: string | Date | null;
98
+ firstName: string;
99
+ lastName: string;
100
+ email: string;
101
+ provider: string;
102
+ active: boolean;
103
+ lastLoginAt: Date | null;
104
+ loginCount: number;
105
+ inviteId: string | null;
106
+ accountId: string | null;
107
+ __entity?: string | undefined;
108
+ }, {
109
+ id: string;
110
+ createdAt: string | Date;
111
+ updatedAt: string | Date;
112
+ deletedAt: string | Date | null;
113
+ firstName: string;
114
+ lastName: string;
115
+ email: string;
116
+ provider: string;
117
+ active: boolean;
118
+ lastLoginAt: Date | null;
119
+ loginCount: number;
120
+ inviteId: string | null;
121
+ accountId: string | null;
122
+ __entity?: string | undefined;
123
+ }>;
124
+ export type UserWithoutPasswordAccountZod = z.infer<typeof UserWithoutPasswordAccountZod>;
125
+ export declare enum ManagedByType {
126
+ DALMORE = "DALMORE",
127
+ ISSUER = "ISSUER"
128
+ }
129
+ export declare enum Platform {
130
+ DALMORE = "DALMORE",
131
+ INTEGRATION = "INTEGRATION"
132
+ }
133
+ export declare enum HttpMethod {
134
+ GET = "GET",
135
+ POST = "POST",
136
+ PUT = "PUT",
137
+ PATCH = "PATCH",
138
+ DELETE = "DELETE",
139
+ HEAD = "HEAD",
140
+ OPTIONS = "OPTIONS"
141
+ }
142
+ export declare enum UserStatus {
143
+ ACTIVE = "ACTIVE",
144
+ LOCKED = "LOCKED"
145
+ }
146
+ export declare const SENSITIVE_PATTERNS: RegExp[];
147
+ export declare enum AccountStatus {
148
+ ONBOARDING = "ONBOARDING",
149
+ LIVE = "LIVE",
150
+ OVERDUE = "OVERDUE",
151
+ SUSPENDED = "SUSPENDED",
152
+ INACTIVE = "INACTIVE"
153
+ }
154
+ export declare enum PaymentMethodType {
155
+ CREDIT_CARD = "CREDIT_CARD",
156
+ WIRE = "WIRE",
157
+ ACH = "ACH",
158
+ BANK_ACCOUNT = "BANK_ACCOUNT",
159
+ CHECK = "CHECK",
160
+ RETIREMENT = "RETIREMENT"
161
+ }
162
+ export declare const accountSettingIdSchema: z.ZodEffects<z.ZodString, string, string>;
163
+ export type accountSettingIdSchema = z.infer<typeof accountSettingIdSchema>;
164
+ export declare const IAccountSettingZod: z.ZodObject<{
165
+ __entity: z.ZodOptional<z.ZodString>;
166
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
167
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
168
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
169
+ } & {
170
+ id: z.ZodEffects<z.ZodString, string, string>;
171
+ accountId: z.ZodString;
172
+ offeringSetup: z.ZodBoolean;
173
+ investorPortalSetup: z.ZodBoolean;
174
+ paymentMethodSetup: z.ZodBoolean;
175
+ accountContactsSetup: z.ZodBoolean;
176
+ productPrimaries: z.ZodBoolean;
177
+ productSecondaries: z.ZodBoolean;
178
+ featureDisbursements: z.ZodBoolean;
179
+ apiPortal: z.ZodBoolean;
180
+ investorSiteEnabled: z.ZodBoolean;
181
+ }, "strip", z.ZodTypeAny, {
182
+ id: string;
183
+ createdAt: string | Date;
184
+ updatedAt: string | Date;
185
+ deletedAt: string | Date | null;
186
+ accountId: string;
187
+ offeringSetup: boolean;
188
+ investorPortalSetup: boolean;
189
+ paymentMethodSetup: boolean;
190
+ accountContactsSetup: boolean;
191
+ productPrimaries: boolean;
192
+ productSecondaries: boolean;
193
+ featureDisbursements: boolean;
194
+ apiPortal: boolean;
195
+ investorSiteEnabled: boolean;
196
+ __entity?: string | undefined;
197
+ }, {
198
+ id: string;
199
+ createdAt: string | Date;
200
+ updatedAt: string | Date;
201
+ deletedAt: string | Date | null;
202
+ accountId: string;
203
+ offeringSetup: boolean;
204
+ investorPortalSetup: boolean;
205
+ paymentMethodSetup: boolean;
206
+ accountContactsSetup: boolean;
207
+ productPrimaries: boolean;
208
+ productSecondaries: boolean;
209
+ featureDisbursements: boolean;
210
+ apiPortal: boolean;
211
+ investorSiteEnabled: boolean;
212
+ __entity?: string | undefined;
213
+ }>;
214
+ export type IAccountSettingZod = z.infer<typeof IAccountSettingZod>;
215
+ export declare const AccountZod: z.ZodObject<{
216
+ id: z.ZodString;
217
+ __entity: z.ZodOptional<z.ZodString>;
218
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
219
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
220
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
221
+ } & {
222
+ name: z.ZodString;
223
+ status: z.ZodNativeEnum<typeof AccountStatus>;
224
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
225
+ platform: z.ZodNativeEnum<typeof Platform>;
226
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
227
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
228
+ allowPendingComplianceReview: z.ZodBoolean;
229
+ }, "strip", z.ZodTypeAny, {
230
+ status: AccountStatus;
231
+ id: string;
232
+ createdAt: string | Date;
233
+ updatedAt: string | Date;
234
+ deletedAt: string | Date | null;
235
+ name: string;
236
+ managedBy: ManagedByType | null;
237
+ platform: Platform;
238
+ onboardingReviewerId: string | null;
239
+ onboardingReviewAt: Date | null;
240
+ allowPendingComplianceReview: boolean;
241
+ __entity?: string | undefined;
242
+ }, {
243
+ status: AccountStatus;
244
+ id: string;
245
+ createdAt: string | Date;
246
+ updatedAt: string | Date;
247
+ deletedAt: string | Date | null;
248
+ name: string;
249
+ managedBy: ManagedByType | null;
250
+ platform: Platform;
251
+ onboardingReviewerId: string | null;
252
+ onboardingReviewAt: Date | null;
253
+ allowPendingComplianceReview: boolean;
254
+ __entity?: string | undefined;
255
+ }>;
256
+ export type AccountZod = z.infer<typeof AccountZod>;
257
+ export declare const AccountWithoutUsersZod: z.ZodObject<{
258
+ id: z.ZodString;
259
+ __entity: z.ZodOptional<z.ZodString>;
260
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
261
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
262
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
263
+ } & {
264
+ name: z.ZodString;
265
+ status: z.ZodNativeEnum<typeof AccountStatus>;
266
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
267
+ platform: z.ZodNativeEnum<typeof Platform>;
268
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
269
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
270
+ allowPendingComplianceReview: z.ZodBoolean;
271
+ }, "strip", z.ZodTypeAny, {
272
+ status: AccountStatus;
273
+ id: string;
274
+ createdAt: string | Date;
275
+ updatedAt: string | Date;
276
+ deletedAt: string | Date | null;
277
+ name: string;
278
+ managedBy: ManagedByType | null;
279
+ platform: Platform;
280
+ onboardingReviewerId: string | null;
281
+ onboardingReviewAt: Date | null;
282
+ allowPendingComplianceReview: boolean;
283
+ __entity?: string | undefined;
284
+ }, {
285
+ status: AccountStatus;
286
+ id: string;
287
+ createdAt: string | Date;
288
+ updatedAt: string | Date;
289
+ deletedAt: string | Date | null;
290
+ name: string;
291
+ managedBy: ManagedByType | null;
292
+ platform: Platform;
293
+ onboardingReviewerId: string | null;
294
+ onboardingReviewAt: Date | null;
295
+ allowPendingComplianceReview: boolean;
296
+ __entity?: string | undefined;
297
+ }>;
298
+ export type AccountWithoutUsersZod = z.infer<typeof AccountWithoutUsersZod>;
299
+ export declare enum PortalType {
300
+ COMPLIANCE = "COMPLIANCE",
301
+ ISSUER = "ISSUER",
302
+ INVESTOR = "INVESTOR",
303
+ CLIENT = "CLIENT",
304
+ SECONDARIES = "SECONDARIES",
305
+ COMPLIANCE_APIKEY = "COMPLIANCE_APIKEY"
306
+ }
307
+ export declare enum UserType {
308
+ USER = "USER",
309
+ LEAD = "LEAD",
310
+ INVESTOR = "INVESTOR",
311
+ DEMO = "DEMO"
312
+ }
313
+ export declare enum UserRole {
314
+ API_KEY = "API_KEY",
315
+ IMPORT = "IMPORT",
316
+ VIEWER = "VIEWER",
317
+ SUPPORT = "SUPPORT",
318
+ COMPLIANCE = "COMPLIANCE",
319
+ ADMIN = "ADMIN",
320
+ MARKETER = "MARKETER",
321
+ OWNER = "OWNER",
322
+ LEGAL = "LEGAL",
323
+ COMMUNITY_MANAGER = "COMMUNITY_MANAGER",
324
+ ESCROW_AGENT = "ESCROW_AGENT",
325
+ AGENT = "AGENT",
326
+ ONBOARDING = "ONBOARDING"
327
+ }
328
+ export declare enum IssuerRole {
329
+ VIEWER = "VIEWER",
330
+ OWNER = "OWNER",
331
+ MARKETER = "MARKETER",
332
+ LEGAL = "LEGAL",
333
+ COMMUNITY_MANAGER = "COMMUNITY_MANAGER",
334
+ COMPLIANCE = "COMPLIANCE",
335
+ ADMIN = "ADMIN",
336
+ SUPPORT = "SUPPORT"
337
+ }
338
+ export declare enum FileContainerType {
339
+ SITE = "SITE",
340
+ PRIVATE = "PRIVATE",
341
+ PUBLIC = "PUBLIC",
342
+ ASSET = "ASSET"
343
+ }
344
+ export declare enum UserDataType {
345
+ LIVE = "LIVE",
346
+ TEST = "TEST"
347
+ }
348
+ interface RoleHierarchy {
349
+ type: PortalType;
350
+ roles: string[];
351
+ }
352
+ export declare enum AccountContactType {
353
+ GENERAL = "GENERAL",
354
+ INVESTOR = "INVESTOR",
355
+ ISSUER = "ISSUER"
356
+ }
357
+ export declare const PortalConfig: Record<PortalType, RoleHierarchy>;
358
+ export declare const BaseAuthReq: z.ZodObject<{
359
+ id: z.ZodString;
360
+ accountId: z.ZodString;
361
+ isInactiveAccount: z.ZodBoolean;
362
+ active: z.ZodBoolean;
363
+ role: z.ZodNativeEnum<typeof UserRole>;
364
+ type: z.ZodNativeEnum<typeof PortalType>;
365
+ roleId: z.ZodString;
366
+ accountSettings: z.ZodOptional<z.ZodLazy<z.ZodObject<{
367
+ __entity: z.ZodOptional<z.ZodString>;
368
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
369
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
370
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
371
+ } & {
372
+ id: z.ZodEffects<z.ZodString, string, string>;
373
+ accountId: z.ZodString;
374
+ offeringSetup: z.ZodBoolean;
375
+ investorPortalSetup: z.ZodBoolean;
376
+ paymentMethodSetup: z.ZodBoolean;
377
+ accountContactsSetup: z.ZodBoolean;
378
+ productPrimaries: z.ZodBoolean;
379
+ productSecondaries: z.ZodBoolean;
380
+ featureDisbursements: z.ZodBoolean;
381
+ apiPortal: z.ZodBoolean;
382
+ investorSiteEnabled: z.ZodBoolean;
383
+ }, "strip", z.ZodTypeAny, {
384
+ id: string;
385
+ createdAt: string | Date;
386
+ updatedAt: string | Date;
387
+ deletedAt: string | Date | null;
388
+ accountId: string;
389
+ offeringSetup: boolean;
390
+ investorPortalSetup: boolean;
391
+ paymentMethodSetup: boolean;
392
+ accountContactsSetup: boolean;
393
+ productPrimaries: boolean;
394
+ productSecondaries: boolean;
395
+ featureDisbursements: boolean;
396
+ apiPortal: boolean;
397
+ investorSiteEnabled: boolean;
398
+ __entity?: string | undefined;
399
+ }, {
400
+ id: string;
401
+ createdAt: string | Date;
402
+ updatedAt: string | Date;
403
+ deletedAt: string | Date | null;
404
+ accountId: string;
405
+ offeringSetup: boolean;
406
+ investorPortalSetup: boolean;
407
+ paymentMethodSetup: boolean;
408
+ accountContactsSetup: boolean;
409
+ productPrimaries: boolean;
410
+ productSecondaries: boolean;
411
+ featureDisbursements: boolean;
412
+ apiPortal: boolean;
413
+ investorSiteEnabled: boolean;
414
+ __entity?: string | undefined;
415
+ }>>>;
416
+ }, "strip", z.ZodTypeAny, {
417
+ type: PortalType;
418
+ id: string;
419
+ active: boolean;
420
+ accountId: string;
421
+ isInactiveAccount: boolean;
422
+ role: UserRole;
423
+ roleId: string;
424
+ accountSettings?: {
425
+ id: string;
426
+ createdAt: string | Date;
427
+ updatedAt: string | Date;
428
+ deletedAt: string | Date | null;
429
+ accountId: string;
430
+ offeringSetup: boolean;
431
+ investorPortalSetup: boolean;
432
+ paymentMethodSetup: boolean;
433
+ accountContactsSetup: boolean;
434
+ productPrimaries: boolean;
435
+ productSecondaries: boolean;
436
+ featureDisbursements: boolean;
437
+ apiPortal: boolean;
438
+ investorSiteEnabled: boolean;
439
+ __entity?: string | undefined;
440
+ } | undefined;
441
+ }, {
442
+ type: PortalType;
443
+ id: string;
444
+ active: boolean;
445
+ accountId: string;
446
+ isInactiveAccount: boolean;
447
+ role: UserRole;
448
+ roleId: string;
449
+ accountSettings?: {
450
+ id: string;
451
+ createdAt: string | Date;
452
+ updatedAt: string | Date;
453
+ deletedAt: string | Date | null;
454
+ accountId: string;
455
+ offeringSetup: boolean;
456
+ investorPortalSetup: boolean;
457
+ paymentMethodSetup: boolean;
458
+ accountContactsSetup: boolean;
459
+ productPrimaries: boolean;
460
+ productSecondaries: boolean;
461
+ featureDisbursements: boolean;
462
+ apiPortal: boolean;
463
+ investorSiteEnabled: boolean;
464
+ __entity?: string | undefined;
465
+ } | undefined;
466
+ }>;
467
+ export declare const AuthUserReq: z.ZodObject<{
468
+ id: z.ZodString;
469
+ accountId: z.ZodString;
470
+ isInactiveAccount: z.ZodBoolean;
471
+ active: z.ZodBoolean;
472
+ role: z.ZodNativeEnum<typeof UserRole>;
473
+ type: z.ZodNativeEnum<typeof PortalType>;
474
+ roleId: z.ZodString;
475
+ accountSettings: z.ZodOptional<z.ZodLazy<z.ZodObject<{
476
+ __entity: z.ZodOptional<z.ZodString>;
477
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
478
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
479
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
480
+ } & {
481
+ id: z.ZodEffects<z.ZodString, string, string>;
482
+ accountId: z.ZodString;
483
+ offeringSetup: z.ZodBoolean;
484
+ investorPortalSetup: z.ZodBoolean;
485
+ paymentMethodSetup: z.ZodBoolean;
486
+ accountContactsSetup: z.ZodBoolean;
487
+ productPrimaries: z.ZodBoolean;
488
+ productSecondaries: z.ZodBoolean;
489
+ featureDisbursements: z.ZodBoolean;
490
+ apiPortal: z.ZodBoolean;
491
+ investorSiteEnabled: z.ZodBoolean;
492
+ }, "strip", z.ZodTypeAny, {
493
+ id: string;
494
+ createdAt: string | Date;
495
+ updatedAt: string | Date;
496
+ deletedAt: string | Date | null;
497
+ accountId: string;
498
+ offeringSetup: boolean;
499
+ investorPortalSetup: boolean;
500
+ paymentMethodSetup: boolean;
501
+ accountContactsSetup: boolean;
502
+ productPrimaries: boolean;
503
+ productSecondaries: boolean;
504
+ featureDisbursements: boolean;
505
+ apiPortal: boolean;
506
+ investorSiteEnabled: boolean;
507
+ __entity?: string | undefined;
508
+ }, {
509
+ id: string;
510
+ createdAt: string | Date;
511
+ updatedAt: string | Date;
512
+ deletedAt: string | Date | null;
513
+ accountId: string;
514
+ offeringSetup: boolean;
515
+ investorPortalSetup: boolean;
516
+ paymentMethodSetup: boolean;
517
+ accountContactsSetup: boolean;
518
+ productPrimaries: boolean;
519
+ productSecondaries: boolean;
520
+ featureDisbursements: boolean;
521
+ apiPortal: boolean;
522
+ investorSiteEnabled: boolean;
523
+ __entity?: string | undefined;
524
+ }>>>;
525
+ } & {
526
+ userLoginId: z.ZodString;
527
+ firstName: z.ZodString;
528
+ lastName: z.ZodString;
529
+ email: z.ZodString;
530
+ provider: z.ZodString;
531
+ locked: z.ZodBoolean;
532
+ lastLoginAt: z.ZodNullable<z.ZodDate>;
533
+ loginCount: z.ZodNumber;
534
+ requiresTwoFactorSetup: z.ZodOptional<z.ZodBoolean>;
535
+ twoFactorEnabled: z.ZodOptional<z.ZodBoolean>;
536
+ twoFactorMethod: z.ZodOptional<z.ZodNativeEnum<typeof TwoFactorMethod>>;
537
+ managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
538
+ userType: z.ZodOptional<z.ZodNativeEnum<typeof UserType>>;
539
+ accountStatus: z.ZodLazy<z.ZodNativeEnum<typeof AccountStatus>>;
540
+ }, "strip", z.ZodTypeAny, {
541
+ type: PortalType;
542
+ id: string;
543
+ firstName: string;
544
+ lastName: string;
545
+ email: string;
546
+ provider: string;
547
+ active: boolean;
548
+ lastLoginAt: Date | null;
549
+ loginCount: number;
550
+ accountId: string;
551
+ isInactiveAccount: boolean;
552
+ role: UserRole;
553
+ roleId: string;
554
+ userLoginId: string;
555
+ locked: boolean;
556
+ accountStatus: AccountStatus;
557
+ managedBy?: ManagedByType | undefined;
558
+ accountSettings?: {
559
+ id: string;
560
+ createdAt: string | Date;
561
+ updatedAt: string | Date;
562
+ deletedAt: string | Date | null;
563
+ accountId: string;
564
+ offeringSetup: boolean;
565
+ investorPortalSetup: boolean;
566
+ paymentMethodSetup: boolean;
567
+ accountContactsSetup: boolean;
568
+ productPrimaries: boolean;
569
+ productSecondaries: boolean;
570
+ featureDisbursements: boolean;
571
+ apiPortal: boolean;
572
+ investorSiteEnabled: boolean;
573
+ __entity?: string | undefined;
574
+ } | undefined;
575
+ requiresTwoFactorSetup?: boolean | undefined;
576
+ twoFactorEnabled?: boolean | undefined;
577
+ twoFactorMethod?: TwoFactorMethod | undefined;
578
+ userType?: UserType | undefined;
579
+ }, {
580
+ type: PortalType;
581
+ id: string;
582
+ firstName: string;
583
+ lastName: string;
584
+ email: string;
585
+ provider: string;
586
+ active: boolean;
587
+ lastLoginAt: Date | null;
588
+ loginCount: number;
589
+ accountId: string;
590
+ isInactiveAccount: boolean;
591
+ role: UserRole;
592
+ roleId: string;
593
+ userLoginId: string;
594
+ locked: boolean;
595
+ accountStatus: AccountStatus;
596
+ managedBy?: ManagedByType | undefined;
597
+ accountSettings?: {
598
+ id: string;
599
+ createdAt: string | Date;
600
+ updatedAt: string | Date;
601
+ deletedAt: string | Date | null;
602
+ accountId: string;
603
+ offeringSetup: boolean;
604
+ investorPortalSetup: boolean;
605
+ paymentMethodSetup: boolean;
606
+ accountContactsSetup: boolean;
607
+ productPrimaries: boolean;
608
+ productSecondaries: boolean;
609
+ featureDisbursements: boolean;
610
+ apiPortal: boolean;
611
+ investorSiteEnabled: boolean;
612
+ __entity?: string | undefined;
613
+ } | undefined;
614
+ requiresTwoFactorSetup?: boolean | undefined;
615
+ twoFactorEnabled?: boolean | undefined;
616
+ twoFactorMethod?: TwoFactorMethod | undefined;
617
+ userType?: UserType | undefined;
618
+ }>;
619
+ export declare const AuthApiKeyReq: z.ZodObject<{
620
+ id: z.ZodString;
621
+ accountId: z.ZodString;
622
+ isInactiveAccount: z.ZodBoolean;
623
+ active: z.ZodBoolean;
624
+ role: z.ZodNativeEnum<typeof UserRole>;
625
+ type: z.ZodNativeEnum<typeof PortalType>;
626
+ roleId: z.ZodString;
627
+ accountSettings: z.ZodOptional<z.ZodLazy<z.ZodObject<{
628
+ __entity: z.ZodOptional<z.ZodString>;
629
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
630
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
631
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
632
+ } & {
633
+ id: z.ZodEffects<z.ZodString, string, string>;
634
+ accountId: z.ZodString;
635
+ offeringSetup: z.ZodBoolean;
636
+ investorPortalSetup: z.ZodBoolean;
637
+ paymentMethodSetup: z.ZodBoolean;
638
+ accountContactsSetup: z.ZodBoolean;
639
+ productPrimaries: z.ZodBoolean;
640
+ productSecondaries: z.ZodBoolean;
641
+ featureDisbursements: z.ZodBoolean;
642
+ apiPortal: z.ZodBoolean;
643
+ investorSiteEnabled: z.ZodBoolean;
644
+ }, "strip", z.ZodTypeAny, {
645
+ id: string;
646
+ createdAt: string | Date;
647
+ updatedAt: string | Date;
648
+ deletedAt: string | Date | null;
649
+ accountId: string;
650
+ offeringSetup: boolean;
651
+ investorPortalSetup: boolean;
652
+ paymentMethodSetup: boolean;
653
+ accountContactsSetup: boolean;
654
+ productPrimaries: boolean;
655
+ productSecondaries: boolean;
656
+ featureDisbursements: boolean;
657
+ apiPortal: boolean;
658
+ investorSiteEnabled: boolean;
659
+ __entity?: string | undefined;
660
+ }, {
661
+ id: string;
662
+ createdAt: string | Date;
663
+ updatedAt: string | Date;
664
+ deletedAt: string | Date | null;
665
+ accountId: string;
666
+ offeringSetup: boolean;
667
+ investorPortalSetup: boolean;
668
+ paymentMethodSetup: boolean;
669
+ accountContactsSetup: boolean;
670
+ productPrimaries: boolean;
671
+ productSecondaries: boolean;
672
+ featureDisbursements: boolean;
673
+ apiPortal: boolean;
674
+ investorSiteEnabled: boolean;
675
+ __entity?: string | undefined;
676
+ }>>>;
677
+ } & {
678
+ name: z.ZodString;
679
+ description: z.ZodNullable<z.ZodString>;
680
+ lastUsedAt: z.ZodNullable<z.ZodDate>;
681
+ }, "strip", z.ZodTypeAny, {
682
+ type: PortalType;
683
+ id: string;
684
+ active: boolean;
685
+ accountId: string;
686
+ name: string;
687
+ isInactiveAccount: boolean;
688
+ role: UserRole;
689
+ roleId: string;
690
+ description: string | null;
691
+ lastUsedAt: Date | null;
692
+ accountSettings?: {
693
+ id: string;
694
+ createdAt: string | Date;
695
+ updatedAt: string | Date;
696
+ deletedAt: string | Date | null;
697
+ accountId: string;
698
+ offeringSetup: boolean;
699
+ investorPortalSetup: boolean;
700
+ paymentMethodSetup: boolean;
701
+ accountContactsSetup: boolean;
702
+ productPrimaries: boolean;
703
+ productSecondaries: boolean;
704
+ featureDisbursements: boolean;
705
+ apiPortal: boolean;
706
+ investorSiteEnabled: boolean;
707
+ __entity?: string | undefined;
708
+ } | undefined;
709
+ }, {
710
+ type: PortalType;
711
+ id: string;
712
+ active: boolean;
713
+ accountId: string;
714
+ name: string;
715
+ isInactiveAccount: boolean;
716
+ role: UserRole;
717
+ roleId: string;
718
+ description: string | null;
719
+ lastUsedAt: Date | null;
720
+ accountSettings?: {
721
+ id: string;
722
+ createdAt: string | Date;
723
+ updatedAt: string | Date;
724
+ deletedAt: string | Date | null;
725
+ accountId: string;
726
+ offeringSetup: boolean;
727
+ investorPortalSetup: boolean;
728
+ paymentMethodSetup: boolean;
729
+ accountContactsSetup: boolean;
730
+ productPrimaries: boolean;
731
+ productSecondaries: boolean;
732
+ featureDisbursements: boolean;
733
+ apiPortal: boolean;
734
+ investorSiteEnabled: boolean;
735
+ __entity?: string | undefined;
736
+ } | undefined;
737
+ }>;
738
+ export type BaseAuthReq = z.infer<typeof BaseAuthReq>;
739
+ export type AuthUserReq = z.infer<typeof AuthUserReq>;
740
+ export type AuthApiKeyReq = z.infer<typeof AuthApiKeyReq>;
741
+ export declare const UserWithoutPasswordZod: z.ZodObject<{
742
+ id: z.ZodString;
743
+ __entity: z.ZodOptional<z.ZodString>;
744
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
745
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
746
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
747
+ } & {
748
+ firstName: z.ZodString;
749
+ lastName: z.ZodString;
750
+ email: z.ZodString;
751
+ provider: z.ZodString;
752
+ active: z.ZodBoolean;
753
+ lastLoginAt: z.ZodNullable<z.ZodDate>;
754
+ loginCount: z.ZodNumber;
755
+ inviteId: z.ZodNullable<z.ZodString>;
756
+ accountId: z.ZodNullable<z.ZodString>;
757
+ account: z.ZodOptional<z.ZodObject<{
758
+ id: z.ZodString;
759
+ __entity: z.ZodOptional<z.ZodString>;
760
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
761
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
762
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
763
+ } & {
764
+ name: z.ZodString;
765
+ status: z.ZodNativeEnum<typeof AccountStatus>;
766
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
767
+ platform: z.ZodNativeEnum<typeof Platform>;
768
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
769
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
770
+ allowPendingComplianceReview: z.ZodBoolean;
771
+ }, "strip", z.ZodTypeAny, {
772
+ status: AccountStatus;
773
+ id: string;
774
+ createdAt: string | Date;
775
+ updatedAt: string | Date;
776
+ deletedAt: string | Date | null;
777
+ name: string;
778
+ managedBy: ManagedByType | null;
779
+ platform: Platform;
780
+ onboardingReviewerId: string | null;
781
+ onboardingReviewAt: Date | null;
782
+ allowPendingComplianceReview: boolean;
783
+ __entity?: string | undefined;
784
+ }, {
785
+ status: AccountStatus;
786
+ id: string;
787
+ createdAt: string | Date;
788
+ updatedAt: string | Date;
789
+ deletedAt: string | Date | null;
790
+ name: string;
791
+ managedBy: ManagedByType | null;
792
+ platform: Platform;
793
+ onboardingReviewerId: string | null;
794
+ onboardingReviewAt: Date | null;
795
+ allowPendingComplianceReview: boolean;
796
+ __entity?: string | undefined;
797
+ }>>;
798
+ }, "strip", z.ZodTypeAny, {
799
+ id: string;
800
+ createdAt: string | Date;
801
+ updatedAt: string | Date;
802
+ deletedAt: string | Date | null;
803
+ firstName: string;
804
+ lastName: string;
805
+ email: string;
806
+ provider: string;
807
+ active: boolean;
808
+ lastLoginAt: Date | null;
809
+ loginCount: number;
810
+ inviteId: string | null;
811
+ accountId: string | null;
812
+ __entity?: string | undefined;
813
+ account?: {
814
+ status: AccountStatus;
815
+ id: string;
816
+ createdAt: string | Date;
817
+ updatedAt: string | Date;
818
+ deletedAt: string | Date | null;
819
+ name: string;
820
+ managedBy: ManagedByType | null;
821
+ platform: Platform;
822
+ onboardingReviewerId: string | null;
823
+ onboardingReviewAt: Date | null;
824
+ allowPendingComplianceReview: boolean;
825
+ __entity?: string | undefined;
826
+ } | undefined;
827
+ }, {
828
+ id: string;
829
+ createdAt: string | Date;
830
+ updatedAt: string | Date;
831
+ deletedAt: string | Date | null;
832
+ firstName: string;
833
+ lastName: string;
834
+ email: string;
835
+ provider: string;
836
+ active: boolean;
837
+ lastLoginAt: Date | null;
838
+ loginCount: number;
839
+ inviteId: string | null;
840
+ accountId: string | null;
841
+ __entity?: string | undefined;
842
+ account?: {
843
+ status: AccountStatus;
844
+ id: string;
845
+ createdAt: string | Date;
846
+ updatedAt: string | Date;
847
+ deletedAt: string | Date | null;
848
+ name: string;
849
+ managedBy: ManagedByType | null;
850
+ platform: Platform;
851
+ onboardingReviewerId: string | null;
852
+ onboardingReviewAt: Date | null;
853
+ allowPendingComplianceReview: boolean;
854
+ __entity?: string | undefined;
855
+ } | undefined;
856
+ }>;
857
+ export type UserWithoutPasswordZod = z.infer<typeof UserWithoutPasswordZod>;
858
+ export type ErrorResult = {
859
+ status: ErrorHttpStatusCode;
860
+ message: string;
861
+ };
862
+ export type ExtendedErrorResult = ErrorResult & {
863
+ errors?: ErrorResponseZod;
864
+ };
865
+ export declare const IPaginationMeta: z.ZodObject<{
866
+ itemCount: z.ZodNumber;
867
+ totalItems: z.ZodOptional<z.ZodNumber>;
868
+ itemsPerPage: z.ZodNumber;
869
+ totalPages: z.ZodOptional<z.ZodNumber>;
870
+ currentPage: z.ZodNumber;
871
+ }, "strip", z.ZodTypeAny, {
872
+ itemCount: number;
873
+ itemsPerPage: number;
874
+ currentPage: number;
875
+ totalItems?: number | undefined;
876
+ totalPages?: number | undefined;
877
+ }, {
878
+ itemCount: number;
879
+ itemsPerPage: number;
880
+ currentPage: number;
881
+ totalItems?: number | undefined;
882
+ totalPages?: number | undefined;
883
+ }>;
884
+ export type IPaginationMeta = z.infer<typeof IPaginationMeta>;
885
+ export declare const PaginationOptionsZod: z.ZodObject<{
886
+ page: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
887
+ limit: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
888
+ }, "strip", z.ZodTypeAny, {
889
+ page: number;
890
+ limit: number;
891
+ }, {
892
+ page?: number | undefined;
893
+ limit?: number | undefined;
894
+ }>;
895
+ export type PaginationOptionsZod = z.infer<typeof PaginationOptionsZod>;
896
+ export interface IPaginationOptions extends z.infer<typeof PaginationOptionsZod> {
897
+ }
898
+ export declare enum BaseAction {
899
+ CREATE = "CREATE",
900
+ READ = "READ",
901
+ UPDATE = "UPDATE",
902
+ DELETE = "DELETE",
903
+ IMPORT = "IMPORT"
904
+ }
905
+ export declare enum KYCStatus {
906
+ NEEDS_REVIEW = "NEEDS_REVIEW",
907
+ PENDING = "PENDING",
908
+ APPROVED = "APPROVED",
909
+ REJECTED = "REJECTED",
910
+ CANCELLED = "CANCELLED",
911
+ RESUBMIT = "RESUBMIT",
912
+ ERROR = "ERROR"
913
+ }
914
+ export declare enum AMLStatus {
915
+ NEEDS_REVIEW = "NEEDS_REVIEW",
916
+ PENDING = "PENDING",
917
+ APPROVED = "APPROVED",
918
+ REJECTED = "REJECTED",
919
+ ERROR = "ERROR"
920
+ }
921
+ export declare enum AicStatus {
922
+ NEEDS_REVIEW = "NEEDS_REVIEW",
923
+ PENDING = "PENDING",
924
+ APPROVED = "APPROVED",
925
+ REJECTED = "REJECTED",
926
+ PROCESSED = "PROCESSED"
927
+ }
928
+ export declare enum IssuerStatus {
929
+ REJECTED = "REJECTED",
930
+ IN_REVIEW = "IN_REVIEW",
931
+ ADDITIONAL_INFO = "ADDITIONAL_INFO",
932
+ SUBMITTED = "SUBMITTED",
933
+ IN_PROGRESS = "IN_PROGRESS",
934
+ APPROVED = "APPROVED"
935
+ }
936
+ export declare enum KYBStatus {
937
+ NEEDS_REVIEW = "NEEDS_REVIEW",
938
+ PENDING = "PENDING",
939
+ APPROVED = "APPROVED",
940
+ REJECTED = "REJECTED"
941
+ }
942
+ export declare enum SanctionsStatus {
943
+ NEEDS_REVIEW = "NEEDS_REVIEW",
944
+ PENDING = "PENDING",
945
+ APPROVED = "APPROVED",
946
+ REJECTED = "REJECTED"
947
+ }
948
+ export declare enum FundingStatus {
949
+ PENDING = "PENDING",
950
+ CANCELLED = "CANCELLED",
951
+ SETTLED = "SETTLED",
952
+ REFUNDED = "REFUNDED",
953
+ DECLINED = "DECLINED",
954
+ FUNDING = "FUNDING",
955
+ AUTHORIZING = "AUTHORIZING",
956
+ FAILED = "FAILED"
957
+ }
958
+ export declare enum TxnCheck {
959
+ PENDING = "PENDING",
960
+ NEEDS_REVIEW = "NEEDS_REVIEW",
961
+ APPROVED = "APPROVED",
962
+ REJECTED = "REJECTED"
963
+ }
964
+ export declare enum ApprovalStatus {
965
+ PENDING = "PENDING",
966
+ FUNDED = "FUNDED",
967
+ APPROVED = "APPROVED",
968
+ REJECTED = "REJECTED",
969
+ REFUNDED = "REFUNDED"
970
+ }
971
+ export declare enum IraCheck {
972
+ PENDING = "PENDING",
973
+ APPROVED = "APPROVED",
974
+ NEEDS_REVIEW = "NEEDS_REVIEW",
975
+ REJECTED = "REJECTED"
976
+ }
977
+ export declare enum CoveredPersonsStatus {
978
+ REJECTED = "REJECTED",
979
+ IN_REVIEW = "IN_REVIEW",
980
+ IN_PROGRESS = "IN_PROGRESS",
981
+ COMPLETED = "COMPLETED"
982
+ }
983
+ export declare enum ComplianceReview {
984
+ PENDING = "PENDING",
985
+ APPROVED = "APPROVED",
986
+ REJECTED = "REJECTED",
987
+ NEEDS_REVIEW = "NEEDS_REVIEW",
988
+ CANCELLED = "CANCELLED",
989
+ READY_TO_APPROVE = "READY_TO_APPROVE"
990
+ }
991
+ export declare enum KYCDocumentType {
992
+ PASSPORT = "PASSPORT",
993
+ DRIVER_LICENSE = "DRIVER_LICENSE",
994
+ STATE_ID = "STATE_ID"
995
+ }
996
+ export declare enum InvestmentType {
997
+ INDIVIDUAL = "INDIVIDUAL",
998
+ JOINT = "JOINT",
999
+ ENTITY = "ENTITY"
1000
+ }
1001
+ export declare enum AicAccreditationType {
1002
+ PENDING = "PENDING",
1003
+ INCOME = "INCOME",
1004
+ NET_WORTH = "NET_WORTH",
1005
+ PROFESSIONAL_CERTIFICATION = "PROFESSIONAL_CERTIFICATION",
1006
+ KNOWLEDGEABLE_EMPLOYEE = "KNOWLEDGEABLE_EMPLOYEE"
1007
+ }
1008
+ export declare enum InvestorAccountType {
1009
+ INDIVIDUAL = "INDIVIDUAL",
1010
+ JOINT = "JOINT",
1011
+ RETIREMENT = "RETIREMENT",
1012
+ LEGAL_ENTITY = "LEGAL_ENTITY"
1013
+ }
1014
+ export declare enum SetupStatusType {
1015
+ IN_PROGRESS = "IN_PROGRESS",
1016
+ COMPLETE = "COMPLETE"
1017
+ }
1018
+ export declare enum SetupStepType {
1019
+ NEW = "NEW",
1020
+ PERSONAL_INFO = "PERSONAL_INFO",
1021
+ ADDRESS = "ADDRESS",
1022
+ KYC = "KYC",
1023
+ INCOME = "INCOME",
1024
+ AIC_QUESTIONS = "AIC_QUESTIONS",
1025
+ AIC_FILES = "AIC_FILES"
1026
+ }
1027
+ export declare enum OfferingType {
1028
+ REG_A = "REG_A",
1029
+ REG_CF = "REG_CF",
1030
+ REG_D = "REG_D",
1031
+ S1 = "S1",
1032
+ EXCHANGE_NOTE = "EXCHANGE_NOTE"
1033
+ }
1034
+ export declare enum AssetType {
1035
+ BOND = "BOND",
1036
+ STOCK = "STOCK",
1037
+ PROMISSORY_NOTE = "PROMISSORY_NOTE"
1038
+ }
1039
+ export declare enum AdjustmentType {
1040
+ CREDIT_CARD_FEES = "CREDIT_CARD_FEES",
1041
+ SERVICE_CHARGES = "SERVICE_CHARGES",
1042
+ SUBSCRIPTION_DISCOUNT = "SUBSCRIPTION_DISCOUNT"
1043
+ }
1044
+ export declare enum SignatureStatus {
1045
+ PENDING = "PENDING",
1046
+ SIGNED = "SIGNED",
1047
+ DECLINED = "DECLINED",
1048
+ NEEDS_REVIEW = "NEEDS_REVIEW",
1049
+ RE_SIGN = "RE_SIGN"
1050
+ }
1051
+ export declare enum TemplateType {
1052
+ INDIVIDUAL = "INDIVIDUAL",
1053
+ JOINT = "JOINT",
1054
+ ENTITY = "ENTITY",
1055
+ RETIREMENT = "RETIREMENT",
1056
+ GENERAL = "GENERAL"
1057
+ }
1058
+ export declare enum TemplateStatus {
1059
+ PENDING = "PENDING",
1060
+ VALID = "VALID",
1061
+ ERROR = "ERROR"
1062
+ }
1063
+ export declare enum SenderIdentityStatus {
1064
+ PENDING = "PENDING",
1065
+ APPROVED = "APPROVED",
1066
+ REJECTED = "DECLINED",
1067
+ DELETED = "DELETED",
1068
+ REVOKED = "REVOKED"
1069
+ }
1070
+ export declare enum DurationType {
1071
+ DAY = "DAYS",
1072
+ WEEK = "WEEKS",
1073
+ MONTH = "MONTHS",
1074
+ YEAR = "YEARS"
1075
+ }
1076
+ export declare enum CoveredPersonsRoleType {
1077
+ ENTITY = "ENTITY",
1078
+ BOARD_MEMBER = "BOARD_MEMBER",
1079
+ ADVISOR = "ADVISOR",
1080
+ CEO = "CEO",
1081
+ CFO = "CFO",
1082
+ ACCOUNTING = "ACCOUNTING",
1083
+ CPA = "CPA",
1084
+ LEGAL = "LEGAL",
1085
+ EXECUTIVE = "EXECUTIVE",
1086
+ EMPLOYEE = "EMPLOYEE",
1087
+ INVESTOR = "INVESTOR",
1088
+ PROMOTER = "PROMOTER",
1089
+ OWNER = "OWNER",
1090
+ AFFILIATED = "AFFILIATED"
1091
+ }
1092
+ export declare enum IDType {
1093
+ PASSPORT = "PASSPORT",
1094
+ DRIVERS_LICENSE = "DRIVERS_LICENSE"
1095
+ }
1096
+ export declare enum CoveredPersonType {
1097
+ CHILD = "CHILD",
1098
+ PARENT = "PARENT"
1099
+ }
1100
+ export declare enum CoveredPersonFileLabels {
1101
+ IDENTITY_FRONT = "IDENTITY_FRONT",
1102
+ IDENTITY_BACK = "IDENTITY_BACK",
1103
+ BAD_ACTOR_REPORT_FILE = "BAD_ACTOR_REPORT_FILE"
1104
+ }
1105
+ export declare enum IdentityFileLabels {
1106
+ IDENTITY_FRONT = "IDENTITY_FRONT",
1107
+ IDENTITY_BACK = "IDENTITY_BACK",
1108
+ PASSPORT = "PASSPORT"
1109
+ }
1110
+ export declare enum IssuerFileLabels {
1111
+ SS4_LETTER = "SS4_LETTER",
1112
+ FORMATION_DOCUMENT = "FORMATION_DOCUMENT",
1113
+ COVER_ART = "COVER_ART"
1114
+ }
1115
+ export declare enum OfferingFileLabels {
1116
+ MEMORANDUM = "MEMORANDUM",
1117
+ SUBSCRIPTION_AGREEMENT = "SUBSCRIPTION_AGREEMENT",
1118
+ COVER_ART = "COVER_ART",
1119
+ ESCROW_AGREEMENT = "ESCROW_AGREEMENT"
1120
+ }
1121
+ export declare enum SiteBrandingFileLabels {
1122
+ LOGO = "LOGO",
1123
+ FAVICON = "FAVICON",
1124
+ BACKGROUND_IMAGE = "BACKGROUND_IMAGE"
1125
+ }
1126
+ export declare enum TradeFileLables {
1127
+ TRADE_DOCUMENT = "TRADE_DOCUMENT"
1128
+ }
1129
+ export declare enum RetirementFileLabels {
1130
+ CUSTODIAN_INSTRUCTION_DOCUMENT = "CUSTODIAN_INSTRUCTION_DOCUMENT"
1131
+ }
1132
+ export declare enum AccreditationFileLabels {
1133
+ PROOF_OF_INCOME = "PROOF_OF_INCOME",
1134
+ PROOF_OF_NET_WORTH = "PROOF_OF_NET_WORTH",
1135
+ EMPLOYEE = "EMPLOYEE",
1136
+ TAX_RETURNS = "TAX_RETURNS",
1137
+ ACCOUNT_STATEMENT = "ACCOUNT_STATEMENT",
1138
+ ACCREDITATION_LETTER = "ACCREDITATION_LETTER",
1139
+ LICENSE = "LICENSE"
1140
+ }
1141
+ export declare enum OtherFileLabels {
1142
+ OTHER = "OTHER",
1143
+ COMPLIANCE_REQUEST = "COMPLIANCE_REQUEST",
1144
+ SUB_DOC = "SUB_DOC",
1145
+ CONTENT_FILE = "CONTENT_FILE",
1146
+ CSV_EXPORT_FILE = "CSV_EXPORT_FILE"
1147
+ }
1148
+ export declare const FileLabels: {
1149
+ readonly TRADE_DOCUMENT: TradeFileLables.TRADE_DOCUMENT;
1150
+ readonly IDENTITY_FRONT: IdentityFileLabels.IDENTITY_FRONT;
1151
+ readonly IDENTITY_BACK: IdentityFileLabels.IDENTITY_BACK;
1152
+ readonly PASSPORT: IdentityFileLabels.PASSPORT;
1153
+ readonly SS4_LETTER: IssuerFileLabels.SS4_LETTER;
1154
+ readonly FORMATION_DOCUMENT: IssuerFileLabels.FORMATION_DOCUMENT;
1155
+ readonly COVER_ART: IssuerFileLabels.COVER_ART;
1156
+ readonly MEMORANDUM: OfferingFileLabels.MEMORANDUM;
1157
+ readonly SUBSCRIPTION_AGREEMENT: OfferingFileLabels.SUBSCRIPTION_AGREEMENT;
1158
+ readonly ESCROW_AGREEMENT: OfferingFileLabels.ESCROW_AGREEMENT;
1159
+ readonly LOGO: SiteBrandingFileLabels.LOGO;
1160
+ readonly FAVICON: SiteBrandingFileLabels.FAVICON;
1161
+ readonly BACKGROUND_IMAGE: SiteBrandingFileLabels.BACKGROUND_IMAGE;
1162
+ readonly CUSTODIAN_INSTRUCTION_DOCUMENT: RetirementFileLabels.CUSTODIAN_INSTRUCTION_DOCUMENT;
1163
+ readonly OTHER: OtherFileLabels.OTHER;
1164
+ readonly COMPLIANCE_REQUEST: OtherFileLabels.COMPLIANCE_REQUEST;
1165
+ readonly SUB_DOC: OtherFileLabels.SUB_DOC;
1166
+ readonly CONTENT_FILE: OtherFileLabels.CONTENT_FILE;
1167
+ readonly CSV_EXPORT_FILE: OtherFileLabels.CSV_EXPORT_FILE;
1168
+ readonly BAD_ACTOR_REPORT_FILE: CoveredPersonFileLabels.BAD_ACTOR_REPORT_FILE;
1169
+ readonly PROOF_OF_INCOME: AccreditationFileLabels.PROOF_OF_INCOME;
1170
+ readonly PROOF_OF_NET_WORTH: AccreditationFileLabels.PROOF_OF_NET_WORTH;
1171
+ readonly EMPLOYEE: AccreditationFileLabels.EMPLOYEE;
1172
+ readonly TAX_RETURNS: AccreditationFileLabels.TAX_RETURNS;
1173
+ readonly ACCOUNT_STATEMENT: AccreditationFileLabels.ACCOUNT_STATEMENT;
1174
+ readonly ACCREDITATION_LETTER: AccreditationFileLabels.ACCREDITATION_LETTER;
1175
+ readonly LICENSE: AccreditationFileLabels.LICENSE;
1176
+ };
1177
+ export type FileLabels = (typeof FileLabels)[keyof typeof FileLabels];
1178
+ export declare const FileLabelsEnum: z.ZodEnum<[string, ...string[]]>;
1179
+ export declare enum TradeType {
1180
+ PURCHASE = "PURCHASE",
1181
+ CONVERSION = "CONVERSION",
1182
+ TRANSFER = "TRANSFER"
1183
+ }
1184
+ export declare enum TradeStatus {
1185
+ CART = "CART",
1186
+ PLACED = "PLACED",
1187
+ IN_REVIEW = "IN_REVIEW",
1188
+ NEEDS_INFO = "NEEDS_INFO",
1189
+ NEEDS_PAYMENT_INFO = "NEEDS_PAYMENT_INFO",
1190
+ FUNDING = "FUNDING",
1191
+ CANCELLED = "CANCELLED",
1192
+ SETTLED = "SETTLED",
1193
+ IMPORT_ERROR = "IMPORT_ERROR",
1194
+ ERROR = "ERROR",
1195
+ UPDATE_PAYMENT_METHOD = "UPDATE_PAYMENT_METHOD"
1196
+ }
1197
+ export declare enum SavedQuery {
1198
+ ERROR_REPORT = "ERROR_REPORT",
1199
+ STUCK_TRADES = "STUCK_TRADES"
1200
+ }
1201
+ export declare enum SystemReviewLogTrigger {
1202
+ AML_STATUS_UPDATE = "AML_STATUS_UPDATE",
1203
+ AIC_STATUS_UPDATE = "AIC_STATUS_UPDATE",
1204
+ INDIVIDUAL_UPDATE = "INDIVIDUAL_UPDATE",
1205
+ TRADE_STATUS_UPDATE = "TRADE_STATUS_UPDATE",
1206
+ KYC_STATUS_UPDATE = "KYC_STATUS_UPDATE",
1207
+ SUBDOC_STATUS_UPDATE = "SUBDOC_STATUS_UPDATE",
1208
+ VALIDATE_PLACED_TRADES_WORKER = "VALIDATE_PLACED_TRADES_WORKER"
1209
+ }
1210
+ export declare enum OfferingOnboardingStatus {
1211
+ IN_REVIEW = "IN_REVIEW",
1212
+ COMPLETE = "COMPLETED"
1213
+ }
1214
+ export declare enum ExchangeProvider {
1215
+ PPEX = "PPEX",
1216
+ PHOENIX = "PHOENIX",
1217
+ NORTHCAP = "NORTHCAP"
1218
+ }
1219
+ export declare enum RunnerType {
1220
+ WORKER = "WORKER",
1221
+ PIPELINE = "PIPELINE"
1222
+ }
1223
+ export declare enum PublicDataType {
1224
+ DATA_ROOM = "DATA_ROOM",
1225
+ PAGE = "PAGE",
1226
+ OFFERING = "OFFERING"
1227
+ }
1228
+ export declare enum TrustedContactRelationship {
1229
+ SIBLING = "SIBLING",
1230
+ GUARDIAN = "GUARDIAN",
1231
+ CHILD = "CHILD",
1232
+ FRIEND = "FRIEND",
1233
+ OTHER = "OTHER"
1234
+ }
1235
+ export declare enum FileStatus {
1236
+ PENDING = "PENDING",
1237
+ ERROR = "ERROR",
1238
+ VALID = "VALID",
1239
+ INVALID = "INVALID",
1240
+ NOT_PROCESSED = "NOT_PROCESSED",
1241
+ PROCESSING = "PROCESSING",
1242
+ PROCESSING_ERROR = "PROCESSING_ERROR",
1243
+ REVIEW_ERROR = "REVIEW_ERROR",
1244
+ PROCESSED = "PROCESSED"
1245
+ }
1246
+ export declare enum SystemReviewStatus {
1247
+ PENDING = "PENDING",
1248
+ NEEDS_INFO = "NEEDS_INFO",
1249
+ READY_TO_APPROVE = "READY_TO_APPROVE",
1250
+ NEEDS_REVIEW = "NEEDS_REVIEW",
1251
+ APPROVED = "APPROVED",
1252
+ REJECTED = "REJECTED"
1253
+ }
1254
+ export declare enum FilingStatus {
1255
+ SINGLE = "SINGLE",
1256
+ JOINT = "JOINT"
1257
+ }
1258
+ export declare enum AccountType {
1259
+ CHECKING = "CHECKING",
1260
+ SAVINGS = "SAVINGS",
1261
+ BROKERAGE = "BROKERAGE",
1262
+ REAL_ESTATE = "REAL_ESTATE",
1263
+ OTHER = "OTHER"
1264
+ }
1265
+ export declare enum SourceOfIncome {
1266
+ EMPLOYED = "EMPLOYED",
1267
+ SELF_EMPLOYED = "SELF_EMPLOYED",
1268
+ UNEMPLOYED = "UNEMPLOYED",
1269
+ RETIREMENT = "RETIREMENT",
1270
+ STUDENT = "STUDENT"
1271
+ }
1272
+ export declare enum DateField {
1273
+ RAW_ORDER_CREATED_DATE = "rawOrder.createdDate",
1274
+ RAW_TRADE_CREATED_DATE = "rawTrade.createdDate",
1275
+ CREATED_AT = "createdAt"
1276
+ }
1277
+ export declare const DateFieldMap: {
1278
+ "rawOrder.createdDate": string;
1279
+ "rawTrade.createdDate": string;
1280
+ createdAt: string;
1281
+ };
1282
+ /**
1283
+ * Event fields represent database entity columns that can be changed using status.changed events.
1284
+ * These enum values correspond to actual column names in various database entities
1285
+ * and are used to track field-level changes in the system's activity logging.
1286
+ */
1287
+ export declare enum EventField {
1288
+ STATUS = "status",
1289
+ TRADE_STATUS = "tradeStatus",
1290
+ FUNDING_STATUS = "fundingStatus",
1291
+ COMPLIANCE_REVIEW = "complianceReview",
1292
+ SYSTEM_REVIEW_CHECK = "systemReviewCheck",
1293
+ SYSTEM_REVIEW = "systemReview",
1294
+ KYC_STATUS = "kycStatus",
1295
+ AML_STATUS = "amlStatus",
1296
+ AIC_STATUS = "aicStatus",
1297
+ SA_STATUS = "saStatus",
1298
+ ONBOARDING_STATUS = "onboardingStatus",
1299
+ TRANSACTION_STATUS = "transactionStatus",
1300
+ ACTIVE = "active",
1301
+ LOCKED = "locked",
1302
+ SOLD_OUT = "soldOut"
1303
+ }
1304
+ export declare enum EventName {
1305
+ STATUS_CHANGED = "status.changed",
1306
+ UPDATE_FIELD = "update.field",
1307
+ ACTION_PERFORMED = "action.performed",
1308
+ PENDING_OVERDUE_TRADES_ALERT = "pending_overdue.trades.alert",
1309
+ IN_REVIEW_TRADES_ALERT = "trade.inreview.alert",
1310
+ INDIVIDUAL_AML_STATUS_CHANGED = "individual.aml_status.changed",
1311
+ ISSUER_CREATED = "issuer.created"
1312
+ }
1313
+ export declare enum TransactionStatus {
1314
+ PENDING = "PENDING",
1315
+ CHARGED = "CHARGED",
1316
+ APPROVED = "APPROVED",
1317
+ SETTLED = "SETTLED",
1318
+ REFUNDED = "REFUNDED",
1319
+ CANCELLED = "CANCELLED",
1320
+ DECLINED = "DECLINED",
1321
+ FAILED = "FAILED",
1322
+ AUTHORIZING = "AUTHORIZING",
1323
+ FUNDING = "FUNDING",
1324
+ PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
1325
+ VOIDED = "VOIDED"
1326
+ }
1327
+ export declare enum TransactionType {
1328
+ CHARGE = "CHARGE",
1329
+ REFUND = "REFUND",
1330
+ ADJUSTMENT = "ADJUSTMENT"
1331
+ }
1332
+ export declare const dateSchema: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>;
1333
+ /**
1334
+ * Creates a Zod schema for parsing and transforming date strings in MM/DD/YYYY format.
1335
+ * The schema accepts a parameter to determine if the date should be formatted as the start or end of the day.
1336
+ * - If param is 'START', the time is set to 00:00:00.000 (local, no timezone effect).
1337
+ * - If param is 'END', the time is set to 23:59:59.999 (local, no timezone effect).
1338
+ * - Otherwise, the time is set to 00:00:00.000.
1339
+ * The returned value is a Date object or null.
1340
+ */
1341
+ export declare const createDateSchema: (param?: "START" | "END") => z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>;
1342
+ /**
1343
+ * Default dateSchema (no param) for backward compatibility.
1344
+ */
1345
+ export declare const dateSchemaWithParam: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>;
1346
+ export declare enum IssuerOnboardingSetupType {
1347
+ OFFERING = "OFFERING",
1348
+ INVESTOR_PORTAL = "INVESTOR_PORTAL",
1349
+ PAYMENT_METHOD = "PAYMENT_METHOD",
1350
+ ACCOUNT_CONTACTS = "ACCOUNT_CONTACTS"
1351
+ }
1352
+ export declare enum ThemeScope {
1353
+ ACCOUNT = "ACCOUNT",
1354
+ SYSTEM = "SYSTEM"
1355
+ }
1356
+ /**
1357
+ * The configuration for the target tables. Used in Notes, Files, and Activities
1358
+ * All tables that need to be targeted should be added here.
1359
+ * to determine the target table from the target ID.
1360
+ * TODO: UPDATE WITH MORE TABLES
1361
+ * CHANGES HERE WILL REQUIRE A MIGRATION
1362
+ */
1363
+ export declare const TargetTableConfig: {
1364
+ readonly KYCS: {
1365
+ readonly table: "kycs";
1366
+ readonly idPrefix: "kyc";
1367
+ };
1368
+ readonly AMLS: {
1369
+ readonly table: "amls";
1370
+ readonly idPrefix: "aml";
1371
+ };
1372
+ readonly AICS: {
1373
+ readonly table: "aics";
1374
+ readonly idPrefix: "aic";
1375
+ };
1376
+ readonly KYBS: {
1377
+ readonly table: "kybs";
1378
+ readonly idPrefix: "kyb";
1379
+ };
1380
+ readonly INDIVIDUALS: {
1381
+ readonly table: "individuals";
1382
+ readonly idPrefix: "individual";
1383
+ };
1384
+ readonly LEGAL_ENTITIES: {
1385
+ readonly table: "legal_entities";
1386
+ readonly idPrefix: "legal_entity";
1387
+ };
1388
+ readonly INVESTOR_ACCOUNTS: {
1389
+ readonly table: "investor_accounts";
1390
+ readonly idPrefix: "investor_account";
1391
+ };
1392
+ readonly TRADES: {
1393
+ readonly table: "trades";
1394
+ readonly idPrefix: "trade";
1395
+ };
1396
+ readonly OFFERINGS: {
1397
+ readonly table: "offerings";
1398
+ readonly idPrefix: "offering";
1399
+ };
1400
+ readonly ISSUERS: {
1401
+ readonly table: "issuers";
1402
+ readonly idPrefix: "issuer";
1403
+ };
1404
+ readonly COVERED_PERSONS: {
1405
+ readonly table: "covered_persons";
1406
+ readonly idPrefix: "covered_person";
1407
+ };
1408
+ readonly PAYMENT_METHODS: {
1409
+ readonly table: "payment_methods";
1410
+ readonly idPrefix: "payment_method";
1411
+ };
1412
+ readonly NOTES: {
1413
+ readonly table: "notes";
1414
+ readonly idPrefix: "note";
1415
+ };
1416
+ readonly USERS: {
1417
+ readonly table: "users";
1418
+ readonly idPrefix: "user";
1419
+ };
1420
+ readonly ACCOUNTS: {
1421
+ readonly table: "accounts";
1422
+ readonly idPrefix: "account";
1423
+ };
1424
+ readonly PAGES: {
1425
+ readonly table: "pages";
1426
+ readonly idPrefix: "page";
1427
+ };
1428
+ readonly TASKS: {
1429
+ readonly table: "tasks";
1430
+ readonly idPrefix: "task";
1431
+ };
1432
+ readonly FILES: {
1433
+ readonly table: "files";
1434
+ readonly idPrefix: "file";
1435
+ };
1436
+ readonly DATA_RECORD_FILES: {
1437
+ readonly table: "data_record_files";
1438
+ readonly idPrefix: "data_record_file";
1439
+ };
1440
+ readonly ASSETS: {
1441
+ readonly table: "assets";
1442
+ readonly idPrefix: "asset";
1443
+ };
1444
+ readonly SITES: {
1445
+ readonly table: "sites";
1446
+ readonly idPrefix: "site";
1447
+ };
1448
+ readonly PAGE_REVISIONS: {
1449
+ readonly table: "page_revisions";
1450
+ readonly idPrefix: "page_revision";
1451
+ };
1452
+ readonly TRADE_LINE_ITEMS: {
1453
+ readonly table: "trade_line_items";
1454
+ readonly idPrefix: "trade_line_item";
1455
+ };
1456
+ readonly TRANSACTIONS: {
1457
+ readonly table: "transactions";
1458
+ readonly idPrefix: "transaction";
1459
+ };
1460
+ readonly DISBURSEMENTS: {
1461
+ readonly table: "disbursements";
1462
+ readonly idPrefix: "disbursement";
1463
+ };
1464
+ readonly DISBURSEMENT_REVIEWS: {
1465
+ readonly table: "disbursement_reviews";
1466
+ readonly idPrefix: "disbursement_review";
1467
+ };
1468
+ readonly ISSUER_PAYMENT_METHODS: {
1469
+ readonly table: "issuer_payment_methods";
1470
+ readonly idPrefix: "issuer_payment_method";
1471
+ };
1472
+ readonly SIGNER_BRANDS: {
1473
+ readonly table: "signer_brands";
1474
+ readonly idPrefix: "signer_brand";
1475
+ };
1476
+ readonly THEMES: {
1477
+ readonly table: "themes";
1478
+ readonly idPrefix: "theme";
1479
+ };
1480
+ readonly THEME_SETTINGS: {
1481
+ readonly table: "theme_settings";
1482
+ readonly idPrefix: "theme_setting";
1483
+ };
1484
+ readonly CAP_TABLES: {
1485
+ readonly table: "cap_tables";
1486
+ readonly idPrefix: "cap_table";
1487
+ };
1488
+ readonly CAP_TABLE_SHARE_CLASSES: {
1489
+ readonly table: "cap_table_share_classes";
1490
+ readonly idPrefix: "cap_table_share_class";
1491
+ };
1492
+ readonly CAP_TABLE_ENTRIES: {
1493
+ readonly table: "cap_table_entries";
1494
+ readonly idPrefix: "cap_table_entry";
1495
+ };
1496
+ readonly EMAIL_THEMES: {
1497
+ readonly table: "email_themes";
1498
+ readonly idPrefix: "email_theme";
1499
+ };
1500
+ readonly EMAIL_THEME_SETTINGS: {
1501
+ readonly table: "email_theme_settings";
1502
+ readonly idPrefix: "email_theme_setting";
1503
+ };
1504
+ };
1505
+ export type TargetTableType = keyof typeof TargetTableConfig;
1506
+ export declare const TargetTableEnum: [TargetTableType, ...TargetTableType[]];
1507
+ /**
1508
+ * Get the target table name from a target ID.
1509
+ * @param targetId - The target ID to get the table name for.
1510
+ * @returns The target table name or null if the target ID is invalid.
1511
+ */
1512
+ export declare function getTargetTableFromId(targetId: string): string | null;
1513
+ export declare enum UrlClassification {
1514
+ BASE64 = "BASE64",
1515
+ REGULAR = "REGULAR",
1516
+ INVALID = "INVALID"
1517
+ }
1518
+ export declare enum OfferingVersioningType {
1519
+ PUBLISHED = "PUBLISHED",
1520
+ DRAFT = "DRAFT"
1521
+ }
1522
+ /**
1523
+ * Get the target table type from a target ID.
1524
+ * @param targetId - The target ID to get the table type for.
1525
+ * @returns The target table type or null if the target ID is invalid.
1526
+ */
1527
+ export declare function getTargetTableTypeFromId(targetId: string): TargetTableType | null;
1528
+ export declare const REDACTED = "[REDACTED]";
1529
+ /**
1530
+ * Zod schema for validating and normalizing URLs.
1531
+ *
1532
+ * This schema ensures that the URL is valid and normalizes it by removing the protocol (http/https)
1533
+ * and any path after the main domain.
1534
+ *
1535
+ * @example
1536
+ * UrlSchema.parse('https://www.example.com'); // Valid URL, normalized to 'www.example.com'
1537
+ * UrlSchema.parse('abc.example.org'); // Valid URL, normalized to 'abc.example.org'
1538
+ * UrlSchema.parse('https://subdomain.example.co.uk/path'); // Valid URL, normalized to 'subdomain.example.co.uk'
1539
+ * UrlSchema.parse('ftp://example.com'); // Throws validation error
1540
+ * UrlSchema.parse('invalid-url'); // Throws validation error
1541
+ */
1542
+ export declare const createUrlSchema: (options?: {
1543
+ strict?: boolean;
1544
+ }) => z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1545
+ export declare const UrlSchema: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1546
+ /**
1547
+ * Zod schema for validating subdomains.
1548
+ *
1549
+ * This schema ensures that the subdomain contains only alphanumeric characters and hyphens,
1550
+ * does not start or end with a hyphen, and follows standard subdomain naming conventions.
1551
+ *
1552
+ * @example
1553
+ * SubdomainSchema.parse('my-site'); // Valid subdomain
1554
+ * SubdomainSchema.parse('123test'); // Valid subdomain
1555
+ * SubdomainSchema.parse('my_site'); // Throws validation error (underscore not allowed)
1556
+ * SubdomainSchema.parse('-mysite'); // Throws validation error (cannot start with hyphen)
1557
+ * SubdomainSchema.parse('mysite-'); // Throws validation error (cannot end with hyphen)
1558
+ */
1559
+ export declare const SubdomainSchema: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1560
+ /**
1561
+ * Zod schema for validating domain names without subdomains.
1562
+ *
1563
+ * This schema ensures the domain is in a valid format (example.com) without subdomains.
1564
+ *
1565
+ * @example
1566
+ * DomainSchema.parse('example.com'); // Valid domain
1567
+ * DomainSchema.parse('subdomain.example.com'); // Throws validation error
1568
+ */
1569
+ export declare const DomainSchema: z.ZodEffects<z.ZodString, string, string>;
1570
+ /**
1571
+ * Zod schema for validating hex color codes (with optional alpha/transparency).
1572
+ *
1573
+ * This schema allows hex codes with or without a leading '#', and accepts 3, 4, 6, 7, or 8 hex digits (e.g., #RRGGBB, #RRGGBBA, #RRGGBBAA, #RGB, #RGBA, #XXXXXXX).
1574
+ * The 7-digit form (e.g., #RRGGBBA) is supported to allow for transparency/alpha values at the end.
1575
+ * It also trims whitespace and lowercases the value.
1576
+ *
1577
+ * @example
1578
+ * HexCodeColorSchema.parse('#FF0000'); // Valid hex code
1579
+ * HexCodeColorSchema.parse('FF0000'); // Valid hex code
1580
+ * HexCodeColorSchema.parse('#F00'); // Valid hex code
1581
+ * HexCodeColorSchema.parse('F00'); // Valid hex code
1582
+ * HexCodeColorSchema.parse('#FF000080'); // Valid hex code (with alpha)
1583
+ * HexCodeColorSchema.parse('#D9D9D14'); // Valid hex code (7 digits, with transparency)
1584
+ * HexCodeColorSchema.parse(' #abc '); // Valid hex code, returns '#abc'
1585
+ * HexCodeColorSchema.parse('#XYZ'); // Throws validation error
1586
+ */
1587
+ export declare const HexCodeColorSchema: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1588
+ export declare const WithCoverArtUrl: z.ZodObject<{
1589
+ coverArtUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1590
+ }, "strip", z.ZodTypeAny, {
1591
+ coverArtUrl?: string | null | undefined;
1592
+ }, {
1593
+ coverArtUrl?: string | null | undefined;
1594
+ }>;
1595
+ export declare const UNKNOWN = "unknown";
1596
+ export declare enum UserManualType {
1597
+ FAQ = "FAQ",
1598
+ USER_MANUAL = "USER_MANUAL"
1599
+ }
1600
+ export declare enum BulkExportType {
1601
+ INVESTOR_ACCOUNTS = "INVESTOR_ACCOUNTS",
1602
+ TRADES = "TRADES",
1603
+ COMPLIANCE_TRADES = "COMPLIANCE_TRADES",
1604
+ SECONDARY_CUSTOMERS = "SECONDARY_CUSTOMERS",
1605
+ SECONDARY_TRADES = "SECONDARY_TRADES"
1606
+ }
1607
+ export declare const SubmitIssuerOfferingError: z.ZodObject<{
1608
+ field: z.ZodString;
1609
+ message: z.ZodString;
1610
+ id: z.ZodOptional<z.ZodString>;
1611
+ }, "strip", z.ZodTypeAny, {
1612
+ message: string;
1613
+ field: string;
1614
+ id?: string | undefined;
1615
+ }, {
1616
+ message: string;
1617
+ field: string;
1618
+ id?: string | undefined;
1619
+ }>;
1620
+ export type SubmitIssuerOfferingError = z.infer<typeof SubmitIssuerOfferingError>;
1621
+ export declare const ErrorResponseZod: z.ZodObject<{
1622
+ valid: z.ZodBoolean;
1623
+ errors: z.ZodArray<z.ZodObject<{
1624
+ field: z.ZodString;
1625
+ message: z.ZodString;
1626
+ id: z.ZodOptional<z.ZodString>;
1627
+ }, "strip", z.ZodTypeAny, {
1628
+ message: string;
1629
+ field: string;
1630
+ id?: string | undefined;
1631
+ }, {
1632
+ message: string;
1633
+ field: string;
1634
+ id?: string | undefined;
1635
+ }>, "many">;
1636
+ }, "strip", z.ZodTypeAny, {
1637
+ valid: boolean;
1638
+ errors: {
1639
+ message: string;
1640
+ field: string;
1641
+ id?: string | undefined;
1642
+ }[];
1643
+ }, {
1644
+ valid: boolean;
1645
+ errors: {
1646
+ message: string;
1647
+ field: string;
1648
+ id?: string | undefined;
1649
+ }[];
1650
+ }>;
1651
+ export type ErrorResponseZod = z.infer<typeof ErrorResponseZod>;
1652
+ /**
1653
+ * A Zod schema that preprocesses a value to convert it to a number if it is a string.
1654
+ * If the value is a string, it attempts to parse it as a float. If parsing fails, it returns `undefined`.
1655
+ * If the value is already a number, it is returned as is.
1656
+ *
1657
+ * @example
1658
+ * numberFromStringOrNumber.parse("123.45"); // returns 123.45
1659
+ * numberFromStringOrNumber.parse(123.45); // returns 123.45
1660
+ * numberFromStringOrNumber.parse("abc"); // throws a ZodError
1661
+ *
1662
+ * @type {ZodSchema<number>}
1663
+ */
1664
+ export declare const numberFromStringOrNumber: (fieldName: string) => z.ZodEffects<z.ZodNumber, number, unknown>;
1665
+ /**
1666
+ * Creates a Zod schema for transforming number values to a specified decimal precision.
1667
+ * Transforms the number to exactly the specified decimal places without validation.
1668
+ * Accepts a base number schema with constraints (e.g., .positive(), .max()) and applies precision transformation.
1669
+ *
1670
+ * @param precision - The number of decimal places to enforce. Defaults to 2.
1671
+ * @param baseSchema - Optional base number schema with constraints. Defaults to z.number().
1672
+ * @returns A Zod schema that transforms numbers to the specified decimal precision.
1673
+ *
1674
+ * @example
1675
+ * numberPrecisionSchema(2).parse(123.456); // returns 123.46 (transformed)
1676
+ * numberPrecisionSchema(2).parse(123.45); // returns 123.45
1677
+ * numberPrecisionSchema(2).parse(123.4); // returns 123.40 (transformed)
1678
+ * numberPrecisionSchema(3, z.number().positive().max(1000)).parse(500.9999); // returns 501.000 (transformed)
1679
+ * numberPrecisionSchema(2, z.number().positive().max(1000)).parse(500.99); // returns 500.99
1680
+ */
1681
+ export declare const numberPrecisionSchema: (precision?: number, baseSchema?: z.ZodNumber) => z.ZodEffects<z.ZodNumber, number, number>;
1682
+ /**
1683
+ * Convenience function for 2 decimal precision (backward compatibility).
1684
+ * @deprecated Use numberPrecisionSchema(2) instead.
1685
+ */
1686
+ export declare const amountPrecision2Schema: (baseSchema?: z.ZodNumber) => z.ZodEffects<z.ZodNumber, number, number>;
1687
+ export declare enum RetirementAccountType {
1688
+ SELF_DIRECTED = "SELF_DIRECTED",
1689
+ CUSTODIAN_MANAGED = "CUSTODIAN_MANAGED"
1690
+ }
1691
+ export declare enum EmploymentStatus {
1692
+ EMPLOYED = "EMPLOYED",
1693
+ UNEMPLOYED = "UNEMPLOYED",
1694
+ SELF_EMPLOYED = "SELF_EMPLOYED",
1695
+ RETIRED = "RETIRED",
1696
+ STUDENT = "STUDENT",
1697
+ OTHER = "OTHER"
1698
+ }
1699
+ export declare const dateSchemaWithNormalization: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>, Date | null, string | null>;
1700
+ export declare const DateRangeFiltersZod: z.ZodObject<{
1701
+ from: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1702
+ to: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1703
+ }, "strip", z.ZodTypeAny, {
1704
+ from?: Date | null | undefined;
1705
+ to?: Date | null | undefined;
1706
+ }, {
1707
+ from?: string | null | undefined;
1708
+ to?: string | null | undefined;
1709
+ }>;
1710
+ export declare const metadataSchema: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
1711
+ user_defined_data: any;
1712
+ expected: any;
1713
+ } | null, string>;
1714
+ export declare const LogContextZod: z.ZodObject<{
1715
+ queueName: z.ZodString;
1716
+ jobId: z.ZodString;
1717
+ jobName: z.ZodString;
1718
+ shouldAlert: z.ZodOptional<z.ZodBoolean>;
1719
+ }, "strip", z.ZodTypeAny, {
1720
+ queueName: string;
1721
+ jobId: string;
1722
+ jobName: string;
1723
+ shouldAlert?: boolean | undefined;
1724
+ }, {
1725
+ queueName: string;
1726
+ jobId: string;
1727
+ jobName: string;
1728
+ shouldAlert?: boolean | undefined;
1729
+ }>;
1730
+ export type LogContext = z.infer<typeof LogContextZod>;
1731
+ /**
1732
+ * Maps all documented Cloudflare Turnstile error codes to their corresponding HTTP status and user-friendly message.
1733
+ *
1734
+ * @see {@link https://developers.cloudflare.com/turnstile/get-started/server-side-validation/ Cloudflare Turnstile Server-side Validation}
1735
+ */
1736
+ export declare const errorMap: Record<string, {
1737
+ status: HttpStatus;
1738
+ message: string;
1739
+ }>;
1740
+ export declare enum BaseContactUsOptions {
1741
+ ISSUER = "ISSUER",
1742
+ TECHNICAL_SUPPORT = "TECHNICAL_SUPPORT",
1743
+ SALES = "SALES",
1744
+ ACCOUNT_MANAGER = "ACCOUNT_MANAGER"
1745
+ }
1746
+ export declare enum SortOrder {
1747
+ ASC = "ASC",
1748
+ DESC = "DESC"
1749
+ }
1750
+ export declare enum SortBy {
1751
+ CREATED_AT = "created_at",
1752
+ UPDATED_AT = "updated_at",
1753
+ PLACEDAT = "placedAt",
1754
+ NAME = "name",
1755
+ TITLE = "title",
1756
+ LEGAL_NAME = "legal_name"
1757
+ }
1758
+ export declare enum PersonaStatus {
1759
+ APPROVED = "approved",
1760
+ ACTIVE = "active",
1761
+ CREATED = "created",
1762
+ COMPLETED = "completed",
1763
+ DRAFT = "draft",
1764
+ DECLINED = "declined",
1765
+ EXPIRED = "expired",
1766
+ FAILED = "failed",
1767
+ NEEDS_REVIEW = "needs_review",
1768
+ PUBLISHED = "published",
1769
+ PENDING = "pending",
1770
+ REDACTED = "redacted"
1771
+ }
1772
+ export declare enum AMLProvider {
1773
+ COMPLY_ADVANTAGE = "ComplyAdvantage"
1774
+ }
1775
+ export declare enum ThemeFileType {
1776
+ LIGHT = "light",
1777
+ DARK = "dark"
1778
+ }
1779
+ /**
1780
+ * Common timezone identifiers using IANA timezone database format.
1781
+ * These are the most commonly used timezones in business applications.
1782
+ */
1783
+ export declare enum TimeZone {
1784
+ UTC = "UTC",
1785
+ PACIFIC = "America/Los_Angeles",
1786
+ MOUNTAIN = "America/Denver",
1787
+ CENTRAL = "America/Chicago",
1788
+ EASTERN = "America/New_York",
1789
+ LONDON = "Europe/London",
1790
+ PARIS = "Europe/Paris",
1791
+ BERLIN = "Europe/Berlin",
1792
+ ROME = "Europe/Rome",
1793
+ MADRID = "Europe/Madrid",
1794
+ AMSTERDAM = "Europe/Amsterdam",
1795
+ ZURICH = "Europe/Zurich",
1796
+ TOKYO = "Asia/Tokyo",
1797
+ SHANGHAI = "Asia/Shanghai",
1798
+ HONG_KONG = "Asia/Hong_Kong",
1799
+ SINGAPORE = "Asia/Singapore",
1800
+ MUMBAI = "Asia/Kolkata",
1801
+ DUBAI = "Asia/Dubai",
1802
+ SYDNEY = "Australia/Sydney",
1803
+ MELBOURNE = "Australia/Melbourne",
1804
+ SAO_PAULO = "America/Sao_Paulo",
1805
+ TORONTO = "America/Toronto",
1806
+ VANCOUVER = "America/Vancouver"
1807
+ }
1808
+ export declare const SenderDataZod: z.ZodObject<{
1809
+ senderName: z.ZodNullable<z.ZodString>;
1810
+ senderEmail: z.ZodNullable<z.ZodString>;
1811
+ }, "strip", z.ZodTypeAny, {
1812
+ senderName: string | null;
1813
+ senderEmail: string | null;
1814
+ }, {
1815
+ senderName: string | null;
1816
+ senderEmail: string | null;
1817
+ }>;
1818
+ export type SenderDataZod = z.infer<typeof SenderDataZod>;
1819
+ export declare enum JobState {
1820
+ COMPLETED = "completed",
1821
+ FAILED = "failed",
1822
+ WAITING = "waiting",
1823
+ ACTIVE = "active",
1824
+ DELAYED = "delayed",
1825
+ PRIORITIZED = "prioritized",
1826
+ WAITING_CHILDREN = "waiting-children"
1827
+ }
1828
+ export declare const SUBJECT_TYPE_MAP: Record<BulkExportType, string>;
1829
+ export declare const StringToBooleanSchema: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
1830
+ export type StringToBooleanSchema = z.infer<typeof StringToBooleanSchema>;
1831
+ /**
1832
+ * Reusable email schema that validates email format, transforms to lowercase,
1833
+ * and includes OpenAPI metadata.
1834
+ *
1835
+ * @example
1836
+ * EmailSchema.parse('John.Doe@EXAMPLE.COM'); // returns 'john.doe@example.com'
1837
+ * EmailSchema.optional().parse(undefined); // returns undefined
1838
+ */
1839
+ export declare const EmailSchema: z.ZodEffects<z.ZodString, string, string>;
1840
+ export declare enum WarrantSharesCalculationMethod {
1841
+ NONE = "NONE",
1842
+ PRORATA = "PRORATA",
1843
+ INCREMENT = "INCREMENT"
1844
+ }
1845
+ export declare enum OfferingStatus {
1846
+ ONBOARDING = "ONBOARDING",
1847
+ IN_REVIEW = "IN_REVIEW",
1848
+ ACTIVE = "ACTIVE",
1849
+ PAUSED = "PAUSED",
1850
+ CLOSED = "CLOSED"
1851
+ }
1852
+ export {};