@dalmore/api-contracts 0.0.0-dev.fc1b175 → 0.0.0-dev.fef3ec8

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