@dalmore/api-contracts 0.0.0-dev.d07da18 → 0.0.0-dev.d10f798

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