@dalmore/api-contracts 0.0.0-dev.9d42e16 → 0.0.0-dev.a9772b4

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