@dalmore/api-contracts 0.0.0-dev.d8ef117 → 0.0.0-dev.ddf366c

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