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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (698) hide show
  1. package/README.md +23 -19
  2. package/common/helpers/index.d.ts +50 -0
  3. package/common/helpers/index.js +136 -0
  4. package/common/helpers/index.js.map +1 -0
  5. package/common/types/account-contact.types.d.ts +485 -0
  6. package/common/types/account-contact.types.js +75 -0
  7. package/common/types/account-contact.types.js.map +1 -0
  8. package/common/types/account-detail.types.d.ts +304 -0
  9. package/common/types/account-detail.types.js +20 -0
  10. package/common/types/account-detail.types.js.map +1 -0
  11. package/common/types/account-integration.types.d.ts +242 -0
  12. package/common/types/account-integration.types.js +121 -0
  13. package/common/types/account-integration.types.js.map +1 -0
  14. package/common/types/account-manager.types.d.ts +917 -0
  15. package/common/types/account-manager.types.js +89 -0
  16. package/common/types/account-manager.types.js.map +1 -0
  17. package/common/types/account-setting.types.d.ts +184 -0
  18. package/common/types/account-setting.types.js +52 -0
  19. package/common/types/account-setting.types.js.map +1 -0
  20. package/common/types/account.types.d.ts +631 -0
  21. package/common/types/account.types.js +217 -0
  22. package/common/types/account.types.js.map +1 -0
  23. package/common/types/activity.types.d.ts +580 -0
  24. package/common/types/activity.types.js +245 -0
  25. package/common/types/activity.types.js.map +1 -0
  26. package/common/types/address.types.d.ts +89 -0
  27. package/common/types/address.types.js +36 -0
  28. package/common/types/address.types.js.map +1 -0
  29. package/common/types/aic.types.d.ts +434 -0
  30. package/common/types/aic.types.js +170 -0
  31. package/common/types/aic.types.js.map +1 -0
  32. package/common/types/aml.types.d.ts +41 -0
  33. package/common/types/aml.types.js +16 -0
  34. package/common/types/aml.types.js.map +1 -0
  35. package/common/types/api-key-logs.types.d.ts +204 -0
  36. package/common/types/api-key-logs.types.js +52 -0
  37. package/common/types/api-key-logs.types.js.map +1 -0
  38. package/common/types/api-keys.types.d.ts +192 -0
  39. package/common/types/api-keys.types.js +57 -0
  40. package/common/types/api-keys.types.js.map +1 -0
  41. package/common/types/asset.types.d.ts +888 -0
  42. package/common/types/asset.types.js +280 -0
  43. package/common/types/asset.types.js.map +1 -0
  44. package/common/types/auth.types.d.ts +487 -0
  45. package/common/types/auth.types.js +279 -0
  46. package/common/types/auth.types.js.map +1 -0
  47. package/common/types/batch-jobs.types.d.ts +321 -0
  48. package/common/types/batch-jobs.types.js +111 -0
  49. package/common/types/batch-jobs.types.js.map +1 -0
  50. package/common/types/bonus-tier.types.d.ts +980 -0
  51. package/common/types/bonus-tier.types.js +159 -0
  52. package/common/types/bonus-tier.types.js.map +1 -0
  53. package/common/types/cap-table.types.d.ts +1124 -0
  54. package/common/types/cap-table.types.js +406 -0
  55. package/common/types/cap-table.types.js.map +1 -0
  56. package/common/types/cart.types.d.ts +28 -0
  57. package/common/types/cart.types.js +19 -0
  58. package/common/types/cart.types.js.map +1 -0
  59. package/common/types/checklist-items.types.d.ts +195 -0
  60. package/common/types/checklist-items.types.js +54 -0
  61. package/common/types/checklist-items.types.js.map +1 -0
  62. package/common/types/checklist.types.d.ts +140 -0
  63. package/common/types/checklist.types.js +71 -0
  64. package/common/types/checklist.types.js.map +1 -0
  65. package/common/types/common.types.d.ts +1498 -0
  66. package/common/types/common.types.js +1431 -0
  67. package/common/types/common.types.js.map +1 -0
  68. package/common/types/comply-advantage-api.types.d.ts +3959 -0
  69. package/common/types/comply-advantage-api.types.js +270 -0
  70. package/common/types/comply-advantage-api.types.js.map +1 -0
  71. package/common/types/comply-advantage.types.d.ts +48 -0
  72. package/common/types/comply-advantage.types.js +21 -0
  73. package/common/types/comply-advantage.types.js.map +1 -0
  74. package/common/types/contact-us.types.d.ts +126 -0
  75. package/common/types/contact-us.types.js +91 -0
  76. package/common/types/contact-us.types.js.map +1 -0
  77. package/common/types/countries.types.d.ts +77 -0
  78. package/common/types/countries.types.js +349 -0
  79. package/common/types/countries.types.js.map +1 -0
  80. package/common/types/covered-person.types.d.ts +204 -0
  81. package/common/types/covered-person.types.js +234 -0
  82. package/common/types/covered-person.types.js.map +1 -0
  83. package/common/types/dashboard.types.d.ts +2086 -0
  84. package/common/types/dashboard.types.js +690 -0
  85. package/common/types/dashboard.types.js.map +1 -0
  86. package/common/types/data-record.types.d.ts +347 -0
  87. package/common/types/data-record.types.js +261 -0
  88. package/common/types/data-record.types.js.map +1 -0
  89. package/common/types/data-room.types.d.ts +1277 -0
  90. package/common/types/data-room.types.js +167 -0
  91. package/common/types/data-room.types.js.map +1 -0
  92. package/common/types/default-theme-config.types.d.ts +445 -0
  93. package/common/types/default-theme-config.types.js +63 -0
  94. package/common/types/default-theme-config.types.js.map +1 -0
  95. package/common/types/disbursement-adjustment.types.d.ts +21 -0
  96. package/common/types/disbursement-adjustment.types.js +25 -0
  97. package/common/types/disbursement-adjustment.types.js.map +1 -0
  98. package/common/types/disbursement-approval-user.types.d.ts +935 -0
  99. package/common/types/disbursement-approval-user.types.js +68 -0
  100. package/common/types/disbursement-approval-user.types.js.map +1 -0
  101. package/common/types/disbursement-review.types.d.ts +923 -0
  102. package/common/types/disbursement-review.types.js +76 -0
  103. package/common/types/disbursement-review.types.js.map +1 -0
  104. package/common/types/disbursement-transaction.types.d.ts +621 -0
  105. package/common/types/disbursement-transaction.types.js +51 -0
  106. package/common/types/disbursement-transaction.types.js.map +1 -0
  107. package/common/types/disbursements.types.d.ts +2343 -0
  108. package/common/types/disbursements.types.js +308 -0
  109. package/common/types/disbursements.types.js.map +1 -0
  110. package/common/types/domain-filter.types.d.ts +135 -0
  111. package/common/types/domain-filter.types.js +40 -0
  112. package/common/types/domain-filter.types.js.map +1 -0
  113. package/common/types/email-theme.types.d.ts +1359 -0
  114. package/common/types/email-theme.types.js +318 -0
  115. package/common/types/email-theme.types.js.map +1 -0
  116. package/common/types/entity.types.d.ts +21 -0
  117. package/common/types/entity.types.js +14 -0
  118. package/common/types/entity.types.js.map +1 -0
  119. package/common/types/error-responses.types.d.ts +144 -0
  120. package/common/types/error-responses.types.js +125 -0
  121. package/common/types/error-responses.types.js.map +1 -0
  122. package/common/types/escrow-account.types.d.ts +398 -0
  123. package/common/types/escrow-account.types.js +75 -0
  124. package/common/types/escrow-account.types.js.map +1 -0
  125. package/common/types/exchange-api-key.types.d.ts +1010 -0
  126. package/common/types/exchange-api-key.types.js +90 -0
  127. package/common/types/exchange-api-key.types.js.map +1 -0
  128. package/common/types/exchange-import.types.d.ts +23 -0
  129. package/common/types/exchange-import.types.js +23 -0
  130. package/common/types/exchange-import.types.js.map +1 -0
  131. package/common/types/exchange-provider.types.d.ts +1308 -0
  132. package/common/types/exchange-provider.types.js +268 -0
  133. package/common/types/exchange-provider.types.js.map +1 -0
  134. package/common/types/file.types.d.ts +401 -0
  135. package/common/types/file.types.js +378 -0
  136. package/common/types/file.types.js.map +1 -0
  137. package/common/types/health.types.d.ts +112 -0
  138. package/common/types/health.types.js +22 -0
  139. package/common/types/health.types.js.map +1 -0
  140. package/common/types/i-will-do-it-later.types.d.ts +51 -0
  141. package/common/types/i-will-do-it-later.types.js +30 -0
  142. package/common/types/i-will-do-it-later.types.js.map +1 -0
  143. package/common/types/{index.ts → index.d.ts} +4 -3
  144. package/common/types/index.js +52 -0
  145. package/common/types/index.js.map +1 -0
  146. package/common/types/individuals.types.d.ts +1899 -0
  147. package/common/types/individuals.types.js +500 -0
  148. package/common/types/individuals.types.js.map +1 -0
  149. package/common/types/investor-account.types.d.ts +2996 -0
  150. package/common/types/investor-account.types.js +930 -0
  151. package/common/types/investor-account.types.js.map +1 -0
  152. package/common/types/investorAccountIdSchema.type.js +1 -0
  153. package/common/types/investorAccountIdSchema.type.js.map +1 -0
  154. package/common/types/investors-offering.types.d.ts +391 -0
  155. package/common/types/investors-offering.types.js +49 -0
  156. package/common/types/investors-offering.types.js.map +1 -0
  157. package/common/types/invite.types.d.ts +641 -0
  158. package/common/types/invite.types.js +113 -0
  159. package/common/types/invite.types.js.map +1 -0
  160. package/common/types/issuer-bank-account.types.d.ts +385 -0
  161. package/common/types/issuer-bank-account.types.js +81 -0
  162. package/common/types/issuer-bank-account.types.js.map +1 -0
  163. package/common/types/issuer-offering.types.d.ts +1245 -0
  164. package/common/types/issuer-offering.types.js +344 -0
  165. package/common/types/issuer-offering.types.js.map +1 -0
  166. package/common/types/issuer-payment-method.types.d.ts +1100 -0
  167. package/common/types/issuer-payment-method.types.js +311 -0
  168. package/common/types/issuer-payment-method.types.js.map +1 -0
  169. package/common/types/issuer.types.d.ts +539 -0
  170. package/common/types/issuer.types.js +275 -0
  171. package/common/types/issuer.types.js.map +1 -0
  172. package/common/types/job-item.types.d.ts +230 -0
  173. package/common/types/job-item.types.js +89 -0
  174. package/common/types/job-item.types.js.map +1 -0
  175. package/common/types/jobs.types.d.ts +296 -0
  176. package/common/types/jobs.types.js +150 -0
  177. package/common/types/jobs.types.js.map +1 -0
  178. package/common/types/kyb.types.d.ts +167 -0
  179. package/common/types/kyb.types.js +45 -0
  180. package/common/types/kyb.types.js.map +1 -0
  181. package/common/types/kyc.types.d.ts +2197 -0
  182. package/common/types/kyc.types.js +301 -0
  183. package/common/types/kyc.types.js.map +1 -0
  184. package/common/types/legal-entity.types.d.ts +638 -0
  185. package/common/types/legal-entity.types.js +148 -0
  186. package/common/types/legal-entity.types.js.map +1 -0
  187. package/common/types/login-history.types.d.ts +160 -0
  188. package/common/types/login-history.types.js +39 -0
  189. package/common/types/login-history.types.js.map +1 -0
  190. package/common/types/mail-template.types.d.ts +595 -0
  191. package/common/types/mail-template.types.js +401 -0
  192. package/common/types/mail-template.types.js.map +1 -0
  193. package/common/types/north-cap-integration.types.d.ts +1303 -0
  194. package/common/types/north-cap-integration.types.js +145 -0
  195. package/common/types/north-cap-integration.types.js.map +1 -0
  196. package/common/types/note.types.d.ts +216 -0
  197. package/common/types/note.types.js +82 -0
  198. package/common/types/note.types.js.map +1 -0
  199. package/common/types/notification.types.d.ts +2689 -0
  200. package/common/types/notification.types.js +408 -0
  201. package/common/types/notification.types.js.map +1 -0
  202. package/common/types/notion-api.types.d.ts +3626 -0
  203. package/common/types/notion-api.types.js +271 -0
  204. package/common/types/notion-api.types.js.map +1 -0
  205. package/common/types/notion-database.types.d.ts +191 -0
  206. package/common/types/notion-database.types.js +95 -0
  207. package/common/types/notion-database.types.js.map +1 -0
  208. package/common/types/notion-page.types.d.ts +3482 -0
  209. package/common/types/notion-page.types.js +208 -0
  210. package/common/types/notion-page.types.js.map +1 -0
  211. package/common/types/offering-reports.types.d.ts +525 -0
  212. package/common/types/offering-reports.types.js +111 -0
  213. package/common/types/offering-reports.types.js.map +1 -0
  214. package/common/types/offering-submission.types.d.ts +587 -0
  215. package/common/types/offering-submission.types.js +278 -0
  216. package/common/types/offering-submission.types.js.map +1 -0
  217. package/common/types/offering.types.d.ts +2335 -0
  218. package/common/types/offering.types.js +505 -0
  219. package/common/types/offering.types.js.map +1 -0
  220. package/common/types/page-revision.types.d.ts +74 -0
  221. package/common/types/page-revision.types.js +68 -0
  222. package/common/types/page-revision.types.js.map +1 -0
  223. package/common/types/page.types.d.ts +540 -0
  224. package/common/types/page.types.js +361 -0
  225. package/common/types/page.types.js.map +1 -0
  226. package/common/types/password.type.d.ts +2 -0
  227. package/common/types/password.type.js +14 -0
  228. package/common/types/password.type.js.map +1 -0
  229. package/common/types/payment-methods.types.d.ts +800 -0
  230. package/common/types/payment-methods.types.js +260 -0
  231. package/common/types/payment-methods.types.js.map +1 -0
  232. package/common/types/phone.type.d.ts +12 -0
  233. package/common/types/phone.type.js +29 -0
  234. package/common/types/phone.type.js.map +1 -0
  235. package/common/types/portfolio.types.d.ts +185 -0
  236. package/common/types/portfolio.types.js +36 -0
  237. package/common/types/portfolio.types.js.map +1 -0
  238. package/common/types/privacy-policy-and-tos.types.d.ts +2 -0
  239. package/common/types/{privacy-policy-and-tos.types.ts → privacy-policy-and-tos.types.js} +1 -1
  240. package/common/types/privacy-policy-and-tos.types.js.map +1 -0
  241. package/common/types/queue.types.d.ts +22 -0
  242. package/common/types/queue.types.js +73 -0
  243. package/common/types/queue.types.js.map +1 -0
  244. package/common/types/registered-reps.types.d.ts +6 -0
  245. package/common/types/registered-reps.types.js +21 -0
  246. package/common/types/registered-reps.types.js.map +1 -0
  247. package/common/types/rejection-reasons.types.d.ts +35 -0
  248. package/common/types/rejection-reasons.types.js +49 -0
  249. package/common/types/rejection-reasons.types.js.map +1 -0
  250. package/common/types/review.types.d.ts +419 -0
  251. package/common/types/review.types.js +101 -0
  252. package/common/types/review.types.js.map +1 -0
  253. package/common/types/role.types.d.ts +30 -0
  254. package/common/types/role.types.js +21 -0
  255. package/common/types/role.types.js.map +1 -0
  256. package/common/types/secondary-customer.types.d.ts +586 -0
  257. package/common/types/secondary-customer.types.js +39 -0
  258. package/common/types/secondary-customer.types.js.map +1 -0
  259. package/common/types/secondary-issuer.types.d.ts +283 -0
  260. package/common/types/secondary-issuer.types.js +37 -0
  261. package/common/types/secondary-issuer.types.js.map +1 -0
  262. package/common/types/secondary-order.types.d.ts +508 -0
  263. package/common/types/secondary-order.types.js +40 -0
  264. package/common/types/secondary-order.types.js.map +1 -0
  265. package/common/types/secondary-security.types.d.ts +175 -0
  266. package/common/types/secondary-security.types.js +45 -0
  267. package/common/types/secondary-security.types.js.map +1 -0
  268. package/common/types/secondary-trade.entity.d.ts +16 -0
  269. package/common/types/secondary-trade.entity.js +12 -0
  270. package/common/types/secondary-trade.entity.js.map +1 -0
  271. package/common/types/secondary-trade.types.d.ts +465 -0
  272. package/common/types/secondary-trade.types.js +61 -0
  273. package/common/types/secondary-trade.types.js.map +1 -0
  274. package/common/types/secure-request.types.d.ts +171 -0
  275. package/common/types/secure-request.types.js +51 -0
  276. package/common/types/secure-request.types.js.map +1 -0
  277. package/common/types/signer.types.d.ts +3394 -0
  278. package/common/types/signer.types.js +517 -0
  279. package/common/types/signer.types.js.map +1 -0
  280. package/common/types/site-link.types.d.ts +875 -0
  281. package/common/types/site-link.types.js +126 -0
  282. package/common/types/site-link.types.js.map +1 -0
  283. package/common/types/site-settings.types.d.ts +1673 -0
  284. package/common/types/site-settings.types.js +500 -0
  285. package/common/types/site-settings.types.js.map +1 -0
  286. package/common/types/site.types.d.ts +1476 -0
  287. package/common/types/site.types.js +213 -0
  288. package/common/types/site.types.js.map +1 -0
  289. package/common/types/sms.types.d.ts +40 -0
  290. package/common/types/sms.types.js +27 -0
  291. package/common/types/sms.types.js.map +1 -0
  292. package/common/types/state-machine.types.d.ts +591 -0
  293. package/common/types/state-machine.types.js +144 -0
  294. package/common/types/state-machine.types.js.map +1 -0
  295. package/common/types/states.types.d.ts +77 -0
  296. package/common/types/states.types.js +137 -0
  297. package/common/types/states.types.js.map +1 -0
  298. package/common/types/subdoc-preview.types.d.ts +379 -0
  299. package/common/types/subdoc-preview.types.js +24 -0
  300. package/common/types/subdoc-preview.types.js.map +1 -0
  301. package/common/types/task.types.d.ts +537 -0
  302. package/common/types/task.types.js +211 -0
  303. package/common/types/task.types.js.map +1 -0
  304. package/common/types/trade-adjustment.type.d.ts +40 -0
  305. package/common/types/trade-adjustment.type.js +26 -0
  306. package/common/types/trade-adjustment.type.js.map +1 -0
  307. package/common/types/trade-line-item.types.d.ts +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 +2003 -0
  311. package/common/types/trade.types.js +782 -0
  312. package/common/types/trade.types.js.map +1 -0
  313. package/common/types/transaction.types.d.ts +375 -0
  314. package/common/types/transaction.types.js +154 -0
  315. package/common/types/transaction.types.js.map +1 -0
  316. package/common/types/trusted-contact.types.d.ts +440 -0
  317. package/common/types/trusted-contact.types.js +95 -0
  318. package/common/types/trusted-contact.types.js.map +1 -0
  319. package/common/types/typography.types.d.ts +52 -0
  320. package/common/types/typography.types.js +67 -0
  321. package/common/types/typography.types.js.map +1 -0
  322. package/common/types/user-manual.types.d.ts +287 -0
  323. package/common/types/user-manual.types.js +192 -0
  324. package/common/types/user-manual.types.js.map +1 -0
  325. package/common/types/user-setting.types.d.ts +273 -0
  326. package/common/types/user-setting.types.js +85 -0
  327. package/common/types/user-setting.types.js.map +1 -0
  328. package/common/types/user.types.d.ts +1951 -0
  329. package/common/types/user.types.js +238 -0
  330. package/common/types/user.types.js.map +1 -0
  331. package/common/types/webhook.types.d.ts +10829 -0
  332. package/common/types/webhook.types.js +658 -0
  333. package/common/types/webhook.types.js.map +1 -0
  334. package/common/types/zip.type.d.ts +35 -0
  335. package/common/types/zip.type.js +28 -0
  336. package/common/types/zip.type.js.map +1 -0
  337. package/contracts/clients/accounts/index.d.ts +308 -0
  338. package/contracts/clients/accounts/index.js +43 -0
  339. package/contracts/clients/accounts/index.js.map +1 -0
  340. package/contracts/clients/aic/index.d.ts +280 -0
  341. package/contracts/clients/aic/index.js +47 -0
  342. package/contracts/clients/aic/index.js.map +1 -0
  343. package/contracts/clients/api-key-logs/index.d.ts +287 -0
  344. package/contracts/clients/api-key-logs/index.js +37 -0
  345. package/contracts/clients/api-key-logs/index.js.map +1 -0
  346. package/contracts/clients/api-keys/index.d.ts +374 -0
  347. package/contracts/clients/api-keys/index.js +59 -0
  348. package/contracts/clients/api-keys/index.js.map +1 -0
  349. package/contracts/clients/assets/index.d.ts +1028 -0
  350. package/contracts/clients/assets/index.js +80 -0
  351. package/contracts/clients/assets/index.js.map +1 -0
  352. package/contracts/clients/auth/index.d.ts +236 -0
  353. package/contracts/clients/auth/index.js +38 -0
  354. package/contracts/clients/auth/index.js.map +1 -0
  355. package/contracts/clients/cart/index.d.ts +229 -0
  356. package/contracts/clients/cart/index.js +63 -0
  357. package/contracts/clients/cart/index.js.map +1 -0
  358. package/contracts/clients/files/index.d.ts +552 -0
  359. package/contracts/clients/files/index.js +142 -0
  360. package/contracts/clients/files/index.js.map +1 -0
  361. package/contracts/clients/files-public/index.d.ts +552 -0
  362. package/contracts/clients/files-public/index.js +142 -0
  363. package/contracts/clients/files-public/index.js.map +1 -0
  364. package/contracts/clients/index.d.ts +12482 -0
  365. package/contracts/clients/index.js +52 -0
  366. package/contracts/clients/index.js.map +1 -0
  367. package/contracts/clients/individuals/index.d.ts +3199 -0
  368. package/contracts/clients/individuals/index.js +74 -0
  369. package/contracts/clients/individuals/index.js.map +1 -0
  370. package/contracts/clients/investor-accounts/index.d.ts +339 -0
  371. package/contracts/clients/investor-accounts/index.js +73 -0
  372. package/contracts/clients/investor-accounts/index.js.map +1 -0
  373. package/contracts/clients/issuer-payment-methods/index.d.ts +276 -0
  374. package/contracts/clients/issuer-payment-methods/index.js +24 -0
  375. package/contracts/clients/issuer-payment-methods/index.js.map +1 -0
  376. package/contracts/clients/issuers/index.d.ts +449 -0
  377. package/contracts/clients/issuers/index.js +75 -0
  378. package/contracts/clients/issuers/index.js.map +1 -0
  379. package/contracts/clients/kyc/index.d.ts +345 -0
  380. package/contracts/clients/kyc/index.js +49 -0
  381. package/contracts/clients/kyc/index.js.map +1 -0
  382. package/contracts/clients/legal-entities/index.d.ts +887 -0
  383. package/contracts/clients/legal-entities/index.js +74 -0
  384. package/contracts/clients/legal-entities/index.js.map +1 -0
  385. package/contracts/clients/offerings/index.d.ts +767 -0
  386. package/contracts/clients/offerings/index.js +95 -0
  387. package/contracts/clients/offerings/index.js.map +1 -0
  388. package/contracts/clients/payment-methods/index.d.ts +456 -0
  389. package/contracts/clients/payment-methods/index.js +68 -0
  390. package/contracts/clients/payment-methods/index.js.map +1 -0
  391. package/contracts/clients/secure-requests/index.d.ts +100 -0
  392. package/contracts/clients/secure-requests/index.js +22 -0
  393. package/contracts/clients/secure-requests/index.js.map +1 -0
  394. package/contracts/clients/sites/index.d.ts +657 -0
  395. package/contracts/clients/sites/index.js +40 -0
  396. package/contracts/clients/sites/index.js.map +1 -0
  397. package/contracts/clients/trade-line-items/index.d.ts +216 -0
  398. package/contracts/clients/trade-line-items/index.js +47 -0
  399. package/contracts/clients/trade-line-items/index.js.map +1 -0
  400. package/contracts/clients/trades/index.d.ts +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 -332
  441. package/common/types/domain-filter.types.ts +0 -55
  442. package/common/types/email-theme.types.ts +0 -442
  443. package/common/types/entity.types.ts +0 -15
  444. package/common/types/error-responses.types.ts +0 -135
  445. package/common/types/escrow-account.types.ts +0 -104
  446. package/common/types/exchange-api-key.types.ts +0 -121
  447. package/common/types/exchange-import.types.ts +0 -36
  448. package/common/types/exchange-provider.types.ts +0 -329
  449. package/common/types/file.types.ts +0 -461
  450. package/common/types/health.types.ts +0 -29
  451. package/common/types/individuals.types.ts +0 -554
  452. package/common/types/investor-account.types.ts +0 -1239
  453. package/common/types/investors-offering.types.ts +0 -65
  454. package/common/types/invite.types.ts +0 -133
  455. package/common/types/issuer-bank-account.types.ts +0 -107
  456. package/common/types/issuer-offering.types.ts +0 -393
  457. package/common/types/issuer-payment-method.types.ts +0 -382
  458. package/common/types/issuer.types.ts +0 -321
  459. package/common/types/job-item.types.ts +0 -119
  460. package/common/types/jobs.types.ts +0 -171
  461. package/common/types/kyb.types.ts +0 -53
  462. package/common/types/kyc.types.ts +0 -188
  463. package/common/types/legal-entity.types.ts +0 -185
  464. package/common/types/login-history.types.ts +0 -46
  465. package/common/types/mail-template.types.ts +0 -436
  466. package/common/types/north-cap-integration.types.ts +0 -190
  467. package/common/types/note.types.ts +0 -109
  468. package/common/types/notification.types.ts +0 -58
  469. package/common/types/notion-api.types.ts +0 -374
  470. package/common/types/notion-database.types.ts +0 -125
  471. package/common/types/notion-page.types.ts +0 -267
  472. package/common/types/offering-reports.types.ts +0 -153
  473. package/common/types/offering-submission.types.ts +0 -314
  474. package/common/types/offering.types.ts +0 -681
  475. package/common/types/page-revision.types.ts +0 -86
  476. package/common/types/page.types.ts +0 -436
  477. package/common/types/password.type.ts +0 -15
  478. package/common/types/payment-methods.types.ts +0 -298
  479. package/common/types/phone.type.ts +0 -27
  480. package/common/types/portfolio.types.ts +0 -50
  481. package/common/types/queue.types.ts +0 -112
  482. package/common/types/registered-reps.types.ts +0 -25
  483. package/common/types/rejection-reasons.types.ts +0 -56
  484. package/common/types/reminder-config.types.ts +0 -40
  485. package/common/types/review.types.ts +0 -133
  486. package/common/types/role.types.ts +0 -26
  487. package/common/types/secondary-customer.types.ts +0 -66
  488. package/common/types/secondary-issuer.types.ts +0 -50
  489. package/common/types/secondary-order.types.ts +0 -58
  490. package/common/types/secondary-security.types.ts +0 -60
  491. package/common/types/secondary-trade.entity.ts +0 -16
  492. package/common/types/secondary-trade.types.ts +0 -95
  493. package/common/types/secure-request.types.ts +0 -68
  494. package/common/types/signer.types.ts +0 -651
  495. package/common/types/site-link.types.ts +0 -166
  496. package/common/types/site-settings.types.ts +0 -726
  497. package/common/types/site.types.ts +0 -270
  498. package/common/types/sms.types.ts +0 -30
  499. package/common/types/state-machine.types.ts +0 -177
  500. package/common/types/states.types.ts +0 -163
  501. package/common/types/subdoc-preview.types.ts +0 -35
  502. package/common/types/task.types.ts +0 -258
  503. package/common/types/trade-adjustment.type.ts +0 -33
  504. package/common/types/trade-line-item.type.ts +0 -132
  505. package/common/types/trade.types.ts +0 -999
  506. package/common/types/transaction.types.ts +0 -198
  507. package/common/types/trusted-contact.types.ts +0 -122
  508. package/common/types/typography.types.ts +0 -75
  509. package/common/types/user-manual.types.ts +0 -290
  510. package/common/types/user-setting.types.ts +0 -133
  511. package/common/types/user.types.ts +0 -320
  512. package/common/types/webhook.types.ts +0 -588
  513. package/common/types/zip.type.ts +0 -36
  514. package/contracts/clients/accounts/index.ts +0 -61
  515. package/contracts/clients/aic/index.ts +0 -59
  516. package/contracts/clients/api-key-logs/index.ts +0 -53
  517. package/contracts/clients/api-keys/index.ts +0 -73
  518. package/contracts/clients/assets/index.ts +0 -102
  519. package/contracts/clients/auth/index.ts +0 -50
  520. package/contracts/clients/cart/index.ts +0 -60
  521. package/contracts/clients/files/index.ts +0 -166
  522. package/contracts/clients/files-public/index.ts +0 -166
  523. package/contracts/clients/index.ts +0 -52
  524. package/contracts/clients/individuals/index.ts +0 -93
  525. package/contracts/clients/investor-accounts/index.ts +0 -93
  526. package/contracts/clients/issuer-payment-methods/index.ts +0 -39
  527. package/contracts/clients/issuers/index.ts +0 -94
  528. package/contracts/clients/legal-entities/index.ts +0 -93
  529. package/contracts/clients/offerings/index.ts +0 -117
  530. package/contracts/clients/payment-methods/index.ts +0 -85
  531. package/contracts/clients/secure-requests/index.ts +0 -34
  532. package/contracts/clients/sites/index.ts +0 -56
  533. package/contracts/clients/trade-line-items/index.ts +0 -66
  534. package/contracts/clients/trades/index.ts +0 -186
  535. package/contracts/compliance/account-contacts/index.ts +0 -82
  536. package/contracts/compliance/account-managers/index.ts +0 -142
  537. package/contracts/compliance/accounts/index.ts +0 -187
  538. package/contracts/compliance/activities/index.ts +0 -55
  539. package/contracts/compliance/aic/index.ts +0 -60
  540. package/contracts/compliance/api-keys/index.ts +0 -91
  541. package/contracts/compliance/assets/index.ts +0 -122
  542. package/contracts/compliance/auth/index.ts +0 -134
  543. package/contracts/compliance/batch-jobs/index.ts +0 -62
  544. package/contracts/compliance/bonus-tiers/index.ts +0 -55
  545. package/contracts/compliance/checklist/index.ts +0 -87
  546. package/contracts/compliance/checklist-items/index.ts +0 -86
  547. package/contracts/compliance/covered-persons/index.ts +0 -97
  548. package/contracts/compliance/dashboard/index.ts +0 -111
  549. package/contracts/compliance/data-records/index.ts +0 -116
  550. package/contracts/compliance/data-rooms/index.ts +0 -113
  551. package/contracts/compliance/default-theme-configs/index.ts +0 -95
  552. package/contracts/compliance/disbursement/index.ts +0 -165
  553. package/contracts/compliance/disbursement-approval-users/index.ts +0 -84
  554. package/contracts/compliance/disbursement-transactions/index.ts +0 -37
  555. package/contracts/compliance/domain-filters/index.ts +0 -117
  556. package/contracts/compliance/email-themes/index.ts +0 -284
  557. package/contracts/compliance/escrow-accounts/index.ts +0 -85
  558. package/contracts/compliance/exchange-api-keys/index.ts +0 -129
  559. package/contracts/compliance/exchange-imports/index.ts +0 -137
  560. package/contracts/compliance/files/index.ts +0 -267
  561. package/contracts/compliance/files-public/index.ts +0 -188
  562. package/contracts/compliance/health/index.ts +0 -26
  563. package/contracts/compliance/index.ts +0 -147
  564. package/contracts/compliance/individuals/index.ts +0 -57
  565. package/contracts/compliance/investor-accounts/index.ts +0 -141
  566. package/contracts/compliance/invites/index.ts +0 -137
  567. package/contracts/compliance/issuer-bank-accounts/index.ts +0 -81
  568. package/contracts/compliance/issuer-payment-methods/index.ts +0 -81
  569. package/contracts/compliance/issuers/index.ts +0 -97
  570. package/contracts/compliance/job-items/index.ts +0 -58
  571. package/contracts/compliance/jobs/index.ts +0 -59
  572. package/contracts/compliance/kyb/index.ts +0 -54
  573. package/contracts/compliance/kyc/index.ts +0 -77
  574. package/contracts/compliance/legal-entities/index.ts +0 -57
  575. package/contracts/compliance/login-histories/index.ts +0 -37
  576. package/contracts/compliance/notes/index.ts +0 -69
  577. package/contracts/compliance/notion-databases/index.ts +0 -107
  578. package/contracts/compliance/notion-pages/index.ts +0 -105
  579. package/contracts/compliance/offering-reports/index.ts +0 -149
  580. package/contracts/compliance/offerings/index.ts +0 -233
  581. package/contracts/compliance/pages/index.ts +0 -178
  582. package/contracts/compliance/payment-methods/index.ts +0 -57
  583. package/contracts/compliance/rejection-reasons/index.ts +0 -32
  584. package/contracts/compliance/review/index.ts +0 -169
  585. package/contracts/compliance/roles/index.ts +0 -34
  586. package/contracts/compliance/secondary-customers/index.ts +0 -77
  587. package/contracts/compliance/secondary-orders/index.ts +0 -60
  588. package/contracts/compliance/secondary-trades/index.ts +0 -100
  589. package/contracts/compliance/secure-requests/index.ts +0 -54
  590. package/contracts/compliance/signer/index.ts +0 -369
  591. package/contracts/compliance/site-links/index.ts +0 -128
  592. package/contracts/compliance/site-settings/index.ts +0 -669
  593. package/contracts/compliance/sites/index.ts +0 -56
  594. package/contracts/compliance/state-machine/index.ts +0 -94
  595. package/contracts/compliance/tasks/index.ts +0 -91
  596. package/contracts/compliance/third-parties/index.ts +0 -52
  597. package/contracts/compliance/trade-line-items/index.ts +0 -59
  598. package/contracts/compliance/trades/index.ts +0 -230
  599. package/contracts/compliance/transactions/index.ts +0 -161
  600. package/contracts/compliance/user-manuals/index.ts +0 -271
  601. package/contracts/compliance/user-settings/index.ts +0 -189
  602. package/contracts/compliance/users/index.ts +0 -200
  603. package/contracts/compliance/webhooks/index.ts +0 -41
  604. package/contracts/compliance-apikey/accounts/index.ts +0 -58
  605. package/contracts/compliance-apikey/index.ts +0 -14
  606. package/contracts/index.ts +0 -6
  607. package/contracts/investors/account-contacts/index.ts +0 -58
  608. package/contracts/investors/aic/index.ts +0 -59
  609. package/contracts/investors/assets/index.ts +0 -61
  610. package/contracts/investors/auth/index.ts +0 -116
  611. package/contracts/investors/bonus-tiers/index.ts +0 -37
  612. package/contracts/investors/cart/index.ts +0 -75
  613. package/contracts/investors/contact-us/index.ts +0 -48
  614. package/contracts/investors/data-records/index.ts +0 -113
  615. package/contracts/investors/data-rooms/index.ts +0 -96
  616. package/contracts/investors/files/index.ts +0 -167
  617. package/contracts/investors/files-public/index.ts +0 -185
  618. package/contracts/investors/index.ts +0 -72
  619. package/contracts/investors/individuals/index.ts +0 -99
  620. package/contracts/investors/investor-accounts/index.ts +0 -110
  621. package/contracts/investors/issuer-payment-methods/index.ts +0 -36
  622. package/contracts/investors/issuers/index.ts +0 -30
  623. package/contracts/investors/legal-entities/index.ts +0 -93
  624. package/contracts/investors/notes/index.ts +0 -69
  625. package/contracts/investors/offerings/index.ts +0 -93
  626. package/contracts/investors/pages/index.ts +0 -88
  627. package/contracts/investors/payment-methods/index.ts +0 -149
  628. package/contracts/investors/portfolios/index.ts +0 -53
  629. package/contracts/investors/sites/index.ts +0 -96
  630. package/contracts/investors/tasks/index.ts +0 -111
  631. package/contracts/investors/trade-line-items/index.ts +0 -75
  632. package/contracts/investors/trades/index.ts +0 -114
  633. package/contracts/investors/transactions/index.ts +0 -37
  634. package/contracts/investors/trusted-contacts/index.ts +0 -93
  635. package/contracts/investors/user-manuals/index.ts +0 -62
  636. package/contracts/investors/user-settings/index.ts +0 -170
  637. package/contracts/investors/users/index.ts +0 -45
  638. package/contracts/investors/webhooks/index.ts +0 -30
  639. package/contracts/issuers/account-contacts/index.ts +0 -76
  640. package/contracts/issuers/account-integrations/index.ts +0 -97
  641. package/contracts/issuers/accounts/index.ts +0 -97
  642. package/contracts/issuers/activities/index.ts +0 -54
  643. package/contracts/issuers/aic/index.ts +0 -39
  644. package/contracts/issuers/api-key-logs/index.ts +0 -53
  645. package/contracts/issuers/api-keys/index.ts +0 -93
  646. package/contracts/issuers/assets/index.ts +0 -122
  647. package/contracts/issuers/auth/index.ts +0 -152
  648. package/contracts/issuers/bonus-tiers/index.ts +0 -55
  649. package/contracts/issuers/contact-us/index.ts +0 -48
  650. package/contracts/issuers/covered-persons/index.ts +0 -136
  651. package/contracts/issuers/dashboard/index.ts +0 -72
  652. package/contracts/issuers/data-records/index.ts +0 -257
  653. package/contracts/issuers/data-rooms/index.ts +0 -134
  654. package/contracts/issuers/disbursement-approval-users/index.ts +0 -82
  655. package/contracts/issuers/disbursement-transactions/index.ts +0 -53
  656. package/contracts/issuers/disbursements/index.ts +0 -171
  657. package/contracts/issuers/email-themes/index.ts +0 -242
  658. package/contracts/issuers/escrow-accounts/index.ts +0 -81
  659. package/contracts/issuers/exchange-api-keys/index.ts +0 -144
  660. package/contracts/issuers/files/index.ts +0 -166
  661. package/contracts/issuers/files-public/index.ts +0 -166
  662. package/contracts/issuers/health/index.ts +0 -24
  663. package/contracts/issuers/index.ts +0 -112
  664. package/contracts/issuers/investor-accounts/index.ts +0 -148
  665. package/contracts/issuers/invites/index.ts +0 -129
  666. package/contracts/issuers/issuer/index.ts +0 -94
  667. package/contracts/issuers/issuer-bank-accounts/index.ts +0 -81
  668. package/contracts/issuers/issuer-payment-methods/index.ts +0 -136
  669. package/contracts/issuers/kyc/index.ts +0 -38
  670. package/contracts/issuers/login-histories/index.ts +0 -51
  671. package/contracts/issuers/notes/index.ts +0 -69
  672. package/contracts/issuers/offerings/index.ts +0 -206
  673. package/contracts/issuers/pages/index.ts +0 -138
  674. package/contracts/issuers/payment-methods/index.ts +0 -61
  675. package/contracts/issuers/portfolios/index.ts +0 -36
  676. package/contracts/issuers/rejection-reasons/index.ts +0 -32
  677. package/contracts/issuers/review/index.ts +0 -63
  678. package/contracts/issuers/secondary-customers/index.ts +0 -55
  679. package/contracts/issuers/secondary-orders/index.ts +0 -57
  680. package/contracts/issuers/secondary-trades/index.ts +0 -57
  681. package/contracts/issuers/secure-requests/index.ts +0 -34
  682. package/contracts/issuers/site-links/index.ts +0 -116
  683. package/contracts/issuers/site-settings/index.ts +0 -585
  684. package/contracts/issuers/sites/index.ts +0 -32
  685. package/contracts/issuers/tasks/index.ts +0 -111
  686. package/contracts/issuers/trades/index.ts +0 -132
  687. package/contracts/issuers/transactions/index.ts +0 -158
  688. package/contracts/issuers/user-manuals/index.ts +0 -62
  689. package/contracts/issuers/user-settings/index.ts +0 -170
  690. package/contracts/issuers/users/index.ts +0 -126
  691. package/contracts/secondaries/accounts/index.ts +0 -58
  692. package/contracts/secondaries/index.ts +0 -23
  693. package/contracts/secondaries/secondary-customers/index.ts +0 -55
  694. package/contracts/secondaries/secondary-issuers/index.ts +0 -94
  695. package/contracts/secondaries/secondary-orders/index.ts +0 -56
  696. package/contracts/secondaries/secondary-securities/index.ts +0 -95
  697. package/contracts/secondaries/secondary-trades/index.ts +0 -56
  698. /package/common/types/{investorAccountIdSchema.type.ts → investorAccountIdSchema.type.d.ts} +0 -0
@@ -0,0 +1,2003 @@
1
+ import { z } from 'zod';
2
+ import { InvestmentType, FundingStatus, TxnCheck, ComplianceReview, OfferingType, ManagedByType, SignatureStatus, TradeStatus, SortOrder, SortBy, AicStatus, AMLStatus, KYCStatus, AccountStatus, SavedQuery } from './common.types';
3
+ import { PaymentMethodType } from './payment-methods.types';
4
+ import { InvestorAccountExportFilters, ComplianceInvestorAccountExportFilters, RegisteredInvestorUserRawZod, IInvestorAccount } from './investor-account.types';
5
+ import { GetSecondaryCustomerFiltersZod, SecondaryCustomer } from './secondary-customer.types';
6
+ import { SecondaryTrade, SecondaryTradeFiltersZod } from './secondary-trade.types';
7
+ export declare const PostAttachSubdocBody: z.ZodObject<{
8
+ lineItemId: z.ZodEffects<z.ZodString, string, string>;
9
+ fileId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
10
+ primarySignatureStatus: z.ZodNativeEnum<typeof SignatureStatus>;
11
+ secondarySignatureStatus: z.ZodOptional<z.ZodNativeEnum<typeof SignatureStatus>>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ fileId: string;
14
+ lineItemId: string;
15
+ primarySignatureStatus: SignatureStatus;
16
+ secondarySignatureStatus?: SignatureStatus | undefined;
17
+ }, {
18
+ fileId: string;
19
+ lineItemId: string;
20
+ primarySignatureStatus: SignatureStatus;
21
+ secondarySignatureStatus?: SignatureStatus | undefined;
22
+ }>;
23
+ export type PostAttachSubdocBody = z.infer<typeof PostAttachSubdocBody>;
24
+ export declare const PutAttachSubdocBody: z.ZodObject<{
25
+ lineItemId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
26
+ fileId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
27
+ primarySignatureStatus: z.ZodOptional<z.ZodNativeEnum<typeof SignatureStatus>>;
28
+ secondarySignatureStatus: z.ZodOptional<z.ZodNativeEnum<typeof SignatureStatus>>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ fileId?: string | undefined;
31
+ lineItemId?: string | undefined;
32
+ primarySignatureStatus?: SignatureStatus | undefined;
33
+ secondarySignatureStatus?: SignatureStatus | undefined;
34
+ }, {
35
+ fileId?: string | undefined;
36
+ lineItemId?: string | undefined;
37
+ primarySignatureStatus?: SignatureStatus | undefined;
38
+ secondarySignatureStatus?: SignatureStatus | undefined;
39
+ }>;
40
+ export type PutAttachSubdocBody = z.infer<typeof PutAttachSubdocBody>;
41
+ export declare const PatchSubdocSignatureBody: z.ZodObject<{
42
+ lineItemId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
43
+ primarySignatureStatus: z.ZodOptional<z.ZodNativeEnum<typeof SignatureStatus>>;
44
+ secondarySignatureStatus: z.ZodOptional<z.ZodNativeEnum<typeof SignatureStatus>>;
45
+ }, "strip", z.ZodTypeAny, {
46
+ lineItemId?: string | undefined;
47
+ primarySignatureStatus?: SignatureStatus | undefined;
48
+ secondarySignatureStatus?: SignatureStatus | undefined;
49
+ }, {
50
+ lineItemId?: string | undefined;
51
+ primarySignatureStatus?: SignatureStatus | undefined;
52
+ secondarySignatureStatus?: SignatureStatus | undefined;
53
+ }>;
54
+ export type PatchSubdocSignatureBody = z.infer<typeof PatchSubdocSignatureBody>;
55
+ export declare const AttachSubdocResponse: z.ZodObject<{
56
+ success: z.ZodBoolean;
57
+ message: z.ZodString;
58
+ }, "strip", z.ZodTypeAny, {
59
+ message: string;
60
+ success: boolean;
61
+ }, {
62
+ message: string;
63
+ success: boolean;
64
+ }>;
65
+ export type AttachSubdocResponse = z.infer<typeof AttachSubdocResponse>;
66
+ export declare const CheckResultsSchema: z.ZodObject<{
67
+ fundingStatus: z.ZodBoolean;
68
+ agreementStatus: z.ZodBoolean;
69
+ subscriptionAgreementCheck: z.ZodBoolean;
70
+ kycStatus: z.ZodBoolean;
71
+ sanctionsStatus: z.ZodBoolean;
72
+ accreditationStatus: z.ZodBoolean;
73
+ kybStatus: z.ZodBoolean;
74
+ }, "strip", z.ZodTypeAny, {
75
+ fundingStatus: boolean;
76
+ kycStatus: boolean;
77
+ kybStatus: boolean;
78
+ sanctionsStatus: boolean;
79
+ agreementStatus: boolean;
80
+ subscriptionAgreementCheck: boolean;
81
+ accreditationStatus: boolean;
82
+ }, {
83
+ fundingStatus: boolean;
84
+ kycStatus: boolean;
85
+ kybStatus: boolean;
86
+ sanctionsStatus: boolean;
87
+ agreementStatus: boolean;
88
+ subscriptionAgreementCheck: boolean;
89
+ accreditationStatus: boolean;
90
+ }>;
91
+ export type CheckResults = z.infer<typeof CheckResultsSchema>;
92
+ export declare const TradeIdPrefix = "trade";
93
+ export declare const TradeSnapshotIdPrefix = "trade_snapshot";
94
+ export declare const tradeIdSchema: z.ZodEffects<z.ZodString, string, string>;
95
+ export declare const tradeIdOrTidSchema: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodString]>;
96
+ export declare const tradeSnapshotIdSchema: z.ZodEffects<z.ZodString, string, string>;
97
+ export declare enum SaStatus {
98
+ PENDING = "PENDING",
99
+ SIGNED = "SIGNED",
100
+ DECLINED = "DECLINED",
101
+ NEEDS_REVIEW = "NEEDS_REVIEW"
102
+ }
103
+ export declare enum TradeSystemLogType {
104
+ SUB_DOC_CHECK = "Subscription Agreement Check",
105
+ ADDRESS_CHECK = "Address Check",
106
+ COUNTRY_CHECK = "Country Check",
107
+ CONCENTRATION_CHECK = "Concentration Check",
108
+ KYC_CHECK = "KYC Check",
109
+ AML_CHECK = "AML Check",
110
+ AIC_CHECK = "AIC Check",
111
+ USER_AGE_CHECK = "User Age Check",
112
+ KYC_NAME_CHECK = "KYC Name Check",
113
+ AML_NAME_CHECK = "AML Name Check",
114
+ AIC_NAME_CHECK = "AIC Name Check",
115
+ KYC_DOB_CHECK = "KYC DOB Check",
116
+ AIC_SSN_CHECK = "AIC SSN Check",
117
+ SHARES_CHECK = "Shares Check",
118
+ PRICE_PER_UNIT_CHECK = "Price Per Unit Check",
119
+ ISSUER_CHECK = "Issuer Check",
120
+ INVESTOR_CHECK = "Investor Check",
121
+ OFFERING_CHECK = "Offering Check",
122
+ ASSETS_CHECK = "Assets Check",
123
+ INDIVIDUALS_CHECK = "Individuals Check"
124
+ }
125
+ export declare enum SaCheck {
126
+ PENDING = "PENDING",
127
+ NEEDS_REVIEW = "NEEDS_REVIEW",
128
+ APPROVED = "APPROVED",
129
+ REJECTED = "REJECTED"
130
+ }
131
+ export declare enum SystemReviewCheck {
132
+ PENDING = "PENDING",
133
+ APPROVED = "APPROVED",
134
+ REJECTED = "REJECTED",
135
+ NEEDS_REVIEW = "NEEDS_REVIEW",
136
+ WARNING = "WARNING",
137
+ INCOMPLETE = "INCOMPLETE"
138
+ }
139
+ export declare enum Platforms {
140
+ DALMORE = "DALMORE",
141
+ IMPORT = "IMPORT"
142
+ }
143
+ export declare enum MatchResultStatus {
144
+ MATCHED = "MATCHED",
145
+ UNMATCHED = "UNMATCHED"
146
+ }
147
+ export declare enum TradeSystemReviewLogStatus {
148
+ PASSED = "PASSED",
149
+ WARNING = "WARNING"
150
+ }
151
+ export declare const matchResultSchema: z.ZodObject<{
152
+ actual: z.ZodString;
153
+ status: z.ZodNativeEnum<typeof MatchResultStatus>;
154
+ extracted: z.ZodString;
155
+ corrected: z.ZodNullable<z.ZodOptional<z.ZodString>>;
156
+ }, "strip", z.ZodTypeAny, {
157
+ status: MatchResultStatus;
158
+ actual: string;
159
+ extracted: string;
160
+ corrected?: string | null | undefined;
161
+ }, {
162
+ status: MatchResultStatus;
163
+ actual: string;
164
+ extracted: string;
165
+ corrected?: string | null | undefined;
166
+ }>;
167
+ export type matchResultSchema = z.infer<typeof matchResultSchema>;
168
+ declare const saLogItemSchema: z.ZodObject<{
169
+ tradeLineItemId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
170
+ signerName: z.ZodOptional<z.ZodObject<{
171
+ actual: z.ZodString;
172
+ status: z.ZodNativeEnum<typeof MatchResultStatus>;
173
+ extracted: z.ZodString;
174
+ corrected: z.ZodNullable<z.ZodOptional<z.ZodString>>;
175
+ }, "strip", z.ZodTypeAny, {
176
+ status: MatchResultStatus;
177
+ actual: string;
178
+ extracted: string;
179
+ corrected?: string | null | undefined;
180
+ }, {
181
+ status: MatchResultStatus;
182
+ actual: string;
183
+ extracted: string;
184
+ corrected?: string | null | undefined;
185
+ }>>;
186
+ totalAmount: z.ZodOptional<z.ZodObject<{
187
+ actual: z.ZodString;
188
+ status: z.ZodNativeEnum<typeof MatchResultStatus>;
189
+ extracted: z.ZodString;
190
+ corrected: z.ZodNullable<z.ZodOptional<z.ZodString>>;
191
+ }, "strip", z.ZodTypeAny, {
192
+ status: MatchResultStatus;
193
+ actual: string;
194
+ extracted: string;
195
+ corrected?: string | null | undefined;
196
+ }, {
197
+ status: MatchResultStatus;
198
+ actual: string;
199
+ extracted: string;
200
+ corrected?: string | null | undefined;
201
+ }>>;
202
+ investorName: z.ZodOptional<z.ZodObject<{
203
+ actual: z.ZodString;
204
+ status: z.ZodNativeEnum<typeof MatchResultStatus>;
205
+ extracted: z.ZodString;
206
+ corrected: z.ZodNullable<z.ZodOptional<z.ZodString>>;
207
+ }, "strip", z.ZodTypeAny, {
208
+ status: MatchResultStatus;
209
+ actual: string;
210
+ extracted: string;
211
+ corrected?: string | null | undefined;
212
+ }, {
213
+ status: MatchResultStatus;
214
+ actual: string;
215
+ extracted: string;
216
+ corrected?: string | null | undefined;
217
+ }>>;
218
+ numberOfShares: z.ZodOptional<z.ZodObject<{
219
+ actual: z.ZodString;
220
+ status: z.ZodNativeEnum<typeof MatchResultStatus>;
221
+ extracted: z.ZodString;
222
+ corrected: z.ZodNullable<z.ZodOptional<z.ZodString>>;
223
+ }, "strip", z.ZodTypeAny, {
224
+ status: MatchResultStatus;
225
+ actual: string;
226
+ extracted: string;
227
+ corrected?: string | null | undefined;
228
+ }, {
229
+ status: MatchResultStatus;
230
+ actual: string;
231
+ extracted: string;
232
+ corrected?: string | null | undefined;
233
+ }>>;
234
+ }, "strip", z.ZodTypeAny, {
235
+ tradeLineItemId: string;
236
+ signerName?: {
237
+ status: MatchResultStatus;
238
+ actual: string;
239
+ extracted: string;
240
+ corrected?: string | null | undefined;
241
+ } | undefined;
242
+ numberOfShares?: {
243
+ status: MatchResultStatus;
244
+ actual: string;
245
+ extracted: string;
246
+ corrected?: string | null | undefined;
247
+ } | undefined;
248
+ totalAmount?: {
249
+ status: MatchResultStatus;
250
+ actual: string;
251
+ extracted: string;
252
+ corrected?: string | null | undefined;
253
+ } | undefined;
254
+ investorName?: {
255
+ status: MatchResultStatus;
256
+ actual: string;
257
+ extracted: string;
258
+ corrected?: string | null | undefined;
259
+ } | undefined;
260
+ }, {
261
+ tradeLineItemId: string;
262
+ signerName?: {
263
+ status: MatchResultStatus;
264
+ actual: string;
265
+ extracted: string;
266
+ corrected?: string | null | undefined;
267
+ } | undefined;
268
+ numberOfShares?: {
269
+ status: MatchResultStatus;
270
+ actual: string;
271
+ extracted: string;
272
+ corrected?: string | null | undefined;
273
+ } | undefined;
274
+ totalAmount?: {
275
+ status: MatchResultStatus;
276
+ actual: string;
277
+ extracted: string;
278
+ corrected?: string | null | undefined;
279
+ } | undefined;
280
+ investorName?: {
281
+ status: MatchResultStatus;
282
+ actual: string;
283
+ extracted: string;
284
+ corrected?: string | null | undefined;
285
+ } | undefined;
286
+ }>;
287
+ export type saLogItemSchema = z.infer<typeof saLogItemSchema>;
288
+ export declare const SaLogSchema: z.ZodObject<{
289
+ finalStatus: z.ZodNativeEnum<typeof SaStatus>;
290
+ matchResults: z.ZodArray<z.ZodObject<{
291
+ tradeLineItemId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
292
+ signerName: z.ZodOptional<z.ZodObject<{
293
+ actual: z.ZodString;
294
+ status: z.ZodNativeEnum<typeof MatchResultStatus>;
295
+ extracted: z.ZodString;
296
+ corrected: z.ZodNullable<z.ZodOptional<z.ZodString>>;
297
+ }, "strip", z.ZodTypeAny, {
298
+ status: MatchResultStatus;
299
+ actual: string;
300
+ extracted: string;
301
+ corrected?: string | null | undefined;
302
+ }, {
303
+ status: MatchResultStatus;
304
+ actual: string;
305
+ extracted: string;
306
+ corrected?: string | null | undefined;
307
+ }>>;
308
+ totalAmount: z.ZodOptional<z.ZodObject<{
309
+ actual: z.ZodString;
310
+ status: z.ZodNativeEnum<typeof MatchResultStatus>;
311
+ extracted: z.ZodString;
312
+ corrected: z.ZodNullable<z.ZodOptional<z.ZodString>>;
313
+ }, "strip", z.ZodTypeAny, {
314
+ status: MatchResultStatus;
315
+ actual: string;
316
+ extracted: string;
317
+ corrected?: string | null | undefined;
318
+ }, {
319
+ status: MatchResultStatus;
320
+ actual: string;
321
+ extracted: string;
322
+ corrected?: string | null | undefined;
323
+ }>>;
324
+ investorName: z.ZodOptional<z.ZodObject<{
325
+ actual: z.ZodString;
326
+ status: z.ZodNativeEnum<typeof MatchResultStatus>;
327
+ extracted: z.ZodString;
328
+ corrected: z.ZodNullable<z.ZodOptional<z.ZodString>>;
329
+ }, "strip", z.ZodTypeAny, {
330
+ status: MatchResultStatus;
331
+ actual: string;
332
+ extracted: string;
333
+ corrected?: string | null | undefined;
334
+ }, {
335
+ status: MatchResultStatus;
336
+ actual: string;
337
+ extracted: string;
338
+ corrected?: string | null | undefined;
339
+ }>>;
340
+ numberOfShares: z.ZodOptional<z.ZodObject<{
341
+ actual: z.ZodString;
342
+ status: z.ZodNativeEnum<typeof MatchResultStatus>;
343
+ extracted: z.ZodString;
344
+ corrected: z.ZodNullable<z.ZodOptional<z.ZodString>>;
345
+ }, "strip", z.ZodTypeAny, {
346
+ status: MatchResultStatus;
347
+ actual: string;
348
+ extracted: string;
349
+ corrected?: string | null | undefined;
350
+ }, {
351
+ status: MatchResultStatus;
352
+ actual: string;
353
+ extracted: string;
354
+ corrected?: string | null | undefined;
355
+ }>>;
356
+ }, "strip", z.ZodTypeAny, {
357
+ tradeLineItemId: string;
358
+ signerName?: {
359
+ status: MatchResultStatus;
360
+ actual: string;
361
+ extracted: string;
362
+ corrected?: string | null | undefined;
363
+ } | undefined;
364
+ numberOfShares?: {
365
+ status: MatchResultStatus;
366
+ actual: string;
367
+ extracted: string;
368
+ corrected?: string | null | undefined;
369
+ } | undefined;
370
+ totalAmount?: {
371
+ status: MatchResultStatus;
372
+ actual: string;
373
+ extracted: string;
374
+ corrected?: string | null | undefined;
375
+ } | undefined;
376
+ investorName?: {
377
+ status: MatchResultStatus;
378
+ actual: string;
379
+ extracted: string;
380
+ corrected?: string | null | undefined;
381
+ } | undefined;
382
+ }, {
383
+ tradeLineItemId: string;
384
+ signerName?: {
385
+ status: MatchResultStatus;
386
+ actual: string;
387
+ extracted: string;
388
+ corrected?: string | null | undefined;
389
+ } | undefined;
390
+ numberOfShares?: {
391
+ status: MatchResultStatus;
392
+ actual: string;
393
+ extracted: string;
394
+ corrected?: string | null | undefined;
395
+ } | undefined;
396
+ totalAmount?: {
397
+ status: MatchResultStatus;
398
+ actual: string;
399
+ extracted: string;
400
+ corrected?: string | null | undefined;
401
+ } | undefined;
402
+ investorName?: {
403
+ status: MatchResultStatus;
404
+ actual: string;
405
+ extracted: string;
406
+ corrected?: string | null | undefined;
407
+ } | undefined;
408
+ }>, "many">;
409
+ }, "strip", z.ZodTypeAny, {
410
+ finalStatus: SaStatus;
411
+ matchResults: {
412
+ tradeLineItemId: string;
413
+ signerName?: {
414
+ status: MatchResultStatus;
415
+ actual: string;
416
+ extracted: string;
417
+ corrected?: string | null | undefined;
418
+ } | undefined;
419
+ numberOfShares?: {
420
+ status: MatchResultStatus;
421
+ actual: string;
422
+ extracted: string;
423
+ corrected?: string | null | undefined;
424
+ } | undefined;
425
+ totalAmount?: {
426
+ status: MatchResultStatus;
427
+ actual: string;
428
+ extracted: string;
429
+ corrected?: string | null | undefined;
430
+ } | undefined;
431
+ investorName?: {
432
+ status: MatchResultStatus;
433
+ actual: string;
434
+ extracted: string;
435
+ corrected?: string | null | undefined;
436
+ } | undefined;
437
+ }[];
438
+ }, {
439
+ finalStatus: SaStatus;
440
+ matchResults: {
441
+ tradeLineItemId: string;
442
+ signerName?: {
443
+ status: MatchResultStatus;
444
+ actual: string;
445
+ extracted: string;
446
+ corrected?: string | null | undefined;
447
+ } | undefined;
448
+ numberOfShares?: {
449
+ status: MatchResultStatus;
450
+ actual: string;
451
+ extracted: string;
452
+ corrected?: string | null | undefined;
453
+ } | undefined;
454
+ totalAmount?: {
455
+ status: MatchResultStatus;
456
+ actual: string;
457
+ extracted: string;
458
+ corrected?: string | null | undefined;
459
+ } | undefined;
460
+ investorName?: {
461
+ status: MatchResultStatus;
462
+ actual: string;
463
+ extracted: string;
464
+ corrected?: string | null | undefined;
465
+ } | undefined;
466
+ }[];
467
+ }>;
468
+ export type saLogSchema = z.infer<typeof SaLogSchema>;
469
+ export declare const PatchSaLogSchema: z.ZodObject<{
470
+ matchResults: z.ZodArray<z.ZodObject<{
471
+ tradeLineItemId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
472
+ signerName: z.ZodOptional<z.ZodObject<{
473
+ actual: z.ZodString;
474
+ status: z.ZodNativeEnum<typeof MatchResultStatus>;
475
+ extracted: z.ZodString;
476
+ corrected: z.ZodNullable<z.ZodOptional<z.ZodString>>;
477
+ }, "strip", z.ZodTypeAny, {
478
+ status: MatchResultStatus;
479
+ actual: string;
480
+ extracted: string;
481
+ corrected?: string | null | undefined;
482
+ }, {
483
+ status: MatchResultStatus;
484
+ actual: string;
485
+ extracted: string;
486
+ corrected?: string | null | undefined;
487
+ }>>;
488
+ totalAmount: z.ZodOptional<z.ZodObject<{
489
+ actual: z.ZodString;
490
+ status: z.ZodNativeEnum<typeof MatchResultStatus>;
491
+ extracted: z.ZodString;
492
+ corrected: z.ZodNullable<z.ZodOptional<z.ZodString>>;
493
+ }, "strip", z.ZodTypeAny, {
494
+ status: MatchResultStatus;
495
+ actual: string;
496
+ extracted: string;
497
+ corrected?: string | null | undefined;
498
+ }, {
499
+ status: MatchResultStatus;
500
+ actual: string;
501
+ extracted: string;
502
+ corrected?: string | null | undefined;
503
+ }>>;
504
+ investorName: z.ZodOptional<z.ZodObject<{
505
+ actual: z.ZodString;
506
+ status: z.ZodNativeEnum<typeof MatchResultStatus>;
507
+ extracted: z.ZodString;
508
+ corrected: z.ZodNullable<z.ZodOptional<z.ZodString>>;
509
+ }, "strip", z.ZodTypeAny, {
510
+ status: MatchResultStatus;
511
+ actual: string;
512
+ extracted: string;
513
+ corrected?: string | null | undefined;
514
+ }, {
515
+ status: MatchResultStatus;
516
+ actual: string;
517
+ extracted: string;
518
+ corrected?: string | null | undefined;
519
+ }>>;
520
+ numberOfShares: z.ZodOptional<z.ZodObject<{
521
+ actual: z.ZodString;
522
+ status: z.ZodNativeEnum<typeof MatchResultStatus>;
523
+ extracted: z.ZodString;
524
+ corrected: z.ZodNullable<z.ZodOptional<z.ZodString>>;
525
+ }, "strip", z.ZodTypeAny, {
526
+ status: MatchResultStatus;
527
+ actual: string;
528
+ extracted: string;
529
+ corrected?: string | null | undefined;
530
+ }, {
531
+ status: MatchResultStatus;
532
+ actual: string;
533
+ extracted: string;
534
+ corrected?: string | null | undefined;
535
+ }>>;
536
+ }, "strip", z.ZodTypeAny, {
537
+ tradeLineItemId: string;
538
+ signerName?: {
539
+ status: MatchResultStatus;
540
+ actual: string;
541
+ extracted: string;
542
+ corrected?: string | null | undefined;
543
+ } | undefined;
544
+ numberOfShares?: {
545
+ status: MatchResultStatus;
546
+ actual: string;
547
+ extracted: string;
548
+ corrected?: string | null | undefined;
549
+ } | undefined;
550
+ totalAmount?: {
551
+ status: MatchResultStatus;
552
+ actual: string;
553
+ extracted: string;
554
+ corrected?: string | null | undefined;
555
+ } | undefined;
556
+ investorName?: {
557
+ status: MatchResultStatus;
558
+ actual: string;
559
+ extracted: string;
560
+ corrected?: string | null | undefined;
561
+ } | undefined;
562
+ }, {
563
+ tradeLineItemId: string;
564
+ signerName?: {
565
+ status: MatchResultStatus;
566
+ actual: string;
567
+ extracted: string;
568
+ corrected?: string | null | undefined;
569
+ } | undefined;
570
+ numberOfShares?: {
571
+ status: MatchResultStatus;
572
+ actual: string;
573
+ extracted: string;
574
+ corrected?: string | null | undefined;
575
+ } | undefined;
576
+ totalAmount?: {
577
+ status: MatchResultStatus;
578
+ actual: string;
579
+ extracted: string;
580
+ corrected?: string | null | undefined;
581
+ } | undefined;
582
+ investorName?: {
583
+ status: MatchResultStatus;
584
+ actual: string;
585
+ extracted: string;
586
+ corrected?: string | null | undefined;
587
+ } | undefined;
588
+ }>, "many">;
589
+ }, "strip", z.ZodTypeAny, {
590
+ matchResults: {
591
+ tradeLineItemId: string;
592
+ signerName?: {
593
+ status: MatchResultStatus;
594
+ actual: string;
595
+ extracted: string;
596
+ corrected?: string | null | undefined;
597
+ } | undefined;
598
+ numberOfShares?: {
599
+ status: MatchResultStatus;
600
+ actual: string;
601
+ extracted: string;
602
+ corrected?: string | null | undefined;
603
+ } | undefined;
604
+ totalAmount?: {
605
+ status: MatchResultStatus;
606
+ actual: string;
607
+ extracted: string;
608
+ corrected?: string | null | undefined;
609
+ } | undefined;
610
+ investorName?: {
611
+ status: MatchResultStatus;
612
+ actual: string;
613
+ extracted: string;
614
+ corrected?: string | null | undefined;
615
+ } | undefined;
616
+ }[];
617
+ }, {
618
+ matchResults: {
619
+ tradeLineItemId: string;
620
+ signerName?: {
621
+ status: MatchResultStatus;
622
+ actual: string;
623
+ extracted: string;
624
+ corrected?: string | null | undefined;
625
+ } | undefined;
626
+ numberOfShares?: {
627
+ status: MatchResultStatus;
628
+ actual: string;
629
+ extracted: string;
630
+ corrected?: string | null | undefined;
631
+ } | undefined;
632
+ totalAmount?: {
633
+ status: MatchResultStatus;
634
+ actual: string;
635
+ extracted: string;
636
+ corrected?: string | null | undefined;
637
+ } | undefined;
638
+ investorName?: {
639
+ status: MatchResultStatus;
640
+ actual: string;
641
+ extracted: string;
642
+ corrected?: string | null | undefined;
643
+ } | undefined;
644
+ }[];
645
+ }>;
646
+ export type PatchSaLogSchema = z.infer<typeof PatchSaLogSchema>;
647
+ export declare const TradeBalanceResultZod: z.ZodObject<{
648
+ tradeAdjustments: z.ZodNumber;
649
+ chargedAmount: z.ZodNumber;
650
+ balance: z.ZodNumber;
651
+ }, "strip", z.ZodTypeAny, {
652
+ tradeAdjustments: number;
653
+ chargedAmount: number;
654
+ balance: number;
655
+ }, {
656
+ tradeAdjustments: number;
657
+ chargedAmount: number;
658
+ balance: number;
659
+ }>;
660
+ export type TradeBalanceResultZod = z.infer<typeof TradeBalanceResultZod>;
661
+ export declare const TradeZod: any;
662
+ export type TradeZod = z.infer<typeof TradeZod>;
663
+ export declare enum SnapshotEvent {
664
+ COMPLIANCE_APPROVED = "COMPLIANCE_APPROVED",
665
+ COMPLIANCE_REJECTED = "COMPLIANCE_REJECTED",
666
+ CANCELLED = "CANCELLED",
667
+ PLACED = "PLACED",
668
+ SETTLED = "SETTLED"
669
+ }
670
+ export declare const GetTradeSnapshotEventsResponse: z.ZodObject<{
671
+ events: z.ZodArray<z.ZodNativeEnum<typeof SnapshotEvent>, "many">;
672
+ }, "strip", z.ZodTypeAny, {
673
+ events: SnapshotEvent[];
674
+ }, {
675
+ events: SnapshotEvent[];
676
+ }>;
677
+ export type GetTradeSnapshotEventsResponse = z.infer<typeof GetTradeSnapshotEventsResponse>;
678
+ export declare const IPaginatedTrade: z.ZodObject<{
679
+ items: z.ZodArray<any, "many">;
680
+ meta: z.ZodObject<{
681
+ itemCount: z.ZodNumber;
682
+ totalItems: z.ZodOptional<z.ZodNumber>;
683
+ itemsPerPage: z.ZodNumber;
684
+ totalPages: z.ZodOptional<z.ZodNumber>;
685
+ currentPage: z.ZodNumber;
686
+ }, "strip", z.ZodTypeAny, {
687
+ itemCount: number;
688
+ itemsPerPage: number;
689
+ currentPage: number;
690
+ totalItems?: number | undefined;
691
+ totalPages?: number | undefined;
692
+ }, {
693
+ itemCount: number;
694
+ itemsPerPage: number;
695
+ currentPage: number;
696
+ totalItems?: number | undefined;
697
+ totalPages?: number | undefined;
698
+ }>;
699
+ }, "strip", z.ZodTypeAny, {
700
+ items: any[];
701
+ meta: {
702
+ itemCount: number;
703
+ itemsPerPage: number;
704
+ currentPage: number;
705
+ totalItems?: number | undefined;
706
+ totalPages?: number | undefined;
707
+ };
708
+ }, {
709
+ items: any[];
710
+ meta: {
711
+ itemCount: number;
712
+ itemsPerPage: number;
713
+ currentPage: number;
714
+ totalItems?: number | undefined;
715
+ totalPages?: number | undefined;
716
+ };
717
+ }>;
718
+ export type IPaginatedTrade = z.infer<typeof IPaginatedTrade>;
719
+ export declare const IPaginatedReviewTrade: z.ZodObject<{
720
+ totalCount: z.ZodNumber;
721
+ currentPosition: z.ZodNumber;
722
+ tradeIds: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
723
+ }, "strip", z.ZodTypeAny, {
724
+ totalCount: number;
725
+ currentPosition: number;
726
+ tradeIds: string[];
727
+ }, {
728
+ totalCount: number;
729
+ currentPosition: number;
730
+ tradeIds: string[];
731
+ }>;
732
+ export type IPaginatedReviewTrade = z.infer<typeof IPaginatedReviewTrade>;
733
+ export declare const TradeSummaryZod: z.ZodObject<{
734
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
735
+ accountName: z.ZodString;
736
+ regACount: z.ZodNumber;
737
+ regCfCount: z.ZodNumber;
738
+ regDCount: z.ZodNumber;
739
+ totalCount: z.ZodNumber;
740
+ totalReadyToApproveCount: z.ZodNumber;
741
+ regAReadyToApproveCount: z.ZodNumber;
742
+ regCfReadyToApproveCount: z.ZodNumber;
743
+ regDReadyToApproveCount: z.ZodNumber;
744
+ }, "strip", z.ZodTypeAny, {
745
+ accountId: string;
746
+ accountName: string;
747
+ totalReadyToApproveCount: number;
748
+ totalCount: number;
749
+ regACount: number;
750
+ regCfCount: number;
751
+ regDCount: number;
752
+ regAReadyToApproveCount: number;
753
+ regCfReadyToApproveCount: number;
754
+ regDReadyToApproveCount: number;
755
+ }, {
756
+ accountId: string;
757
+ accountName: string;
758
+ totalReadyToApproveCount: number;
759
+ totalCount: number;
760
+ regACount: number;
761
+ regCfCount: number;
762
+ regDCount: number;
763
+ regAReadyToApproveCount: number;
764
+ regCfReadyToApproveCount: number;
765
+ regDReadyToApproveCount: number;
766
+ }>;
767
+ export type TradeSummaryZod = z.infer<typeof TradeSummaryZod>;
768
+ export declare const IPaginatedTradeSummaryResponse: z.ZodObject<{
769
+ items: z.ZodArray<z.ZodObject<{
770
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
771
+ accountName: z.ZodString;
772
+ regACount: z.ZodNumber;
773
+ regCfCount: z.ZodNumber;
774
+ regDCount: z.ZodNumber;
775
+ totalCount: z.ZodNumber;
776
+ totalReadyToApproveCount: z.ZodNumber;
777
+ regAReadyToApproveCount: z.ZodNumber;
778
+ regCfReadyToApproveCount: z.ZodNumber;
779
+ regDReadyToApproveCount: z.ZodNumber;
780
+ }, "strip", z.ZodTypeAny, {
781
+ accountId: string;
782
+ accountName: string;
783
+ totalReadyToApproveCount: number;
784
+ totalCount: number;
785
+ regACount: number;
786
+ regCfCount: number;
787
+ regDCount: number;
788
+ regAReadyToApproveCount: number;
789
+ regCfReadyToApproveCount: number;
790
+ regDReadyToApproveCount: number;
791
+ }, {
792
+ accountId: string;
793
+ accountName: string;
794
+ totalReadyToApproveCount: number;
795
+ totalCount: number;
796
+ regACount: number;
797
+ regCfCount: number;
798
+ regDCount: number;
799
+ regAReadyToApproveCount: number;
800
+ regCfReadyToApproveCount: number;
801
+ regDReadyToApproveCount: number;
802
+ }>, "many">;
803
+ meta: z.ZodObject<{
804
+ itemCount: z.ZodNumber;
805
+ totalItems: z.ZodOptional<z.ZodNumber>;
806
+ itemsPerPage: z.ZodNumber;
807
+ totalPages: z.ZodOptional<z.ZodNumber>;
808
+ currentPage: z.ZodNumber;
809
+ }, "strip", z.ZodTypeAny, {
810
+ itemCount: number;
811
+ itemsPerPage: number;
812
+ currentPage: number;
813
+ totalItems?: number | undefined;
814
+ totalPages?: number | undefined;
815
+ }, {
816
+ itemCount: number;
817
+ itemsPerPage: number;
818
+ currentPage: number;
819
+ totalItems?: number | undefined;
820
+ totalPages?: number | undefined;
821
+ }>;
822
+ }, "strip", z.ZodTypeAny, {
823
+ items: {
824
+ accountId: string;
825
+ accountName: string;
826
+ totalReadyToApproveCount: number;
827
+ totalCount: number;
828
+ regACount: number;
829
+ regCfCount: number;
830
+ regDCount: number;
831
+ regAReadyToApproveCount: number;
832
+ regCfReadyToApproveCount: number;
833
+ regDReadyToApproveCount: number;
834
+ }[];
835
+ meta: {
836
+ itemCount: number;
837
+ itemsPerPage: number;
838
+ currentPage: number;
839
+ totalItems?: number | undefined;
840
+ totalPages?: number | undefined;
841
+ };
842
+ }, {
843
+ items: {
844
+ accountId: string;
845
+ accountName: string;
846
+ totalReadyToApproveCount: number;
847
+ totalCount: number;
848
+ regACount: number;
849
+ regCfCount: number;
850
+ regDCount: number;
851
+ regAReadyToApproveCount: number;
852
+ regCfReadyToApproveCount: number;
853
+ regDReadyToApproveCount: number;
854
+ }[];
855
+ meta: {
856
+ itemCount: number;
857
+ itemsPerPage: number;
858
+ currentPage: number;
859
+ totalItems?: number | undefined;
860
+ totalPages?: number | undefined;
861
+ };
862
+ }>;
863
+ export type IPaginatedTradeSummaryResponse = z.infer<typeof IPaginatedTradeSummaryResponse>;
864
+ export declare const TradeSummaryFilterZod: z.ZodObject<{
865
+ reviewStatus: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
866
+ managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
867
+ }, "strip", z.ZodTypeAny, {
868
+ managedBy?: ManagedByType | undefined;
869
+ reviewStatus?: ComplianceReview | undefined;
870
+ }, {
871
+ managedBy?: ManagedByType | undefined;
872
+ reviewStatus?: ComplianceReview | undefined;
873
+ }>;
874
+ export declare const TradeFiltersZod: z.ZodObject<{
875
+ investmentType: z.ZodOptional<z.ZodNativeEnum<typeof InvestmentType>>;
876
+ tradeStatus: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
877
+ from: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
878
+ to: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
879
+ saStatus: z.ZodOptional<z.ZodNativeEnum<typeof SaStatus>>;
880
+ saCheck: z.ZodOptional<z.ZodNativeEnum<typeof SaCheck>>;
881
+ txnPaymentMethod: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethodType>>;
882
+ fundingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FundingStatus>>;
883
+ txnCheck: z.ZodOptional<z.ZodNativeEnum<typeof TxnCheck>>;
884
+ systemReviewCheck: z.ZodOptional<z.ZodNativeEnum<typeof SystemReviewCheck>>;
885
+ complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
886
+ beenDisbursed: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
887
+ search: z.ZodOptional<z.ZodString>;
888
+ offeringId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
889
+ accountId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
890
+ issuerId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
891
+ snapshotEvent: z.ZodOptional<z.ZodNativeEnum<typeof SnapshotEvent>>;
892
+ offeringType: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
893
+ managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
894
+ platform: z.ZodOptional<z.ZodNativeEnum<typeof Platforms>>;
895
+ investorAccountId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
896
+ }, "strip", z.ZodTypeAny, {
897
+ tradeStatus: string[];
898
+ accountId?: string | undefined;
899
+ managedBy?: ManagedByType | undefined;
900
+ platform?: Platforms | undefined;
901
+ fundingStatus?: FundingStatus | undefined;
902
+ complianceReview?: ComplianceReview | undefined;
903
+ systemReviewCheck?: SystemReviewCheck | undefined;
904
+ saStatus?: SaStatus | undefined;
905
+ from?: Date | null | undefined;
906
+ to?: Date | null | undefined;
907
+ search?: string | undefined;
908
+ offeringId?: string | undefined;
909
+ investorAccountId?: string | undefined;
910
+ issuerId?: string | undefined;
911
+ investmentType?: InvestmentType | undefined;
912
+ saCheck?: SaCheck | undefined;
913
+ txnPaymentMethod?: PaymentMethodType | undefined;
914
+ txnCheck?: TxnCheck | undefined;
915
+ offeringType?: OfferingType | undefined;
916
+ beenDisbursed?: "true" | "false" | undefined;
917
+ snapshotEvent?: SnapshotEvent | undefined;
918
+ }, {
919
+ accountId?: string | undefined;
920
+ managedBy?: ManagedByType | undefined;
921
+ platform?: Platforms | undefined;
922
+ tradeStatus?: string | undefined;
923
+ fundingStatus?: FundingStatus | undefined;
924
+ complianceReview?: ComplianceReview | undefined;
925
+ systemReviewCheck?: SystemReviewCheck | undefined;
926
+ saStatus?: SaStatus | undefined;
927
+ from?: string | null | undefined;
928
+ to?: string | null | undefined;
929
+ search?: string | undefined;
930
+ offeringId?: string | undefined;
931
+ investorAccountId?: string | undefined;
932
+ issuerId?: string | undefined;
933
+ investmentType?: InvestmentType | undefined;
934
+ saCheck?: SaCheck | undefined;
935
+ txnPaymentMethod?: PaymentMethodType | undefined;
936
+ txnCheck?: TxnCheck | undefined;
937
+ offeringType?: OfferingType | undefined;
938
+ beenDisbursed?: "true" | "false" | undefined;
939
+ snapshotEvent?: SnapshotEvent | undefined;
940
+ }>;
941
+ export declare const ComplianceTradesFiltersZod: z.ZodObject<{
942
+ kycStatus: z.ZodOptional<z.ZodNativeEnum<typeof KYCStatus>>;
943
+ aicStatus: z.ZodOptional<z.ZodNativeEnum<typeof AicStatus>>;
944
+ amlStatus: z.ZodOptional<z.ZodNativeEnum<typeof AMLStatus>>;
945
+ accountStatus: z.ZodOptional<z.ZodNativeEnum<typeof AccountStatus>>;
946
+ savedQuery: z.ZodOptional<z.ZodNativeEnum<typeof SavedQuery>>;
947
+ }, "strip", z.ZodTypeAny, {
948
+ accountStatus?: AccountStatus | undefined;
949
+ kycStatus?: KYCStatus | undefined;
950
+ amlStatus?: AMLStatus | undefined;
951
+ aicStatus?: AicStatus | undefined;
952
+ savedQuery?: SavedQuery | undefined;
953
+ }, {
954
+ accountStatus?: AccountStatus | undefined;
955
+ kycStatus?: KYCStatus | undefined;
956
+ amlStatus?: AMLStatus | undefined;
957
+ aicStatus?: AicStatus | undefined;
958
+ savedQuery?: SavedQuery | undefined;
959
+ }>;
960
+ export type ComplianceTradesFiltersZod = z.infer<typeof ComplianceTradesFiltersZod>;
961
+ export declare const TradeSortZod: z.ZodObject<{
962
+ sort: z.ZodOptional<z.ZodEnum<[SortBy.PLACEDAT, SortBy.CREATED_AT, SortBy.UPDATED_AT]>>;
963
+ dir: z.ZodOptional<z.ZodNativeEnum<typeof SortOrder>>;
964
+ }, "strip", z.ZodTypeAny, {
965
+ sort?: SortBy.CREATED_AT | SortBy.UPDATED_AT | SortBy.PLACEDAT | undefined;
966
+ dir?: SortOrder | undefined;
967
+ }, {
968
+ sort?: SortBy.CREATED_AT | SortBy.UPDATED_AT | SortBy.PLACEDAT | undefined;
969
+ dir?: SortOrder | undefined;
970
+ }>;
971
+ export type TradeSortZod = z.infer<typeof TradeSortZod>;
972
+ export declare const reviewTrades: z.ZodObject<{
973
+ complianceReview: z.ZodNativeEnum<typeof ComplianceReview>;
974
+ force: z.ZodOptional<z.ZodBoolean>;
975
+ forceApprovals: z.ZodOptional<z.ZodArray<z.ZodEnum<["kyc", "aic", "aml", "subdoc"]>, "many">>;
976
+ trades: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
977
+ rejectionReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
978
+ }, "strip", z.ZodTypeAny, {
979
+ complianceReview: ComplianceReview;
980
+ trades: string[];
981
+ force?: boolean | undefined;
982
+ forceApprovals?: ("kyc" | "aml" | "aic" | "subdoc")[] | undefined;
983
+ rejectionReason?: string | null | undefined;
984
+ }, {
985
+ complianceReview: ComplianceReview;
986
+ trades: string[];
987
+ force?: boolean | undefined;
988
+ forceApprovals?: ("kyc" | "aml" | "aic" | "subdoc")[] | undefined;
989
+ rejectionReason?: string | null | undefined;
990
+ }>;
991
+ export type reviewTrades = z.infer<typeof reviewTrades>;
992
+ export declare const reviewAllTrades: z.ZodObject<{
993
+ complianceReview: z.ZodEnum<[ComplianceReview.APPROVED]>;
994
+ }, "strip", z.ZodTypeAny, {
995
+ complianceReview: ComplianceReview.APPROVED;
996
+ }, {
997
+ complianceReview: ComplianceReview.APPROVED;
998
+ }>;
999
+ export type reviewAllTrades = z.infer<typeof reviewAllTrades>;
1000
+ export declare const PatchTradeStatus: z.ZodObject<{
1001
+ tradeStatus: z.ZodNativeEnum<typeof TradeStatus>;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ tradeStatus: TradeStatus;
1004
+ }, {
1005
+ tradeStatus: TradeStatus;
1006
+ }>;
1007
+ export type PatchTradeStatus = z.infer<typeof PatchTradeStatus>;
1008
+ export declare const tradesInclude: z.ZodEnum<["tradeDisbursements", "adjustments", "account", "issuer", "lineItems", "transactions", "investorAccount", "offering", "paymentMethod"]>;
1009
+ /**
1010
+ * @description Query parameters for including related entities
1011
+ * @xample in contract us as -> query: z.object({}).merge(UsersIncludeQuery),
1012
+ */
1013
+ export declare const TradesIncludeQuery: z.ZodObject<{
1014
+ include: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
1015
+ }, "strip", z.ZodTypeAny, {
1016
+ include: string[];
1017
+ }, {
1018
+ include?: string | undefined;
1019
+ }>;
1020
+ export interface TradesIncludeQuery extends z.infer<typeof TradesIncludeQuery> {
1021
+ }
1022
+ export declare enum TradeExportType {
1023
+ PAGE = "PAGE",
1024
+ ALL = "ALL"
1025
+ }
1026
+ export declare const ExportTradesQuery: z.ZodObject<{
1027
+ page: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
1028
+ limit: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
1029
+ } & {
1030
+ investmentType: z.ZodOptional<z.ZodNativeEnum<typeof InvestmentType>>;
1031
+ tradeStatus: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
1032
+ from: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1033
+ to: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1034
+ saStatus: z.ZodOptional<z.ZodNativeEnum<typeof SaStatus>>;
1035
+ saCheck: z.ZodOptional<z.ZodNativeEnum<typeof SaCheck>>;
1036
+ txnPaymentMethod: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethodType>>;
1037
+ fundingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FundingStatus>>;
1038
+ txnCheck: z.ZodOptional<z.ZodNativeEnum<typeof TxnCheck>>;
1039
+ systemReviewCheck: z.ZodOptional<z.ZodNativeEnum<typeof SystemReviewCheck>>;
1040
+ complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
1041
+ beenDisbursed: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
1042
+ search: z.ZodOptional<z.ZodString>;
1043
+ offeringId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1044
+ accountId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1045
+ issuerId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1046
+ snapshotEvent: z.ZodOptional<z.ZodNativeEnum<typeof SnapshotEvent>>;
1047
+ offeringType: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1048
+ managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1049
+ platform: z.ZodOptional<z.ZodNativeEnum<typeof Platforms>>;
1050
+ investorAccountId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1051
+ } & {
1052
+ kycStatus: z.ZodOptional<z.ZodNativeEnum<typeof KYCStatus>>;
1053
+ aicStatus: z.ZodOptional<z.ZodNativeEnum<typeof AicStatus>>;
1054
+ amlStatus: z.ZodOptional<z.ZodNativeEnum<typeof AMLStatus>>;
1055
+ accountStatus: z.ZodOptional<z.ZodNativeEnum<typeof AccountStatus>>;
1056
+ savedQuery: z.ZodOptional<z.ZodNativeEnum<typeof SavedQuery>>;
1057
+ } & {
1058
+ include: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
1059
+ } & {
1060
+ sort: z.ZodOptional<z.ZodEnum<[SortBy.PLACEDAT, SortBy.CREATED_AT, SortBy.UPDATED_AT]>>;
1061
+ dir: z.ZodOptional<z.ZodNativeEnum<typeof SortOrder>>;
1062
+ } & {
1063
+ exportType: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof TradeExportType>>>;
1064
+ }, "strip", z.ZodTypeAny, {
1065
+ page: number;
1066
+ limit: number;
1067
+ tradeStatus: string[];
1068
+ include: string[];
1069
+ exportType: TradeExportType;
1070
+ sort?: SortBy.CREATED_AT | SortBy.UPDATED_AT | SortBy.PLACEDAT | undefined;
1071
+ accountId?: string | undefined;
1072
+ managedBy?: ManagedByType | undefined;
1073
+ platform?: Platforms | undefined;
1074
+ accountStatus?: AccountStatus | undefined;
1075
+ fundingStatus?: FundingStatus | undefined;
1076
+ complianceReview?: ComplianceReview | undefined;
1077
+ systemReviewCheck?: SystemReviewCheck | undefined;
1078
+ kycStatus?: KYCStatus | undefined;
1079
+ amlStatus?: AMLStatus | undefined;
1080
+ aicStatus?: AicStatus | undefined;
1081
+ saStatus?: SaStatus | undefined;
1082
+ from?: Date | null | undefined;
1083
+ to?: Date | null | undefined;
1084
+ search?: string | undefined;
1085
+ dir?: SortOrder | undefined;
1086
+ offeringId?: string | undefined;
1087
+ investorAccountId?: string | undefined;
1088
+ issuerId?: string | undefined;
1089
+ investmentType?: InvestmentType | undefined;
1090
+ saCheck?: SaCheck | undefined;
1091
+ txnPaymentMethod?: PaymentMethodType | undefined;
1092
+ txnCheck?: TxnCheck | undefined;
1093
+ offeringType?: OfferingType | undefined;
1094
+ beenDisbursed?: "true" | "false" | undefined;
1095
+ snapshotEvent?: SnapshotEvent | undefined;
1096
+ savedQuery?: SavedQuery | undefined;
1097
+ }, {
1098
+ sort?: SortBy.CREATED_AT | SortBy.UPDATED_AT | SortBy.PLACEDAT | undefined;
1099
+ accountId?: string | undefined;
1100
+ managedBy?: ManagedByType | undefined;
1101
+ platform?: Platforms | undefined;
1102
+ accountStatus?: AccountStatus | undefined;
1103
+ page?: number | undefined;
1104
+ limit?: number | undefined;
1105
+ tradeStatus?: string | undefined;
1106
+ fundingStatus?: FundingStatus | undefined;
1107
+ complianceReview?: ComplianceReview | undefined;
1108
+ systemReviewCheck?: SystemReviewCheck | undefined;
1109
+ kycStatus?: KYCStatus | undefined;
1110
+ amlStatus?: AMLStatus | undefined;
1111
+ aicStatus?: AicStatus | undefined;
1112
+ saStatus?: SaStatus | undefined;
1113
+ from?: string | null | undefined;
1114
+ to?: string | null | undefined;
1115
+ search?: string | undefined;
1116
+ include?: string | undefined;
1117
+ dir?: SortOrder | undefined;
1118
+ offeringId?: string | undefined;
1119
+ investorAccountId?: string | undefined;
1120
+ issuerId?: string | undefined;
1121
+ investmentType?: InvestmentType | undefined;
1122
+ saCheck?: SaCheck | undefined;
1123
+ txnPaymentMethod?: PaymentMethodType | undefined;
1124
+ txnCheck?: TxnCheck | undefined;
1125
+ offeringType?: OfferingType | undefined;
1126
+ beenDisbursed?: "true" | "false" | undefined;
1127
+ snapshotEvent?: SnapshotEvent | undefined;
1128
+ savedQuery?: SavedQuery | undefined;
1129
+ exportType?: TradeExportType | undefined;
1130
+ }>;
1131
+ export type ExportTradesQuery = z.infer<typeof ExportTradesQuery>;
1132
+ /**
1133
+ * @description Query parameters for including related entities
1134
+ * @xample in contract us as -> query: z.object({}).merge(UsersIncludeQuery),
1135
+ */
1136
+ export declare const TradesColumnQuery: z.ZodObject<{
1137
+ column: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
1138
+ }, "strip", z.ZodTypeAny, {
1139
+ column: string[];
1140
+ }, {
1141
+ column?: string | undefined;
1142
+ }>;
1143
+ export declare const InvestorsTradeFiltersZod: z.ZodObject<{
1144
+ investorAccountId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1145
+ tradeStatus: z.ZodOptional<z.ZodNativeEnum<typeof TradeStatus>>;
1146
+ search: z.ZodOptional<z.ZodString>;
1147
+ }, "strip", z.ZodTypeAny, {
1148
+ tradeStatus?: TradeStatus | undefined;
1149
+ search?: string | undefined;
1150
+ investorAccountId?: string | undefined;
1151
+ }, {
1152
+ tradeStatus?: TradeStatus | undefined;
1153
+ search?: string | undefined;
1154
+ investorAccountId?: string | undefined;
1155
+ }>;
1156
+ /**
1157
+ * @description Query parameters for including related entities
1158
+ * @xample in contract us as -> query: z.object({}).merge(UsersIncludeQuery),
1159
+ */
1160
+ export declare const InvestorsTradesIncludeQuery: z.ZodObject<{
1161
+ include: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
1162
+ }, "strip", z.ZodTypeAny, {
1163
+ include: string[];
1164
+ }, {
1165
+ include?: string | undefined;
1166
+ }>;
1167
+ export interface InvestorsTradesIncludeQuery extends z.infer<typeof InvestorsTradesIncludeQuery> {
1168
+ }
1169
+ export declare const InvestorsGetTradesQuery: z.ZodObject<{
1170
+ page: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
1171
+ limit: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
1172
+ } & {
1173
+ investorAccountId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1174
+ tradeStatus: z.ZodOptional<z.ZodNativeEnum<typeof TradeStatus>>;
1175
+ search: z.ZodOptional<z.ZodString>;
1176
+ } & {
1177
+ include: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
1178
+ }, "strip", z.ZodTypeAny, {
1179
+ page: number;
1180
+ limit: number;
1181
+ include: string[];
1182
+ tradeStatus?: TradeStatus | undefined;
1183
+ search?: string | undefined;
1184
+ investorAccountId?: string | undefined;
1185
+ }, {
1186
+ page?: number | undefined;
1187
+ limit?: number | undefined;
1188
+ tradeStatus?: TradeStatus | undefined;
1189
+ search?: string | undefined;
1190
+ include?: string | undefined;
1191
+ investorAccountId?: string | undefined;
1192
+ }>;
1193
+ export declare const UpdateTradeBody: z.ZodObject<{
1194
+ paymentMethodId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1195
+ }, "strip", z.ZodTypeAny, {
1196
+ paymentMethodId: string;
1197
+ }, {
1198
+ paymentMethodId: string;
1199
+ }>;
1200
+ export type UpdateTradeBodyType = z.infer<typeof UpdateTradeBody>;
1201
+ export declare const PostTradeBody: z.ZodObject<{
1202
+ investorAccountId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1203
+ investmentType: z.ZodOptional<z.ZodNativeEnum<typeof InvestmentType>>;
1204
+ }, "strip", z.ZodTypeAny, {
1205
+ investorAccountId?: string | undefined;
1206
+ investmentType?: InvestmentType | undefined;
1207
+ }, {
1208
+ investorAccountId?: string | undefined;
1209
+ investmentType?: InvestmentType | undefined;
1210
+ }>;
1211
+ export type PostTradeBodyType = z.infer<typeof PostTradeBody>;
1212
+ export declare const InvestorsTradeResponse: z.ZodObject<{
1213
+ id: z.ZodString;
1214
+ __entity: z.ZodOptional<z.ZodString>;
1215
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1216
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1217
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1218
+ } & {
1219
+ investorAccountId: z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1220
+ accountId: z.ZodString;
1221
+ offeringId: z.ZodNullable<z.ZodString>;
1222
+ tid: z.ZodNullable<z.ZodString>;
1223
+ investmentType: z.ZodNativeEnum<typeof InvestmentType>;
1224
+ purchasedShares: z.ZodNumber;
1225
+ bonusShares: z.ZodNullable<z.ZodNumber>;
1226
+ totalNumberOfShares: z.ZodNumber;
1227
+ pricePerShare: z.ZodNumber;
1228
+ totalAmount: z.ZodNullable<z.ZodNumber>;
1229
+ tradeStatus: z.ZodNativeEnum<typeof TradeStatus>;
1230
+ tradeStatusUnmapped: z.ZodNullable<z.ZodString>;
1231
+ tradeDate: z.ZodNullable<z.ZodDate>;
1232
+ paymentMethodId: z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1233
+ }, "strip", z.ZodTypeAny, {
1234
+ id: string;
1235
+ createdAt: string | Date;
1236
+ updatedAt: string | Date;
1237
+ deletedAt: string | Date | null;
1238
+ accountId: string;
1239
+ tradeStatus: TradeStatus;
1240
+ tid: string | null;
1241
+ offeringId: string | null;
1242
+ investorAccountId: string | null;
1243
+ paymentMethodId: string | null;
1244
+ investmentType: InvestmentType;
1245
+ pricePerShare: number;
1246
+ bonusShares: number | null;
1247
+ totalNumberOfShares: number;
1248
+ totalAmount: number | null;
1249
+ tradeStatusUnmapped: string | null;
1250
+ tradeDate: Date | null;
1251
+ purchasedShares: number;
1252
+ __entity?: string | undefined;
1253
+ }, {
1254
+ id: string;
1255
+ createdAt: string | Date;
1256
+ updatedAt: string | Date;
1257
+ deletedAt: string | Date | null;
1258
+ accountId: string;
1259
+ tradeStatus: TradeStatus;
1260
+ tid: string | null;
1261
+ offeringId: string | null;
1262
+ investorAccountId: string | null;
1263
+ paymentMethodId: string | null;
1264
+ investmentType: InvestmentType;
1265
+ pricePerShare: number;
1266
+ bonusShares: number | null;
1267
+ totalNumberOfShares: number;
1268
+ totalAmount: number | null;
1269
+ tradeStatusUnmapped: string | null;
1270
+ tradeDate: Date | null;
1271
+ purchasedShares: number;
1272
+ __entity?: string | undefined;
1273
+ }>;
1274
+ export declare const InvestorsPaginatedTrade: z.ZodObject<{
1275
+ items: z.ZodArray<z.ZodObject<{
1276
+ id: z.ZodString;
1277
+ __entity: z.ZodOptional<z.ZodString>;
1278
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1279
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1280
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1281
+ } & {
1282
+ investorAccountId: z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1283
+ accountId: z.ZodString;
1284
+ offeringId: z.ZodNullable<z.ZodString>;
1285
+ tid: z.ZodNullable<z.ZodString>;
1286
+ investmentType: z.ZodNativeEnum<typeof InvestmentType>;
1287
+ purchasedShares: z.ZodNumber;
1288
+ bonusShares: z.ZodNullable<z.ZodNumber>;
1289
+ totalNumberOfShares: z.ZodNumber;
1290
+ pricePerShare: z.ZodNumber;
1291
+ totalAmount: z.ZodNullable<z.ZodNumber>;
1292
+ tradeStatus: z.ZodNativeEnum<typeof TradeStatus>;
1293
+ tradeStatusUnmapped: z.ZodNullable<z.ZodString>;
1294
+ tradeDate: z.ZodNullable<z.ZodDate>;
1295
+ paymentMethodId: z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1296
+ }, "strip", z.ZodTypeAny, {
1297
+ id: string;
1298
+ createdAt: string | Date;
1299
+ updatedAt: string | Date;
1300
+ deletedAt: string | Date | null;
1301
+ accountId: string;
1302
+ tradeStatus: TradeStatus;
1303
+ tid: string | null;
1304
+ offeringId: string | null;
1305
+ investorAccountId: string | null;
1306
+ paymentMethodId: string | null;
1307
+ investmentType: InvestmentType;
1308
+ pricePerShare: number;
1309
+ bonusShares: number | null;
1310
+ totalNumberOfShares: number;
1311
+ totalAmount: number | null;
1312
+ tradeStatusUnmapped: string | null;
1313
+ tradeDate: Date | null;
1314
+ purchasedShares: number;
1315
+ __entity?: string | undefined;
1316
+ }, {
1317
+ id: string;
1318
+ createdAt: string | Date;
1319
+ updatedAt: string | Date;
1320
+ deletedAt: string | Date | null;
1321
+ accountId: string;
1322
+ tradeStatus: TradeStatus;
1323
+ tid: string | null;
1324
+ offeringId: string | null;
1325
+ investorAccountId: string | null;
1326
+ paymentMethodId: string | null;
1327
+ investmentType: InvestmentType;
1328
+ pricePerShare: number;
1329
+ bonusShares: number | null;
1330
+ totalNumberOfShares: number;
1331
+ totalAmount: number | null;
1332
+ tradeStatusUnmapped: string | null;
1333
+ tradeDate: Date | null;
1334
+ purchasedShares: number;
1335
+ __entity?: string | undefined;
1336
+ }>, "many">;
1337
+ meta: z.ZodObject<{
1338
+ itemCount: z.ZodNumber;
1339
+ totalItems: z.ZodOptional<z.ZodNumber>;
1340
+ itemsPerPage: z.ZodNumber;
1341
+ totalPages: z.ZodOptional<z.ZodNumber>;
1342
+ currentPage: z.ZodNumber;
1343
+ }, "strip", z.ZodTypeAny, {
1344
+ itemCount: number;
1345
+ itemsPerPage: number;
1346
+ currentPage: number;
1347
+ totalItems?: number | undefined;
1348
+ totalPages?: number | undefined;
1349
+ }, {
1350
+ itemCount: number;
1351
+ itemsPerPage: number;
1352
+ currentPage: number;
1353
+ totalItems?: number | undefined;
1354
+ totalPages?: number | undefined;
1355
+ }>;
1356
+ }, "strip", z.ZodTypeAny, {
1357
+ items: {
1358
+ id: string;
1359
+ createdAt: string | Date;
1360
+ updatedAt: string | Date;
1361
+ deletedAt: string | Date | null;
1362
+ accountId: string;
1363
+ tradeStatus: TradeStatus;
1364
+ tid: string | null;
1365
+ offeringId: string | null;
1366
+ investorAccountId: string | null;
1367
+ paymentMethodId: string | null;
1368
+ investmentType: InvestmentType;
1369
+ pricePerShare: number;
1370
+ bonusShares: number | null;
1371
+ totalNumberOfShares: number;
1372
+ totalAmount: number | null;
1373
+ tradeStatusUnmapped: string | null;
1374
+ tradeDate: Date | null;
1375
+ purchasedShares: number;
1376
+ __entity?: string | undefined;
1377
+ }[];
1378
+ meta: {
1379
+ itemCount: number;
1380
+ itemsPerPage: number;
1381
+ currentPage: number;
1382
+ totalItems?: number | undefined;
1383
+ totalPages?: number | undefined;
1384
+ };
1385
+ }, {
1386
+ items: {
1387
+ id: string;
1388
+ createdAt: string | Date;
1389
+ updatedAt: string | Date;
1390
+ deletedAt: string | Date | null;
1391
+ accountId: string;
1392
+ tradeStatus: TradeStatus;
1393
+ tid: string | null;
1394
+ offeringId: string | null;
1395
+ investorAccountId: string | null;
1396
+ paymentMethodId: string | null;
1397
+ investmentType: InvestmentType;
1398
+ pricePerShare: number;
1399
+ bonusShares: number | null;
1400
+ totalNumberOfShares: number;
1401
+ totalAmount: number | null;
1402
+ tradeStatusUnmapped: string | null;
1403
+ tradeDate: Date | null;
1404
+ purchasedShares: number;
1405
+ __entity?: string | undefined;
1406
+ }[];
1407
+ meta: {
1408
+ itemCount: number;
1409
+ itemsPerPage: number;
1410
+ currentPage: number;
1411
+ totalItems?: number | undefined;
1412
+ totalPages?: number | undefined;
1413
+ };
1414
+ }>;
1415
+ export declare const IssuersTradeFiltersZod: z.ZodObject<{
1416
+ investmentType: z.ZodOptional<z.ZodNativeEnum<typeof InvestmentType>>;
1417
+ tradeStatus: z.ZodOptional<z.ZodNativeEnum<typeof TradeStatus>>;
1418
+ saStatus: z.ZodOptional<z.ZodNativeEnum<typeof SaStatus>>;
1419
+ saCheck: z.ZodOptional<z.ZodNativeEnum<typeof SaCheck>>;
1420
+ txnPaymentMethod: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethodType>>;
1421
+ fundingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FundingStatus>>;
1422
+ txnCheck: z.ZodOptional<z.ZodNativeEnum<typeof TxnCheck>>;
1423
+ systemReviewCheck: z.ZodOptional<z.ZodNativeEnum<typeof SystemReviewCheck>>;
1424
+ complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
1425
+ beenDisbursed: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
1426
+ search: z.ZodOptional<z.ZodString>;
1427
+ offeringId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1428
+ from: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1429
+ to: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1430
+ minAmount: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
1431
+ maxAmount: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
1432
+ managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1433
+ investorAccountId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1434
+ }, "strip", z.ZodTypeAny, {
1435
+ managedBy?: ManagedByType | undefined;
1436
+ tradeStatus?: TradeStatus | undefined;
1437
+ fundingStatus?: FundingStatus | undefined;
1438
+ complianceReview?: ComplianceReview | undefined;
1439
+ systemReviewCheck?: SystemReviewCheck | undefined;
1440
+ saStatus?: SaStatus | undefined;
1441
+ from?: Date | null | undefined;
1442
+ to?: Date | null | undefined;
1443
+ search?: string | undefined;
1444
+ offeringId?: string | undefined;
1445
+ investorAccountId?: string | undefined;
1446
+ investmentType?: InvestmentType | undefined;
1447
+ saCheck?: SaCheck | undefined;
1448
+ txnPaymentMethod?: PaymentMethodType | undefined;
1449
+ txnCheck?: TxnCheck | undefined;
1450
+ beenDisbursed?: "true" | "false" | undefined;
1451
+ minAmount?: number | undefined;
1452
+ maxAmount?: number | undefined;
1453
+ }, {
1454
+ managedBy?: ManagedByType | undefined;
1455
+ tradeStatus?: TradeStatus | undefined;
1456
+ fundingStatus?: FundingStatus | undefined;
1457
+ complianceReview?: ComplianceReview | undefined;
1458
+ systemReviewCheck?: SystemReviewCheck | undefined;
1459
+ saStatus?: SaStatus | undefined;
1460
+ from?: string | null | undefined;
1461
+ to?: string | null | undefined;
1462
+ search?: string | undefined;
1463
+ offeringId?: string | undefined;
1464
+ investorAccountId?: string | undefined;
1465
+ investmentType?: InvestmentType | undefined;
1466
+ saCheck?: SaCheck | undefined;
1467
+ txnPaymentMethod?: PaymentMethodType | undefined;
1468
+ txnCheck?: TxnCheck | undefined;
1469
+ beenDisbursed?: "true" | "false" | undefined;
1470
+ minAmount?: string | undefined;
1471
+ maxAmount?: string | undefined;
1472
+ }>;
1473
+ export type IssuersTradeFiltersZod = z.infer<typeof IssuersTradeFiltersZod>;
1474
+ /**
1475
+ * Zod schema representing a union of all possible filter types based on portal type.
1476
+ * This schema can be used for runtime validation of filter parameters.
1477
+ */
1478
+ export declare const GetTradeFiltersSchema: z.ZodUnion<[z.ZodObject<{
1479
+ investmentType: z.ZodOptional<z.ZodNativeEnum<typeof InvestmentType>>;
1480
+ tradeStatus: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
1481
+ from: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1482
+ to: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1483
+ saStatus: z.ZodOptional<z.ZodNativeEnum<typeof SaStatus>>;
1484
+ saCheck: z.ZodOptional<z.ZodNativeEnum<typeof SaCheck>>;
1485
+ txnPaymentMethod: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethodType>>;
1486
+ fundingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FundingStatus>>;
1487
+ txnCheck: z.ZodOptional<z.ZodNativeEnum<typeof TxnCheck>>;
1488
+ systemReviewCheck: z.ZodOptional<z.ZodNativeEnum<typeof SystemReviewCheck>>;
1489
+ complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
1490
+ beenDisbursed: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
1491
+ search: z.ZodOptional<z.ZodString>;
1492
+ offeringId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1493
+ accountId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1494
+ issuerId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1495
+ snapshotEvent: z.ZodOptional<z.ZodNativeEnum<typeof SnapshotEvent>>;
1496
+ offeringType: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1497
+ managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1498
+ platform: z.ZodOptional<z.ZodNativeEnum<typeof Platforms>>;
1499
+ investorAccountId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1500
+ }, "strip", z.ZodTypeAny, {
1501
+ tradeStatus: string[];
1502
+ accountId?: string | undefined;
1503
+ managedBy?: ManagedByType | undefined;
1504
+ platform?: Platforms | undefined;
1505
+ fundingStatus?: FundingStatus | undefined;
1506
+ complianceReview?: ComplianceReview | undefined;
1507
+ systemReviewCheck?: SystemReviewCheck | undefined;
1508
+ saStatus?: SaStatus | undefined;
1509
+ from?: Date | null | undefined;
1510
+ to?: Date | null | undefined;
1511
+ search?: string | undefined;
1512
+ offeringId?: string | undefined;
1513
+ investorAccountId?: string | undefined;
1514
+ issuerId?: string | undefined;
1515
+ investmentType?: InvestmentType | undefined;
1516
+ saCheck?: SaCheck | undefined;
1517
+ txnPaymentMethod?: PaymentMethodType | undefined;
1518
+ txnCheck?: TxnCheck | undefined;
1519
+ offeringType?: OfferingType | undefined;
1520
+ beenDisbursed?: "true" | "false" | undefined;
1521
+ snapshotEvent?: SnapshotEvent | undefined;
1522
+ }, {
1523
+ accountId?: string | undefined;
1524
+ managedBy?: ManagedByType | undefined;
1525
+ platform?: Platforms | undefined;
1526
+ tradeStatus?: string | undefined;
1527
+ fundingStatus?: FundingStatus | undefined;
1528
+ complianceReview?: ComplianceReview | undefined;
1529
+ systemReviewCheck?: SystemReviewCheck | undefined;
1530
+ saStatus?: SaStatus | undefined;
1531
+ from?: string | null | undefined;
1532
+ to?: string | null | undefined;
1533
+ search?: string | undefined;
1534
+ offeringId?: string | undefined;
1535
+ investorAccountId?: string | undefined;
1536
+ issuerId?: string | undefined;
1537
+ investmentType?: InvestmentType | undefined;
1538
+ saCheck?: SaCheck | undefined;
1539
+ txnPaymentMethod?: PaymentMethodType | undefined;
1540
+ txnCheck?: TxnCheck | undefined;
1541
+ offeringType?: OfferingType | undefined;
1542
+ beenDisbursed?: "true" | "false" | undefined;
1543
+ snapshotEvent?: SnapshotEvent | undefined;
1544
+ }>, z.ZodObject<{
1545
+ investmentType: z.ZodOptional<z.ZodNativeEnum<typeof InvestmentType>>;
1546
+ tradeStatus: z.ZodOptional<z.ZodNativeEnum<typeof TradeStatus>>;
1547
+ saStatus: z.ZodOptional<z.ZodNativeEnum<typeof SaStatus>>;
1548
+ saCheck: z.ZodOptional<z.ZodNativeEnum<typeof SaCheck>>;
1549
+ txnPaymentMethod: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethodType>>;
1550
+ fundingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FundingStatus>>;
1551
+ txnCheck: z.ZodOptional<z.ZodNativeEnum<typeof TxnCheck>>;
1552
+ systemReviewCheck: z.ZodOptional<z.ZodNativeEnum<typeof SystemReviewCheck>>;
1553
+ complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
1554
+ beenDisbursed: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
1555
+ search: z.ZodOptional<z.ZodString>;
1556
+ offeringId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1557
+ from: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1558
+ to: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1559
+ minAmount: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
1560
+ maxAmount: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
1561
+ managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1562
+ investorAccountId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1563
+ }, "strip", z.ZodTypeAny, {
1564
+ managedBy?: ManagedByType | undefined;
1565
+ tradeStatus?: TradeStatus | undefined;
1566
+ fundingStatus?: FundingStatus | undefined;
1567
+ complianceReview?: ComplianceReview | undefined;
1568
+ systemReviewCheck?: SystemReviewCheck | undefined;
1569
+ saStatus?: SaStatus | undefined;
1570
+ from?: Date | null | undefined;
1571
+ to?: Date | null | undefined;
1572
+ search?: string | undefined;
1573
+ offeringId?: string | undefined;
1574
+ investorAccountId?: string | undefined;
1575
+ investmentType?: InvestmentType | undefined;
1576
+ saCheck?: SaCheck | undefined;
1577
+ txnPaymentMethod?: PaymentMethodType | undefined;
1578
+ txnCheck?: TxnCheck | undefined;
1579
+ beenDisbursed?: "true" | "false" | undefined;
1580
+ minAmount?: number | undefined;
1581
+ maxAmount?: number | undefined;
1582
+ }, {
1583
+ managedBy?: ManagedByType | undefined;
1584
+ tradeStatus?: TradeStatus | undefined;
1585
+ fundingStatus?: FundingStatus | undefined;
1586
+ complianceReview?: ComplianceReview | undefined;
1587
+ systemReviewCheck?: SystemReviewCheck | undefined;
1588
+ saStatus?: SaStatus | undefined;
1589
+ from?: string | null | undefined;
1590
+ to?: string | null | undefined;
1591
+ search?: string | undefined;
1592
+ offeringId?: string | undefined;
1593
+ investorAccountId?: string | undefined;
1594
+ investmentType?: InvestmentType | undefined;
1595
+ saCheck?: SaCheck | undefined;
1596
+ txnPaymentMethod?: PaymentMethodType | undefined;
1597
+ txnCheck?: TxnCheck | undefined;
1598
+ beenDisbursed?: "true" | "false" | undefined;
1599
+ minAmount?: string | undefined;
1600
+ maxAmount?: string | undefined;
1601
+ }>, z.ZodObject<{
1602
+ investorAccountId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1603
+ tradeStatus: z.ZodOptional<z.ZodNativeEnum<typeof TradeStatus>>;
1604
+ search: z.ZodOptional<z.ZodString>;
1605
+ }, "strip", z.ZodTypeAny, {
1606
+ tradeStatus?: TradeStatus | undefined;
1607
+ search?: string | undefined;
1608
+ investorAccountId?: string | undefined;
1609
+ }, {
1610
+ tradeStatus?: TradeStatus | undefined;
1611
+ search?: string | undefined;
1612
+ investorAccountId?: string | undefined;
1613
+ }>]>;
1614
+ /**
1615
+ * Type representing the filters parameter for getTradeWithCalculatedFields.
1616
+ * This is a union of all possible filter types based on portal type:
1617
+ * - TradeFiltersZod (Compliance portal)
1618
+ * - IssuersTradeFiltersZod (Issuer portal)
1619
+ * - InvestorsTradeFiltersZod (Investor portal)
1620
+ */
1621
+ export type GetTradeFiltersType = z.infer<typeof GetTradeFiltersSchema>;
1622
+ export declare const CancelTradeResponse: z.ZodObject<{
1623
+ message: z.ZodString;
1624
+ }, "strip", z.ZodTypeAny, {
1625
+ message: string;
1626
+ }, {
1627
+ message: string;
1628
+ }>;
1629
+ export type CancelTradeResponse = z.infer<typeof CancelTradeResponse>;
1630
+ export declare const FailedTradeZod: z.ZodObject<{
1631
+ id: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1632
+ tradeNo: z.ZodString;
1633
+ errors: z.ZodArray<z.ZodString, "many">;
1634
+ }, "strip", z.ZodTypeAny, {
1635
+ id: string;
1636
+ errors: string[];
1637
+ tradeNo: string;
1638
+ }, {
1639
+ id: string;
1640
+ errors: string[];
1641
+ tradeNo: string;
1642
+ }>;
1643
+ export type FailedTradeZod = z.infer<typeof FailedTradeZod>;
1644
+ export declare const ReviewTradeZod: z.ZodObject<{
1645
+ success: z.ZodBoolean;
1646
+ message: z.ZodString;
1647
+ failedTrades: z.ZodArray<z.ZodObject<{
1648
+ id: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1649
+ tradeNo: z.ZodString;
1650
+ errors: z.ZodArray<z.ZodString, "many">;
1651
+ }, "strip", z.ZodTypeAny, {
1652
+ id: string;
1653
+ errors: string[];
1654
+ tradeNo: string;
1655
+ }, {
1656
+ id: string;
1657
+ errors: string[];
1658
+ tradeNo: string;
1659
+ }>, "many">;
1660
+ }, "strip", z.ZodTypeAny, {
1661
+ message: string;
1662
+ success: boolean;
1663
+ failedTrades: {
1664
+ id: string;
1665
+ errors: string[];
1666
+ tradeNo: string;
1667
+ }[];
1668
+ }, {
1669
+ message: string;
1670
+ success: boolean;
1671
+ failedTrades: {
1672
+ id: string;
1673
+ errors: string[];
1674
+ tradeNo: string;
1675
+ }[];
1676
+ }>;
1677
+ export type ReviewTradeZod = z.infer<typeof ReviewTradeZod>;
1678
+ export declare const CancelTradeZod: z.ZodObject<{
1679
+ reason: z.ZodString;
1680
+ }, "strip", z.ZodTypeAny, {
1681
+ reason: string;
1682
+ }, {
1683
+ reason: string;
1684
+ }>;
1685
+ export type CancelTradeZod = z.infer<typeof CancelTradeZod>;
1686
+ export declare const ComplianceCancelTradeZod: z.ZodObject<{
1687
+ reason: z.ZodString;
1688
+ accountId: z.ZodEffects<z.ZodString, string, string>;
1689
+ }, "strip", z.ZodTypeAny, {
1690
+ accountId: string;
1691
+ reason: string;
1692
+ }, {
1693
+ accountId: string;
1694
+ reason: string;
1695
+ }>;
1696
+ export type ComplianceCancelTradeZod = z.infer<typeof ComplianceCancelTradeZod>;
1697
+ export declare const ProcessPaymentZod: z.ZodObject<{
1698
+ tradeId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1699
+ amount: z.ZodNumber;
1700
+ }, "strip", z.ZodTypeAny, {
1701
+ amount: number;
1702
+ tradeId: string;
1703
+ }, {
1704
+ amount: number;
1705
+ tradeId: string;
1706
+ }>;
1707
+ export type ProcessPaymentZod = z.infer<typeof ProcessPaymentZod>;
1708
+ export declare const ProcessPaymentResponse: z.ZodObject<{
1709
+ success: z.ZodBoolean;
1710
+ }, "strip", z.ZodTypeAny, {
1711
+ success: boolean;
1712
+ }, {
1713
+ success: boolean;
1714
+ }>;
1715
+ export type ProcessPaymentResponse = z.infer<typeof ProcessPaymentResponse>;
1716
+ declare const TradeLineItemDataZod: z.ZodObject<{
1717
+ signaturePlatform: z.ZodString;
1718
+ signatureDocumentId: z.ZodString;
1719
+ signatureUrl: z.ZodString;
1720
+ signatureStatus: z.ZodNativeEnum<typeof SignatureStatus>;
1721
+ }, "strip", z.ZodTypeAny, {
1722
+ signaturePlatform: string;
1723
+ signatureDocumentId: string;
1724
+ signatureUrl: string;
1725
+ signatureStatus: SignatureStatus;
1726
+ }, {
1727
+ signaturePlatform: string;
1728
+ signatureDocumentId: string;
1729
+ signatureUrl: string;
1730
+ signatureStatus: SignatureStatus;
1731
+ }>;
1732
+ export type TradeLineItemDataZod = z.infer<typeof TradeLineItemDataZod>;
1733
+ export declare const TradeSystemReviewLogZod: z.ZodObject<{
1734
+ type: z.ZodNativeEnum<typeof TradeSystemLogType>;
1735
+ data: z.ZodRecord<z.ZodString, z.ZodAny>;
1736
+ error: z.ZodNullable<z.ZodString>;
1737
+ message: z.ZodNullable<z.ZodString>;
1738
+ status: z.ZodNativeEnum<typeof TradeSystemReviewLogStatus>;
1739
+ }, "strip", z.ZodTypeAny, {
1740
+ message: string | null;
1741
+ type: TradeSystemLogType;
1742
+ status: TradeSystemReviewLogStatus;
1743
+ error: string | null;
1744
+ data: Record<string, any>;
1745
+ }, {
1746
+ message: string | null;
1747
+ type: TradeSystemLogType;
1748
+ status: TradeSystemReviewLogStatus;
1749
+ error: string | null;
1750
+ data: Record<string, any>;
1751
+ }>;
1752
+ export type TradeSystemReviewLogZod = z.infer<typeof TradeSystemReviewLogZod>;
1753
+ export declare enum BoldsignTemplateType {
1754
+ INDIVIDUAL = "INDIVIDUAL",
1755
+ JOINT = "JOINT",
1756
+ ENTITY = "ENTITY"
1757
+ }
1758
+ export declare const GetTemplateVariablesForTradeZod: z.ZodObject<{
1759
+ templateType: z.ZodNativeEnum<typeof BoldsignTemplateType>;
1760
+ templateId: z.ZodString;
1761
+ mergeVars: z.ZodArray<z.ZodObject<{
1762
+ field: z.ZodString;
1763
+ value: z.ZodString;
1764
+ }, "strip", z.ZodTypeAny, {
1765
+ value: string;
1766
+ field: string;
1767
+ }, {
1768
+ value: string;
1769
+ field: string;
1770
+ }>, "many">;
1771
+ }, "strip", z.ZodTypeAny, {
1772
+ templateType: BoldsignTemplateType;
1773
+ templateId: string;
1774
+ mergeVars: {
1775
+ value: string;
1776
+ field: string;
1777
+ }[];
1778
+ }, {
1779
+ templateType: BoldsignTemplateType;
1780
+ templateId: string;
1781
+ mergeVars: {
1782
+ value: string;
1783
+ field: string;
1784
+ }[];
1785
+ }>;
1786
+ export type GetTemplateVariablesForTradeZod = z.infer<typeof GetTemplateVariablesForTradeZod>;
1787
+ /**
1788
+ * Zod schema for CSV export data with all formatted fields ready for export
1789
+ * All extraction and formatting logic is handled in trades.service.ts
1790
+ */
1791
+ export declare const TradeForCsvExportZod: z.ZodObject<{
1792
+ tradeNumber: z.ZodString;
1793
+ investorName: z.ZodString;
1794
+ signerName: z.ZodString;
1795
+ offeringName: z.ZodString;
1796
+ tradeType: z.ZodString;
1797
+ numberOfShares: z.ZodNumber;
1798
+ pricePerShare: z.ZodString;
1799
+ totalAmount: z.ZodString;
1800
+ tradeStatus: z.ZodString;
1801
+ fundingStatus: z.ZodString;
1802
+ kycStatus: z.ZodBoolean;
1803
+ amlStatus: z.ZodBoolean;
1804
+ aicStatus: z.ZodBoolean;
1805
+ saStatus: z.ZodString;
1806
+ placedAt: z.ZodString;
1807
+ closedAt: z.ZodString;
1808
+ txnPaymentMethod: z.ZodString;
1809
+ txnChargedAmount: z.ZodString;
1810
+ registeredRepId: z.ZodString;
1811
+ managedBy: z.ZodString;
1812
+ platform: z.ZodString;
1813
+ entityName: z.ZodString;
1814
+ entityEin: z.ZodString;
1815
+ entityAddress: z.ZodString;
1816
+ entityAddress2: z.ZodString;
1817
+ entityCity: z.ZodString;
1818
+ entityCountry: z.ZodString;
1819
+ entityState: z.ZodString;
1820
+ entityZip: z.ZodString;
1821
+ entityEmail: z.ZodString;
1822
+ entityPhone: z.ZodString;
1823
+ entityCompanyType: z.ZodString;
1824
+ primaryFirstName: z.ZodString;
1825
+ primaryLastName: z.ZodString;
1826
+ primaryDob: z.ZodString;
1827
+ primarySsn: z.ZodString;
1828
+ primaryAddress: z.ZodString;
1829
+ primaryAddress2: z.ZodString;
1830
+ primaryCity: z.ZodString;
1831
+ primaryCountry: z.ZodString;
1832
+ primaryState: z.ZodString;
1833
+ primaryZip: z.ZodString;
1834
+ primaryEmail: z.ZodString;
1835
+ primaryPhone: z.ZodString;
1836
+ secondaryFirstName: z.ZodString;
1837
+ secondaryLastName: z.ZodString;
1838
+ secondaryDob: z.ZodString;
1839
+ secondarySsn: z.ZodString;
1840
+ secondaryAddress: z.ZodString;
1841
+ secondaryAddress2: z.ZodString;
1842
+ secondaryCity: z.ZodString;
1843
+ secondaryCountry: z.ZodString;
1844
+ secondaryState: z.ZodString;
1845
+ secondaryZip: z.ZodString;
1846
+ secondaryEmail: z.ZodString;
1847
+ secondaryPhone: z.ZodString;
1848
+ }, "strip", z.ZodTypeAny, {
1849
+ managedBy: string;
1850
+ platform: string;
1851
+ tradeStatus: string;
1852
+ fundingStatus: string;
1853
+ kycStatus: boolean;
1854
+ amlStatus: boolean;
1855
+ aicStatus: boolean;
1856
+ saStatus: string;
1857
+ placedAt: string;
1858
+ signerName: string;
1859
+ tradeNumber: string;
1860
+ numberOfShares: number;
1861
+ pricePerShare: string;
1862
+ totalAmount: string;
1863
+ investorName: string;
1864
+ txnPaymentMethod: string;
1865
+ txnChargedAmount: string;
1866
+ tradeType: string;
1867
+ offeringName: string;
1868
+ closedAt: string;
1869
+ registeredRepId: string;
1870
+ entityName: string;
1871
+ entityEin: string;
1872
+ entityAddress: string;
1873
+ entityAddress2: string;
1874
+ entityCity: string;
1875
+ entityCountry: string;
1876
+ entityState: string;
1877
+ entityZip: string;
1878
+ entityEmail: string;
1879
+ entityPhone: string;
1880
+ entityCompanyType: string;
1881
+ primaryFirstName: string;
1882
+ primaryLastName: string;
1883
+ primaryDob: string;
1884
+ primarySsn: string;
1885
+ primaryAddress: string;
1886
+ primaryAddress2: string;
1887
+ primaryCity: string;
1888
+ primaryCountry: string;
1889
+ primaryState: string;
1890
+ primaryZip: string;
1891
+ primaryEmail: string;
1892
+ primaryPhone: string;
1893
+ secondaryFirstName: string;
1894
+ secondaryLastName: string;
1895
+ secondaryDob: string;
1896
+ secondarySsn: string;
1897
+ secondaryAddress: string;
1898
+ secondaryAddress2: string;
1899
+ secondaryCity: string;
1900
+ secondaryCountry: string;
1901
+ secondaryState: string;
1902
+ secondaryZip: string;
1903
+ secondaryEmail: string;
1904
+ secondaryPhone: string;
1905
+ }, {
1906
+ managedBy: string;
1907
+ platform: string;
1908
+ tradeStatus: string;
1909
+ fundingStatus: string;
1910
+ kycStatus: boolean;
1911
+ amlStatus: boolean;
1912
+ aicStatus: boolean;
1913
+ saStatus: string;
1914
+ placedAt: string;
1915
+ signerName: string;
1916
+ tradeNumber: string;
1917
+ numberOfShares: number;
1918
+ pricePerShare: string;
1919
+ totalAmount: string;
1920
+ investorName: string;
1921
+ txnPaymentMethod: string;
1922
+ txnChargedAmount: string;
1923
+ tradeType: string;
1924
+ offeringName: string;
1925
+ closedAt: string;
1926
+ registeredRepId: string;
1927
+ entityName: string;
1928
+ entityEin: string;
1929
+ entityAddress: string;
1930
+ entityAddress2: string;
1931
+ entityCity: string;
1932
+ entityCountry: string;
1933
+ entityState: string;
1934
+ entityZip: string;
1935
+ entityEmail: string;
1936
+ entityPhone: string;
1937
+ entityCompanyType: string;
1938
+ primaryFirstName: string;
1939
+ primaryLastName: string;
1940
+ primaryDob: string;
1941
+ primarySsn: string;
1942
+ primaryAddress: string;
1943
+ primaryAddress2: string;
1944
+ primaryCity: string;
1945
+ primaryCountry: string;
1946
+ primaryState: string;
1947
+ primaryZip: string;
1948
+ primaryEmail: string;
1949
+ primaryPhone: string;
1950
+ secondaryFirstName: string;
1951
+ secondaryLastName: string;
1952
+ secondaryDob: string;
1953
+ secondarySsn: string;
1954
+ secondaryAddress: string;
1955
+ secondaryAddress2: string;
1956
+ secondaryCity: string;
1957
+ secondaryCountry: string;
1958
+ secondaryState: string;
1959
+ secondaryZip: string;
1960
+ secondaryEmail: string;
1961
+ secondaryPhone: string;
1962
+ }>;
1963
+ export type TradeForCsvExport = z.infer<typeof TradeForCsvExportZod>;
1964
+ export declare const CANCELLABLE_TRADE_STATUSES: TradeStatus[];
1965
+ export declare const NON_CANCELABLE_COMPLIANCE_REVIEW_STATUSES: ComplianceReview[];
1966
+ /**
1967
+ * Filter type for Investor Account exports in workers
1968
+ * Extends the base InvestorAccountExportFilters with additional optional fields needed for bulk exports
1969
+ */
1970
+ export type WorkerInvestorAccountExportFilters = Partial<(InvestorAccountExportFilters | ComplianceInvestorAccountExportFilters) & {
1971
+ isRegisteredUsersExport: boolean | null;
1972
+ search: string | null;
1973
+ startDate: Date | null;
1974
+ endDate: Date | null;
1975
+ userType: string | null;
1976
+ accountId: string | null;
1977
+ }>;
1978
+ /**
1979
+ * Filter type for Trade exports
1980
+ * Extends IssuersTradeFiltersZod with accountId
1981
+ */
1982
+ export type TradeExportFilters = Partial<IssuersTradeFiltersZod & {
1983
+ accountId: string | null;
1984
+ }>;
1985
+ /**
1986
+ * Filter type for Compliance Trade exports
1987
+ */
1988
+ export type ComplianceTradeExportFilters = Partial<ExportTradesQuery>;
1989
+ /**
1990
+ * Filter type for Secondary Customer exports
1991
+ */
1992
+ export type SecondaryCustomerExportFilters = Partial<GetSecondaryCustomerFiltersZod>;
1993
+ /**
1994
+ * Filter type for Secondary Trade exports
1995
+ */
1996
+ export type SecondaryTradeExportFilters = Partial<SecondaryTradeFiltersZod>;
1997
+ /**
1998
+ * Combined filter type for all bulk export types
1999
+ * Used in the ExportBulkDataDto
2000
+ */
2001
+ export type BulkExportFilters = WorkerInvestorAccountExportFilters | TradeExportFilters | ComplianceTradeExportFilters | SecondaryCustomerExportFilters | SecondaryTradeExportFilters;
2002
+ export type BulkExportResponse = IInvestorAccount[] | RegisteredInvestorUserRawZod[] | TradeZod[] | SecondaryCustomer[] | SecondaryTrade[];
2003
+ export {};