@dalmore/api-contracts 0.0.0-dev.ee0e6b6 → 0.0.0-dev.f317bb8

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