@dalmore/api-contracts 0.0.0-dev.988f3c3 → 0.0.0-dev.a9772b4

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