@dalmore/api-contracts 0.0.0-dev.0800e07

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 (410) hide show
  1. package/README.md +83 -0
  2. package/common/helpers/index.d.ts +50 -0
  3. package/common/helpers/index.js +136 -0
  4. package/common/helpers/index.js.map +1 -0
  5. package/common/types/account-contact.types.d.ts +485 -0
  6. package/common/types/account-contact.types.js +75 -0
  7. package/common/types/account-contact.types.js.map +1 -0
  8. package/common/types/account-detail.types.d.ts +304 -0
  9. package/common/types/account-detail.types.js +20 -0
  10. package/common/types/account-detail.types.js.map +1 -0
  11. package/common/types/account-integration.types.d.ts +242 -0
  12. package/common/types/account-integration.types.js +121 -0
  13. package/common/types/account-integration.types.js.map +1 -0
  14. package/common/types/account-manager.types.d.ts +917 -0
  15. package/common/types/account-manager.types.js +89 -0
  16. package/common/types/account-manager.types.js.map +1 -0
  17. package/common/types/account-setting.types.d.ts +184 -0
  18. package/common/types/account-setting.types.js +52 -0
  19. package/common/types/account-setting.types.js.map +1 -0
  20. package/common/types/account.types.d.ts +631 -0
  21. package/common/types/account.types.js +217 -0
  22. package/common/types/account.types.js.map +1 -0
  23. package/common/types/activity.types.d.ts +583 -0
  24. package/common/types/activity.types.js +251 -0
  25. package/common/types/activity.types.js.map +1 -0
  26. package/common/types/address.types.d.ts +89 -0
  27. package/common/types/address.types.js +36 -0
  28. package/common/types/address.types.js.map +1 -0
  29. package/common/types/aic.types.d.ts +434 -0
  30. package/common/types/aic.types.js +170 -0
  31. package/common/types/aic.types.js.map +1 -0
  32. package/common/types/aml.types.d.ts +41 -0
  33. package/common/types/aml.types.js +16 -0
  34. package/common/types/aml.types.js.map +1 -0
  35. package/common/types/api-key-logs.types.d.ts +204 -0
  36. package/common/types/api-key-logs.types.js +52 -0
  37. package/common/types/api-key-logs.types.js.map +1 -0
  38. package/common/types/api-keys.types.d.ts +192 -0
  39. package/common/types/api-keys.types.js +57 -0
  40. package/common/types/api-keys.types.js.map +1 -0
  41. package/common/types/asset.types.d.ts +1100 -0
  42. package/common/types/asset.types.js +353 -0
  43. package/common/types/asset.types.js.map +1 -0
  44. package/common/types/auth.types.d.ts +487 -0
  45. package/common/types/auth.types.js +279 -0
  46. package/common/types/auth.types.js.map +1 -0
  47. package/common/types/batch-jobs.types.d.ts +321 -0
  48. package/common/types/batch-jobs.types.js +111 -0
  49. package/common/types/batch-jobs.types.js.map +1 -0
  50. package/common/types/bonus-tier.types.d.ts +991 -0
  51. package/common/types/bonus-tier.types.js +166 -0
  52. package/common/types/bonus-tier.types.js.map +1 -0
  53. package/common/types/cap-table.types.d.ts +1139 -0
  54. package/common/types/cap-table.types.js +423 -0
  55. package/common/types/cap-table.types.js.map +1 -0
  56. package/common/types/cart.types.d.ts +28 -0
  57. package/common/types/cart.types.js +19 -0
  58. package/common/types/cart.types.js.map +1 -0
  59. package/common/types/checklist-items.types.d.ts +195 -0
  60. package/common/types/checklist-items.types.js +54 -0
  61. package/common/types/checklist-items.types.js.map +1 -0
  62. package/common/types/checklist.types.d.ts +140 -0
  63. package/common/types/checklist.types.js +71 -0
  64. package/common/types/checklist.types.js.map +1 -0
  65. package/common/types/common.types.d.ts +1524 -0
  66. package/common/types/common.types.js +1449 -0
  67. package/common/types/common.types.js.map +1 -0
  68. package/common/types/comply-advantage-api.types.d.ts +3626 -0
  69. package/common/types/comply-advantage-api.types.js +291 -0
  70. package/common/types/comply-advantage-api.types.js.map +1 -0
  71. package/common/types/comply-advantage.types.d.ts +48 -0
  72. package/common/types/comply-advantage.types.js +21 -0
  73. package/common/types/comply-advantage.types.js.map +1 -0
  74. package/common/types/contact-us.types.d.ts +126 -0
  75. package/common/types/contact-us.types.js +91 -0
  76. package/common/types/contact-us.types.js.map +1 -0
  77. package/common/types/countries.types.d.ts +77 -0
  78. package/common/types/countries.types.js +349 -0
  79. package/common/types/countries.types.js.map +1 -0
  80. package/common/types/covered-person.types.d.ts +204 -0
  81. package/common/types/covered-person.types.js +234 -0
  82. package/common/types/covered-person.types.js.map +1 -0
  83. package/common/types/dashboard.types.d.ts +2086 -0
  84. package/common/types/dashboard.types.js +690 -0
  85. package/common/types/dashboard.types.js.map +1 -0
  86. package/common/types/data-record.types.d.ts +347 -0
  87. package/common/types/data-record.types.js +261 -0
  88. package/common/types/data-record.types.js.map +1 -0
  89. package/common/types/data-room.types.d.ts +1277 -0
  90. package/common/types/data-room.types.js +167 -0
  91. package/common/types/data-room.types.js.map +1 -0
  92. package/common/types/default-theme-config.types.d.ts +445 -0
  93. package/common/types/default-theme-config.types.js +63 -0
  94. package/common/types/default-theme-config.types.js.map +1 -0
  95. package/common/types/disbursement-adjustment.types.d.ts +21 -0
  96. package/common/types/disbursement-adjustment.types.js +25 -0
  97. package/common/types/disbursement-adjustment.types.js.map +1 -0
  98. package/common/types/disbursement-approval-user.types.d.ts +935 -0
  99. package/common/types/disbursement-approval-user.types.js +68 -0
  100. package/common/types/disbursement-approval-user.types.js.map +1 -0
  101. package/common/types/disbursement-review.types.d.ts +923 -0
  102. package/common/types/disbursement-review.types.js +76 -0
  103. package/common/types/disbursement-review.types.js.map +1 -0
  104. package/common/types/disbursement-transaction.types.d.ts +621 -0
  105. package/common/types/disbursement-transaction.types.js +51 -0
  106. package/common/types/disbursement-transaction.types.js.map +1 -0
  107. package/common/types/disbursements.types.d.ts +2564 -0
  108. package/common/types/disbursements.types.js +345 -0
  109. package/common/types/disbursements.types.js.map +1 -0
  110. package/common/types/domain-filter.types.d.ts +135 -0
  111. package/common/types/domain-filter.types.js +40 -0
  112. package/common/types/domain-filter.types.js.map +1 -0
  113. package/common/types/email-theme.types.d.ts +1359 -0
  114. package/common/types/email-theme.types.js +318 -0
  115. package/common/types/email-theme.types.js.map +1 -0
  116. package/common/types/entity.types.d.ts +21 -0
  117. package/common/types/entity.types.js +14 -0
  118. package/common/types/entity.types.js.map +1 -0
  119. package/common/types/error-responses.types.d.ts +144 -0
  120. package/common/types/error-responses.types.js +125 -0
  121. package/common/types/error-responses.types.js.map +1 -0
  122. package/common/types/escrow-account.types.d.ts +415 -0
  123. package/common/types/escrow-account.types.js +78 -0
  124. package/common/types/escrow-account.types.js.map +1 -0
  125. package/common/types/exchange-api-key.types.d.ts +1010 -0
  126. package/common/types/exchange-api-key.types.js +90 -0
  127. package/common/types/exchange-api-key.types.js.map +1 -0
  128. package/common/types/exchange-import.types.d.ts +23 -0
  129. package/common/types/exchange-import.types.js +23 -0
  130. package/common/types/exchange-import.types.js.map +1 -0
  131. package/common/types/exchange-provider.types.d.ts +1308 -0
  132. package/common/types/exchange-provider.types.js +268 -0
  133. package/common/types/exchange-provider.types.js.map +1 -0
  134. package/common/types/file.types.d.ts +405 -0
  135. package/common/types/file.types.js +380 -0
  136. package/common/types/file.types.js.map +1 -0
  137. package/common/types/health.types.d.ts +112 -0
  138. package/common/types/health.types.js +22 -0
  139. package/common/types/health.types.js.map +1 -0
  140. package/common/types/i-will-do-it-later.types.d.ts +51 -0
  141. package/common/types/i-will-do-it-later.types.js +30 -0
  142. package/common/types/i-will-do-it-later.types.js.map +1 -0
  143. package/common/types/index.d.ts +51 -0
  144. package/common/types/index.js +53 -0
  145. package/common/types/index.js.map +1 -0
  146. package/common/types/individuals.types.d.ts +1899 -0
  147. package/common/types/individuals.types.js +503 -0
  148. package/common/types/individuals.types.js.map +1 -0
  149. package/common/types/investor-account.types.d.ts +2996 -0
  150. package/common/types/investor-account.types.js +930 -0
  151. package/common/types/investor-account.types.js.map +1 -0
  152. package/common/types/investorAccountIdSchema.type.d.ts +0 -0
  153. package/common/types/investorAccountIdSchema.type.js +1 -0
  154. package/common/types/investorAccountIdSchema.type.js.map +1 -0
  155. package/common/types/investors-offering.types.d.ts +391 -0
  156. package/common/types/investors-offering.types.js +49 -0
  157. package/common/types/investors-offering.types.js.map +1 -0
  158. package/common/types/invite.types.d.ts +641 -0
  159. package/common/types/invite.types.js +113 -0
  160. package/common/types/invite.types.js.map +1 -0
  161. package/common/types/issuer-bank-account.types.d.ts +113 -0
  162. package/common/types/issuer-bank-account.types.js +81 -0
  163. package/common/types/issuer-bank-account.types.js.map +1 -0
  164. package/common/types/issuer-offering.types.d.ts +1904 -0
  165. package/common/types/issuer-offering.types.js +455 -0
  166. package/common/types/issuer-offering.types.js.map +1 -0
  167. package/common/types/issuer-payment-method.types.d.ts +1100 -0
  168. package/common/types/issuer-payment-method.types.js +311 -0
  169. package/common/types/issuer-payment-method.types.js.map +1 -0
  170. package/common/types/issuer.types.d.ts +539 -0
  171. package/common/types/issuer.types.js +275 -0
  172. package/common/types/issuer.types.js.map +1 -0
  173. package/common/types/job-item.types.d.ts +230 -0
  174. package/common/types/job-item.types.js +89 -0
  175. package/common/types/job-item.types.js.map +1 -0
  176. package/common/types/jobs.types.d.ts +296 -0
  177. package/common/types/jobs.types.js +150 -0
  178. package/common/types/jobs.types.js.map +1 -0
  179. package/common/types/kyb.types.d.ts +167 -0
  180. package/common/types/kyb.types.js +45 -0
  181. package/common/types/kyb.types.js.map +1 -0
  182. package/common/types/kyc.types.d.ts +2197 -0
  183. package/common/types/kyc.types.js +301 -0
  184. package/common/types/kyc.types.js.map +1 -0
  185. package/common/types/legal-entity.types.d.ts +638 -0
  186. package/common/types/legal-entity.types.js +148 -0
  187. package/common/types/legal-entity.types.js.map +1 -0
  188. package/common/types/login-history.types.d.ts +160 -0
  189. package/common/types/login-history.types.js +39 -0
  190. package/common/types/login-history.types.js.map +1 -0
  191. package/common/types/mail-template.types.d.ts +595 -0
  192. package/common/types/mail-template.types.js +401 -0
  193. package/common/types/mail-template.types.js.map +1 -0
  194. package/common/types/north-cap-integration.types.d.ts +1303 -0
  195. package/common/types/north-cap-integration.types.js +145 -0
  196. package/common/types/north-cap-integration.types.js.map +1 -0
  197. package/common/types/note.types.d.ts +216 -0
  198. package/common/types/note.types.js +82 -0
  199. package/common/types/note.types.js.map +1 -0
  200. package/common/types/notification.types.d.ts +2689 -0
  201. package/common/types/notification.types.js +408 -0
  202. package/common/types/notification.types.js.map +1 -0
  203. package/common/types/notion-api.types.d.ts +3626 -0
  204. package/common/types/notion-api.types.js +271 -0
  205. package/common/types/notion-api.types.js.map +1 -0
  206. package/common/types/notion-database.types.d.ts +191 -0
  207. package/common/types/notion-database.types.js +95 -0
  208. package/common/types/notion-database.types.js.map +1 -0
  209. package/common/types/notion-page.types.d.ts +3482 -0
  210. package/common/types/notion-page.types.js +208 -0
  211. package/common/types/notion-page.types.js.map +1 -0
  212. package/common/types/offering-reports.types.d.ts +525 -0
  213. package/common/types/offering-reports.types.js +111 -0
  214. package/common/types/offering-reports.types.js.map +1 -0
  215. package/common/types/offering-submission.types.d.ts +785 -0
  216. package/common/types/offering-submission.types.js +291 -0
  217. package/common/types/offering-submission.types.js.map +1 -0
  218. package/common/types/offering.types.d.ts +2615 -0
  219. package/common/types/offering.types.js +602 -0
  220. package/common/types/offering.types.js.map +1 -0
  221. package/common/types/page-revision.types.d.ts +74 -0
  222. package/common/types/page-revision.types.js +68 -0
  223. package/common/types/page-revision.types.js.map +1 -0
  224. package/common/types/page.types.d.ts +540 -0
  225. package/common/types/page.types.js +361 -0
  226. package/common/types/page.types.js.map +1 -0
  227. package/common/types/password.type.d.ts +2 -0
  228. package/common/types/password.type.js +14 -0
  229. package/common/types/password.type.js.map +1 -0
  230. package/common/types/payment-methods.types.d.ts +800 -0
  231. package/common/types/payment-methods.types.js +260 -0
  232. package/common/types/payment-methods.types.js.map +1 -0
  233. package/common/types/phone.type.d.ts +12 -0
  234. package/common/types/phone.type.js +29 -0
  235. package/common/types/phone.type.js.map +1 -0
  236. package/common/types/portfolio.types.d.ts +185 -0
  237. package/common/types/portfolio.types.js +36 -0
  238. package/common/types/portfolio.types.js.map +1 -0
  239. package/common/types/privacy-policy-and-tos.types.d.ts +2 -0
  240. package/common/types/privacy-policy-and-tos.types.js +231 -0
  241. package/common/types/privacy-policy-and-tos.types.js.map +1 -0
  242. package/common/types/queue.types.d.ts +22 -0
  243. package/common/types/queue.types.js +73 -0
  244. package/common/types/queue.types.js.map +1 -0
  245. package/common/types/registered-reps.types.d.ts +6 -0
  246. package/common/types/registered-reps.types.js +21 -0
  247. package/common/types/registered-reps.types.js.map +1 -0
  248. package/common/types/rejection-reasons.types.d.ts +35 -0
  249. package/common/types/rejection-reasons.types.js +49 -0
  250. package/common/types/rejection-reasons.types.js.map +1 -0
  251. package/common/types/reports.types.d.ts +345 -0
  252. package/common/types/reports.types.js +69 -0
  253. package/common/types/reports.types.js.map +1 -0
  254. package/common/types/review.types.d.ts +419 -0
  255. package/common/types/review.types.js +101 -0
  256. package/common/types/review.types.js.map +1 -0
  257. package/common/types/role.types.d.ts +30 -0
  258. package/common/types/role.types.js +21 -0
  259. package/common/types/role.types.js.map +1 -0
  260. package/common/types/secondary-customer.types.d.ts +586 -0
  261. package/common/types/secondary-customer.types.js +39 -0
  262. package/common/types/secondary-customer.types.js.map +1 -0
  263. package/common/types/secondary-issuer.types.d.ts +283 -0
  264. package/common/types/secondary-issuer.types.js +37 -0
  265. package/common/types/secondary-issuer.types.js.map +1 -0
  266. package/common/types/secondary-order.types.d.ts +508 -0
  267. package/common/types/secondary-order.types.js +40 -0
  268. package/common/types/secondary-order.types.js.map +1 -0
  269. package/common/types/secondary-security.types.d.ts +175 -0
  270. package/common/types/secondary-security.types.js +45 -0
  271. package/common/types/secondary-security.types.js.map +1 -0
  272. package/common/types/secondary-trade.entity.d.ts +16 -0
  273. package/common/types/secondary-trade.entity.js +12 -0
  274. package/common/types/secondary-trade.entity.js.map +1 -0
  275. package/common/types/secondary-trade.types.d.ts +465 -0
  276. package/common/types/secondary-trade.types.js +61 -0
  277. package/common/types/secondary-trade.types.js.map +1 -0
  278. package/common/types/secure-request.types.d.ts +171 -0
  279. package/common/types/secure-request.types.js +51 -0
  280. package/common/types/secure-request.types.js.map +1 -0
  281. package/common/types/signer.types.d.ts +3406 -0
  282. package/common/types/signer.types.js +532 -0
  283. package/common/types/signer.types.js.map +1 -0
  284. package/common/types/site-link.types.d.ts +875 -0
  285. package/common/types/site-link.types.js +126 -0
  286. package/common/types/site-link.types.js.map +1 -0
  287. package/common/types/site-settings.types.d.ts +1673 -0
  288. package/common/types/site-settings.types.js +500 -0
  289. package/common/types/site-settings.types.js.map +1 -0
  290. package/common/types/site.types.d.ts +1481 -0
  291. package/common/types/site.types.js +213 -0
  292. package/common/types/site.types.js.map +1 -0
  293. package/common/types/sms.types.d.ts +40 -0
  294. package/common/types/sms.types.js +27 -0
  295. package/common/types/sms.types.js.map +1 -0
  296. package/common/types/state-machine.types.d.ts +591 -0
  297. package/common/types/state-machine.types.js +144 -0
  298. package/common/types/state-machine.types.js.map +1 -0
  299. package/common/types/states.types.d.ts +77 -0
  300. package/common/types/states.types.js +137 -0
  301. package/common/types/states.types.js.map +1 -0
  302. package/common/types/subdoc-preview.types.d.ts +379 -0
  303. package/common/types/subdoc-preview.types.js +24 -0
  304. package/common/types/subdoc-preview.types.js.map +1 -0
  305. package/common/types/task.types.d.ts +537 -0
  306. package/common/types/task.types.js +211 -0
  307. package/common/types/task.types.js.map +1 -0
  308. package/common/types/trade-adjustment.type.d.ts +40 -0
  309. package/common/types/trade-adjustment.type.js +26 -0
  310. package/common/types/trade-adjustment.type.js.map +1 -0
  311. package/common/types/trade-line-item.types.d.ts +329 -0
  312. package/common/types/trade-line-item.types.js +100 -0
  313. package/common/types/trade-line-item.types.js.map +1 -0
  314. package/common/types/trade.types.d.ts +2006 -0
  315. package/common/types/trade.types.js +789 -0
  316. package/common/types/trade.types.js.map +1 -0
  317. package/common/types/transaction.types.d.ts +454 -0
  318. package/common/types/transaction.types.js +174 -0
  319. package/common/types/transaction.types.js.map +1 -0
  320. package/common/types/trusted-contact.types.d.ts +440 -0
  321. package/common/types/trusted-contact.types.js +95 -0
  322. package/common/types/trusted-contact.types.js.map +1 -0
  323. package/common/types/typography.types.d.ts +52 -0
  324. package/common/types/typography.types.js +67 -0
  325. package/common/types/typography.types.js.map +1 -0
  326. package/common/types/user-manual.types.d.ts +287 -0
  327. package/common/types/user-manual.types.js +192 -0
  328. package/common/types/user-manual.types.js.map +1 -0
  329. package/common/types/user-setting.types.d.ts +273 -0
  330. package/common/types/user-setting.types.js +85 -0
  331. package/common/types/user-setting.types.js.map +1 -0
  332. package/common/types/user.types.d.ts +1980 -0
  333. package/common/types/user.types.js +241 -0
  334. package/common/types/user.types.js.map +1 -0
  335. package/common/types/webhook.types.d.ts +10829 -0
  336. package/common/types/webhook.types.js +658 -0
  337. package/common/types/webhook.types.js.map +1 -0
  338. package/common/types/zip.type.d.ts +35 -0
  339. package/common/types/zip.type.js +28 -0
  340. package/common/types/zip.type.js.map +1 -0
  341. package/contracts/clients/accounts/index.d.ts +308 -0
  342. package/contracts/clients/accounts/index.js +43 -0
  343. package/contracts/clients/accounts/index.js.map +1 -0
  344. package/contracts/clients/aic/index.d.ts +280 -0
  345. package/contracts/clients/aic/index.js +47 -0
  346. package/contracts/clients/aic/index.js.map +1 -0
  347. package/contracts/clients/api-key-logs/index.d.ts +287 -0
  348. package/contracts/clients/api-key-logs/index.js +37 -0
  349. package/contracts/clients/api-key-logs/index.js.map +1 -0
  350. package/contracts/clients/api-keys/index.d.ts +374 -0
  351. package/contracts/clients/api-keys/index.js +59 -0
  352. package/contracts/clients/api-keys/index.js.map +1 -0
  353. package/contracts/clients/assets/index.d.ts +1050 -0
  354. package/contracts/clients/assets/index.js +80 -0
  355. package/contracts/clients/assets/index.js.map +1 -0
  356. package/contracts/clients/auth/index.d.ts +236 -0
  357. package/contracts/clients/auth/index.js +38 -0
  358. package/contracts/clients/auth/index.js.map +1 -0
  359. package/contracts/clients/cart/index.d.ts +229 -0
  360. package/contracts/clients/cart/index.js +63 -0
  361. package/contracts/clients/cart/index.js.map +1 -0
  362. package/contracts/clients/files/index.d.ts +552 -0
  363. package/contracts/clients/files/index.js +142 -0
  364. package/contracts/clients/files/index.js.map +1 -0
  365. package/contracts/clients/files-public/index.d.ts +552 -0
  366. package/contracts/clients/files-public/index.js +142 -0
  367. package/contracts/clients/files-public/index.js.map +1 -0
  368. package/contracts/clients/index.d.ts +12720 -0
  369. package/contracts/clients/index.js +52 -0
  370. package/contracts/clients/index.js.map +1 -0
  371. package/contracts/clients/individuals/index.d.ts +3199 -0
  372. package/contracts/clients/individuals/index.js +74 -0
  373. package/contracts/clients/individuals/index.js.map +1 -0
  374. package/contracts/clients/investor-accounts/index.d.ts +339 -0
  375. package/contracts/clients/investor-accounts/index.js +73 -0
  376. package/contracts/clients/investor-accounts/index.js.map +1 -0
  377. package/contracts/clients/issuer-payment-methods/index.d.ts +276 -0
  378. package/contracts/clients/issuer-payment-methods/index.js +24 -0
  379. package/contracts/clients/issuer-payment-methods/index.js.map +1 -0
  380. package/contracts/clients/issuers/index.d.ts +449 -0
  381. package/contracts/clients/issuers/index.js +75 -0
  382. package/contracts/clients/issuers/index.js.map +1 -0
  383. package/contracts/clients/kyc/index.d.ts +345 -0
  384. package/contracts/clients/kyc/index.js +49 -0
  385. package/contracts/clients/kyc/index.js.map +1 -0
  386. package/contracts/clients/legal-entities/index.d.ts +887 -0
  387. package/contracts/clients/legal-entities/index.js +74 -0
  388. package/contracts/clients/legal-entities/index.js.map +1 -0
  389. package/contracts/clients/offerings/index.d.ts +983 -0
  390. package/contracts/clients/offerings/index.js +95 -0
  391. package/contracts/clients/offerings/index.js.map +1 -0
  392. package/contracts/clients/payment-methods/index.d.ts +456 -0
  393. package/contracts/clients/payment-methods/index.js +68 -0
  394. package/contracts/clients/payment-methods/index.js.map +1 -0
  395. package/contracts/clients/secure-requests/index.d.ts +100 -0
  396. package/contracts/clients/secure-requests/index.js +22 -0
  397. package/contracts/clients/secure-requests/index.js.map +1 -0
  398. package/contracts/clients/sites/index.d.ts +657 -0
  399. package/contracts/clients/sites/index.js +40 -0
  400. package/contracts/clients/sites/index.js.map +1 -0
  401. package/contracts/clients/trade-line-items/index.d.ts +216 -0
  402. package/contracts/clients/trade-line-items/index.js +47 -0
  403. package/contracts/clients/trade-line-items/index.js.map +1 -0
  404. package/contracts/clients/trades/index.d.ts +871 -0
  405. package/contracts/clients/trades/index.js +156 -0
  406. package/contracts/clients/trades/index.js.map +1 -0
  407. package/contracts/clients/transactions/index.d.ts +88 -0
  408. package/contracts/clients/transactions/index.js +25 -0
  409. package/contracts/clients/transactions/index.js.map +1 -0
  410. package/package.json +68 -0
@@ -0,0 +1,991 @@
1
+ import { z } from 'zod';
2
+ export declare const bonusTierIdSchema: z.ZodEffects<z.ZodString, string, string>;
3
+ export declare enum BonusType {
4
+ PERCENTAGE = "PERCENTAGE",
5
+ FIXED = "FIXED"
6
+ }
7
+ export declare const bonusTiersInclude: z.ZodEnum<["account", "asset"]>;
8
+ /**
9
+ * @description Query parameters for including related entities
10
+ * @xample in contract us as -> query: z.object({}).merge(BonusTiersIncludeQuery),
11
+ */
12
+ export declare const BonusTiersIncludeQuery: z.ZodObject<{
13
+ include: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ include: string[];
16
+ }, {
17
+ include?: string | undefined;
18
+ }>;
19
+ export declare const IBonusTier: z.ZodObject<{
20
+ id: z.ZodString;
21
+ __entity: z.ZodOptional<z.ZodString>;
22
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
23
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
24
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
25
+ } & {
26
+ assetId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
27
+ asset: z.ZodLazy<z.ZodObject<{
28
+ __entity: z.ZodOptional<z.ZodString>;
29
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
30
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
31
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
32
+ } & {
33
+ id: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
34
+ name: z.ZodString;
35
+ type: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").AssetType>>;
36
+ pricePerUnit: z.ZodNullable<z.ZodNumber>;
37
+ totalUnits: z.ZodNullable<z.ZodNumber>;
38
+ totalAmount: z.ZodNullable<z.ZodNumber>;
39
+ yield: z.ZodNullable<z.ZodNumber>;
40
+ duration: z.ZodNullable<z.ZodNumber>;
41
+ durationType: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").DurationType>>;
42
+ accountId: z.ZodString;
43
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
44
+ id: z.ZodString;
45
+ __entity: z.ZodOptional<z.ZodString>;
46
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
47
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
48
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
49
+ } & {
50
+ name: z.ZodString;
51
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
52
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
53
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
54
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
55
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
56
+ allowPendingComplianceReview: z.ZodBoolean;
57
+ }, "strip", z.ZodTypeAny, {
58
+ status: import("./common.types").AccountStatus;
59
+ id: string;
60
+ createdAt: string | Date;
61
+ updatedAt: string | Date;
62
+ deletedAt: string | Date | null;
63
+ name: string;
64
+ managedBy: import("./common.types").ManagedByType | null;
65
+ platform: import("./common.types").Platform;
66
+ onboardingReviewerId: string | null;
67
+ onboardingReviewAt: Date | null;
68
+ allowPendingComplianceReview: boolean;
69
+ __entity?: string | undefined;
70
+ }, {
71
+ status: import("./common.types").AccountStatus;
72
+ id: string;
73
+ createdAt: string | Date;
74
+ updatedAt: string | Date;
75
+ deletedAt: string | Date | null;
76
+ name: string;
77
+ managedBy: import("./common.types").ManagedByType | null;
78
+ platform: import("./common.types").Platform;
79
+ onboardingReviewerId: string | null;
80
+ onboardingReviewAt: Date | null;
81
+ allowPendingComplianceReview: boolean;
82
+ __entity?: string | undefined;
83
+ }>>>;
84
+ offeringId: z.ZodString;
85
+ offering: z.ZodNullable<z.ZodOptional<z.ZodLazy<any>>>;
86
+ template: z.ZodNativeEnum<typeof import("./asset.types").AssetTemplateType>;
87
+ tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
88
+ enableBonus: z.ZodBoolean;
89
+ interestRate: z.ZodNullable<z.ZodNumber>;
90
+ }, "strip", z.ZodTypeAny, {
91
+ type: import("./common.types").AssetType | null;
92
+ id: string;
93
+ createdAt: string | Date;
94
+ updatedAt: string | Date;
95
+ deletedAt: string | Date | null;
96
+ accountId: string;
97
+ name: string;
98
+ offeringId: string;
99
+ template: import("./asset.types").AssetTemplateType;
100
+ totalAmount: number | null;
101
+ pricePerUnit: number | null;
102
+ totalUnits: number | null;
103
+ yield: number | null;
104
+ duration: number | null;
105
+ durationType: import("./common.types").DurationType | null;
106
+ tiers: number[] | null;
107
+ enableBonus: boolean;
108
+ interestRate: number | null;
109
+ __entity?: string | undefined;
110
+ account?: {
111
+ status: import("./common.types").AccountStatus;
112
+ id: string;
113
+ createdAt: string | Date;
114
+ updatedAt: string | Date;
115
+ deletedAt: string | Date | null;
116
+ name: string;
117
+ managedBy: import("./common.types").ManagedByType | null;
118
+ platform: import("./common.types").Platform;
119
+ onboardingReviewerId: string | null;
120
+ onboardingReviewAt: Date | null;
121
+ allowPendingComplianceReview: boolean;
122
+ __entity?: string | undefined;
123
+ } | null | undefined;
124
+ offering?: any;
125
+ }, {
126
+ type: import("./common.types").AssetType | null;
127
+ id: string;
128
+ createdAt: string | Date;
129
+ updatedAt: string | Date;
130
+ deletedAt: string | Date | null;
131
+ accountId: string;
132
+ name: string;
133
+ offeringId: string;
134
+ template: import("./asset.types").AssetTemplateType;
135
+ totalAmount: number | null;
136
+ pricePerUnit: number | null;
137
+ totalUnits: number | null;
138
+ yield: number | null;
139
+ duration: number | null;
140
+ durationType: import("./common.types").DurationType | null;
141
+ tiers: number[] | null;
142
+ enableBonus: boolean;
143
+ interestRate: number | null;
144
+ __entity?: string | undefined;
145
+ account?: {
146
+ status: import("./common.types").AccountStatus;
147
+ id: string;
148
+ createdAt: string | Date;
149
+ updatedAt: string | Date;
150
+ deletedAt: string | Date | null;
151
+ name: string;
152
+ managedBy: import("./common.types").ManagedByType | null;
153
+ platform: import("./common.types").Platform;
154
+ onboardingReviewerId: string | null;
155
+ onboardingReviewAt: Date | null;
156
+ allowPendingComplianceReview: boolean;
157
+ __entity?: string | undefined;
158
+ } | null | undefined;
159
+ offering?: any;
160
+ }>>;
161
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
162
+ account: z.ZodLazy<z.ZodObject<{
163
+ id: z.ZodString;
164
+ __entity: z.ZodOptional<z.ZodString>;
165
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
166
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
167
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
168
+ } & {
169
+ name: z.ZodString;
170
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
171
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
172
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
173
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
174
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
175
+ allowPendingComplianceReview: z.ZodBoolean;
176
+ }, "strip", z.ZodTypeAny, {
177
+ status: import("./common.types").AccountStatus;
178
+ id: string;
179
+ createdAt: string | Date;
180
+ updatedAt: string | Date;
181
+ deletedAt: string | Date | null;
182
+ name: string;
183
+ managedBy: import("./common.types").ManagedByType | null;
184
+ platform: import("./common.types").Platform;
185
+ onboardingReviewerId: string | null;
186
+ onboardingReviewAt: Date | null;
187
+ allowPendingComplianceReview: boolean;
188
+ __entity?: string | undefined;
189
+ }, {
190
+ status: import("./common.types").AccountStatus;
191
+ id: string;
192
+ createdAt: string | Date;
193
+ updatedAt: string | Date;
194
+ deletedAt: string | Date | null;
195
+ name: string;
196
+ managedBy: import("./common.types").ManagedByType | null;
197
+ platform: import("./common.types").Platform;
198
+ onboardingReviewerId: string | null;
199
+ onboardingReviewAt: Date | null;
200
+ allowPendingComplianceReview: boolean;
201
+ __entity?: string | undefined;
202
+ }>>;
203
+ order: z.ZodNumber;
204
+ type: z.ZodNativeEnum<typeof BonusType>;
205
+ value: z.ZodNumber;
206
+ startValue: z.ZodNullable<z.ZodNumber>;
207
+ endValue: z.ZodNullable<z.ZodNumber>;
208
+ startAmount: z.ZodNullable<z.ZodNumber>;
209
+ endAmount: z.ZodNullable<z.ZodNumber>;
210
+ }, "strip", z.ZodTypeAny, {
211
+ value: number;
212
+ type: BonusType;
213
+ id: string;
214
+ createdAt: string | Date;
215
+ updatedAt: string | Date;
216
+ deletedAt: string | Date | null;
217
+ accountId: string;
218
+ account: {
219
+ status: import("./common.types").AccountStatus;
220
+ id: string;
221
+ createdAt: string | Date;
222
+ updatedAt: string | Date;
223
+ deletedAt: string | Date | null;
224
+ name: string;
225
+ managedBy: import("./common.types").ManagedByType | null;
226
+ platform: import("./common.types").Platform;
227
+ onboardingReviewerId: string | null;
228
+ onboardingReviewAt: Date | null;
229
+ allowPendingComplianceReview: boolean;
230
+ __entity?: string | undefined;
231
+ };
232
+ asset: {
233
+ type: import("./common.types").AssetType | null;
234
+ id: string;
235
+ createdAt: string | Date;
236
+ updatedAt: string | Date;
237
+ deletedAt: string | Date | null;
238
+ accountId: string;
239
+ name: string;
240
+ offeringId: string;
241
+ template: import("./asset.types").AssetTemplateType;
242
+ totalAmount: number | null;
243
+ pricePerUnit: number | null;
244
+ totalUnits: number | null;
245
+ yield: number | null;
246
+ duration: number | null;
247
+ durationType: import("./common.types").DurationType | null;
248
+ tiers: number[] | null;
249
+ enableBonus: boolean;
250
+ interestRate: number | null;
251
+ __entity?: string | undefined;
252
+ account?: {
253
+ status: import("./common.types").AccountStatus;
254
+ id: string;
255
+ createdAt: string | Date;
256
+ updatedAt: string | Date;
257
+ deletedAt: string | Date | null;
258
+ name: string;
259
+ managedBy: import("./common.types").ManagedByType | null;
260
+ platform: import("./common.types").Platform;
261
+ onboardingReviewerId: string | null;
262
+ onboardingReviewAt: Date | null;
263
+ allowPendingComplianceReview: boolean;
264
+ __entity?: string | undefined;
265
+ } | null | undefined;
266
+ offering?: any;
267
+ };
268
+ assetId: string;
269
+ order: number;
270
+ startValue: number | null;
271
+ endValue: number | null;
272
+ startAmount: number | null;
273
+ endAmount: number | null;
274
+ __entity?: string | undefined;
275
+ }, {
276
+ value: number;
277
+ type: BonusType;
278
+ id: string;
279
+ createdAt: string | Date;
280
+ updatedAt: string | Date;
281
+ deletedAt: string | Date | null;
282
+ accountId: string;
283
+ account: {
284
+ status: import("./common.types").AccountStatus;
285
+ id: string;
286
+ createdAt: string | Date;
287
+ updatedAt: string | Date;
288
+ deletedAt: string | Date | null;
289
+ name: string;
290
+ managedBy: import("./common.types").ManagedByType | null;
291
+ platform: import("./common.types").Platform;
292
+ onboardingReviewerId: string | null;
293
+ onboardingReviewAt: Date | null;
294
+ allowPendingComplianceReview: boolean;
295
+ __entity?: string | undefined;
296
+ };
297
+ asset: {
298
+ type: import("./common.types").AssetType | null;
299
+ id: string;
300
+ createdAt: string | Date;
301
+ updatedAt: string | Date;
302
+ deletedAt: string | Date | null;
303
+ accountId: string;
304
+ name: string;
305
+ offeringId: string;
306
+ template: import("./asset.types").AssetTemplateType;
307
+ totalAmount: number | null;
308
+ pricePerUnit: number | null;
309
+ totalUnits: number | null;
310
+ yield: number | null;
311
+ duration: number | null;
312
+ durationType: import("./common.types").DurationType | null;
313
+ tiers: number[] | null;
314
+ enableBonus: boolean;
315
+ interestRate: number | null;
316
+ __entity?: string | undefined;
317
+ account?: {
318
+ status: import("./common.types").AccountStatus;
319
+ id: string;
320
+ createdAt: string | Date;
321
+ updatedAt: string | Date;
322
+ deletedAt: string | Date | null;
323
+ name: string;
324
+ managedBy: import("./common.types").ManagedByType | null;
325
+ platform: import("./common.types").Platform;
326
+ onboardingReviewerId: string | null;
327
+ onboardingReviewAt: Date | null;
328
+ allowPendingComplianceReview: boolean;
329
+ __entity?: string | undefined;
330
+ } | null | undefined;
331
+ offering?: any;
332
+ };
333
+ assetId: string;
334
+ order: number;
335
+ startValue: number | null;
336
+ endValue: number | null;
337
+ startAmount: number | null;
338
+ endAmount: number | null;
339
+ __entity?: string | undefined;
340
+ }>;
341
+ export declare const IBonusTierList: z.ZodArray<z.ZodObject<{
342
+ id: z.ZodString;
343
+ __entity: z.ZodOptional<z.ZodString>;
344
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
345
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
346
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
347
+ } & {
348
+ assetId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
349
+ asset: z.ZodLazy<z.ZodObject<{
350
+ __entity: z.ZodOptional<z.ZodString>;
351
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
352
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
353
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
354
+ } & {
355
+ id: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
356
+ name: z.ZodString;
357
+ type: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").AssetType>>;
358
+ pricePerUnit: z.ZodNullable<z.ZodNumber>;
359
+ totalUnits: z.ZodNullable<z.ZodNumber>;
360
+ totalAmount: z.ZodNullable<z.ZodNumber>;
361
+ yield: z.ZodNullable<z.ZodNumber>;
362
+ duration: z.ZodNullable<z.ZodNumber>;
363
+ durationType: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").DurationType>>;
364
+ accountId: z.ZodString;
365
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
366
+ id: z.ZodString;
367
+ __entity: z.ZodOptional<z.ZodString>;
368
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
369
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
370
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
371
+ } & {
372
+ name: z.ZodString;
373
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
374
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
375
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
376
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
377
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
378
+ allowPendingComplianceReview: z.ZodBoolean;
379
+ }, "strip", z.ZodTypeAny, {
380
+ status: import("./common.types").AccountStatus;
381
+ id: string;
382
+ createdAt: string | Date;
383
+ updatedAt: string | Date;
384
+ deletedAt: string | Date | null;
385
+ name: string;
386
+ managedBy: import("./common.types").ManagedByType | null;
387
+ platform: import("./common.types").Platform;
388
+ onboardingReviewerId: string | null;
389
+ onboardingReviewAt: Date | null;
390
+ allowPendingComplianceReview: boolean;
391
+ __entity?: string | undefined;
392
+ }, {
393
+ status: import("./common.types").AccountStatus;
394
+ id: string;
395
+ createdAt: string | Date;
396
+ updatedAt: string | Date;
397
+ deletedAt: string | Date | null;
398
+ name: string;
399
+ managedBy: import("./common.types").ManagedByType | null;
400
+ platform: import("./common.types").Platform;
401
+ onboardingReviewerId: string | null;
402
+ onboardingReviewAt: Date | null;
403
+ allowPendingComplianceReview: boolean;
404
+ __entity?: string | undefined;
405
+ }>>>;
406
+ offeringId: z.ZodString;
407
+ offering: z.ZodNullable<z.ZodOptional<z.ZodLazy<any>>>;
408
+ template: z.ZodNativeEnum<typeof import("./asset.types").AssetTemplateType>;
409
+ tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
410
+ enableBonus: z.ZodBoolean;
411
+ interestRate: z.ZodNullable<z.ZodNumber>;
412
+ }, "strip", z.ZodTypeAny, {
413
+ type: import("./common.types").AssetType | null;
414
+ id: string;
415
+ createdAt: string | Date;
416
+ updatedAt: string | Date;
417
+ deletedAt: string | Date | null;
418
+ accountId: string;
419
+ name: string;
420
+ offeringId: string;
421
+ template: import("./asset.types").AssetTemplateType;
422
+ totalAmount: number | null;
423
+ pricePerUnit: number | null;
424
+ totalUnits: number | null;
425
+ yield: number | null;
426
+ duration: number | null;
427
+ durationType: import("./common.types").DurationType | null;
428
+ tiers: number[] | null;
429
+ enableBonus: boolean;
430
+ interestRate: number | null;
431
+ __entity?: string | undefined;
432
+ account?: {
433
+ status: import("./common.types").AccountStatus;
434
+ id: string;
435
+ createdAt: string | Date;
436
+ updatedAt: string | Date;
437
+ deletedAt: string | Date | null;
438
+ name: string;
439
+ managedBy: import("./common.types").ManagedByType | null;
440
+ platform: import("./common.types").Platform;
441
+ onboardingReviewerId: string | null;
442
+ onboardingReviewAt: Date | null;
443
+ allowPendingComplianceReview: boolean;
444
+ __entity?: string | undefined;
445
+ } | null | undefined;
446
+ offering?: any;
447
+ }, {
448
+ type: import("./common.types").AssetType | null;
449
+ id: string;
450
+ createdAt: string | Date;
451
+ updatedAt: string | Date;
452
+ deletedAt: string | Date | null;
453
+ accountId: string;
454
+ name: string;
455
+ offeringId: string;
456
+ template: import("./asset.types").AssetTemplateType;
457
+ totalAmount: number | null;
458
+ pricePerUnit: number | null;
459
+ totalUnits: number | null;
460
+ yield: number | null;
461
+ duration: number | null;
462
+ durationType: import("./common.types").DurationType | null;
463
+ tiers: number[] | null;
464
+ enableBonus: boolean;
465
+ interestRate: number | null;
466
+ __entity?: string | undefined;
467
+ account?: {
468
+ status: import("./common.types").AccountStatus;
469
+ id: string;
470
+ createdAt: string | Date;
471
+ updatedAt: string | Date;
472
+ deletedAt: string | Date | null;
473
+ name: string;
474
+ managedBy: import("./common.types").ManagedByType | null;
475
+ platform: import("./common.types").Platform;
476
+ onboardingReviewerId: string | null;
477
+ onboardingReviewAt: Date | null;
478
+ allowPendingComplianceReview: boolean;
479
+ __entity?: string | undefined;
480
+ } | null | undefined;
481
+ offering?: any;
482
+ }>>;
483
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
484
+ account: z.ZodLazy<z.ZodObject<{
485
+ id: z.ZodString;
486
+ __entity: z.ZodOptional<z.ZodString>;
487
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
488
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
489
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
490
+ } & {
491
+ name: z.ZodString;
492
+ status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
493
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("./common.types").ManagedByType>>;
494
+ platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
495
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
496
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
497
+ allowPendingComplianceReview: z.ZodBoolean;
498
+ }, "strip", z.ZodTypeAny, {
499
+ status: import("./common.types").AccountStatus;
500
+ id: string;
501
+ createdAt: string | Date;
502
+ updatedAt: string | Date;
503
+ deletedAt: string | Date | null;
504
+ name: string;
505
+ managedBy: import("./common.types").ManagedByType | null;
506
+ platform: import("./common.types").Platform;
507
+ onboardingReviewerId: string | null;
508
+ onboardingReviewAt: Date | null;
509
+ allowPendingComplianceReview: boolean;
510
+ __entity?: string | undefined;
511
+ }, {
512
+ status: import("./common.types").AccountStatus;
513
+ id: string;
514
+ createdAt: string | Date;
515
+ updatedAt: string | Date;
516
+ deletedAt: string | Date | null;
517
+ name: string;
518
+ managedBy: import("./common.types").ManagedByType | null;
519
+ platform: import("./common.types").Platform;
520
+ onboardingReviewerId: string | null;
521
+ onboardingReviewAt: Date | null;
522
+ allowPendingComplianceReview: boolean;
523
+ __entity?: string | undefined;
524
+ }>>;
525
+ order: z.ZodNumber;
526
+ type: z.ZodNativeEnum<typeof BonusType>;
527
+ value: z.ZodNumber;
528
+ startValue: z.ZodNullable<z.ZodNumber>;
529
+ endValue: z.ZodNullable<z.ZodNumber>;
530
+ startAmount: z.ZodNullable<z.ZodNumber>;
531
+ endAmount: z.ZodNullable<z.ZodNumber>;
532
+ }, "strip", z.ZodTypeAny, {
533
+ value: number;
534
+ type: BonusType;
535
+ id: string;
536
+ createdAt: string | Date;
537
+ updatedAt: string | Date;
538
+ deletedAt: string | Date | null;
539
+ accountId: string;
540
+ account: {
541
+ status: import("./common.types").AccountStatus;
542
+ id: string;
543
+ createdAt: string | Date;
544
+ updatedAt: string | Date;
545
+ deletedAt: string | Date | null;
546
+ name: string;
547
+ managedBy: import("./common.types").ManagedByType | null;
548
+ platform: import("./common.types").Platform;
549
+ onboardingReviewerId: string | null;
550
+ onboardingReviewAt: Date | null;
551
+ allowPendingComplianceReview: boolean;
552
+ __entity?: string | undefined;
553
+ };
554
+ asset: {
555
+ type: import("./common.types").AssetType | null;
556
+ id: string;
557
+ createdAt: string | Date;
558
+ updatedAt: string | Date;
559
+ deletedAt: string | Date | null;
560
+ accountId: string;
561
+ name: string;
562
+ offeringId: string;
563
+ template: import("./asset.types").AssetTemplateType;
564
+ totalAmount: number | null;
565
+ pricePerUnit: number | null;
566
+ totalUnits: number | null;
567
+ yield: number | null;
568
+ duration: number | null;
569
+ durationType: import("./common.types").DurationType | null;
570
+ tiers: number[] | null;
571
+ enableBonus: boolean;
572
+ interestRate: number | null;
573
+ __entity?: string | undefined;
574
+ account?: {
575
+ status: import("./common.types").AccountStatus;
576
+ id: string;
577
+ createdAt: string | Date;
578
+ updatedAt: string | Date;
579
+ deletedAt: string | Date | null;
580
+ name: string;
581
+ managedBy: import("./common.types").ManagedByType | null;
582
+ platform: import("./common.types").Platform;
583
+ onboardingReviewerId: string | null;
584
+ onboardingReviewAt: Date | null;
585
+ allowPendingComplianceReview: boolean;
586
+ __entity?: string | undefined;
587
+ } | null | undefined;
588
+ offering?: any;
589
+ };
590
+ assetId: string;
591
+ order: number;
592
+ startValue: number | null;
593
+ endValue: number | null;
594
+ startAmount: number | null;
595
+ endAmount: number | null;
596
+ __entity?: string | undefined;
597
+ }, {
598
+ value: number;
599
+ type: BonusType;
600
+ id: string;
601
+ createdAt: string | Date;
602
+ updatedAt: string | Date;
603
+ deletedAt: string | Date | null;
604
+ accountId: string;
605
+ account: {
606
+ status: import("./common.types").AccountStatus;
607
+ id: string;
608
+ createdAt: string | Date;
609
+ updatedAt: string | Date;
610
+ deletedAt: string | Date | null;
611
+ name: string;
612
+ managedBy: import("./common.types").ManagedByType | null;
613
+ platform: import("./common.types").Platform;
614
+ onboardingReviewerId: string | null;
615
+ onboardingReviewAt: Date | null;
616
+ allowPendingComplianceReview: boolean;
617
+ __entity?: string | undefined;
618
+ };
619
+ asset: {
620
+ type: import("./common.types").AssetType | null;
621
+ id: string;
622
+ createdAt: string | Date;
623
+ updatedAt: string | Date;
624
+ deletedAt: string | Date | null;
625
+ accountId: string;
626
+ name: string;
627
+ offeringId: string;
628
+ template: import("./asset.types").AssetTemplateType;
629
+ totalAmount: number | null;
630
+ pricePerUnit: number | null;
631
+ totalUnits: number | null;
632
+ yield: number | null;
633
+ duration: number | null;
634
+ durationType: import("./common.types").DurationType | null;
635
+ tiers: number[] | null;
636
+ enableBonus: boolean;
637
+ interestRate: number | null;
638
+ __entity?: string | undefined;
639
+ account?: {
640
+ status: import("./common.types").AccountStatus;
641
+ id: string;
642
+ createdAt: string | Date;
643
+ updatedAt: string | Date;
644
+ deletedAt: string | Date | null;
645
+ name: string;
646
+ managedBy: import("./common.types").ManagedByType | null;
647
+ platform: import("./common.types").Platform;
648
+ onboardingReviewerId: string | null;
649
+ onboardingReviewAt: Date | null;
650
+ allowPendingComplianceReview: boolean;
651
+ __entity?: string | undefined;
652
+ } | null | undefined;
653
+ offering?: any;
654
+ };
655
+ assetId: string;
656
+ order: number;
657
+ startValue: number | null;
658
+ endValue: number | null;
659
+ startAmount: number | null;
660
+ endAmount: number | null;
661
+ __entity?: string | undefined;
662
+ }>, "many">;
663
+ export type IBonusTierList = z.infer<typeof IBonusTierList>;
664
+ export declare const EstimateBonusTierCalculationZod: z.ZodEffects<z.ZodEffects<z.ZodObject<{
665
+ assetId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
666
+ bonusTierId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
667
+ type: z.ZodNativeEnum<typeof BonusType>;
668
+ value: z.ZodEffects<z.ZodNumber, number, number>;
669
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
670
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
671
+ pricePerShare: z.ZodNumber;
672
+ }, "strip", z.ZodTypeAny, {
673
+ value: number;
674
+ type: BonusType;
675
+ pricePerShare: number;
676
+ startAmount: number;
677
+ endAmount: number;
678
+ assetId?: string | undefined;
679
+ bonusTierId?: string | undefined;
680
+ }, {
681
+ value: number;
682
+ type: BonusType;
683
+ pricePerShare: number;
684
+ startAmount: number;
685
+ endAmount: number;
686
+ assetId?: string | undefined;
687
+ bonusTierId?: string | undefined;
688
+ }>, {
689
+ value: number;
690
+ type: BonusType;
691
+ pricePerShare: number;
692
+ startAmount: number;
693
+ endAmount: number;
694
+ assetId?: string | undefined;
695
+ bonusTierId?: string | undefined;
696
+ }, {
697
+ value: number;
698
+ type: BonusType;
699
+ pricePerShare: number;
700
+ startAmount: number;
701
+ endAmount: number;
702
+ assetId?: string | undefined;
703
+ bonusTierId?: string | undefined;
704
+ }>, {
705
+ value: number;
706
+ type: BonusType;
707
+ pricePerShare: number;
708
+ startAmount: number;
709
+ endAmount: number;
710
+ assetId?: string | undefined;
711
+ bonusTierId?: string | undefined;
712
+ }, {
713
+ value: number;
714
+ type: BonusType;
715
+ pricePerShare: number;
716
+ startAmount: number;
717
+ endAmount: number;
718
+ assetId?: string | undefined;
719
+ bonusTierId?: string | undefined;
720
+ }>;
721
+ export type EstimateBonusTierCalculationZod = z.infer<typeof EstimateBonusTierCalculationZod>;
722
+ export declare const ComplianceEstimateBonusTierCalculationZod: z.ZodIntersection<z.ZodEffects<z.ZodEffects<z.ZodObject<{
723
+ assetId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
724
+ bonusTierId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
725
+ type: z.ZodNativeEnum<typeof BonusType>;
726
+ value: z.ZodEffects<z.ZodNumber, number, number>;
727
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
728
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
729
+ pricePerShare: z.ZodNumber;
730
+ }, "strip", z.ZodTypeAny, {
731
+ value: number;
732
+ type: BonusType;
733
+ pricePerShare: number;
734
+ startAmount: number;
735
+ endAmount: number;
736
+ assetId?: string | undefined;
737
+ bonusTierId?: string | undefined;
738
+ }, {
739
+ value: number;
740
+ type: BonusType;
741
+ pricePerShare: number;
742
+ startAmount: number;
743
+ endAmount: number;
744
+ assetId?: string | undefined;
745
+ bonusTierId?: string | undefined;
746
+ }>, {
747
+ value: number;
748
+ type: BonusType;
749
+ pricePerShare: number;
750
+ startAmount: number;
751
+ endAmount: number;
752
+ assetId?: string | undefined;
753
+ bonusTierId?: string | undefined;
754
+ }, {
755
+ value: number;
756
+ type: BonusType;
757
+ pricePerShare: number;
758
+ startAmount: number;
759
+ endAmount: number;
760
+ assetId?: string | undefined;
761
+ bonusTierId?: string | undefined;
762
+ }>, {
763
+ value: number;
764
+ type: BonusType;
765
+ pricePerShare: number;
766
+ startAmount: number;
767
+ endAmount: number;
768
+ assetId?: string | undefined;
769
+ bonusTierId?: string | undefined;
770
+ }, {
771
+ value: number;
772
+ type: BonusType;
773
+ pricePerShare: number;
774
+ startAmount: number;
775
+ endAmount: number;
776
+ assetId?: string | undefined;
777
+ bonusTierId?: string | undefined;
778
+ }>, z.ZodObject<{
779
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
780
+ }, "strip", z.ZodTypeAny, {
781
+ accountId: string;
782
+ }, {
783
+ accountId: string;
784
+ }>>;
785
+ export type ComplianceEstimateBonusTierCalculationZod = z.infer<typeof ComplianceEstimateBonusTierCalculationZod>;
786
+ export declare const EstimateBonusTierCalculationResponseZod: z.ZodObject<{
787
+ bonusTierId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
788
+ assetId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
789
+ type: z.ZodNullable<z.ZodNativeEnum<typeof BonusType>>;
790
+ startValue: z.ZodNumber;
791
+ endValue: z.ZodNumber;
792
+ }, "strip", z.ZodTypeAny, {
793
+ type: BonusType | null;
794
+ assetId: string | null;
795
+ startValue: number;
796
+ endValue: number;
797
+ bonusTierId: string | null;
798
+ }, {
799
+ type: BonusType | null;
800
+ assetId: string | null;
801
+ startValue: number;
802
+ endValue: number;
803
+ bonusTierId: string | null;
804
+ }>;
805
+ export type EstimateBonusTierCalculationResponseZod = z.infer<typeof EstimateBonusTierCalculationResponseZod>;
806
+ export type IBonusTier = z.infer<typeof IBonusTier>;
807
+ export declare const BonusTierListZod: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
808
+ type: z.ZodNativeEnum<typeof BonusType>;
809
+ value: z.ZodEffects<z.ZodNumber, number, number>;
810
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
811
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
812
+ }, "strip", z.ZodTypeAny, {
813
+ value: number;
814
+ type: BonusType;
815
+ startAmount: number;
816
+ endAmount: number;
817
+ }, {
818
+ value: number;
819
+ type: BonusType;
820
+ startAmount: number;
821
+ endAmount: number;
822
+ }>, {
823
+ value: number;
824
+ type: BonusType;
825
+ startAmount: number;
826
+ endAmount: number;
827
+ }, {
828
+ value: number;
829
+ type: BonusType;
830
+ startAmount: number;
831
+ endAmount: number;
832
+ }>, {
833
+ value: number;
834
+ type: BonusType;
835
+ startAmount: number;
836
+ endAmount: number;
837
+ }, {
838
+ value: number;
839
+ type: BonusType;
840
+ startAmount: number;
841
+ endAmount: number;
842
+ }>, "many">;
843
+ export type BonusTierListZod = z.infer<typeof BonusTierListZod>;
844
+ export declare const PostBonusTierZod: z.ZodObject<{
845
+ assetId: z.ZodEffects<z.ZodString, string, string>;
846
+ bonusTiers: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
847
+ type: z.ZodNativeEnum<typeof BonusType>;
848
+ value: z.ZodEffects<z.ZodNumber, number, number>;
849
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
850
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
851
+ }, "strip", z.ZodTypeAny, {
852
+ value: number;
853
+ type: BonusType;
854
+ startAmount: number;
855
+ endAmount: number;
856
+ }, {
857
+ value: number;
858
+ type: BonusType;
859
+ startAmount: number;
860
+ endAmount: number;
861
+ }>, {
862
+ value: number;
863
+ type: BonusType;
864
+ startAmount: number;
865
+ endAmount: number;
866
+ }, {
867
+ value: number;
868
+ type: BonusType;
869
+ startAmount: number;
870
+ endAmount: number;
871
+ }>, {
872
+ value: number;
873
+ type: BonusType;
874
+ startAmount: number;
875
+ endAmount: number;
876
+ }, {
877
+ value: number;
878
+ type: BonusType;
879
+ startAmount: number;
880
+ endAmount: number;
881
+ }>, "many">;
882
+ }, "strip", z.ZodTypeAny, {
883
+ assetId: string;
884
+ bonusTiers: {
885
+ value: number;
886
+ type: BonusType;
887
+ startAmount: number;
888
+ endAmount: number;
889
+ }[];
890
+ }, {
891
+ assetId: string;
892
+ bonusTiers: {
893
+ value: number;
894
+ type: BonusType;
895
+ startAmount: number;
896
+ endAmount: number;
897
+ }[];
898
+ }>;
899
+ export type PostBonusTierZod = z.infer<typeof PostBonusTierZod>;
900
+ export declare const CompliancePostBonusTierZod: z.ZodObject<{
901
+ assetId: z.ZodEffects<z.ZodString, string, string>;
902
+ bonusTiers: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
903
+ type: z.ZodNativeEnum<typeof BonusType>;
904
+ value: z.ZodEffects<z.ZodNumber, number, number>;
905
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
906
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
907
+ }, "strip", z.ZodTypeAny, {
908
+ value: number;
909
+ type: BonusType;
910
+ startAmount: number;
911
+ endAmount: number;
912
+ }, {
913
+ value: number;
914
+ type: BonusType;
915
+ startAmount: number;
916
+ endAmount: number;
917
+ }>, {
918
+ value: number;
919
+ type: BonusType;
920
+ startAmount: number;
921
+ endAmount: number;
922
+ }, {
923
+ value: number;
924
+ type: BonusType;
925
+ startAmount: number;
926
+ endAmount: number;
927
+ }>, {
928
+ value: number;
929
+ type: BonusType;
930
+ startAmount: number;
931
+ endAmount: number;
932
+ }, {
933
+ value: number;
934
+ type: BonusType;
935
+ startAmount: number;
936
+ endAmount: number;
937
+ }>, "many">;
938
+ } & {
939
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
940
+ }, "strip", z.ZodTypeAny, {
941
+ accountId: string;
942
+ assetId: string;
943
+ bonusTiers: {
944
+ value: number;
945
+ type: BonusType;
946
+ startAmount: number;
947
+ endAmount: number;
948
+ }[];
949
+ }, {
950
+ accountId: string;
951
+ assetId: string;
952
+ bonusTiers: {
953
+ value: number;
954
+ type: BonusType;
955
+ startAmount: number;
956
+ endAmount: number;
957
+ }[];
958
+ }>;
959
+ export type CompliancePostBonusTierZod = z.infer<typeof CompliancePostBonusTierZod>;
960
+ export declare const PurchaseCalculationZod: z.ZodObject<{
961
+ assetId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
962
+ totalAmount: z.ZodEffects<z.ZodNumber, number, number>;
963
+ purchasedShares: z.ZodNumber;
964
+ }, "strip", z.ZodTypeAny, {
965
+ purchasedShares: number;
966
+ assetId: string;
967
+ totalAmount: number;
968
+ }, {
969
+ purchasedShares: number;
970
+ assetId: string;
971
+ totalAmount: number;
972
+ }>;
973
+ export type PurchaseCalculationZod = z.infer<typeof PurchaseCalculationZod>;
974
+ export declare const PurchaseCalculationResponseZod: z.ZodObject<{
975
+ bonusTierId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
976
+ assetId: z.ZodEffects<z.ZodString, string, string>;
977
+ type: z.ZodNullable<z.ZodNativeEnum<typeof BonusType>>;
978
+ bonusShares: z.ZodNumber;
979
+ }, "strip", z.ZodTypeAny, {
980
+ type: BonusType | null;
981
+ bonusShares: number;
982
+ assetId: string;
983
+ bonusTierId: string | null;
984
+ }, {
985
+ type: BonusType | null;
986
+ bonusShares: number;
987
+ assetId: string;
988
+ bonusTierId: string | null;
989
+ }>;
990
+ export type PurchaseCalculationResponseZod = z.infer<typeof PurchaseCalculationResponseZod>;
991
+ export declare const postBonusTierRefinement: (data: any, ctx: any) => void;