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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (713) hide show
  1. package/README.md +23 -19
  2. package/common/helpers/index.d.ts +50 -0
  3. package/common/helpers/index.js +136 -0
  4. package/common/helpers/index.js.map +1 -0
  5. package/common/types/account-contact.types.d.ts +485 -0
  6. package/common/types/account-contact.types.js +75 -0
  7. package/common/types/account-contact.types.js.map +1 -0
  8. package/common/types/account-detail.types.d.ts +304 -0
  9. package/common/types/account-detail.types.js +20 -0
  10. package/common/types/account-detail.types.js.map +1 -0
  11. package/common/types/account-integration.types.d.ts +242 -0
  12. package/common/types/account-integration.types.js +121 -0
  13. package/common/types/account-integration.types.js.map +1 -0
  14. package/common/types/account-manager.types.d.ts +917 -0
  15. package/common/types/account-manager.types.js +89 -0
  16. package/common/types/account-manager.types.js.map +1 -0
  17. package/common/types/account-setting.types.d.ts +140 -0
  18. package/common/types/account-setting.types.js +23 -0
  19. package/common/types/account-setting.types.js.map +1 -0
  20. package/common/types/account.types.d.ts +640 -0
  21. package/common/types/account.types.js +218 -0
  22. package/common/types/account.types.js.map +1 -0
  23. package/common/types/activity.types.d.ts +590 -0
  24. package/common/types/activity.types.js +258 -0
  25. package/common/types/activity.types.js.map +1 -0
  26. package/common/types/address.types.d.ts +89 -0
  27. package/common/types/address.types.js +36 -0
  28. package/common/types/address.types.js.map +1 -0
  29. package/common/types/aic.types.d.ts +434 -0
  30. package/common/types/aic.types.js +170 -0
  31. package/common/types/aic.types.js.map +1 -0
  32. package/common/types/aml.types.d.ts +41 -0
  33. package/common/types/aml.types.js +16 -0
  34. package/common/types/aml.types.js.map +1 -0
  35. package/common/types/api-key-logs.types.d.ts +204 -0
  36. package/common/types/api-key-logs.types.js +52 -0
  37. package/common/types/api-key-logs.types.js.map +1 -0
  38. package/common/types/api-keys.types.d.ts +192 -0
  39. package/common/types/api-keys.types.js +57 -0
  40. package/common/types/api-keys.types.js.map +1 -0
  41. package/common/types/asset.types.d.ts +1100 -0
  42. package/common/types/asset.types.js +353 -0
  43. package/common/types/asset.types.js.map +1 -0
  44. package/common/types/auth.types.d.ts +523 -0
  45. package/common/types/auth.types.js +280 -0
  46. package/common/types/auth.types.js.map +1 -0
  47. package/common/types/batch-jobs.types.d.ts +321 -0
  48. package/common/types/batch-jobs.types.js +111 -0
  49. package/common/types/batch-jobs.types.js.map +1 -0
  50. package/common/types/bonus-tier.types.d.ts +991 -0
  51. package/common/types/bonus-tier.types.js +166 -0
  52. package/common/types/bonus-tier.types.js.map +1 -0
  53. package/common/types/cap-table.types.d.ts +1248 -0
  54. package/common/types/cap-table.types.js +437 -0
  55. package/common/types/cap-table.types.js.map +1 -0
  56. package/common/types/cart.types.d.ts +28 -0
  57. package/common/types/cart.types.js +19 -0
  58. package/common/types/cart.types.js.map +1 -0
  59. package/common/types/checklist-items.types.d.ts +195 -0
  60. package/common/types/checklist-items.types.js +54 -0
  61. package/common/types/checklist-items.types.js.map +1 -0
  62. package/common/types/checklist.types.d.ts +140 -0
  63. package/common/types/checklist.types.js +71 -0
  64. package/common/types/checklist.types.js.map +1 -0
  65. package/common/types/common.types.d.ts +1851 -0
  66. package/common/types/common.types.js +1501 -0
  67. package/common/types/common.types.js.map +1 -0
  68. package/common/types/comply-advantage-api.types.d.ts +3626 -0
  69. package/common/types/comply-advantage-api.types.js +291 -0
  70. package/common/types/comply-advantage-api.types.js.map +1 -0
  71. package/common/types/comply-advantage.types.d.ts +48 -0
  72. package/common/types/comply-advantage.types.js +21 -0
  73. package/common/types/comply-advantage.types.js.map +1 -0
  74. package/common/types/contact-us.types.d.ts +126 -0
  75. package/common/types/contact-us.types.js +91 -0
  76. package/common/types/contact-us.types.js.map +1 -0
  77. package/common/types/countries.types.d.ts +77 -0
  78. package/common/types/countries.types.js +349 -0
  79. package/common/types/countries.types.js.map +1 -0
  80. package/common/types/covered-person.types.d.ts +204 -0
  81. package/common/types/covered-person.types.js +234 -0
  82. package/common/types/covered-person.types.js.map +1 -0
  83. package/common/types/csv.types.d.ts +1557 -0
  84. package/common/types/csv.types.js +154 -0
  85. package/common/types/csv.types.js.map +1 -0
  86. package/common/types/dashboard.types.d.ts +2086 -0
  87. package/common/types/dashboard.types.js +690 -0
  88. package/common/types/dashboard.types.js.map +1 -0
  89. package/common/types/data-record.types.d.ts +347 -0
  90. package/common/types/data-record.types.js +261 -0
  91. package/common/types/data-record.types.js.map +1 -0
  92. package/common/types/data-room.types.d.ts +1277 -0
  93. package/common/types/data-room.types.js +167 -0
  94. package/common/types/data-room.types.js.map +1 -0
  95. package/common/types/default-theme-config.types.d.ts +445 -0
  96. package/common/types/default-theme-config.types.js +63 -0
  97. package/common/types/default-theme-config.types.js.map +1 -0
  98. package/common/types/disbursement-adjustment.types.d.ts +21 -0
  99. package/common/types/disbursement-adjustment.types.js +25 -0
  100. package/common/types/disbursement-adjustment.types.js.map +1 -0
  101. package/common/types/disbursement-approval-user.types.d.ts +935 -0
  102. package/common/types/disbursement-approval-user.types.js +68 -0
  103. package/common/types/disbursement-approval-user.types.js.map +1 -0
  104. package/common/types/disbursement-review.types.d.ts +923 -0
  105. package/common/types/disbursement-review.types.js +76 -0
  106. package/common/types/disbursement-review.types.js.map +1 -0
  107. package/common/types/disbursement-transaction.types.d.ts +621 -0
  108. package/common/types/disbursement-transaction.types.js +51 -0
  109. package/common/types/disbursement-transaction.types.js.map +1 -0
  110. package/common/types/disbursements.types.d.ts +3496 -0
  111. package/common/types/disbursements.types.js +435 -0
  112. package/common/types/disbursements.types.js.map +1 -0
  113. package/common/types/domain-filter.types.d.ts +135 -0
  114. package/common/types/domain-filter.types.js +40 -0
  115. package/common/types/domain-filter.types.js.map +1 -0
  116. package/common/types/email-theme.types.d.ts +1359 -0
  117. package/common/types/email-theme.types.js +318 -0
  118. package/common/types/email-theme.types.js.map +1 -0
  119. package/common/types/entity.types.d.ts +21 -0
  120. package/common/types/entity.types.js +14 -0
  121. package/common/types/entity.types.js.map +1 -0
  122. package/common/types/error-responses.types.d.ts +144 -0
  123. package/common/types/error-responses.types.js +125 -0
  124. package/common/types/error-responses.types.js.map +1 -0
  125. package/common/types/escrow-account.types.d.ts +415 -0
  126. package/common/types/escrow-account.types.js +78 -0
  127. package/common/types/escrow-account.types.js.map +1 -0
  128. package/common/types/exchange-api-key.types.d.ts +1010 -0
  129. package/common/types/exchange-api-key.types.js +90 -0
  130. package/common/types/exchange-api-key.types.js.map +1 -0
  131. package/common/types/exchange-import.types.d.ts +23 -0
  132. package/common/types/exchange-import.types.js +23 -0
  133. package/common/types/exchange-import.types.js.map +1 -0
  134. package/common/types/exchange-provider.types.d.ts +1308 -0
  135. package/common/types/exchange-provider.types.js +268 -0
  136. package/common/types/exchange-provider.types.js.map +1 -0
  137. package/common/types/file.types.d.ts +428 -0
  138. package/common/types/file.types.js +392 -0
  139. package/common/types/file.types.js.map +1 -0
  140. package/common/types/health.types.d.ts +112 -0
  141. package/common/types/health.types.js +22 -0
  142. package/common/types/health.types.js.map +1 -0
  143. package/common/types/i-will-do-it-later.types.d.ts +51 -0
  144. package/common/types/i-will-do-it-later.types.js +30 -0
  145. package/common/types/i-will-do-it-later.types.js.map +1 -0
  146. package/common/types/{index.ts → index.d.ts} +7 -3
  147. package/common/types/index.js +56 -0
  148. package/common/types/index.js.map +1 -0
  149. package/common/types/individuals.types.d.ts +2101 -0
  150. package/common/types/individuals.types.js +500 -0
  151. package/common/types/individuals.types.js.map +1 -0
  152. package/common/types/investor-account.types.d.ts +2996 -0
  153. package/common/types/investor-account.types.js +929 -0
  154. package/common/types/investor-account.types.js.map +1 -0
  155. package/common/types/investorAccountIdSchema.type.js +1 -0
  156. package/common/types/investorAccountIdSchema.type.js.map +1 -0
  157. package/common/types/investors-offering.types.d.ts +391 -0
  158. package/common/types/investors-offering.types.js +49 -0
  159. package/common/types/investors-offering.types.js.map +1 -0
  160. package/common/types/invite.types.d.ts +641 -0
  161. package/common/types/invite.types.js +113 -0
  162. package/common/types/invite.types.js.map +1 -0
  163. package/common/types/issuer-bank-account.types.d.ts +113 -0
  164. package/common/types/issuer-bank-account.types.js +81 -0
  165. package/common/types/issuer-bank-account.types.js.map +1 -0
  166. package/common/types/issuer-offering.types.d.ts +2065 -0
  167. package/common/types/issuer-offering.types.js +616 -0
  168. package/common/types/issuer-offering.types.js.map +1 -0
  169. package/common/types/issuer-payment-method.types.d.ts +1100 -0
  170. package/common/types/issuer-payment-method.types.js +311 -0
  171. package/common/types/issuer-payment-method.types.js.map +1 -0
  172. package/common/types/issuer.types.d.ts +539 -0
  173. package/common/types/issuer.types.js +275 -0
  174. package/common/types/issuer.types.js.map +1 -0
  175. package/common/types/job-item.types.d.ts +230 -0
  176. package/common/types/job-item.types.js +89 -0
  177. package/common/types/job-item.types.js.map +1 -0
  178. package/common/types/jobs.types.d.ts +296 -0
  179. package/common/types/jobs.types.js +150 -0
  180. package/common/types/jobs.types.js.map +1 -0
  181. package/common/types/kyb.types.d.ts +167 -0
  182. package/common/types/kyb.types.js +45 -0
  183. package/common/types/kyb.types.js.map +1 -0
  184. package/common/types/kyc.types.d.ts +2197 -0
  185. package/common/types/kyc.types.js +301 -0
  186. package/common/types/kyc.types.js.map +1 -0
  187. package/common/types/legal-entity.types.d.ts +676 -0
  188. package/common/types/legal-entity.types.js +151 -0
  189. package/common/types/legal-entity.types.js.map +1 -0
  190. package/common/types/login-history.types.d.ts +160 -0
  191. package/common/types/login-history.types.js +39 -0
  192. package/common/types/login-history.types.js.map +1 -0
  193. package/common/types/mail-template.types.d.ts +595 -0
  194. package/common/types/mail-template.types.js +401 -0
  195. package/common/types/mail-template.types.js.map +1 -0
  196. package/common/types/north-cap-integration.types.d.ts +1303 -0
  197. package/common/types/north-cap-integration.types.js +145 -0
  198. package/common/types/north-cap-integration.types.js.map +1 -0
  199. package/common/types/note.types.d.ts +216 -0
  200. package/common/types/note.types.js +82 -0
  201. package/common/types/note.types.js.map +1 -0
  202. package/common/types/notification.types.d.ts +2689 -0
  203. package/common/types/notification.types.js +408 -0
  204. package/common/types/notification.types.js.map +1 -0
  205. package/common/types/notion-api.types.d.ts +3626 -0
  206. package/common/types/notion-api.types.js +271 -0
  207. package/common/types/notion-api.types.js.map +1 -0
  208. package/common/types/notion-database.types.d.ts +191 -0
  209. package/common/types/notion-database.types.js +95 -0
  210. package/common/types/notion-database.types.js.map +1 -0
  211. package/common/types/notion-page.types.d.ts +3482 -0
  212. package/common/types/notion-page.types.js +208 -0
  213. package/common/types/notion-page.types.js.map +1 -0
  214. package/common/types/offering-reports.types.d.ts +525 -0
  215. package/common/types/offering-reports.types.js +111 -0
  216. package/common/types/offering-reports.types.js.map +1 -0
  217. package/common/types/offering-submission.types.d.ts +785 -0
  218. package/common/types/offering-submission.types.js +291 -0
  219. package/common/types/offering-submission.types.js.map +1 -0
  220. package/common/types/offering.types.d.ts +2849 -0
  221. package/common/types/offering.types.js +803 -0
  222. package/common/types/offering.types.js.map +1 -0
  223. package/common/types/page-revision.types.d.ts +74 -0
  224. package/common/types/page-revision.types.js +68 -0
  225. package/common/types/page-revision.types.js.map +1 -0
  226. package/common/types/page.types.d.ts +540 -0
  227. package/common/types/page.types.js +361 -0
  228. package/common/types/page.types.js.map +1 -0
  229. package/common/types/password.type.d.ts +2 -0
  230. package/common/types/password.type.js +14 -0
  231. package/common/types/password.type.js.map +1 -0
  232. package/common/types/payment-methods.types.d.ts +800 -0
  233. package/common/types/payment-methods.types.js +260 -0
  234. package/common/types/payment-methods.types.js.map +1 -0
  235. package/common/types/phone.type.d.ts +12 -0
  236. package/common/types/phone.type.js +29 -0
  237. package/common/types/phone.type.js.map +1 -0
  238. package/common/types/portfolio.types.d.ts +185 -0
  239. package/common/types/portfolio.types.js +36 -0
  240. package/common/types/portfolio.types.js.map +1 -0
  241. package/common/types/privacy-policy-and-tos.types.d.ts +2 -0
  242. package/common/types/{privacy-policy-and-tos.types.ts → privacy-policy-and-tos.types.js} +1 -1
  243. package/common/types/privacy-policy-and-tos.types.js.map +1 -0
  244. package/common/types/queue.types.d.ts +22 -0
  245. package/common/types/queue.types.js +73 -0
  246. package/common/types/queue.types.js.map +1 -0
  247. package/common/types/registered-reps.types.d.ts +6 -0
  248. package/common/types/registered-reps.types.js +21 -0
  249. package/common/types/registered-reps.types.js.map +1 -0
  250. package/common/types/rejection-reasons.types.d.ts +35 -0
  251. package/common/types/rejection-reasons.types.js +49 -0
  252. package/common/types/rejection-reasons.types.js.map +1 -0
  253. package/common/types/reports.types.d.ts +345 -0
  254. package/common/types/reports.types.js +69 -0
  255. package/common/types/reports.types.js.map +1 -0
  256. package/common/types/review.types.d.ts +419 -0
  257. package/common/types/review.types.js +101 -0
  258. package/common/types/review.types.js.map +1 -0
  259. package/common/types/role.types.d.ts +30 -0
  260. package/common/types/role.types.js +21 -0
  261. package/common/types/role.types.js.map +1 -0
  262. package/common/types/secondary-customer.types.d.ts +586 -0
  263. package/common/types/secondary-customer.types.js +39 -0
  264. package/common/types/secondary-customer.types.js.map +1 -0
  265. package/common/types/secondary-issuer.types.d.ts +283 -0
  266. package/common/types/secondary-issuer.types.js +37 -0
  267. package/common/types/secondary-issuer.types.js.map +1 -0
  268. package/common/types/secondary-order.types.d.ts +508 -0
  269. package/common/types/secondary-order.types.js +40 -0
  270. package/common/types/secondary-order.types.js.map +1 -0
  271. package/common/types/secondary-security.types.d.ts +175 -0
  272. package/common/types/secondary-security.types.js +45 -0
  273. package/common/types/secondary-security.types.js.map +1 -0
  274. package/common/types/secondary-trade.entity.d.ts +16 -0
  275. package/common/types/secondary-trade.entity.js +12 -0
  276. package/common/types/secondary-trade.entity.js.map +1 -0
  277. package/common/types/secondary-trade.types.d.ts +465 -0
  278. package/common/types/secondary-trade.types.js +61 -0
  279. package/common/types/secondary-trade.types.js.map +1 -0
  280. package/common/types/secure-request.types.d.ts +171 -0
  281. package/common/types/secure-request.types.js +51 -0
  282. package/common/types/secure-request.types.js.map +1 -0
  283. package/common/types/signer.types.d.ts +3406 -0
  284. package/common/types/signer.types.js +532 -0
  285. package/common/types/signer.types.js.map +1 -0
  286. package/common/types/site-link.types.d.ts +875 -0
  287. package/common/types/site-link.types.js +126 -0
  288. package/common/types/site-link.types.js.map +1 -0
  289. package/common/types/site-settings.types.d.ts +1673 -0
  290. package/common/types/site-settings.types.js +500 -0
  291. package/common/types/site-settings.types.js.map +1 -0
  292. package/common/types/site.types.d.ts +1481 -0
  293. package/common/types/site.types.js +213 -0
  294. package/common/types/site.types.js.map +1 -0
  295. package/common/types/sms.types.d.ts +40 -0
  296. package/common/types/sms.types.js +27 -0
  297. package/common/types/sms.types.js.map +1 -0
  298. package/common/types/state-machine.types.d.ts +591 -0
  299. package/common/types/state-machine.types.js +144 -0
  300. package/common/types/state-machine.types.js.map +1 -0
  301. package/common/types/states.types.d.ts +77 -0
  302. package/common/types/states.types.js +137 -0
  303. package/common/types/states.types.js.map +1 -0
  304. package/common/types/subdoc-preview.types.d.ts +379 -0
  305. package/common/types/subdoc-preview.types.js +24 -0
  306. package/common/types/subdoc-preview.types.js.map +1 -0
  307. package/common/types/task.types.d.ts +537 -0
  308. package/common/types/task.types.js +211 -0
  309. package/common/types/task.types.js.map +1 -0
  310. package/common/types/trade-adjustment.type.d.ts +40 -0
  311. package/common/types/trade-adjustment.type.js +26 -0
  312. package/common/types/trade-adjustment.type.js.map +1 -0
  313. package/common/types/trade-line-item.types.d.ts +353 -0
  314. package/common/types/trade-line-item.types.js +103 -0
  315. package/common/types/trade-line-item.types.js.map +1 -0
  316. package/common/types/trade.types.d.ts +2015 -0
  317. package/common/types/trade.types.js +796 -0
  318. package/common/types/trade.types.js.map +1 -0
  319. package/common/types/transaction.types.d.ts +453 -0
  320. package/common/types/transaction.types.js +173 -0
  321. package/common/types/transaction.types.js.map +1 -0
  322. package/common/types/trusted-contact.types.d.ts +440 -0
  323. package/common/types/trusted-contact.types.js +95 -0
  324. package/common/types/trusted-contact.types.js.map +1 -0
  325. package/common/types/typography.types.d.ts +52 -0
  326. package/common/types/typography.types.js +67 -0
  327. package/common/types/typography.types.js.map +1 -0
  328. package/common/types/user-manual.types.d.ts +287 -0
  329. package/common/types/user-manual.types.js +192 -0
  330. package/common/types/user-manual.types.js.map +1 -0
  331. package/common/types/user-setting.types.d.ts +273 -0
  332. package/common/types/user-setting.types.js +85 -0
  333. package/common/types/user-setting.types.js.map +1 -0
  334. package/common/types/user.types.d.ts +2083 -0
  335. package/common/types/user.types.js +246 -0
  336. package/common/types/user.types.js.map +1 -0
  337. package/common/types/webhook.types.d.ts +10829 -0
  338. package/common/types/webhook.types.js +658 -0
  339. package/common/types/webhook.types.js.map +1 -0
  340. package/common/types/zip.type.d.ts +35 -0
  341. package/common/types/zip.type.js +28 -0
  342. package/common/types/zip.type.js.map +1 -0
  343. package/contracts/clients/accounts/index.d.ts +308 -0
  344. package/contracts/clients/accounts/index.js +43 -0
  345. package/contracts/clients/accounts/index.js.map +1 -0
  346. package/contracts/clients/aic/index.d.ts +280 -0
  347. package/contracts/clients/aic/index.js +47 -0
  348. package/contracts/clients/aic/index.js.map +1 -0
  349. package/contracts/clients/api-key-logs/index.d.ts +287 -0
  350. package/contracts/clients/api-key-logs/index.js +37 -0
  351. package/contracts/clients/api-key-logs/index.js.map +1 -0
  352. package/contracts/clients/api-keys/index.d.ts +374 -0
  353. package/contracts/clients/api-keys/index.js +59 -0
  354. package/contracts/clients/api-keys/index.js.map +1 -0
  355. package/contracts/clients/assets/index.d.ts +1050 -0
  356. package/contracts/clients/assets/index.js +80 -0
  357. package/contracts/clients/assets/index.js.map +1 -0
  358. package/contracts/clients/auth/index.d.ts +236 -0
  359. package/contracts/clients/auth/index.js +38 -0
  360. package/contracts/clients/auth/index.js.map +1 -0
  361. package/contracts/clients/cart/index.d.ts +229 -0
  362. package/contracts/clients/cart/index.js +63 -0
  363. package/contracts/clients/cart/index.js.map +1 -0
  364. package/contracts/clients/csv/index.d.ts +1594 -0
  365. package/contracts/clients/csv/index.js +62 -0
  366. package/contracts/clients/csv/index.js.map +1 -0
  367. package/contracts/clients/files/index.d.ts +552 -0
  368. package/contracts/clients/files/index.js +142 -0
  369. package/contracts/clients/files/index.js.map +1 -0
  370. package/contracts/clients/files-public/index.d.ts +552 -0
  371. package/contracts/clients/files-public/index.js +142 -0
  372. package/contracts/clients/files-public/index.js.map +1 -0
  373. package/contracts/clients/index.d.ts +14483 -0
  374. package/contracts/clients/index.js +56 -0
  375. package/contracts/clients/index.js.map +1 -0
  376. package/contracts/clients/individuals/index.d.ts +3199 -0
  377. package/contracts/clients/individuals/index.js +74 -0
  378. package/contracts/clients/individuals/index.js.map +1 -0
  379. package/contracts/clients/investor-accounts/index.d.ts +339 -0
  380. package/contracts/clients/investor-accounts/index.js +73 -0
  381. package/contracts/clients/investor-accounts/index.js.map +1 -0
  382. package/contracts/clients/issuer-payment-methods/index.d.ts +276 -0
  383. package/contracts/clients/issuer-payment-methods/index.js +24 -0
  384. package/contracts/clients/issuer-payment-methods/index.js.map +1 -0
  385. package/contracts/clients/issuers/index.d.ts +449 -0
  386. package/contracts/clients/issuers/index.js +75 -0
  387. package/contracts/clients/issuers/index.js.map +1 -0
  388. package/contracts/clients/kyc/index.d.ts +345 -0
  389. package/contracts/clients/kyc/index.js +49 -0
  390. package/contracts/clients/kyc/index.js.map +1 -0
  391. package/contracts/clients/legal-entities/index.d.ts +887 -0
  392. package/contracts/clients/legal-entities/index.js +74 -0
  393. package/contracts/clients/legal-entities/index.js.map +1 -0
  394. package/contracts/clients/offerings/index.d.ts +1068 -0
  395. package/contracts/clients/offerings/index.js +95 -0
  396. package/contracts/clients/offerings/index.js.map +1 -0
  397. package/contracts/clients/payment-methods/index.d.ts +456 -0
  398. package/contracts/clients/payment-methods/index.js +68 -0
  399. package/contracts/clients/payment-methods/index.js.map +1 -0
  400. package/contracts/clients/review/index.d.ts +85 -0
  401. package/contracts/clients/review/index.js +27 -0
  402. package/contracts/clients/review/index.js.map +1 -0
  403. package/contracts/clients/secure-requests/index.d.ts +100 -0
  404. package/contracts/clients/secure-requests/index.js +22 -0
  405. package/contracts/clients/secure-requests/index.js.map +1 -0
  406. package/contracts/clients/sites/index.d.ts +657 -0
  407. package/contracts/clients/sites/index.js +40 -0
  408. package/contracts/clients/sites/index.js.map +1 -0
  409. package/contracts/clients/trade-line-items/index.d.ts +216 -0
  410. package/contracts/clients/trade-line-items/index.js +47 -0
  411. package/contracts/clients/trade-line-items/index.js.map +1 -0
  412. package/contracts/clients/trades/index.d.ts +871 -0
  413. package/contracts/clients/trades/index.js +156 -0
  414. package/contracts/clients/trades/index.js.map +1 -0
  415. package/contracts/clients/transactions/index.d.ts +88 -0
  416. package/contracts/clients/transactions/index.js +25 -0
  417. package/contracts/clients/transactions/index.js.map +1 -0
  418. package/package.json +27 -36
  419. package/common/helpers/index.ts +0 -59
  420. package/common/types/account-contact.types.ts +0 -98
  421. package/common/types/account-detail.types.ts +0 -27
  422. package/common/types/account-integration.types.ts +0 -143
  423. package/common/types/account-manager.types.ts +0 -124
  424. package/common/types/account-setting.types.ts +0 -31
  425. package/common/types/account.types.ts +0 -296
  426. package/common/types/activity.types.ts +0 -274
  427. package/common/types/address.types.ts +0 -41
  428. package/common/types/aic.types.ts +0 -246
  429. package/common/types/aml.types.ts +0 -18
  430. package/common/types/api-key-logs.types.ts +0 -66
  431. package/common/types/api-keys.types.ts +0 -69
  432. package/common/types/asset.types.ts +0 -338
  433. package/common/types/auth.types.ts +0 -370
  434. package/common/types/batch-jobs.types.ts +0 -151
  435. package/common/types/bonus-tier.types.ts +0 -171
  436. package/common/types/cart.types.ts +0 -21
  437. package/common/types/checklist-items.types.ts +0 -70
  438. package/common/types/checklist.types.ts +0 -97
  439. package/common/types/common.types.ts +0 -1530
  440. package/common/types/comply-advantage-api.types.ts +0 -316
  441. package/common/types/comply-advantage.types.ts +0 -25
  442. package/common/types/contact-us.types.ts +0 -107
  443. package/common/types/countries.types.ts +0 -375
  444. package/common/types/covered-person.types.ts +0 -274
  445. package/common/types/dashboard.types.ts +0 -792
  446. package/common/types/data-record.types.ts +0 -325
  447. package/common/types/data-room.types.ts +0 -242
  448. package/common/types/default-theme-config.types.ts +0 -87
  449. package/common/types/disbursement-adjustment.types.ts +0 -32
  450. package/common/types/disbursement-approval-user.types.ts +0 -100
  451. package/common/types/disbursement-review.types.ts +0 -110
  452. package/common/types/disbursement-transaction.types.ts +0 -72
  453. package/common/types/disbursements.types.ts +0 -426
  454. package/common/types/domain-filter.types.ts +0 -55
  455. package/common/types/email-theme.types.ts +0 -442
  456. package/common/types/entity.types.ts +0 -15
  457. package/common/types/error-responses.types.ts +0 -135
  458. package/common/types/escrow-account.types.ts +0 -104
  459. package/common/types/exchange-api-key.types.ts +0 -121
  460. package/common/types/exchange-import.types.ts +0 -36
  461. package/common/types/exchange-provider.types.ts +0 -329
  462. package/common/types/file.types.ts +0 -477
  463. package/common/types/health.types.ts +0 -29
  464. package/common/types/i-will-do-it-later.types.ts +0 -68
  465. package/common/types/individuals.types.ts +0 -541
  466. package/common/types/investor-account.types.ts +0 -1239
  467. package/common/types/investors-offering.types.ts +0 -65
  468. package/common/types/invite.types.ts +0 -133
  469. package/common/types/issuer-bank-account.types.ts +0 -107
  470. package/common/types/issuer-offering.types.ts +0 -389
  471. package/common/types/issuer-payment-method.types.ts +0 -382
  472. package/common/types/issuer.types.ts +0 -321
  473. package/common/types/job-item.types.ts +0 -119
  474. package/common/types/jobs.types.ts +0 -171
  475. package/common/types/kyb.types.ts +0 -53
  476. package/common/types/kyc.types.ts +0 -188
  477. package/common/types/legal-entity.types.ts +0 -185
  478. package/common/types/login-history.types.ts +0 -46
  479. package/common/types/mail-template.types.ts +0 -436
  480. package/common/types/north-cap-integration.types.ts +0 -190
  481. package/common/types/note.types.ts +0 -109
  482. package/common/types/notification.types.ts +0 -268
  483. package/common/types/notion-api.types.ts +0 -374
  484. package/common/types/notion-database.types.ts +0 -125
  485. package/common/types/notion-page.types.ts +0 -267
  486. package/common/types/offering-reports.types.ts +0 -153
  487. package/common/types/offering-submission.types.ts +0 -314
  488. package/common/types/offering.types.ts +0 -676
  489. package/common/types/page-revision.types.ts +0 -86
  490. package/common/types/page.types.ts +0 -436
  491. package/common/types/password.type.ts +0 -15
  492. package/common/types/payment-methods.types.ts +0 -298
  493. package/common/types/phone.type.ts +0 -27
  494. package/common/types/portfolio.types.ts +0 -50
  495. package/common/types/queue.types.ts +0 -112
  496. package/common/types/registered-reps.types.ts +0 -25
  497. package/common/types/rejection-reasons.types.ts +0 -56
  498. package/common/types/reminder-config.types.ts +0 -40
  499. package/common/types/review.types.ts +0 -133
  500. package/common/types/role.types.ts +0 -26
  501. package/common/types/secondary-customer.types.ts +0 -66
  502. package/common/types/secondary-issuer.types.ts +0 -50
  503. package/common/types/secondary-order.types.ts +0 -58
  504. package/common/types/secondary-security.types.ts +0 -60
  505. package/common/types/secondary-trade.entity.ts +0 -16
  506. package/common/types/secondary-trade.types.ts +0 -95
  507. package/common/types/secure-request.types.ts +0 -68
  508. package/common/types/signer.types.ts +0 -651
  509. package/common/types/site-link.types.ts +0 -166
  510. package/common/types/site-settings.types.ts +0 -726
  511. package/common/types/site.types.ts +0 -263
  512. package/common/types/sms.types.ts +0 -30
  513. package/common/types/state-machine.types.ts +0 -177
  514. package/common/types/states.types.ts +0 -163
  515. package/common/types/subdoc-preview.types.ts +0 -35
  516. package/common/types/task.types.ts +0 -258
  517. package/common/types/trade-adjustment.type.ts +0 -33
  518. package/common/types/trade-line-item.types.ts +0 -125
  519. package/common/types/trade.types.ts +0 -999
  520. package/common/types/transaction.types.ts +0 -209
  521. package/common/types/trusted-contact.types.ts +0 -122
  522. package/common/types/typography.types.ts +0 -75
  523. package/common/types/user-manual.types.ts +0 -290
  524. package/common/types/user-setting.types.ts +0 -133
  525. package/common/types/user.types.ts +0 -307
  526. package/common/types/webhook.types.ts +0 -588
  527. package/common/types/zip.type.ts +0 -36
  528. package/contracts/clients/accounts/index.ts +0 -61
  529. package/contracts/clients/aic/index.ts +0 -59
  530. package/contracts/clients/api-key-logs/index.ts +0 -53
  531. package/contracts/clients/api-keys/index.ts +0 -73
  532. package/contracts/clients/assets/index.ts +0 -102
  533. package/contracts/clients/auth/index.ts +0 -50
  534. package/contracts/clients/cart/index.ts +0 -80
  535. package/contracts/clients/files/index.ts +0 -166
  536. package/contracts/clients/files-public/index.ts +0 -166
  537. package/contracts/clients/index.ts +0 -54
  538. package/contracts/clients/individuals/index.ts +0 -93
  539. package/contracts/clients/investor-accounts/index.ts +0 -93
  540. package/contracts/clients/issuer-payment-methods/index.ts +0 -39
  541. package/contracts/clients/issuers/index.ts +0 -94
  542. package/contracts/clients/legal-entities/index.ts +0 -93
  543. package/contracts/clients/offerings/index.ts +0 -117
  544. package/contracts/clients/payment-methods/index.ts +0 -85
  545. package/contracts/clients/secure-requests/index.ts +0 -34
  546. package/contracts/clients/sites/index.ts +0 -56
  547. package/contracts/clients/trade-line-items/index.ts +0 -66
  548. package/contracts/clients/trades/index.ts +0 -186
  549. package/contracts/clients/transactions/index.ts +0 -37
  550. package/contracts/compliance/account-contacts/index.ts +0 -82
  551. package/contracts/compliance/account-managers/index.ts +0 -142
  552. package/contracts/compliance/accounts/index.ts +0 -187
  553. package/contracts/compliance/activities/index.ts +0 -55
  554. package/contracts/compliance/aic/index.ts +0 -60
  555. package/contracts/compliance/api-keys/index.ts +0 -91
  556. package/contracts/compliance/assets/index.ts +0 -122
  557. package/contracts/compliance/auth/index.ts +0 -134
  558. package/contracts/compliance/batch-jobs/index.ts +0 -62
  559. package/contracts/compliance/bonus-tiers/index.ts +0 -74
  560. package/contracts/compliance/checklist/index.ts +0 -87
  561. package/contracts/compliance/checklist-items/index.ts +0 -86
  562. package/contracts/compliance/covered-persons/index.ts +0 -97
  563. package/contracts/compliance/dashboard/index.ts +0 -111
  564. package/contracts/compliance/data-records/index.ts +0 -116
  565. package/contracts/compliance/data-rooms/index.ts +0 -113
  566. package/contracts/compliance/default-theme-configs/index.ts +0 -95
  567. package/contracts/compliance/disbursement/index.ts +0 -165
  568. package/contracts/compliance/disbursement-approval-users/index.ts +0 -84
  569. package/contracts/compliance/disbursement-transactions/index.ts +0 -37
  570. package/contracts/compliance/domain-filters/index.ts +0 -117
  571. package/contracts/compliance/email-themes/index.ts +0 -284
  572. package/contracts/compliance/escrow-accounts/index.ts +0 -85
  573. package/contracts/compliance/exchange-api-keys/index.ts +0 -129
  574. package/contracts/compliance/exchange-imports/index.ts +0 -137
  575. package/contracts/compliance/files/index.ts +0 -267
  576. package/contracts/compliance/files-public/index.ts +0 -188
  577. package/contracts/compliance/health/index.ts +0 -26
  578. package/contracts/compliance/index.ts +0 -147
  579. package/contracts/compliance/individuals/index.ts +0 -57
  580. package/contracts/compliance/investor-accounts/index.ts +0 -141
  581. package/contracts/compliance/invites/index.ts +0 -137
  582. package/contracts/compliance/issuer-bank-accounts/index.ts +0 -81
  583. package/contracts/compliance/issuer-payment-methods/index.ts +0 -81
  584. package/contracts/compliance/issuers/index.ts +0 -97
  585. package/contracts/compliance/job-items/index.ts +0 -58
  586. package/contracts/compliance/jobs/index.ts +0 -59
  587. package/contracts/compliance/kyb/index.ts +0 -54
  588. package/contracts/compliance/kyc/index.ts +0 -77
  589. package/contracts/compliance/legal-entities/index.ts +0 -57
  590. package/contracts/compliance/login-histories/index.ts +0 -37
  591. package/contracts/compliance/notes/index.ts +0 -69
  592. package/contracts/compliance/notion-databases/index.ts +0 -107
  593. package/contracts/compliance/notion-pages/index.ts +0 -105
  594. package/contracts/compliance/offering-reports/index.ts +0 -149
  595. package/contracts/compliance/offerings/index.ts +0 -233
  596. package/contracts/compliance/pages/index.ts +0 -178
  597. package/contracts/compliance/payment-methods/index.ts +0 -57
  598. package/contracts/compliance/rejection-reasons/index.ts +0 -32
  599. package/contracts/compliance/review/index.ts +0 -169
  600. package/contracts/compliance/roles/index.ts +0 -34
  601. package/contracts/compliance/secondary-customers/index.ts +0 -77
  602. package/contracts/compliance/secondary-orders/index.ts +0 -60
  603. package/contracts/compliance/secondary-trades/index.ts +0 -100
  604. package/contracts/compliance/secure-requests/index.ts +0 -54
  605. package/contracts/compliance/signer/index.ts +0 -369
  606. package/contracts/compliance/site-links/index.ts +0 -128
  607. package/contracts/compliance/site-settings/index.ts +0 -669
  608. package/contracts/compliance/sites/index.ts +0 -56
  609. package/contracts/compliance/state-machine/index.ts +0 -94
  610. package/contracts/compliance/tasks/index.ts +0 -91
  611. package/contracts/compliance/third-parties/index.ts +0 -52
  612. package/contracts/compliance/trade-line-items/index.ts +0 -59
  613. package/contracts/compliance/trades/index.ts +0 -230
  614. package/contracts/compliance/transactions/index.ts +0 -161
  615. package/contracts/compliance/user-manuals/index.ts +0 -271
  616. package/contracts/compliance/user-settings/index.ts +0 -189
  617. package/contracts/compliance/users/index.ts +0 -221
  618. package/contracts/compliance/webhooks/index.ts +0 -41
  619. package/contracts/compliance-apikey/accounts/index.ts +0 -58
  620. package/contracts/compliance-apikey/index.ts +0 -14
  621. package/contracts/index.ts +0 -6
  622. package/contracts/investors/account-contacts/index.ts +0 -58
  623. package/contracts/investors/aic/index.ts +0 -59
  624. package/contracts/investors/assets/index.ts +0 -61
  625. package/contracts/investors/auth/index.ts +0 -116
  626. package/contracts/investors/bonus-tiers/index.ts +0 -55
  627. package/contracts/investors/cart/index.ts +0 -75
  628. package/contracts/investors/contact-us/index.ts +0 -48
  629. package/contracts/investors/data-records/index.ts +0 -113
  630. package/contracts/investors/data-rooms/index.ts +0 -96
  631. package/contracts/investors/files/index.ts +0 -167
  632. package/contracts/investors/files-public/index.ts +0 -185
  633. package/contracts/investors/index.ts +0 -72
  634. package/contracts/investors/individuals/index.ts +0 -121
  635. package/contracts/investors/investor-accounts/index.ts +0 -110
  636. package/contracts/investors/issuer-payment-methods/index.ts +0 -36
  637. package/contracts/investors/issuers/index.ts +0 -30
  638. package/contracts/investors/legal-entities/index.ts +0 -93
  639. package/contracts/investors/notes/index.ts +0 -69
  640. package/contracts/investors/offerings/index.ts +0 -93
  641. package/contracts/investors/pages/index.ts +0 -88
  642. package/contracts/investors/payment-methods/index.ts +0 -149
  643. package/contracts/investors/portfolios/index.ts +0 -53
  644. package/contracts/investors/sites/index.ts +0 -96
  645. package/contracts/investors/tasks/index.ts +0 -111
  646. package/contracts/investors/trade-line-items/index.ts +0 -75
  647. package/contracts/investors/trades/index.ts +0 -114
  648. package/contracts/investors/transactions/index.ts +0 -37
  649. package/contracts/investors/trusted-contacts/index.ts +0 -93
  650. package/contracts/investors/user-manuals/index.ts +0 -62
  651. package/contracts/investors/user-settings/index.ts +0 -170
  652. package/contracts/investors/users/index.ts +0 -45
  653. package/contracts/investors/webhooks/index.ts +0 -30
  654. package/contracts/issuers/account-contacts/index.ts +0 -76
  655. package/contracts/issuers/account-integrations/index.ts +0 -97
  656. package/contracts/issuers/accounts/index.ts +0 -97
  657. package/contracts/issuers/activities/index.ts +0 -54
  658. package/contracts/issuers/aic/index.ts +0 -39
  659. package/contracts/issuers/api-key-logs/index.ts +0 -53
  660. package/contracts/issuers/api-keys/index.ts +0 -93
  661. package/contracts/issuers/assets/index.ts +0 -122
  662. package/contracts/issuers/auth/index.ts +0 -152
  663. package/contracts/issuers/bonus-tiers/index.ts +0 -73
  664. package/contracts/issuers/contact-us/index.ts +0 -48
  665. package/contracts/issuers/covered-persons/index.ts +0 -136
  666. package/contracts/issuers/dashboard/index.ts +0 -72
  667. package/contracts/issuers/data-records/index.ts +0 -257
  668. package/contracts/issuers/data-rooms/index.ts +0 -134
  669. package/contracts/issuers/disbursement-approval-users/index.ts +0 -82
  670. package/contracts/issuers/disbursement-transactions/index.ts +0 -53
  671. package/contracts/issuers/disbursements/index.ts +0 -189
  672. package/contracts/issuers/email-themes/index.ts +0 -242
  673. package/contracts/issuers/escrow-accounts/index.ts +0 -81
  674. package/contracts/issuers/exchange-api-keys/index.ts +0 -144
  675. package/contracts/issuers/files/index.ts +0 -166
  676. package/contracts/issuers/files-public/index.ts +0 -166
  677. package/contracts/issuers/health/index.ts +0 -24
  678. package/contracts/issuers/index.ts +0 -112
  679. package/contracts/issuers/investor-accounts/index.ts +0 -148
  680. package/contracts/issuers/invites/index.ts +0 -129
  681. package/contracts/issuers/issuer/index.ts +0 -94
  682. package/contracts/issuers/issuer-bank-accounts/index.ts +0 -81
  683. package/contracts/issuers/issuer-payment-methods/index.ts +0 -136
  684. package/contracts/issuers/kyc/index.ts +0 -38
  685. package/contracts/issuers/login-histories/index.ts +0 -51
  686. package/contracts/issuers/notes/index.ts +0 -69
  687. package/contracts/issuers/offerings/index.ts +0 -206
  688. package/contracts/issuers/pages/index.ts +0 -138
  689. package/contracts/issuers/payment-methods/index.ts +0 -61
  690. package/contracts/issuers/portfolios/index.ts +0 -36
  691. package/contracts/issuers/rejection-reasons/index.ts +0 -32
  692. package/contracts/issuers/review/index.ts +0 -63
  693. package/contracts/issuers/secondary-customers/index.ts +0 -55
  694. package/contracts/issuers/secondary-orders/index.ts +0 -57
  695. package/contracts/issuers/secondary-trades/index.ts +0 -57
  696. package/contracts/issuers/secure-requests/index.ts +0 -34
  697. package/contracts/issuers/site-links/index.ts +0 -116
  698. package/contracts/issuers/site-settings/index.ts +0 -585
  699. package/contracts/issuers/sites/index.ts +0 -32
  700. package/contracts/issuers/tasks/index.ts +0 -111
  701. package/contracts/issuers/trades/index.ts +0 -132
  702. package/contracts/issuers/transactions/index.ts +0 -158
  703. package/contracts/issuers/user-manuals/index.ts +0 -62
  704. package/contracts/issuers/user-settings/index.ts +0 -170
  705. package/contracts/issuers/users/index.ts +0 -126
  706. package/contracts/secondaries/accounts/index.ts +0 -58
  707. package/contracts/secondaries/index.ts +0 -23
  708. package/contracts/secondaries/secondary-customers/index.ts +0 -55
  709. package/contracts/secondaries/secondary-issuers/index.ts +0 -94
  710. package/contracts/secondaries/secondary-orders/index.ts +0 -56
  711. package/contracts/secondaries/secondary-securities/index.ts +0 -95
  712. package/contracts/secondaries/secondary-trades/index.ts +0 -56
  713. /package/common/types/{investorAccountIdSchema.type.ts → investorAccountIdSchema.type.d.ts} +0 -0
@@ -0,0 +1,1851 @@
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
+ }
1303
+ export declare enum EventName {
1304
+ STATUS_CHANGED = "status.changed",
1305
+ UPDATE_FIELD = "update.field",
1306
+ ACTION_PERFORMED = "action.performed",
1307
+ PENDING_OVERDUE_TRADES_ALERT = "pending_overdue.trades.alert",
1308
+ IN_REVIEW_TRADES_ALERT = "trade.inreview.alert",
1309
+ INDIVIDUAL_AML_STATUS_CHANGED = "individual.aml_status.changed",
1310
+ ISSUER_CREATED = "issuer.created"
1311
+ }
1312
+ export declare enum TransactionStatus {
1313
+ PENDING = "PENDING",
1314
+ CHARGED = "CHARGED",
1315
+ APPROVED = "APPROVED",
1316
+ SETTLED = "SETTLED",
1317
+ REFUNDED = "REFUNDED",
1318
+ CANCELLED = "CANCELLED",
1319
+ DECLINED = "DECLINED",
1320
+ FAILED = "FAILED",
1321
+ AUTHORIZING = "AUTHORIZING",
1322
+ FUNDING = "FUNDING",
1323
+ PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
1324
+ VOIDED = "VOIDED"
1325
+ }
1326
+ export declare enum TransactionType {
1327
+ CHARGE = "CHARGE",
1328
+ REFUND = "REFUND",
1329
+ ADJUSTMENT = "ADJUSTMENT"
1330
+ }
1331
+ export declare const dateSchema: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>;
1332
+ /**
1333
+ * Creates a Zod schema for parsing and transforming date strings in MM/DD/YYYY format.
1334
+ * The schema accepts a parameter to determine if the date should be formatted as the start or end of the day.
1335
+ * - If param is 'START', the time is set to 00:00:00.000 (local, no timezone effect).
1336
+ * - If param is 'END', the time is set to 23:59:59.999 (local, no timezone effect).
1337
+ * - Otherwise, the time is set to 00:00:00.000.
1338
+ * The returned value is a Date object or null.
1339
+ */
1340
+ export declare const createDateSchema: (param?: "START" | "END") => z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>;
1341
+ /**
1342
+ * Default dateSchema (no param) for backward compatibility.
1343
+ */
1344
+ export declare const dateSchemaWithParam: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>;
1345
+ export declare enum IssuerOnboardingSetupType {
1346
+ OFFERING = "OFFERING",
1347
+ INVESTOR_PORTAL = "INVESTOR_PORTAL",
1348
+ PAYMENT_METHOD = "PAYMENT_METHOD",
1349
+ ACCOUNT_CONTACTS = "ACCOUNT_CONTACTS"
1350
+ }
1351
+ export declare enum ThemeScope {
1352
+ ACCOUNT = "ACCOUNT",
1353
+ SYSTEM = "SYSTEM"
1354
+ }
1355
+ /**
1356
+ * The configuration for the target tables. Used in Notes, Files, and Activities
1357
+ * All tables that need to be targeted should be added here.
1358
+ * to determine the target table from the target ID.
1359
+ * TODO: UPDATE WITH MORE TABLES
1360
+ * CHANGES HERE WILL REQUIRE A MIGRATION
1361
+ */
1362
+ export declare const TargetTableConfig: {
1363
+ readonly KYCS: {
1364
+ readonly table: "kycs";
1365
+ readonly idPrefix: "kyc";
1366
+ };
1367
+ readonly AMLS: {
1368
+ readonly table: "amls";
1369
+ readonly idPrefix: "aml";
1370
+ };
1371
+ readonly AICS: {
1372
+ readonly table: "aics";
1373
+ readonly idPrefix: "aic";
1374
+ };
1375
+ readonly KYBS: {
1376
+ readonly table: "kybs";
1377
+ readonly idPrefix: "kyb";
1378
+ };
1379
+ readonly INDIVIDUALS: {
1380
+ readonly table: "individuals";
1381
+ readonly idPrefix: "individual";
1382
+ };
1383
+ readonly LEGAL_ENTITIES: {
1384
+ readonly table: "legal_entities";
1385
+ readonly idPrefix: "legal_entity";
1386
+ };
1387
+ readonly INVESTOR_ACCOUNTS: {
1388
+ readonly table: "investor_accounts";
1389
+ readonly idPrefix: "investor_account";
1390
+ };
1391
+ readonly TRADES: {
1392
+ readonly table: "trades";
1393
+ readonly idPrefix: "trade";
1394
+ };
1395
+ readonly OFFERINGS: {
1396
+ readonly table: "offerings";
1397
+ readonly idPrefix: "offering";
1398
+ };
1399
+ readonly ISSUERS: {
1400
+ readonly table: "issuers";
1401
+ readonly idPrefix: "issuer";
1402
+ };
1403
+ readonly COVERED_PERSONS: {
1404
+ readonly table: "covered_persons";
1405
+ readonly idPrefix: "covered_person";
1406
+ };
1407
+ readonly PAYMENT_METHODS: {
1408
+ readonly table: "payment_methods";
1409
+ readonly idPrefix: "payment_method";
1410
+ };
1411
+ readonly NOTES: {
1412
+ readonly table: "notes";
1413
+ readonly idPrefix: "note";
1414
+ };
1415
+ readonly USERS: {
1416
+ readonly table: "users";
1417
+ readonly idPrefix: "user";
1418
+ };
1419
+ readonly ACCOUNTS: {
1420
+ readonly table: "accounts";
1421
+ readonly idPrefix: "account";
1422
+ };
1423
+ readonly PAGES: {
1424
+ readonly table: "pages";
1425
+ readonly idPrefix: "page";
1426
+ };
1427
+ readonly TASKS: {
1428
+ readonly table: "tasks";
1429
+ readonly idPrefix: "task";
1430
+ };
1431
+ readonly FILES: {
1432
+ readonly table: "files";
1433
+ readonly idPrefix: "file";
1434
+ };
1435
+ readonly DATA_RECORD_FILES: {
1436
+ readonly table: "data_record_files";
1437
+ readonly idPrefix: "data_record_file";
1438
+ };
1439
+ readonly ASSETS: {
1440
+ readonly table: "assets";
1441
+ readonly idPrefix: "asset";
1442
+ };
1443
+ readonly SITES: {
1444
+ readonly table: "sites";
1445
+ readonly idPrefix: "site";
1446
+ };
1447
+ readonly PAGE_REVISIONS: {
1448
+ readonly table: "page_revisions";
1449
+ readonly idPrefix: "page_revision";
1450
+ };
1451
+ readonly TRADE_LINE_ITEMS: {
1452
+ readonly table: "trade_line_items";
1453
+ readonly idPrefix: "trade_line_item";
1454
+ };
1455
+ readonly TRANSACTIONS: {
1456
+ readonly table: "transactions";
1457
+ readonly idPrefix: "transaction";
1458
+ };
1459
+ readonly DISBURSEMENTS: {
1460
+ readonly table: "disbursements";
1461
+ readonly idPrefix: "disbursement";
1462
+ };
1463
+ readonly DISBURSEMENT_REVIEWS: {
1464
+ readonly table: "disbursement_reviews";
1465
+ readonly idPrefix: "disbursement_review";
1466
+ };
1467
+ readonly ISSUER_PAYMENT_METHODS: {
1468
+ readonly table: "issuer_payment_methods";
1469
+ readonly idPrefix: "issuer_payment_method";
1470
+ };
1471
+ readonly SIGNER_BRANDS: {
1472
+ readonly table: "signer_brands";
1473
+ readonly idPrefix: "signer_brand";
1474
+ };
1475
+ readonly THEMES: {
1476
+ readonly table: "themes";
1477
+ readonly idPrefix: "theme";
1478
+ };
1479
+ readonly THEME_SETTINGS: {
1480
+ readonly table: "theme_settings";
1481
+ readonly idPrefix: "theme_setting";
1482
+ };
1483
+ readonly CAP_TABLES: {
1484
+ readonly table: "cap_tables";
1485
+ readonly idPrefix: "cap_table";
1486
+ };
1487
+ readonly CAP_TABLE_SHARE_CLASSES: {
1488
+ readonly table: "cap_table_share_classes";
1489
+ readonly idPrefix: "cap_table_share_class";
1490
+ };
1491
+ readonly CAP_TABLE_ENTRIES: {
1492
+ readonly table: "cap_table_entries";
1493
+ readonly idPrefix: "cap_table_entry";
1494
+ };
1495
+ readonly EMAIL_THEMES: {
1496
+ readonly table: "email_themes";
1497
+ readonly idPrefix: "email_theme";
1498
+ };
1499
+ readonly EMAIL_THEME_SETTINGS: {
1500
+ readonly table: "email_theme_settings";
1501
+ readonly idPrefix: "email_theme_setting";
1502
+ };
1503
+ };
1504
+ export type TargetTableType = keyof typeof TargetTableConfig;
1505
+ export declare const TargetTableEnum: [TargetTableType, ...TargetTableType[]];
1506
+ /**
1507
+ * Get the target table name from a target ID.
1508
+ * @param targetId - The target ID to get the table name for.
1509
+ * @returns The target table name or null if the target ID is invalid.
1510
+ */
1511
+ export declare function getTargetTableFromId(targetId: string): string | null;
1512
+ export declare enum UrlClassification {
1513
+ BASE64 = "BASE64",
1514
+ REGULAR = "REGULAR",
1515
+ INVALID = "INVALID"
1516
+ }
1517
+ export declare enum OfferingVersioningType {
1518
+ PUBLISHED = "PUBLISHED",
1519
+ DRAFT = "DRAFT"
1520
+ }
1521
+ /**
1522
+ * Get the target table type from a target ID.
1523
+ * @param targetId - The target ID to get the table type for.
1524
+ * @returns The target table type or null if the target ID is invalid.
1525
+ */
1526
+ export declare function getTargetTableTypeFromId(targetId: string): TargetTableType | null;
1527
+ export declare const REDACTED = "[REDACTED]";
1528
+ /**
1529
+ * Zod schema for validating and normalizing URLs.
1530
+ *
1531
+ * This schema ensures that the URL is valid and normalizes it by removing the protocol (http/https)
1532
+ * and any path after the main domain.
1533
+ *
1534
+ * @example
1535
+ * UrlSchema.parse('https://www.example.com'); // Valid URL, normalized to 'www.example.com'
1536
+ * UrlSchema.parse('abc.example.org'); // Valid URL, normalized to 'abc.example.org'
1537
+ * UrlSchema.parse('https://subdomain.example.co.uk/path'); // Valid URL, normalized to 'subdomain.example.co.uk'
1538
+ * UrlSchema.parse('ftp://example.com'); // Throws validation error
1539
+ * UrlSchema.parse('invalid-url'); // Throws validation error
1540
+ */
1541
+ export declare const createUrlSchema: (options?: {
1542
+ strict?: boolean;
1543
+ }) => z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1544
+ export declare const UrlSchema: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1545
+ /**
1546
+ * Zod schema for validating subdomains.
1547
+ *
1548
+ * This schema ensures that the subdomain contains only alphanumeric characters and hyphens,
1549
+ * does not start or end with a hyphen, and follows standard subdomain naming conventions.
1550
+ *
1551
+ * @example
1552
+ * SubdomainSchema.parse('my-site'); // Valid subdomain
1553
+ * SubdomainSchema.parse('123test'); // Valid subdomain
1554
+ * SubdomainSchema.parse('my_site'); // Throws validation error (underscore not allowed)
1555
+ * SubdomainSchema.parse('-mysite'); // Throws validation error (cannot start with hyphen)
1556
+ * SubdomainSchema.parse('mysite-'); // Throws validation error (cannot end with hyphen)
1557
+ */
1558
+ export declare const SubdomainSchema: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1559
+ /**
1560
+ * Zod schema for validating domain names without subdomains.
1561
+ *
1562
+ * This schema ensures the domain is in a valid format (example.com) without subdomains.
1563
+ *
1564
+ * @example
1565
+ * DomainSchema.parse('example.com'); // Valid domain
1566
+ * DomainSchema.parse('subdomain.example.com'); // Throws validation error
1567
+ */
1568
+ export declare const DomainSchema: z.ZodEffects<z.ZodString, string, string>;
1569
+ /**
1570
+ * Zod schema for validating hex color codes (with optional alpha/transparency).
1571
+ *
1572
+ * 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).
1573
+ * The 7-digit form (e.g., #RRGGBBA) is supported to allow for transparency/alpha values at the end.
1574
+ * It also trims whitespace and lowercases the value.
1575
+ *
1576
+ * @example
1577
+ * HexCodeColorSchema.parse('#FF0000'); // Valid hex code
1578
+ * HexCodeColorSchema.parse('FF0000'); // Valid hex code
1579
+ * HexCodeColorSchema.parse('#F00'); // Valid hex code
1580
+ * HexCodeColorSchema.parse('F00'); // Valid hex code
1581
+ * HexCodeColorSchema.parse('#FF000080'); // Valid hex code (with alpha)
1582
+ * HexCodeColorSchema.parse('#D9D9D14'); // Valid hex code (7 digits, with transparency)
1583
+ * HexCodeColorSchema.parse(' #abc '); // Valid hex code, returns '#abc'
1584
+ * HexCodeColorSchema.parse('#XYZ'); // Throws validation error
1585
+ */
1586
+ export declare const HexCodeColorSchema: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1587
+ export declare const WithCoverArtUrl: z.ZodObject<{
1588
+ coverArtUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1589
+ }, "strip", z.ZodTypeAny, {
1590
+ coverArtUrl?: string | null | undefined;
1591
+ }, {
1592
+ coverArtUrl?: string | null | undefined;
1593
+ }>;
1594
+ export declare const UNKNOWN = "unknown";
1595
+ export declare enum UserManualType {
1596
+ FAQ = "FAQ",
1597
+ USER_MANUAL = "USER_MANUAL"
1598
+ }
1599
+ export declare enum BulkExportType {
1600
+ INVESTOR_ACCOUNTS = "INVESTOR_ACCOUNTS",
1601
+ TRADES = "TRADES",
1602
+ COMPLIANCE_TRADES = "COMPLIANCE_TRADES",
1603
+ SECONDARY_CUSTOMERS = "SECONDARY_CUSTOMERS",
1604
+ SECONDARY_TRADES = "SECONDARY_TRADES"
1605
+ }
1606
+ export declare const SubmitIssuerOfferingError: z.ZodObject<{
1607
+ field: z.ZodString;
1608
+ message: z.ZodString;
1609
+ id: z.ZodOptional<z.ZodString>;
1610
+ }, "strip", z.ZodTypeAny, {
1611
+ message: string;
1612
+ field: string;
1613
+ id?: string | undefined;
1614
+ }, {
1615
+ message: string;
1616
+ field: string;
1617
+ id?: string | undefined;
1618
+ }>;
1619
+ export type SubmitIssuerOfferingError = z.infer<typeof SubmitIssuerOfferingError>;
1620
+ export declare const ErrorResponseZod: z.ZodObject<{
1621
+ valid: z.ZodBoolean;
1622
+ errors: z.ZodArray<z.ZodObject<{
1623
+ field: z.ZodString;
1624
+ message: z.ZodString;
1625
+ id: z.ZodOptional<z.ZodString>;
1626
+ }, "strip", z.ZodTypeAny, {
1627
+ message: string;
1628
+ field: string;
1629
+ id?: string | undefined;
1630
+ }, {
1631
+ message: string;
1632
+ field: string;
1633
+ id?: string | undefined;
1634
+ }>, "many">;
1635
+ }, "strip", z.ZodTypeAny, {
1636
+ valid: boolean;
1637
+ errors: {
1638
+ message: string;
1639
+ field: string;
1640
+ id?: string | undefined;
1641
+ }[];
1642
+ }, {
1643
+ valid: boolean;
1644
+ errors: {
1645
+ message: string;
1646
+ field: string;
1647
+ id?: string | undefined;
1648
+ }[];
1649
+ }>;
1650
+ export type ErrorResponseZod = z.infer<typeof ErrorResponseZod>;
1651
+ /**
1652
+ * A Zod schema that preprocesses a value to convert it to a number if it is a string.
1653
+ * If the value is a string, it attempts to parse it as a float. If parsing fails, it returns `undefined`.
1654
+ * If the value is already a number, it is returned as is.
1655
+ *
1656
+ * @example
1657
+ * numberFromStringOrNumber.parse("123.45"); // returns 123.45
1658
+ * numberFromStringOrNumber.parse(123.45); // returns 123.45
1659
+ * numberFromStringOrNumber.parse("abc"); // throws a ZodError
1660
+ *
1661
+ * @type {ZodSchema<number>}
1662
+ */
1663
+ export declare const numberFromStringOrNumber: (fieldName: string) => z.ZodEffects<z.ZodNumber, number, unknown>;
1664
+ /**
1665
+ * Creates a Zod schema for transforming number values to a specified decimal precision.
1666
+ * Transforms the number to exactly the specified decimal places without validation.
1667
+ * Accepts a base number schema with constraints (e.g., .positive(), .max()) and applies precision transformation.
1668
+ *
1669
+ * @param precision - The number of decimal places to enforce. Defaults to 2.
1670
+ * @param baseSchema - Optional base number schema with constraints. Defaults to z.number().
1671
+ * @returns A Zod schema that transforms numbers to the specified decimal precision.
1672
+ *
1673
+ * @example
1674
+ * numberPrecisionSchema(2).parse(123.456); // returns 123.46 (transformed)
1675
+ * numberPrecisionSchema(2).parse(123.45); // returns 123.45
1676
+ * numberPrecisionSchema(2).parse(123.4); // returns 123.40 (transformed)
1677
+ * numberPrecisionSchema(3, z.number().positive().max(1000)).parse(500.9999); // returns 501.000 (transformed)
1678
+ * numberPrecisionSchema(2, z.number().positive().max(1000)).parse(500.99); // returns 500.99
1679
+ */
1680
+ export declare const numberPrecisionSchema: (precision?: number, baseSchema?: z.ZodNumber) => z.ZodEffects<z.ZodNumber, number, number>;
1681
+ /**
1682
+ * Convenience function for 2 decimal precision (backward compatibility).
1683
+ * @deprecated Use numberPrecisionSchema(2) instead.
1684
+ */
1685
+ export declare const amountPrecision2Schema: (baseSchema?: z.ZodNumber) => z.ZodEffects<z.ZodNumber, number, number>;
1686
+ export declare enum RetirementAccountType {
1687
+ SELF_DIRECTED = "SELF_DIRECTED",
1688
+ CUSTODIAN_MANAGED = "CUSTODIAN_MANAGED"
1689
+ }
1690
+ export declare enum EmploymentStatus {
1691
+ EMPLOYED = "EMPLOYED",
1692
+ UNEMPLOYED = "UNEMPLOYED",
1693
+ SELF_EMPLOYED = "SELF_EMPLOYED",
1694
+ RETIRED = "RETIRED",
1695
+ STUDENT = "STUDENT",
1696
+ OTHER = "OTHER"
1697
+ }
1698
+ 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>;
1699
+ export declare const DateRangeFiltersZod: z.ZodObject<{
1700
+ from: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1701
+ to: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1702
+ }, "strip", z.ZodTypeAny, {
1703
+ from?: Date | null | undefined;
1704
+ to?: Date | null | undefined;
1705
+ }, {
1706
+ from?: string | null | undefined;
1707
+ to?: string | null | undefined;
1708
+ }>;
1709
+ export declare const metadataSchema: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
1710
+ user_defined_data: any;
1711
+ expected: any;
1712
+ } | null, string>;
1713
+ export declare const LogContextZod: z.ZodObject<{
1714
+ queueName: z.ZodString;
1715
+ jobId: z.ZodString;
1716
+ jobName: z.ZodString;
1717
+ shouldAlert: z.ZodOptional<z.ZodBoolean>;
1718
+ }, "strip", z.ZodTypeAny, {
1719
+ queueName: string;
1720
+ jobId: string;
1721
+ jobName: string;
1722
+ shouldAlert?: boolean | undefined;
1723
+ }, {
1724
+ queueName: string;
1725
+ jobId: string;
1726
+ jobName: string;
1727
+ shouldAlert?: boolean | undefined;
1728
+ }>;
1729
+ export type LogContext = z.infer<typeof LogContextZod>;
1730
+ /**
1731
+ * Maps all documented Cloudflare Turnstile error codes to their corresponding HTTP status and user-friendly message.
1732
+ *
1733
+ * @see {@link https://developers.cloudflare.com/turnstile/get-started/server-side-validation/ Cloudflare Turnstile Server-side Validation}
1734
+ */
1735
+ export declare const errorMap: Record<string, {
1736
+ status: HttpStatus;
1737
+ message: string;
1738
+ }>;
1739
+ export declare enum BaseContactUsOptions {
1740
+ ISSUER = "ISSUER",
1741
+ TECHNICAL_SUPPORT = "TECHNICAL_SUPPORT",
1742
+ SALES = "SALES",
1743
+ ACCOUNT_MANAGER = "ACCOUNT_MANAGER"
1744
+ }
1745
+ export declare enum SortOrder {
1746
+ ASC = "ASC",
1747
+ DESC = "DESC"
1748
+ }
1749
+ export declare enum SortBy {
1750
+ CREATED_AT = "created_at",
1751
+ UPDATED_AT = "updated_at",
1752
+ PLACEDAT = "placedAt",
1753
+ NAME = "name",
1754
+ TITLE = "title",
1755
+ LEGAL_NAME = "legal_name"
1756
+ }
1757
+ export declare enum PersonaStatus {
1758
+ APPROVED = "approved",
1759
+ ACTIVE = "active",
1760
+ CREATED = "created",
1761
+ COMPLETED = "completed",
1762
+ DRAFT = "draft",
1763
+ DECLINED = "declined",
1764
+ EXPIRED = "expired",
1765
+ FAILED = "failed",
1766
+ NEEDS_REVIEW = "needs_review",
1767
+ PUBLISHED = "published",
1768
+ PENDING = "pending",
1769
+ REDACTED = "redacted"
1770
+ }
1771
+ export declare enum AMLProvider {
1772
+ COMPLY_ADVANTAGE = "ComplyAdvantage"
1773
+ }
1774
+ export declare enum ThemeFileType {
1775
+ LIGHT = "light",
1776
+ DARK = "dark"
1777
+ }
1778
+ /**
1779
+ * Common timezone identifiers using IANA timezone database format.
1780
+ * These are the most commonly used timezones in business applications.
1781
+ */
1782
+ export declare enum TimeZone {
1783
+ UTC = "UTC",
1784
+ PACIFIC = "America/Los_Angeles",
1785
+ MOUNTAIN = "America/Denver",
1786
+ CENTRAL = "America/Chicago",
1787
+ EASTERN = "America/New_York",
1788
+ LONDON = "Europe/London",
1789
+ PARIS = "Europe/Paris",
1790
+ BERLIN = "Europe/Berlin",
1791
+ ROME = "Europe/Rome",
1792
+ MADRID = "Europe/Madrid",
1793
+ AMSTERDAM = "Europe/Amsterdam",
1794
+ ZURICH = "Europe/Zurich",
1795
+ TOKYO = "Asia/Tokyo",
1796
+ SHANGHAI = "Asia/Shanghai",
1797
+ HONG_KONG = "Asia/Hong_Kong",
1798
+ SINGAPORE = "Asia/Singapore",
1799
+ MUMBAI = "Asia/Kolkata",
1800
+ DUBAI = "Asia/Dubai",
1801
+ SYDNEY = "Australia/Sydney",
1802
+ MELBOURNE = "Australia/Melbourne",
1803
+ SAO_PAULO = "America/Sao_Paulo",
1804
+ TORONTO = "America/Toronto",
1805
+ VANCOUVER = "America/Vancouver"
1806
+ }
1807
+ export declare const SenderDataZod: z.ZodObject<{
1808
+ senderName: z.ZodNullable<z.ZodString>;
1809
+ senderEmail: z.ZodNullable<z.ZodString>;
1810
+ }, "strip", z.ZodTypeAny, {
1811
+ senderName: string | null;
1812
+ senderEmail: string | null;
1813
+ }, {
1814
+ senderName: string | null;
1815
+ senderEmail: string | null;
1816
+ }>;
1817
+ export type SenderDataZod = z.infer<typeof SenderDataZod>;
1818
+ export declare enum JobState {
1819
+ COMPLETED = "completed",
1820
+ FAILED = "failed",
1821
+ WAITING = "waiting",
1822
+ ACTIVE = "active",
1823
+ DELAYED = "delayed",
1824
+ PRIORITIZED = "prioritized",
1825
+ WAITING_CHILDREN = "waiting-children"
1826
+ }
1827
+ export declare const SUBJECT_TYPE_MAP: Record<BulkExportType, string>;
1828
+ export declare const StringToBooleanSchema: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
1829
+ export type StringToBooleanSchema = z.infer<typeof StringToBooleanSchema>;
1830
+ /**
1831
+ * Reusable email schema that validates email format, transforms to lowercase,
1832
+ * and includes OpenAPI metadata.
1833
+ *
1834
+ * @example
1835
+ * EmailSchema.parse('John.Doe@EXAMPLE.COM'); // returns 'john.doe@example.com'
1836
+ * EmailSchema.optional().parse(undefined); // returns undefined
1837
+ */
1838
+ export declare const EmailSchema: z.ZodEffects<z.ZodString, string, string>;
1839
+ export declare enum WarrantSharesCalculationMethod {
1840
+ NONE = "NONE",
1841
+ PRORATA = "PRORATA",
1842
+ INCREMENT = "INCREMENT"
1843
+ }
1844
+ export declare enum OfferingStatus {
1845
+ ONBOARDING = "ONBOARDING",
1846
+ IN_REVIEW = "IN_REVIEW",
1847
+ ACTIVE = "ACTIVE",
1848
+ PAUSED = "PAUSED",
1849
+ CLOSED = "CLOSED"
1850
+ }
1851
+ export {};