@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,1050 @@
1
+ import { z } from 'zod';
2
+ export declare const assetsContract: {
3
+ getAssets: {
4
+ method: "GET";
5
+ metadata: {
6
+ auth: boolean;
7
+ };
8
+ query: z.ZodObject<{
9
+ page: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
10
+ limit: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
11
+ } & {
12
+ include: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
13
+ } & {
14
+ name: z.ZodOptional<z.ZodString>;
15
+ accountId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
16
+ offeringId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
17
+ issuerId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
18
+ type: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").AssetType>>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ page: number;
21
+ limit: number;
22
+ include: string[];
23
+ type?: import("../../..").AssetType | undefined;
24
+ accountId?: string | undefined;
25
+ name?: string | undefined;
26
+ offeringId?: string | undefined;
27
+ issuerId?: string | undefined;
28
+ }, {
29
+ type?: import("../../..").AssetType | undefined;
30
+ accountId?: string | undefined;
31
+ name?: string | undefined;
32
+ page?: number | undefined;
33
+ limit?: number | undefined;
34
+ include?: string | undefined;
35
+ offeringId?: string | undefined;
36
+ issuerId?: string | undefined;
37
+ }>;
38
+ summary: "Get assets";
39
+ path: "assets";
40
+ responses: {
41
+ 200: z.ZodObject<{
42
+ items: z.ZodArray<z.ZodObject<{
43
+ __entity: z.ZodOptional<z.ZodString>;
44
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
45
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
46
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
47
+ } & {
48
+ id: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
49
+ name: z.ZodString;
50
+ type: z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").AssetType>>;
51
+ pricePerUnit: z.ZodNullable<z.ZodNumber>;
52
+ totalUnits: z.ZodNullable<z.ZodNumber>;
53
+ totalAmount: z.ZodNullable<z.ZodNumber>;
54
+ yield: z.ZodNullable<z.ZodNumber>;
55
+ duration: z.ZodNullable<z.ZodNumber>;
56
+ durationType: z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").DurationType>>;
57
+ accountId: z.ZodString;
58
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
59
+ id: z.ZodString;
60
+ __entity: z.ZodOptional<z.ZodString>;
61
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
62
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
63
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
64
+ } & {
65
+ name: z.ZodString;
66
+ status: z.ZodNativeEnum<typeof import("../../..").AccountStatus>;
67
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").ManagedByType>>;
68
+ platform: z.ZodNativeEnum<typeof import("../../..").Platform>;
69
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
70
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
71
+ allowPendingComplianceReview: z.ZodBoolean;
72
+ }, "strip", z.ZodTypeAny, {
73
+ status: import("../../..").AccountStatus;
74
+ id: string;
75
+ createdAt: string | Date;
76
+ updatedAt: string | Date;
77
+ deletedAt: string | Date | null;
78
+ name: string;
79
+ managedBy: import("../../..").ManagedByType | null;
80
+ platform: import("../../..").Platform;
81
+ onboardingReviewerId: string | null;
82
+ onboardingReviewAt: Date | null;
83
+ allowPendingComplianceReview: boolean;
84
+ __entity?: string | undefined;
85
+ }, {
86
+ status: import("../../..").AccountStatus;
87
+ id: string;
88
+ createdAt: string | Date;
89
+ updatedAt: string | Date;
90
+ deletedAt: string | Date | null;
91
+ name: string;
92
+ managedBy: import("../../..").ManagedByType | null;
93
+ platform: import("../../..").Platform;
94
+ onboardingReviewerId: string | null;
95
+ onboardingReviewAt: Date | null;
96
+ allowPendingComplianceReview: boolean;
97
+ __entity?: string | undefined;
98
+ }>>>;
99
+ offeringId: z.ZodString;
100
+ offering: z.ZodNullable<z.ZodOptional<z.ZodLazy<any>>>;
101
+ template: z.ZodNativeEnum<typeof import("../../../common/types/asset.types").AssetTemplateType>;
102
+ tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
103
+ enableBonus: z.ZodBoolean;
104
+ interestRate: z.ZodNullable<z.ZodNumber>;
105
+ }, "strip", z.ZodTypeAny, {
106
+ type: import("../../..").AssetType | null;
107
+ id: string;
108
+ createdAt: string | Date;
109
+ updatedAt: string | Date;
110
+ deletedAt: string | Date | null;
111
+ accountId: string;
112
+ name: string;
113
+ offeringId: string;
114
+ template: import("../../../common/types/asset.types").AssetTemplateType;
115
+ totalAmount: number | null;
116
+ pricePerUnit: number | null;
117
+ totalUnits: number | null;
118
+ yield: number | null;
119
+ duration: number | null;
120
+ durationType: import("../../..").DurationType | null;
121
+ tiers: number[] | null;
122
+ enableBonus: boolean;
123
+ interestRate: number | null;
124
+ __entity?: string | undefined;
125
+ account?: {
126
+ status: import("../../..").AccountStatus;
127
+ id: string;
128
+ createdAt: string | Date;
129
+ updatedAt: string | Date;
130
+ deletedAt: string | Date | null;
131
+ name: string;
132
+ managedBy: import("../../..").ManagedByType | null;
133
+ platform: import("../../..").Platform;
134
+ onboardingReviewerId: string | null;
135
+ onboardingReviewAt: Date | null;
136
+ allowPendingComplianceReview: boolean;
137
+ __entity?: string | undefined;
138
+ } | null | undefined;
139
+ offering?: any;
140
+ }, {
141
+ type: import("../../..").AssetType | null;
142
+ id: string;
143
+ createdAt: string | Date;
144
+ updatedAt: string | Date;
145
+ deletedAt: string | Date | null;
146
+ accountId: string;
147
+ name: string;
148
+ offeringId: string;
149
+ template: import("../../../common/types/asset.types").AssetTemplateType;
150
+ totalAmount: number | null;
151
+ pricePerUnit: number | null;
152
+ totalUnits: number | null;
153
+ yield: number | null;
154
+ duration: number | null;
155
+ durationType: import("../../..").DurationType | null;
156
+ tiers: number[] | null;
157
+ enableBonus: boolean;
158
+ interestRate: number | null;
159
+ __entity?: string | undefined;
160
+ account?: {
161
+ status: import("../../..").AccountStatus;
162
+ id: string;
163
+ createdAt: string | Date;
164
+ updatedAt: string | Date;
165
+ deletedAt: string | Date | null;
166
+ name: string;
167
+ managedBy: import("../../..").ManagedByType | null;
168
+ platform: import("../../..").Platform;
169
+ onboardingReviewerId: string | null;
170
+ onboardingReviewAt: Date | null;
171
+ allowPendingComplianceReview: boolean;
172
+ __entity?: string | undefined;
173
+ } | null | undefined;
174
+ offering?: any;
175
+ }>, "many">;
176
+ meta: z.ZodObject<{
177
+ itemCount: z.ZodNumber;
178
+ totalItems: z.ZodOptional<z.ZodNumber>;
179
+ itemsPerPage: z.ZodNumber;
180
+ totalPages: z.ZodOptional<z.ZodNumber>;
181
+ currentPage: z.ZodNumber;
182
+ }, "strip", z.ZodTypeAny, {
183
+ itemCount: number;
184
+ itemsPerPage: number;
185
+ currentPage: number;
186
+ totalItems?: number | undefined;
187
+ totalPages?: number | undefined;
188
+ }, {
189
+ itemCount: number;
190
+ itemsPerPage: number;
191
+ currentPage: number;
192
+ totalItems?: number | undefined;
193
+ totalPages?: number | undefined;
194
+ }>;
195
+ }, "strip", z.ZodTypeAny, {
196
+ items: {
197
+ type: import("../../..").AssetType | null;
198
+ id: string;
199
+ createdAt: string | Date;
200
+ updatedAt: string | Date;
201
+ deletedAt: string | Date | null;
202
+ accountId: string;
203
+ name: string;
204
+ offeringId: string;
205
+ template: import("../../../common/types/asset.types").AssetTemplateType;
206
+ totalAmount: number | null;
207
+ pricePerUnit: number | null;
208
+ totalUnits: number | null;
209
+ yield: number | null;
210
+ duration: number | null;
211
+ durationType: import("../../..").DurationType | null;
212
+ tiers: number[] | null;
213
+ enableBonus: boolean;
214
+ interestRate: number | null;
215
+ __entity?: string | undefined;
216
+ account?: {
217
+ status: import("../../..").AccountStatus;
218
+ id: string;
219
+ createdAt: string | Date;
220
+ updatedAt: string | Date;
221
+ deletedAt: string | Date | null;
222
+ name: string;
223
+ managedBy: import("../../..").ManagedByType | null;
224
+ platform: import("../../..").Platform;
225
+ onboardingReviewerId: string | null;
226
+ onboardingReviewAt: Date | null;
227
+ allowPendingComplianceReview: boolean;
228
+ __entity?: string | undefined;
229
+ } | null | undefined;
230
+ offering?: any;
231
+ }[];
232
+ meta: {
233
+ itemCount: number;
234
+ itemsPerPage: number;
235
+ currentPage: number;
236
+ totalItems?: number | undefined;
237
+ totalPages?: number | undefined;
238
+ };
239
+ }, {
240
+ items: {
241
+ type: import("../../..").AssetType | null;
242
+ id: string;
243
+ createdAt: string | Date;
244
+ updatedAt: string | Date;
245
+ deletedAt: string | Date | null;
246
+ accountId: string;
247
+ name: string;
248
+ offeringId: string;
249
+ template: import("../../../common/types/asset.types").AssetTemplateType;
250
+ totalAmount: number | null;
251
+ pricePerUnit: number | null;
252
+ totalUnits: number | null;
253
+ yield: number | null;
254
+ duration: number | null;
255
+ durationType: import("../../..").DurationType | null;
256
+ tiers: number[] | null;
257
+ enableBonus: boolean;
258
+ interestRate: number | null;
259
+ __entity?: string | undefined;
260
+ account?: {
261
+ status: import("../../..").AccountStatus;
262
+ id: string;
263
+ createdAt: string | Date;
264
+ updatedAt: string | Date;
265
+ deletedAt: string | Date | null;
266
+ name: string;
267
+ managedBy: import("../../..").ManagedByType | null;
268
+ platform: import("../../..").Platform;
269
+ onboardingReviewerId: string | null;
270
+ onboardingReviewAt: Date | null;
271
+ allowPendingComplianceReview: boolean;
272
+ __entity?: string | undefined;
273
+ } | null | undefined;
274
+ offering?: any;
275
+ }[];
276
+ meta: {
277
+ itemCount: number;
278
+ itemsPerPage: number;
279
+ currentPage: number;
280
+ totalItems?: number | undefined;
281
+ totalPages?: number | undefined;
282
+ };
283
+ }>;
284
+ 400: z.ZodObject<{
285
+ status: z.ZodNumber;
286
+ message: z.ZodString;
287
+ errors: z.ZodArray<z.ZodString, "many">;
288
+ }, "strip", z.ZodTypeAny, {
289
+ message: string;
290
+ status: number;
291
+ errors: string[];
292
+ }, {
293
+ message: string;
294
+ status: number;
295
+ errors: string[];
296
+ }>;
297
+ 401: z.ZodObject<{
298
+ status: z.ZodNumber;
299
+ message: z.ZodString;
300
+ errors: z.ZodArray<z.ZodString, "many">;
301
+ }, "strip", z.ZodTypeAny, {
302
+ message: string;
303
+ status: number;
304
+ errors: string[];
305
+ }, {
306
+ message: string;
307
+ status: number;
308
+ errors: string[];
309
+ }>;
310
+ 403: z.ZodObject<{
311
+ status: z.ZodNumber;
312
+ message: z.ZodString;
313
+ errors: z.ZodArray<z.ZodString, "many">;
314
+ }, "strip", z.ZodTypeAny, {
315
+ message: string;
316
+ status: number;
317
+ errors: string[];
318
+ }, {
319
+ message: string;
320
+ status: number;
321
+ errors: string[];
322
+ }>;
323
+ };
324
+ };
325
+ getAsset: {
326
+ method: "GET";
327
+ metadata: {
328
+ auth: boolean;
329
+ };
330
+ pathParams: z.ZodObject<{
331
+ id: z.ZodEffects<z.ZodString, string, string>;
332
+ }, "strip", z.ZodTypeAny, {
333
+ id: string;
334
+ }, {
335
+ id: string;
336
+ }>;
337
+ query: z.ZodObject<{
338
+ include: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
339
+ }, "strip", z.ZodTypeAny, {
340
+ include: string[];
341
+ }, {
342
+ include?: string | undefined;
343
+ }>;
344
+ summary: "Get asset by id";
345
+ path: "assets/:id";
346
+ responses: {
347
+ 200: z.ZodObject<{
348
+ __entity: z.ZodOptional<z.ZodString>;
349
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
350
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
351
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
352
+ } & {
353
+ id: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
354
+ name: z.ZodString;
355
+ type: z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").AssetType>>;
356
+ pricePerUnit: z.ZodNullable<z.ZodNumber>;
357
+ totalUnits: z.ZodNullable<z.ZodNumber>;
358
+ totalAmount: z.ZodNullable<z.ZodNumber>;
359
+ yield: z.ZodNullable<z.ZodNumber>;
360
+ duration: z.ZodNullable<z.ZodNumber>;
361
+ durationType: z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").DurationType>>;
362
+ accountId: z.ZodString;
363
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
364
+ id: z.ZodString;
365
+ __entity: z.ZodOptional<z.ZodString>;
366
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
367
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
368
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
369
+ } & {
370
+ name: z.ZodString;
371
+ status: z.ZodNativeEnum<typeof import("../../..").AccountStatus>;
372
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").ManagedByType>>;
373
+ platform: z.ZodNativeEnum<typeof import("../../..").Platform>;
374
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
375
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
376
+ allowPendingComplianceReview: z.ZodBoolean;
377
+ }, "strip", z.ZodTypeAny, {
378
+ status: import("../../..").AccountStatus;
379
+ id: string;
380
+ createdAt: string | Date;
381
+ updatedAt: string | Date;
382
+ deletedAt: string | Date | null;
383
+ name: string;
384
+ managedBy: import("../../..").ManagedByType | null;
385
+ platform: import("../../..").Platform;
386
+ onboardingReviewerId: string | null;
387
+ onboardingReviewAt: Date | null;
388
+ allowPendingComplianceReview: boolean;
389
+ __entity?: string | undefined;
390
+ }, {
391
+ status: import("../../..").AccountStatus;
392
+ id: string;
393
+ createdAt: string | Date;
394
+ updatedAt: string | Date;
395
+ deletedAt: string | Date | null;
396
+ name: string;
397
+ managedBy: import("../../..").ManagedByType | null;
398
+ platform: import("../../..").Platform;
399
+ onboardingReviewerId: string | null;
400
+ onboardingReviewAt: Date | null;
401
+ allowPendingComplianceReview: boolean;
402
+ __entity?: string | undefined;
403
+ }>>>;
404
+ offeringId: z.ZodString;
405
+ offering: z.ZodNullable<z.ZodOptional<z.ZodLazy<any>>>;
406
+ template: z.ZodNativeEnum<typeof import("../../../common/types/asset.types").AssetTemplateType>;
407
+ tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
408
+ enableBonus: z.ZodBoolean;
409
+ interestRate: z.ZodNullable<z.ZodNumber>;
410
+ }, "strip", z.ZodTypeAny, {
411
+ type: import("../../..").AssetType | null;
412
+ id: string;
413
+ createdAt: string | Date;
414
+ updatedAt: string | Date;
415
+ deletedAt: string | Date | null;
416
+ accountId: string;
417
+ name: string;
418
+ offeringId: string;
419
+ template: import("../../../common/types/asset.types").AssetTemplateType;
420
+ totalAmount: number | null;
421
+ pricePerUnit: number | null;
422
+ totalUnits: number | null;
423
+ yield: number | null;
424
+ duration: number | null;
425
+ durationType: import("../../..").DurationType | null;
426
+ tiers: number[] | null;
427
+ enableBonus: boolean;
428
+ interestRate: number | null;
429
+ __entity?: string | undefined;
430
+ account?: {
431
+ status: import("../../..").AccountStatus;
432
+ id: string;
433
+ createdAt: string | Date;
434
+ updatedAt: string | Date;
435
+ deletedAt: string | Date | null;
436
+ name: string;
437
+ managedBy: import("../../..").ManagedByType | null;
438
+ platform: import("../../..").Platform;
439
+ onboardingReviewerId: string | null;
440
+ onboardingReviewAt: Date | null;
441
+ allowPendingComplianceReview: boolean;
442
+ __entity?: string | undefined;
443
+ } | null | undefined;
444
+ offering?: any;
445
+ }, {
446
+ type: import("../../..").AssetType | null;
447
+ id: string;
448
+ createdAt: string | Date;
449
+ updatedAt: string | Date;
450
+ deletedAt: string | Date | null;
451
+ accountId: string;
452
+ name: string;
453
+ offeringId: string;
454
+ template: import("../../../common/types/asset.types").AssetTemplateType;
455
+ totalAmount: number | null;
456
+ pricePerUnit: number | null;
457
+ totalUnits: number | null;
458
+ yield: number | null;
459
+ duration: number | null;
460
+ durationType: import("../../..").DurationType | null;
461
+ tiers: number[] | null;
462
+ enableBonus: boolean;
463
+ interestRate: number | null;
464
+ __entity?: string | undefined;
465
+ account?: {
466
+ status: import("../../..").AccountStatus;
467
+ id: string;
468
+ createdAt: string | Date;
469
+ updatedAt: string | Date;
470
+ deletedAt: string | Date | null;
471
+ name: string;
472
+ managedBy: import("../../..").ManagedByType | null;
473
+ platform: import("../../..").Platform;
474
+ onboardingReviewerId: string | null;
475
+ onboardingReviewAt: Date | null;
476
+ allowPendingComplianceReview: boolean;
477
+ __entity?: string | undefined;
478
+ } | null | undefined;
479
+ offering?: any;
480
+ }>;
481
+ 400: z.ZodObject<{
482
+ status: z.ZodNumber;
483
+ message: z.ZodString;
484
+ errors: z.ZodArray<z.ZodString, "many">;
485
+ }, "strip", z.ZodTypeAny, {
486
+ message: string;
487
+ status: number;
488
+ errors: string[];
489
+ }, {
490
+ message: string;
491
+ status: number;
492
+ errors: string[];
493
+ }>;
494
+ 401: z.ZodObject<{
495
+ status: z.ZodNumber;
496
+ message: z.ZodString;
497
+ errors: z.ZodArray<z.ZodString, "many">;
498
+ }, "strip", z.ZodTypeAny, {
499
+ message: string;
500
+ status: number;
501
+ errors: string[];
502
+ }, {
503
+ message: string;
504
+ status: number;
505
+ errors: string[];
506
+ }>;
507
+ 403: z.ZodObject<{
508
+ status: z.ZodNumber;
509
+ message: z.ZodString;
510
+ errors: z.ZodArray<z.ZodString, "many">;
511
+ }, "strip", z.ZodTypeAny, {
512
+ message: string;
513
+ status: number;
514
+ errors: string[];
515
+ }, {
516
+ message: string;
517
+ status: number;
518
+ errors: string[];
519
+ }>;
520
+ 404: z.ZodObject<{
521
+ status: z.ZodNumber;
522
+ message: z.ZodString;
523
+ errors: z.ZodArray<z.ZodString, "many">;
524
+ }, "strip", z.ZodTypeAny, {
525
+ message: string;
526
+ status: number;
527
+ errors: string[];
528
+ }, {
529
+ message: string;
530
+ status: number;
531
+ errors: string[];
532
+ }>;
533
+ };
534
+ };
535
+ postAssets: {
536
+ method: "POST";
537
+ metadata: {
538
+ auth: boolean;
539
+ };
540
+ body: z.ZodEffects<z.ZodObject<{
541
+ offeringId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
542
+ name: z.ZodString;
543
+ type: z.ZodNativeEnum<typeof import("../../..").AssetType>;
544
+ pricePerUnit: z.ZodNullable<z.ZodNumber>;
545
+ totalUnits: z.ZodNullable<z.ZodNumber>;
546
+ yield: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
547
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
548
+ durationType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").DurationType>>>;
549
+ template: z.ZodDefault<z.ZodNativeEnum<typeof import("../../../common/types/asset.types").AssetTemplateType>>;
550
+ tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
551
+ enableBonus: z.ZodDefault<z.ZodBoolean>;
552
+ interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
553
+ }, "strip", z.ZodTypeAny, {
554
+ type: import("../../..").AssetType;
555
+ name: string;
556
+ offeringId: string;
557
+ template: import("../../../common/types/asset.types").AssetTemplateType;
558
+ pricePerUnit: number | null;
559
+ totalUnits: number | null;
560
+ enableBonus: boolean;
561
+ yield?: number | null | undefined;
562
+ duration?: number | null | undefined;
563
+ durationType?: import("../../..").DurationType | null | undefined;
564
+ tiers?: number[] | null | undefined;
565
+ interestRate?: number | null | undefined;
566
+ }, {
567
+ type: import("../../..").AssetType;
568
+ name: string;
569
+ offeringId: string;
570
+ pricePerUnit: number | null;
571
+ totalUnits: number | null;
572
+ template?: import("../../../common/types/asset.types").AssetTemplateType | undefined;
573
+ yield?: number | null | undefined;
574
+ duration?: number | null | undefined;
575
+ durationType?: import("../../..").DurationType | null | undefined;
576
+ tiers?: number[] | null | undefined;
577
+ enableBonus?: boolean | undefined;
578
+ interestRate?: number | null | undefined;
579
+ }>, {
580
+ type: import("../../..").AssetType;
581
+ name: string;
582
+ offeringId: string;
583
+ template: import("../../../common/types/asset.types").AssetTemplateType;
584
+ pricePerUnit: number | null;
585
+ totalUnits: number | null;
586
+ enableBonus: boolean;
587
+ yield?: number | null | undefined;
588
+ duration?: number | null | undefined;
589
+ durationType?: import("../../..").DurationType | null | undefined;
590
+ tiers?: number[] | null | undefined;
591
+ interestRate?: number | null | undefined;
592
+ }, {
593
+ type: import("../../..").AssetType;
594
+ name: string;
595
+ offeringId: string;
596
+ pricePerUnit: number | null;
597
+ totalUnits: number | null;
598
+ template?: import("../../../common/types/asset.types").AssetTemplateType | undefined;
599
+ yield?: number | null | undefined;
600
+ duration?: number | null | undefined;
601
+ durationType?: import("../../..").DurationType | null | undefined;
602
+ tiers?: number[] | null | undefined;
603
+ enableBonus?: boolean | undefined;
604
+ interestRate?: number | null | undefined;
605
+ }>;
606
+ summary: "Create an asset";
607
+ path: "assets";
608
+ responses: {
609
+ 201: z.ZodObject<{
610
+ __entity: z.ZodOptional<z.ZodString>;
611
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
612
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
613
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
614
+ } & {
615
+ id: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
616
+ name: z.ZodString;
617
+ type: z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").AssetType>>;
618
+ pricePerUnit: z.ZodNullable<z.ZodNumber>;
619
+ totalUnits: z.ZodNullable<z.ZodNumber>;
620
+ totalAmount: z.ZodNullable<z.ZodNumber>;
621
+ yield: z.ZodNullable<z.ZodNumber>;
622
+ duration: z.ZodNullable<z.ZodNumber>;
623
+ durationType: z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").DurationType>>;
624
+ accountId: z.ZodString;
625
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
626
+ id: z.ZodString;
627
+ __entity: z.ZodOptional<z.ZodString>;
628
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
629
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
630
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
631
+ } & {
632
+ name: z.ZodString;
633
+ status: z.ZodNativeEnum<typeof import("../../..").AccountStatus>;
634
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").ManagedByType>>;
635
+ platform: z.ZodNativeEnum<typeof import("../../..").Platform>;
636
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
637
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
638
+ allowPendingComplianceReview: z.ZodBoolean;
639
+ }, "strip", z.ZodTypeAny, {
640
+ status: import("../../..").AccountStatus;
641
+ id: string;
642
+ createdAt: string | Date;
643
+ updatedAt: string | Date;
644
+ deletedAt: string | Date | null;
645
+ name: string;
646
+ managedBy: import("../../..").ManagedByType | null;
647
+ platform: import("../../..").Platform;
648
+ onboardingReviewerId: string | null;
649
+ onboardingReviewAt: Date | null;
650
+ allowPendingComplianceReview: boolean;
651
+ __entity?: string | undefined;
652
+ }, {
653
+ status: import("../../..").AccountStatus;
654
+ id: string;
655
+ createdAt: string | Date;
656
+ updatedAt: string | Date;
657
+ deletedAt: string | Date | null;
658
+ name: string;
659
+ managedBy: import("../../..").ManagedByType | null;
660
+ platform: import("../../..").Platform;
661
+ onboardingReviewerId: string | null;
662
+ onboardingReviewAt: Date | null;
663
+ allowPendingComplianceReview: boolean;
664
+ __entity?: string | undefined;
665
+ }>>>;
666
+ offeringId: z.ZodString;
667
+ offering: z.ZodNullable<z.ZodOptional<z.ZodLazy<any>>>;
668
+ template: z.ZodNativeEnum<typeof import("../../../common/types/asset.types").AssetTemplateType>;
669
+ tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
670
+ enableBonus: z.ZodBoolean;
671
+ interestRate: z.ZodNullable<z.ZodNumber>;
672
+ }, "strip", z.ZodTypeAny, {
673
+ type: import("../../..").AssetType | null;
674
+ id: string;
675
+ createdAt: string | Date;
676
+ updatedAt: string | Date;
677
+ deletedAt: string | Date | null;
678
+ accountId: string;
679
+ name: string;
680
+ offeringId: string;
681
+ template: import("../../../common/types/asset.types").AssetTemplateType;
682
+ totalAmount: number | null;
683
+ pricePerUnit: number | null;
684
+ totalUnits: number | null;
685
+ yield: number | null;
686
+ duration: number | null;
687
+ durationType: import("../../..").DurationType | null;
688
+ tiers: number[] | null;
689
+ enableBonus: boolean;
690
+ interestRate: number | null;
691
+ __entity?: string | undefined;
692
+ account?: {
693
+ status: import("../../..").AccountStatus;
694
+ id: string;
695
+ createdAt: string | Date;
696
+ updatedAt: string | Date;
697
+ deletedAt: string | Date | null;
698
+ name: string;
699
+ managedBy: import("../../..").ManagedByType | null;
700
+ platform: import("../../..").Platform;
701
+ onboardingReviewerId: string | null;
702
+ onboardingReviewAt: Date | null;
703
+ allowPendingComplianceReview: boolean;
704
+ __entity?: string | undefined;
705
+ } | null | undefined;
706
+ offering?: any;
707
+ }, {
708
+ type: import("../../..").AssetType | null;
709
+ id: string;
710
+ createdAt: string | Date;
711
+ updatedAt: string | Date;
712
+ deletedAt: string | Date | null;
713
+ accountId: string;
714
+ name: string;
715
+ offeringId: string;
716
+ template: import("../../../common/types/asset.types").AssetTemplateType;
717
+ totalAmount: number | null;
718
+ pricePerUnit: number | null;
719
+ totalUnits: number | null;
720
+ yield: number | null;
721
+ duration: number | null;
722
+ durationType: import("../../..").DurationType | null;
723
+ tiers: number[] | null;
724
+ enableBonus: boolean;
725
+ interestRate: number | null;
726
+ __entity?: string | undefined;
727
+ account?: {
728
+ status: import("../../..").AccountStatus;
729
+ id: string;
730
+ createdAt: string | Date;
731
+ updatedAt: string | Date;
732
+ deletedAt: string | Date | null;
733
+ name: string;
734
+ managedBy: import("../../..").ManagedByType | null;
735
+ platform: import("../../..").Platform;
736
+ onboardingReviewerId: string | null;
737
+ onboardingReviewAt: Date | null;
738
+ allowPendingComplianceReview: boolean;
739
+ __entity?: string | undefined;
740
+ } | null | undefined;
741
+ offering?: any;
742
+ }>;
743
+ 401: z.ZodObject<{
744
+ status: z.ZodNumber;
745
+ message: z.ZodString;
746
+ errors: z.ZodArray<z.ZodString, "many">;
747
+ }, "strip", z.ZodTypeAny, {
748
+ message: string;
749
+ status: number;
750
+ errors: string[];
751
+ }, {
752
+ message: string;
753
+ status: number;
754
+ errors: string[];
755
+ }>;
756
+ 403: z.ZodObject<{
757
+ status: z.ZodNumber;
758
+ message: z.ZodString;
759
+ errors: z.ZodArray<z.ZodString, "many">;
760
+ }, "strip", z.ZodTypeAny, {
761
+ message: string;
762
+ status: number;
763
+ errors: string[];
764
+ }, {
765
+ message: string;
766
+ status: number;
767
+ errors: string[];
768
+ }>;
769
+ 409: z.ZodObject<{
770
+ status: z.ZodNumber;
771
+ message: z.ZodString;
772
+ errors: z.ZodArray<z.ZodString, "many">;
773
+ }, "strip", z.ZodTypeAny, {
774
+ message: string;
775
+ status: number;
776
+ errors: string[];
777
+ }, {
778
+ message: string;
779
+ status: number;
780
+ errors: string[];
781
+ }>;
782
+ 500: z.ZodObject<{
783
+ status: z.ZodNumber;
784
+ message: z.ZodString;
785
+ errors: z.ZodArray<z.ZodString, "many">;
786
+ }, "strip", z.ZodTypeAny, {
787
+ message: string;
788
+ status: number;
789
+ errors: string[];
790
+ }, {
791
+ message: string;
792
+ status: number;
793
+ errors: string[];
794
+ }>;
795
+ };
796
+ };
797
+ updateAsset: {
798
+ method: "PUT";
799
+ metadata: {
800
+ auth: boolean;
801
+ };
802
+ body: z.ZodObject<{
803
+ name: z.ZodOptional<z.ZodString>;
804
+ type: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").AssetType>>;
805
+ pricePerUnit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
806
+ totalUnits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
807
+ yield: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
808
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
809
+ durationType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").DurationType>>>;
810
+ template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNativeEnum<typeof import("../../../common/types/asset.types").AssetTemplateType>>>>;
811
+ tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
812
+ enableBonus: z.ZodOptional<z.ZodBoolean>;
813
+ interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
814
+ }, "strip", z.ZodTypeAny, {
815
+ type?: import("../../..").AssetType | undefined;
816
+ name?: string | undefined;
817
+ template?: import("../../../common/types/asset.types").AssetTemplateType | null | undefined;
818
+ pricePerUnit?: number | null | undefined;
819
+ totalUnits?: number | null | undefined;
820
+ yield?: number | null | undefined;
821
+ duration?: number | null | undefined;
822
+ durationType?: import("../../..").DurationType | null | undefined;
823
+ tiers?: number[] | null | undefined;
824
+ enableBonus?: boolean | undefined;
825
+ interestRate?: number | null | undefined;
826
+ }, {
827
+ type?: import("../../..").AssetType | undefined;
828
+ name?: string | undefined;
829
+ template?: import("../../../common/types/asset.types").AssetTemplateType | null | undefined;
830
+ pricePerUnit?: number | null | undefined;
831
+ totalUnits?: number | null | undefined;
832
+ yield?: number | null | undefined;
833
+ duration?: number | null | undefined;
834
+ durationType?: import("../../..").DurationType | null | undefined;
835
+ tiers?: number[] | null | undefined;
836
+ enableBonus?: boolean | undefined;
837
+ interestRate?: number | null | undefined;
838
+ }>;
839
+ pathParams: z.ZodObject<{
840
+ id: z.ZodEffects<z.ZodString, string, string>;
841
+ }, "strip", z.ZodTypeAny, {
842
+ id: string;
843
+ }, {
844
+ id: string;
845
+ }>;
846
+ summary: "Update asset";
847
+ path: "assets/:id";
848
+ responses: {
849
+ 201: z.ZodObject<{
850
+ __entity: z.ZodOptional<z.ZodString>;
851
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
852
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
853
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
854
+ } & {
855
+ id: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
856
+ name: z.ZodString;
857
+ type: z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").AssetType>>;
858
+ pricePerUnit: z.ZodNullable<z.ZodNumber>;
859
+ totalUnits: z.ZodNullable<z.ZodNumber>;
860
+ totalAmount: z.ZodNullable<z.ZodNumber>;
861
+ yield: z.ZodNullable<z.ZodNumber>;
862
+ duration: z.ZodNullable<z.ZodNumber>;
863
+ durationType: z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").DurationType>>;
864
+ accountId: z.ZodString;
865
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
866
+ id: z.ZodString;
867
+ __entity: z.ZodOptional<z.ZodString>;
868
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
869
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
870
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
871
+ } & {
872
+ name: z.ZodString;
873
+ status: z.ZodNativeEnum<typeof import("../../..").AccountStatus>;
874
+ managedBy: z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").ManagedByType>>;
875
+ platform: z.ZodNativeEnum<typeof import("../../..").Platform>;
876
+ onboardingReviewerId: z.ZodNullable<z.ZodString>;
877
+ onboardingReviewAt: z.ZodNullable<z.ZodDate>;
878
+ allowPendingComplianceReview: z.ZodBoolean;
879
+ }, "strip", z.ZodTypeAny, {
880
+ status: import("../../..").AccountStatus;
881
+ id: string;
882
+ createdAt: string | Date;
883
+ updatedAt: string | Date;
884
+ deletedAt: string | Date | null;
885
+ name: string;
886
+ managedBy: import("../../..").ManagedByType | null;
887
+ platform: import("../../..").Platform;
888
+ onboardingReviewerId: string | null;
889
+ onboardingReviewAt: Date | null;
890
+ allowPendingComplianceReview: boolean;
891
+ __entity?: string | undefined;
892
+ }, {
893
+ status: import("../../..").AccountStatus;
894
+ id: string;
895
+ createdAt: string | Date;
896
+ updatedAt: string | Date;
897
+ deletedAt: string | Date | null;
898
+ name: string;
899
+ managedBy: import("../../..").ManagedByType | null;
900
+ platform: import("../../..").Platform;
901
+ onboardingReviewerId: string | null;
902
+ onboardingReviewAt: Date | null;
903
+ allowPendingComplianceReview: boolean;
904
+ __entity?: string | undefined;
905
+ }>>>;
906
+ offeringId: z.ZodString;
907
+ offering: z.ZodNullable<z.ZodOptional<z.ZodLazy<any>>>;
908
+ template: z.ZodNativeEnum<typeof import("../../../common/types/asset.types").AssetTemplateType>;
909
+ tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
910
+ enableBonus: z.ZodBoolean;
911
+ interestRate: z.ZodNullable<z.ZodNumber>;
912
+ }, "strip", z.ZodTypeAny, {
913
+ type: import("../../..").AssetType | null;
914
+ id: string;
915
+ createdAt: string | Date;
916
+ updatedAt: string | Date;
917
+ deletedAt: string | Date | null;
918
+ accountId: string;
919
+ name: string;
920
+ offeringId: string;
921
+ template: import("../../../common/types/asset.types").AssetTemplateType;
922
+ totalAmount: number | null;
923
+ pricePerUnit: number | null;
924
+ totalUnits: number | null;
925
+ yield: number | null;
926
+ duration: number | null;
927
+ durationType: import("../../..").DurationType | null;
928
+ tiers: number[] | null;
929
+ enableBonus: boolean;
930
+ interestRate: number | null;
931
+ __entity?: string | undefined;
932
+ account?: {
933
+ status: import("../../..").AccountStatus;
934
+ id: string;
935
+ createdAt: string | Date;
936
+ updatedAt: string | Date;
937
+ deletedAt: string | Date | null;
938
+ name: string;
939
+ managedBy: import("../../..").ManagedByType | null;
940
+ platform: import("../../..").Platform;
941
+ onboardingReviewerId: string | null;
942
+ onboardingReviewAt: Date | null;
943
+ allowPendingComplianceReview: boolean;
944
+ __entity?: string | undefined;
945
+ } | null | undefined;
946
+ offering?: any;
947
+ }, {
948
+ type: import("../../..").AssetType | null;
949
+ id: string;
950
+ createdAt: string | Date;
951
+ updatedAt: string | Date;
952
+ deletedAt: string | Date | null;
953
+ accountId: string;
954
+ name: string;
955
+ offeringId: string;
956
+ template: import("../../../common/types/asset.types").AssetTemplateType;
957
+ totalAmount: number | null;
958
+ pricePerUnit: number | null;
959
+ totalUnits: number | null;
960
+ yield: number | null;
961
+ duration: number | null;
962
+ durationType: import("../../..").DurationType | null;
963
+ tiers: number[] | null;
964
+ enableBonus: boolean;
965
+ interestRate: number | null;
966
+ __entity?: string | undefined;
967
+ account?: {
968
+ status: import("../../..").AccountStatus;
969
+ id: string;
970
+ createdAt: string | Date;
971
+ updatedAt: string | Date;
972
+ deletedAt: string | Date | null;
973
+ name: string;
974
+ managedBy: import("../../..").ManagedByType | null;
975
+ platform: import("../../..").Platform;
976
+ onboardingReviewerId: string | null;
977
+ onboardingReviewAt: Date | null;
978
+ allowPendingComplianceReview: boolean;
979
+ __entity?: string | undefined;
980
+ } | null | undefined;
981
+ offering?: any;
982
+ }>;
983
+ 400: z.ZodObject<{
984
+ status: z.ZodNumber;
985
+ message: z.ZodString;
986
+ errors: z.ZodArray<z.ZodString, "many">;
987
+ }, "strip", z.ZodTypeAny, {
988
+ message: string;
989
+ status: number;
990
+ errors: string[];
991
+ }, {
992
+ message: string;
993
+ status: number;
994
+ errors: string[];
995
+ }>;
996
+ 401: z.ZodObject<{
997
+ status: z.ZodNumber;
998
+ message: z.ZodString;
999
+ errors: z.ZodArray<z.ZodString, "many">;
1000
+ }, "strip", z.ZodTypeAny, {
1001
+ message: string;
1002
+ status: number;
1003
+ errors: string[];
1004
+ }, {
1005
+ message: string;
1006
+ status: number;
1007
+ errors: string[];
1008
+ }>;
1009
+ 403: z.ZodObject<{
1010
+ status: z.ZodNumber;
1011
+ message: z.ZodString;
1012
+ errors: z.ZodArray<z.ZodString, "many">;
1013
+ }, "strip", z.ZodTypeAny, {
1014
+ message: string;
1015
+ status: number;
1016
+ errors: string[];
1017
+ }, {
1018
+ message: string;
1019
+ status: number;
1020
+ errors: string[];
1021
+ }>;
1022
+ 404: z.ZodObject<{
1023
+ status: z.ZodNumber;
1024
+ message: z.ZodString;
1025
+ errors: z.ZodArray<z.ZodString, "many">;
1026
+ }, "strip", z.ZodTypeAny, {
1027
+ message: string;
1028
+ status: number;
1029
+ errors: string[];
1030
+ }, {
1031
+ message: string;
1032
+ status: number;
1033
+ errors: string[];
1034
+ }>;
1035
+ 500: z.ZodObject<{
1036
+ status: z.ZodNumber;
1037
+ message: z.ZodString;
1038
+ errors: z.ZodArray<z.ZodString, "many">;
1039
+ }, "strip", z.ZodTypeAny, {
1040
+ message: string;
1041
+ status: number;
1042
+ errors: string[];
1043
+ }, {
1044
+ message: string;
1045
+ status: number;
1046
+ errors: string[];
1047
+ }>;
1048
+ };
1049
+ };
1050
+ };