@dalmore/api-contracts 0.0.0-dev.4c056b7 → 0.0.0-dev.4db6454

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