@dalmore/api-contracts 0.0.0-dev.d07da18 → 0.0.0-dev.d10f798

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