@compass-labs/api-sdk 2.2.75 → 2.2.76-rc.1

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 (276) hide show
  1. package/README.md +7 -3
  2. package/codeSamples_typescript.yaml +12 -0
  3. package/dist/commonjs/funcs/creditCreditMorphoMarkets.d.ts +24 -0
  4. package/dist/commonjs/funcs/creditCreditMorphoMarkets.d.ts.map +1 -0
  5. package/dist/commonjs/funcs/creditCreditMorphoMarkets.js +128 -0
  6. package/dist/commonjs/funcs/creditCreditMorphoMarkets.js.map +1 -0
  7. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsRedemptions.d.ts +30 -0
  8. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsRedemptions.d.ts.map +1 -0
  9. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsRedemptions.js +136 -0
  10. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsRedemptions.js.map +1 -0
  11. package/dist/commonjs/models/components/accountsummary.d.ts +4 -0
  12. package/dist/commonjs/models/components/accountsummary.d.ts.map +1 -1
  13. package/dist/commonjs/models/components/accountsummary.js.map +1 -1
  14. package/dist/commonjs/models/components/collateralposition.d.ts +12 -0
  15. package/dist/commonjs/models/components/collateralposition.d.ts.map +1 -1
  16. package/dist/commonjs/models/components/collateralposition.js +4 -0
  17. package/dist/commonjs/models/components/collateralposition.js.map +1 -1
  18. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts +8 -6
  19. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts.map +1 -1
  20. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.js +3 -3
  21. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.js.map +1 -1
  22. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.d.ts +4 -2
  23. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.d.ts.map +1 -1
  24. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.js.map +1 -1
  25. package/dist/commonjs/models/components/creditborrowparams.d.ts +4 -0
  26. package/dist/commonjs/models/components/creditborrowparams.d.ts.map +1 -1
  27. package/dist/commonjs/models/components/creditborrowparams.js.map +1 -1
  28. package/dist/commonjs/models/components/creditborrowrequest.d.ts +4 -0
  29. package/dist/commonjs/models/components/creditborrowrequest.d.ts.map +1 -1
  30. package/dist/commonjs/models/components/creditborrowrequest.js.map +1 -1
  31. package/dist/commonjs/models/components/creditenablecollateralparams.d.ts +4 -0
  32. package/dist/commonjs/models/components/creditenablecollateralparams.d.ts.map +1 -1
  33. package/dist/commonjs/models/components/creditenablecollateralparams.js.map +1 -1
  34. package/dist/commonjs/models/components/creditprotocol.d.ts +9 -0
  35. package/dist/commonjs/models/components/creditprotocol.d.ts.map +1 -1
  36. package/dist/commonjs/models/components/creditprotocol.js +5 -0
  37. package/dist/commonjs/models/components/creditprotocol.js.map +1 -1
  38. package/dist/commonjs/models/components/creditrepayparams.d.ts +4 -0
  39. package/dist/commonjs/models/components/creditrepayparams.d.ts.map +1 -1
  40. package/dist/commonjs/models/components/creditrepayparams.js.map +1 -1
  41. package/dist/commonjs/models/components/creditrepayrequest.d.ts +4 -0
  42. package/dist/commonjs/models/components/creditrepayrequest.d.ts.map +1 -1
  43. package/dist/commonjs/models/components/creditrepayrequest.js.map +1 -1
  44. package/dist/commonjs/models/components/creditsupplyparams.d.ts +4 -0
  45. package/dist/commonjs/models/components/creditsupplyparams.d.ts.map +1 -1
  46. package/dist/commonjs/models/components/creditsupplyparams.js.map +1 -1
  47. package/dist/commonjs/models/components/creditwithdrawparams.d.ts +4 -0
  48. package/dist/commonjs/models/components/creditwithdrawparams.d.ts.map +1 -1
  49. package/dist/commonjs/models/components/creditwithdrawparams.js.map +1 -1
  50. package/dist/commonjs/models/components/debtposition.d.ts +12 -0
  51. package/dist/commonjs/models/components/debtposition.d.ts.map +1 -1
  52. package/dist/commonjs/models/components/debtposition.js +4 -0
  53. package/dist/commonjs/models/components/debtposition.js.map +1 -1
  54. package/dist/commonjs/models/components/index.d.ts +4 -0
  55. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  56. package/dist/commonjs/models/components/index.js +4 -0
  57. package/dist/commonjs/models/components/index.js.map +1 -1
  58. package/dist/commonjs/models/components/marketdetail.d.ts +8 -6
  59. package/dist/commonjs/models/components/marketdetail.d.ts.map +1 -1
  60. package/dist/commonjs/models/components/marketdetail.js +3 -3
  61. package/dist/commonjs/models/components/marketdetail.js.map +1 -1
  62. package/dist/commonjs/models/components/morpholendingmarket.d.ts +80 -0
  63. package/dist/commonjs/models/components/morpholendingmarket.d.ts.map +1 -0
  64. package/dist/commonjs/models/components/morpholendingmarket.js +82 -0
  65. package/dist/commonjs/models/components/morpholendingmarket.js.map +1 -0
  66. package/dist/commonjs/models/components/morphomarketsresponse.d.ts +21 -0
  67. package/dist/commonjs/models/components/morphomarketsresponse.d.ts.map +1 -0
  68. package/dist/commonjs/models/components/morphomarketsresponse.js +52 -0
  69. package/dist/commonjs/models/components/morphomarketsresponse.js.map +1 -0
  70. package/dist/commonjs/models/components/redemption.d.ts +52 -0
  71. package/dist/commonjs/models/components/redemption.d.ts.map +1 -0
  72. package/dist/commonjs/models/components/redemption.js +73 -0
  73. package/dist/commonjs/models/components/redemption.js.map +1 -0
  74. package/dist/commonjs/models/components/redemptionsresponse.d.ts +17 -0
  75. package/dist/commonjs/models/components/redemptionsresponse.d.ts.map +1 -0
  76. package/dist/commonjs/models/components/redemptionsresponse.js +51 -0
  77. package/dist/commonjs/models/components/redemptionsresponse.js.map +1 -0
  78. package/dist/commonjs/models/components/tokenizedassetclass.d.ts +9 -4
  79. package/dist/commonjs/models/components/tokenizedassetclass.d.ts.map +1 -1
  80. package/dist/commonjs/models/components/tokenizedassetclass.js +5 -2
  81. package/dist/commonjs/models/components/tokenizedassetclass.js.map +1 -1
  82. package/dist/commonjs/models/components/tokenizedassetprovider.d.ts +1 -0
  83. package/dist/commonjs/models/components/tokenizedassetprovider.d.ts.map +1 -1
  84. package/dist/commonjs/models/components/tokenizedassetprovider.js +1 -0
  85. package/dist/commonjs/models/components/tokenizedassetprovider.js.map +1 -1
  86. package/dist/commonjs/models/components/tokenizedassetstraderesponse.d.ts +22 -0
  87. package/dist/commonjs/models/components/tokenizedassetstraderesponse.d.ts.map +1 -1
  88. package/dist/commonjs/models/components/tokenizedassetstraderesponse.js +14 -1
  89. package/dist/commonjs/models/components/tokenizedassetstraderesponse.js.map +1 -1
  90. package/dist/commonjs/models/operations/index.d.ts +2 -0
  91. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  92. package/dist/commonjs/models/operations/index.js +2 -0
  93. package/dist/commonjs/models/operations/index.js.map +1 -1
  94. package/dist/commonjs/models/operations/v2creditmorphomarkets.d.ts +22 -0
  95. package/dist/commonjs/models/operations/v2creditmorphomarkets.d.ts.map +1 -0
  96. package/dist/commonjs/models/operations/v2creditmorphomarkets.js +57 -0
  97. package/dist/commonjs/models/operations/v2creditmorphomarkets.js.map +1 -0
  98. package/dist/commonjs/models/operations/v2tokenizedassetsredemptions.d.ts +43 -0
  99. package/dist/commonjs/models/operations/v2tokenizedassetsredemptions.d.ts.map +1 -0
  100. package/dist/commonjs/models/operations/v2tokenizedassetsredemptions.js +64 -0
  101. package/dist/commonjs/models/operations/v2tokenizedassetsredemptions.js.map +1 -0
  102. package/dist/commonjs/sdk/credit.d.ts +12 -0
  103. package/dist/commonjs/sdk/credit.d.ts.map +1 -1
  104. package/dist/commonjs/sdk/credit.js +15 -0
  105. package/dist/commonjs/sdk/credit.js.map +1 -1
  106. package/dist/commonjs/sdk/tokenizedassets.d.ts +18 -0
  107. package/dist/commonjs/sdk/tokenizedassets.d.ts.map +1 -1
  108. package/dist/commonjs/sdk/tokenizedassets.js +21 -0
  109. package/dist/commonjs/sdk/tokenizedassets.js.map +1 -1
  110. package/dist/esm/funcs/creditCreditMorphoMarkets.d.ts +24 -0
  111. package/dist/esm/funcs/creditCreditMorphoMarkets.d.ts.map +1 -0
  112. package/dist/esm/funcs/creditCreditMorphoMarkets.js +92 -0
  113. package/dist/esm/funcs/creditCreditMorphoMarkets.js.map +1 -0
  114. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsRedemptions.d.ts +30 -0
  115. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsRedemptions.d.ts.map +1 -0
  116. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsRedemptions.js +100 -0
  117. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsRedemptions.js.map +1 -0
  118. package/dist/esm/models/components/accountsummary.d.ts +4 -0
  119. package/dist/esm/models/components/accountsummary.d.ts.map +1 -1
  120. package/dist/esm/models/components/accountsummary.js.map +1 -1
  121. package/dist/esm/models/components/collateralposition.d.ts +12 -0
  122. package/dist/esm/models/components/collateralposition.d.ts.map +1 -1
  123. package/dist/esm/models/components/collateralposition.js +4 -0
  124. package/dist/esm/models/components/collateralposition.js.map +1 -1
  125. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts +8 -6
  126. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts.map +1 -1
  127. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.js +3 -3
  128. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.js.map +1 -1
  129. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.d.ts +4 -2
  130. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.d.ts.map +1 -1
  131. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.js.map +1 -1
  132. package/dist/esm/models/components/creditborrowparams.d.ts +4 -0
  133. package/dist/esm/models/components/creditborrowparams.d.ts.map +1 -1
  134. package/dist/esm/models/components/creditborrowparams.js.map +1 -1
  135. package/dist/esm/models/components/creditborrowrequest.d.ts +4 -0
  136. package/dist/esm/models/components/creditborrowrequest.d.ts.map +1 -1
  137. package/dist/esm/models/components/creditborrowrequest.js.map +1 -1
  138. package/dist/esm/models/components/creditenablecollateralparams.d.ts +4 -0
  139. package/dist/esm/models/components/creditenablecollateralparams.d.ts.map +1 -1
  140. package/dist/esm/models/components/creditenablecollateralparams.js.map +1 -1
  141. package/dist/esm/models/components/creditprotocol.d.ts +9 -0
  142. package/dist/esm/models/components/creditprotocol.d.ts.map +1 -1
  143. package/dist/esm/models/components/creditprotocol.js +5 -0
  144. package/dist/esm/models/components/creditprotocol.js.map +1 -1
  145. package/dist/esm/models/components/creditrepayparams.d.ts +4 -0
  146. package/dist/esm/models/components/creditrepayparams.d.ts.map +1 -1
  147. package/dist/esm/models/components/creditrepayparams.js.map +1 -1
  148. package/dist/esm/models/components/creditrepayrequest.d.ts +4 -0
  149. package/dist/esm/models/components/creditrepayrequest.d.ts.map +1 -1
  150. package/dist/esm/models/components/creditrepayrequest.js.map +1 -1
  151. package/dist/esm/models/components/creditsupplyparams.d.ts +4 -0
  152. package/dist/esm/models/components/creditsupplyparams.d.ts.map +1 -1
  153. package/dist/esm/models/components/creditsupplyparams.js.map +1 -1
  154. package/dist/esm/models/components/creditwithdrawparams.d.ts +4 -0
  155. package/dist/esm/models/components/creditwithdrawparams.d.ts.map +1 -1
  156. package/dist/esm/models/components/creditwithdrawparams.js.map +1 -1
  157. package/dist/esm/models/components/debtposition.d.ts +12 -0
  158. package/dist/esm/models/components/debtposition.d.ts.map +1 -1
  159. package/dist/esm/models/components/debtposition.js +4 -0
  160. package/dist/esm/models/components/debtposition.js.map +1 -1
  161. package/dist/esm/models/components/index.d.ts +4 -0
  162. package/dist/esm/models/components/index.d.ts.map +1 -1
  163. package/dist/esm/models/components/index.js +4 -0
  164. package/dist/esm/models/components/index.js.map +1 -1
  165. package/dist/esm/models/components/marketdetail.d.ts +8 -6
  166. package/dist/esm/models/components/marketdetail.d.ts.map +1 -1
  167. package/dist/esm/models/components/marketdetail.js +3 -3
  168. package/dist/esm/models/components/marketdetail.js.map +1 -1
  169. package/dist/esm/models/components/morpholendingmarket.d.ts +80 -0
  170. package/dist/esm/models/components/morpholendingmarket.d.ts.map +1 -0
  171. package/dist/esm/models/components/morpholendingmarket.js +45 -0
  172. package/dist/esm/models/components/morpholendingmarket.js.map +1 -0
  173. package/dist/esm/models/components/morphomarketsresponse.d.ts +21 -0
  174. package/dist/esm/models/components/morphomarketsresponse.d.ts.map +1 -0
  175. package/dist/esm/models/components/morphomarketsresponse.js +15 -0
  176. package/dist/esm/models/components/morphomarketsresponse.js.map +1 -0
  177. package/dist/esm/models/components/redemption.d.ts +52 -0
  178. package/dist/esm/models/components/redemption.d.ts.map +1 -0
  179. package/dist/esm/models/components/redemption.js +36 -0
  180. package/dist/esm/models/components/redemption.js.map +1 -0
  181. package/dist/esm/models/components/redemptionsresponse.d.ts +17 -0
  182. package/dist/esm/models/components/redemptionsresponse.d.ts.map +1 -0
  183. package/dist/esm/models/components/redemptionsresponse.js +14 -0
  184. package/dist/esm/models/components/redemptionsresponse.js.map +1 -0
  185. package/dist/esm/models/components/tokenizedassetclass.d.ts +9 -4
  186. package/dist/esm/models/components/tokenizedassetclass.d.ts.map +1 -1
  187. package/dist/esm/models/components/tokenizedassetclass.js +5 -2
  188. package/dist/esm/models/components/tokenizedassetclass.js.map +1 -1
  189. package/dist/esm/models/components/tokenizedassetprovider.d.ts +1 -0
  190. package/dist/esm/models/components/tokenizedassetprovider.d.ts.map +1 -1
  191. package/dist/esm/models/components/tokenizedassetprovider.js +1 -0
  192. package/dist/esm/models/components/tokenizedassetprovider.js.map +1 -1
  193. package/dist/esm/models/components/tokenizedassetstraderesponse.d.ts +22 -0
  194. package/dist/esm/models/components/tokenizedassetstraderesponse.d.ts.map +1 -1
  195. package/dist/esm/models/components/tokenizedassetstraderesponse.js +13 -0
  196. package/dist/esm/models/components/tokenizedassetstraderesponse.js.map +1 -1
  197. package/dist/esm/models/operations/index.d.ts +2 -0
  198. package/dist/esm/models/operations/index.d.ts.map +1 -1
  199. package/dist/esm/models/operations/index.js +2 -0
  200. package/dist/esm/models/operations/index.js.map +1 -1
  201. package/dist/esm/models/operations/v2creditmorphomarkets.d.ts +22 -0
  202. package/dist/esm/models/operations/v2creditmorphomarkets.d.ts.map +1 -0
  203. package/dist/esm/models/operations/v2creditmorphomarkets.js +20 -0
  204. package/dist/esm/models/operations/v2creditmorphomarkets.js.map +1 -0
  205. package/dist/esm/models/operations/v2tokenizedassetsredemptions.d.ts +43 -0
  206. package/dist/esm/models/operations/v2tokenizedassetsredemptions.d.ts.map +1 -0
  207. package/dist/esm/models/operations/v2tokenizedassetsredemptions.js +27 -0
  208. package/dist/esm/models/operations/v2tokenizedassetsredemptions.js.map +1 -0
  209. package/dist/esm/sdk/credit.d.ts +12 -0
  210. package/dist/esm/sdk/credit.d.ts.map +1 -1
  211. package/dist/esm/sdk/credit.js +15 -0
  212. package/dist/esm/sdk/credit.js.map +1 -1
  213. package/dist/esm/sdk/tokenizedassets.d.ts +18 -0
  214. package/dist/esm/sdk/tokenizedassets.d.ts.map +1 -1
  215. package/dist/esm/sdk/tokenizedassets.js +21 -0
  216. package/dist/esm/sdk/tokenizedassets.js.map +1 -1
  217. package/docs/models/components/accountsummary.md +10 -10
  218. package/docs/models/components/collateralposition.md +16 -14
  219. package/docs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.md +21 -18
  220. package/docs/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.md +15 -15
  221. package/docs/models/components/creditborrowparams.md +9 -9
  222. package/docs/models/components/creditborrowrequest.md +19 -19
  223. package/docs/models/components/creditenablecollateralparams.md +6 -6
  224. package/docs/models/components/creditprotocol.md +5 -1
  225. package/docs/models/components/creditrepayparams.md +8 -8
  226. package/docs/models/components/creditrepayrequest.md +18 -18
  227. package/docs/models/components/creditsupplyparams.md +7 -7
  228. package/docs/models/components/creditwithdrawparams.md +7 -7
  229. package/docs/models/components/debtposition.md +15 -13
  230. package/docs/models/components/marketdetail.md +32 -29
  231. package/docs/models/components/morpholendingmarket.md +49 -0
  232. package/docs/models/components/morphomarketsresponse.md +21 -0
  233. package/docs/models/components/redemption.md +27 -0
  234. package/docs/models/components/redemptionsresponse.md +19 -0
  235. package/docs/models/components/redemptionstatus.md +17 -0
  236. package/docs/models/components/settlement.md +17 -0
  237. package/docs/models/components/tokenizedassetclass.md +6 -4
  238. package/docs/models/components/tokenizedassetprovider.md +2 -2
  239. package/docs/models/components/tokenizedassetstraderesponse.md +9 -6
  240. package/docs/models/operations/v2creditmorphomarketschain.md +15 -0
  241. package/docs/models/operations/v2creditmorphomarketsrequest.md +17 -0
  242. package/docs/models/operations/v2tokenizedassetsredemptionschain.md +17 -0
  243. package/docs/models/operations/v2tokenizedassetsredemptionsrequest.md +21 -0
  244. package/docs/sdks/credit/README.md +80 -0
  245. package/docs/sdks/tokenizedassets/README.md +90 -0
  246. package/openapi_prepped_for_speakeasy.json +451 -21
  247. package/package.json +1 -1
  248. package/src/funcs/creditCreditMorphoMarkets.ts +182 -0
  249. package/src/funcs/tokenizedAssetsTokenizedAssetsRedemptions.ts +192 -0
  250. package/src/models/components/accountsummary.ts +4 -0
  251. package/src/models/components/collateralposition.ts +16 -0
  252. package/src/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.ts +11 -9
  253. package/src/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.ts +4 -2
  254. package/src/models/components/creditborrowparams.ts +4 -0
  255. package/src/models/components/creditborrowrequest.ts +4 -0
  256. package/src/models/components/creditenablecollateralparams.ts +4 -0
  257. package/src/models/components/creditprotocol.ts +9 -0
  258. package/src/models/components/creditrepayparams.ts +4 -0
  259. package/src/models/components/creditrepayrequest.ts +4 -0
  260. package/src/models/components/creditsupplyparams.ts +4 -0
  261. package/src/models/components/creditwithdrawparams.ts +4 -0
  262. package/src/models/components/debtposition.ts +16 -0
  263. package/src/models/components/index.ts +4 -0
  264. package/src/models/components/marketdetail.ts +11 -9
  265. package/src/models/components/morpholendingmarket.ts +133 -0
  266. package/src/models/components/morphomarketsresponse.ts +46 -0
  267. package/src/models/components/redemption.ts +89 -0
  268. package/src/models/components/redemptionsresponse.ts +38 -0
  269. package/src/models/components/tokenizedassetclass.ts +9 -4
  270. package/src/models/components/tokenizedassetprovider.ts +1 -0
  271. package/src/models/components/tokenizedassetstraderesponse.ts +28 -0
  272. package/src/models/operations/index.ts +2 -0
  273. package/src/models/operations/v2creditmorphomarkets.ts +49 -0
  274. package/src/models/operations/v2tokenizedassetsredemptions.ts +72 -0
  275. package/src/sdk/credit.ts +23 -0
  276. package/src/sdk/tokenizedassets.ts +29 -0
@@ -0,0 +1,19 @@
1
+ # RedemptionsResponse
2
+
3
+ An owner's IXS redemption requests for one vault.
4
+
5
+ ## Example Usage
6
+
7
+ ```typescript
8
+ import { RedemptionsResponse } from "@compass-labs/api-sdk/models/components";
9
+
10
+ let value: RedemptionsResponse = {
11
+ redemptions: [],
12
+ };
13
+ ```
14
+
15
+ ## Fields
16
+
17
+ | Field | Type | Required | Description | Example |
18
+ | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
19
+ | `redemptions` | [components.Redemption](../../models/components/redemption.md)[] | :heavy_minus_sign: | The owner's non-empty redemption requests for the vault, in ascending id order. Empty when the owner has never requested one. | [] |
@@ -0,0 +1,17 @@
1
+ # RedemptionStatus
2
+
3
+ Lifecycle state: `pending` (awaiting operator settlement), `finalized` (settled — assets paid to the product account), `rejected` (operator declined; shares returned to the account), or `unknown` (an unrecognized on-chain status code — should not occur for the current contract, surfaced defensively instead of erroring).
4
+
5
+ ## Example Usage
6
+
7
+ ```typescript
8
+ import { RedemptionStatus } from "@compass-labs/api-sdk/models/components";
9
+
10
+ let value: RedemptionStatus = "pending";
11
+ ```
12
+
13
+ ## Values
14
+
15
+ ```typescript
16
+ "pending" | "finalized" | "rejected" | "unknown"
17
+ ```
@@ -0,0 +1,17 @@
1
+ # Settlement
2
+
3
+ How the trade settles. `instant`: the signed transaction completes the trade (Midas/Ondo swaps and IXS deposits). `async`: the transaction only *requests* an IXS redemption, which the vault operator settles off-chain later — poll `poll_endpoint` for status.
4
+
5
+ ## Example Usage
6
+
7
+ ```typescript
8
+ import { Settlement } from "@compass-labs/api-sdk/models/components";
9
+
10
+ let value: Settlement = "instant";
11
+ ```
12
+
13
+ ## Values
14
+
15
+ ```typescript
16
+ "instant" | "async"
17
+ ```
@@ -3,19 +3,21 @@
3
3
  Asset class of a tokenized asset.
4
4
 
5
5
  `EQUITY` trades via the order endpoints (build/submit/cancel); the RWA
6
- yield classes (`T_BILLS`, `BASIS_TRADE`, `BTC_YIELD`) trade via the
7
- swap-based `transact/buy` and `transact/sell` endpoints.
6
+ yield classes (`T_BILLS`, `BASIS_TRADE`, `BTC_YIELD`) and `MANAGED_VAULT`
7
+ trade via the swap-based `transact/buy` and `transact/sell` endpoints.
8
+ `MANAGED_VAULT` (IXS ERC-4626 vaults) is special in that a sell is an
9
+ *asynchronous* redemption request settled off-chain by the vault operator.
8
10
 
9
11
  ## Example Usage
10
12
 
11
13
  ```typescript
12
14
  import { TokenizedAssetClass } from "@compass-labs/api-sdk/models/components";
13
15
 
14
- let value: TokenizedAssetClass = "BTC_YIELD";
16
+ let value: TokenizedAssetClass = "MANAGED_VAULT";
15
17
  ```
16
18
 
17
19
  ## Values
18
20
 
19
21
  ```typescript
20
- "EQUITY" | "T_BILLS" | "BASIS_TRADE" | "BTC_YIELD"
22
+ "EQUITY" | "T_BILLS" | "BASIS_TRADE" | "BTC_YIELD" | "MANAGED_VAULT"
21
23
  ```
@@ -7,11 +7,11 @@ Issuer/provider of a tokenized asset.
7
7
  ```typescript
8
8
  import { TokenizedAssetProvider } from "@compass-labs/api-sdk/models/components";
9
9
 
10
- let value: TokenizedAssetProvider = "ondo";
10
+ let value: TokenizedAssetProvider = "midas";
11
11
  ```
12
12
 
13
13
  ## Values
14
14
 
15
15
  ```typescript
16
- "ondo" | "midas"
16
+ "ondo" | "midas" | "ixs"
17
17
  ```
@@ -12,14 +12,17 @@ import { TokenizedAssetsTradeResponse } from "@compass-labs/api-sdk/models/compo
12
12
 
13
13
  let value: TokenizedAssetsTradeResponse = {
14
14
  estimatedAmountOut: "<value>",
15
+ settlement: "instant",
15
16
  };
16
17
  ```
17
18
 
18
19
  ## Fields
19
20
 
20
- | Field | Type | Required | Description |
21
- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
22
- | `transaction` | [components.UnsignedTransaction](../../models/components/unsignedtransaction.md) | :heavy_minus_sign: | Unsigned transaction executing the trade in the product account. |
23
- | `eip712` | [components.BatchedSafeOperationsResponseOutput](../../models/components/batchedsafeoperationsresponseoutput.md) | :heavy_minus_sign: | EIP-712 payload for gas-sponsored execution. |
24
- | `estimatedAmountOut` | *string* | :heavy_check_mark: | Estimated amount of `token_out` received (human-readable units). |
25
- | `feeAmount` | *string* | :heavy_minus_sign: | Fee charged on the sell, in payout-token (USDC) units. Null when no fee was applied. |
21
+ | Field | Type | Required | Description | Example |
22
+ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
23
+ | `transaction` | [components.UnsignedTransaction](../../models/components/unsignedtransaction.md) | :heavy_minus_sign: | Unsigned transaction executing the trade in the product account. | |
24
+ | `eip712` | [components.BatchedSafeOperationsResponseOutput](../../models/components/batchedsafeoperationsresponseoutput.md) | :heavy_minus_sign: | EIP-712 payload for gas-sponsored execution. | |
25
+ | `estimatedAmountOut` | *string* | :heavy_check_mark: | Estimated amount of `token_out` received (human-readable units). | |
26
+ | `feeAmount` | *string* | :heavy_minus_sign: | Fee charged on the sell, in payout-token (USDC) units. Null when no fee was applied. | |
27
+ | `settlement` | [components.Settlement](../../models/components/settlement.md) | :heavy_minus_sign: | How the trade settles. `instant`: the signed transaction completes the trade (Midas/Ondo swaps and IXS deposits). `async`: the transaction only *requests* an IXS redemption, which the vault operator settles off-chain later — poll `poll_endpoint` for status. | instant |
28
+ | `pollEndpoint` | *string* | :heavy_minus_sign: | For `async` settlements, the endpoint to poll for redemption status (`GET /v2/tokenized_assets/redemptions`). Null for instant trades. | |
@@ -0,0 +1,15 @@
1
+ # V2CreditMorphoMarketsChain
2
+
3
+ ## Example Usage
4
+
5
+ ```typescript
6
+ import { V2CreditMorphoMarketsChain } from "@compass-labs/api-sdk/models/operations";
7
+
8
+ let value: V2CreditMorphoMarketsChain = "ethereum";
9
+ ```
10
+
11
+ ## Values
12
+
13
+ ```typescript
14
+ "arbitrum" | "base" | "ethereum" | "tempo"
15
+ ```
@@ -0,0 +1,17 @@
1
+ # V2CreditMorphoMarketsRequest
2
+
3
+ ## Example Usage
4
+
5
+ ```typescript
6
+ import { V2CreditMorphoMarketsRequest } from "@compass-labs/api-sdk/models/operations";
7
+
8
+ let value: V2CreditMorphoMarketsRequest = {
9
+ chain: "ethereum",
10
+ };
11
+ ```
12
+
13
+ ## Fields
14
+
15
+ | Field | Type | Required | Description | Example |
16
+ | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
17
+ | `chain` | [operations.V2CreditMorphoMarketsChain](../../models/operations/v2creditmorphomarketschain.md) | :heavy_check_mark: | N/A | ethereum |
@@ -0,0 +1,17 @@
1
+ # V2TokenizedAssetsRedemptionsChain
2
+
3
+ The chain to use.
4
+
5
+ ## Example Usage
6
+
7
+ ```typescript
8
+ import { V2TokenizedAssetsRedemptionsChain } from "@compass-labs/api-sdk/models/operations";
9
+
10
+ let value: V2TokenizedAssetsRedemptionsChain = "bsc";
11
+ ```
12
+
13
+ ## Values
14
+
15
+ ```typescript
16
+ "base" | "ethereum" | "arbitrum" | "hyperevm" | "tempo" | "bsc"
17
+ ```
@@ -0,0 +1,21 @@
1
+ # V2TokenizedAssetsRedemptionsRequest
2
+
3
+ ## Example Usage
4
+
5
+ ```typescript
6
+ import { V2TokenizedAssetsRedemptionsRequest } from "@compass-labs/api-sdk/models/operations";
7
+
8
+ let value: V2TokenizedAssetsRedemptionsRequest = {
9
+ owner: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
10
+ chain: "bsc",
11
+ vault: "ixv1",
12
+ };
13
+ ```
14
+
15
+ ## Fields
16
+
17
+ | Field | Type | Required | Description | Example |
18
+ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
19
+ | `owner` | *string* | :heavy_check_mark: | The owner of the Tokenized Assets Account whose IXS redemption requests to read. Requests are reconstructed on-chain from the derived product account (the request receiver). | 0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B |
20
+ | `chain` | [operations.V2TokenizedAssetsRedemptionsChain](../../models/operations/v2tokenizedassetsredemptionschain.md) | :heavy_minus_sign: | Network the IXS vault lives on (IXS managed vaults are on BNB Smart Chain). | bsc |
21
+ | `vault` | *string* | :heavy_minus_sign: | The IXS vault handle to read redemptions for (e.g. 'ixv1'). | ixv1 |
@@ -7,6 +7,7 @@
7
7
  * [creditPositions](#creditpositions) - List credit positions
8
8
  * [creditBalances](#creditbalances) - Get credit account token balances
9
9
  * [creditEulerMarkets](#crediteulermarkets) - List curated Euler markets
10
+ * [creditMorphoMarkets](#creditmorphomarkets) - List curated Morpho markets
10
11
  * [creditCreateAccount](#creditcreateaccount) - Create credit account
11
12
  * [creditBorrow](#creditborrow) - Borrow against collateral
12
13
  * [creditTransfer](#credittransfer) - Transfer tokens to/from Credit Account
@@ -250,6 +251,85 @@ run();
250
251
  | errors.HTTPValidationError | 422 | application/json |
251
252
  | errors.APIError | 4XX, 5XX | \*/\* |
252
253
 
254
+ ## creditMorphoMarkets
255
+
256
+ List curated Morpho Blue lending markets for a chain.
257
+
258
+ Morpho Blue is permissionless, so credit actions identify a market by its
259
+ bytes32 market id. This returns the curated market set with live LLTV,
260
+ supply/borrow APY, utilization, and available liquidity -- read on-chain per
261
+ request -- so callers know which market_id to use and what it currently costs.
262
+
263
+ ### Example Usage
264
+
265
+ <!-- UsageSnippet language="typescript" operationID="v2_credit_morpho_markets" method="get" path="/v2/credit/morpho_markets" -->
266
+ ```typescript
267
+ import { CompassApiSDK } from "@compass-labs/api-sdk";
268
+
269
+ const compassApiSDK = new CompassApiSDK({
270
+ apiKeyAuth: "<YOUR_API_KEY_HERE>",
271
+ });
272
+
273
+ async function run() {
274
+ const result = await compassApiSDK.credit.creditMorphoMarkets({
275
+ chain: "ethereum",
276
+ });
277
+
278
+ console.log(result);
279
+ }
280
+
281
+ run();
282
+ ```
283
+
284
+ ### Standalone function
285
+
286
+ The standalone function version of this method:
287
+
288
+ ```typescript
289
+ import { CompassApiSDKCore } from "@compass-labs/api-sdk/core.js";
290
+ import { creditCreditMorphoMarkets } from "@compass-labs/api-sdk/funcs/creditCreditMorphoMarkets.js";
291
+
292
+ // Use `CompassApiSDKCore` for best tree-shaking performance.
293
+ // You can create one instance of it to use across an application.
294
+ const compassApiSDK = new CompassApiSDKCore({
295
+ apiKeyAuth: "<YOUR_API_KEY_HERE>",
296
+ });
297
+
298
+ async function run() {
299
+ const res = await creditCreditMorphoMarkets(compassApiSDK, {
300
+ chain: "ethereum",
301
+ });
302
+ if (res.ok) {
303
+ const { value: result } = res;
304
+ console.log(result);
305
+ } else {
306
+ console.log("creditCreditMorphoMarkets failed:", res.error);
307
+ }
308
+ }
309
+
310
+ run();
311
+ ```
312
+
313
+ ### Parameters
314
+
315
+ | Parameter | Type | Required | Description |
316
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
317
+ | `request` | [operations.V2CreditMorphoMarketsRequest](../../models/operations/v2creditmorphomarketsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
318
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
319
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
320
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
321
+
322
+ ### Response
323
+
324
+ **Promise\<[components.MorphoMarketsResponse](../../models/components/morphomarketsresponse.md)\>**
325
+
326
+ ### Errors
327
+
328
+ | Error Type | Status Code | Content Type |
329
+ | -------------------------- | -------------------------- | -------------------------- |
330
+ | errors.HTTPValidationError | 422 | application/json |
331
+ | errors.APIError | 4XX, 5XX | \*/\* |
332
+
253
333
  ## creditCreateAccount
254
334
 
255
335
  Create a Credit Account for a wallet address.
@@ -9,6 +9,7 @@
9
9
  * [tokenizedAssetsPositions](#tokenizedassetspositions) - Get tokenized-asset positions for an owner
10
10
  * [tokenizedAssetsBalances](#tokenizedassetsbalances) - Get account balances
11
11
  * [tokenizedAssetsOrderOrderHash](#tokenizedassetsorderorderhash) - Get tokenized-equity order status (Ondo)
12
+ * [tokenizedAssetsRedemptions](#tokenizedassetsredemptions) - Get IXS vault redemption requests for an owner
12
13
  * [tokenizedAssetsCreateAccount](#tokenizedassetscreateaccount) - Create a Tokenized Assets Account
13
14
  * [tokenizedAssetsTransfer](#tokenizedassetstransfer) - Deposit to / withdraw from a Tokenized Assets Account
14
15
  * [tokenizedAssetsQuote](#tokenizedassetsquote) - Preview a tokenized-equity buy/sell quote (Ondo)
@@ -447,6 +448,95 @@ run();
447
448
  | errors.TokenizedAssetsErrorResponse | 502 | application/json |
448
449
  | errors.APIError | 4XX, 5XX | \*/\* |
449
450
 
451
+ ## tokenizedAssetsRedemptions
452
+
453
+ Get an owner's IXS vault redemption requests (async redemption status).
454
+
455
+ IXS managed-vault **sells** are asynchronous: `/transact/sell` returns a
456
+ `requestRedeem` transaction, and the vault operator settles it off-chain
457
+ later. This endpoint reconstructs the owner's requests directly from the
458
+ vault on every call (Compass persists no async state) — each entry carries
459
+ its `status` (`pending` | `finalized` | `rejected`), the `shares` requested,
460
+ and, while `pending`, the `expected_net_assets` it would settle for at the
461
+ current NAV (a preview, not a guarantee).
462
+
463
+ IXS vaults live on BNB Smart Chain — pass `chain=bsc` (the default) and the
464
+ `vault` handle (default `ixv1`).
465
+
466
+ ### Example Usage
467
+
468
+ <!-- UsageSnippet language="typescript" operationID="v2_tokenized_assets_redemptions" method="get" path="/v2/tokenized_assets/redemptions" -->
469
+ ```typescript
470
+ import { CompassApiSDK } from "@compass-labs/api-sdk";
471
+
472
+ const compassApiSDK = new CompassApiSDK({
473
+ apiKeyAuth: "<YOUR_API_KEY_HERE>",
474
+ });
475
+
476
+ async function run() {
477
+ const result = await compassApiSDK.tokenizedAssets.tokenizedAssetsRedemptions({
478
+ owner: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
479
+ chain: "bsc",
480
+ vault: "ixv1",
481
+ });
482
+
483
+ console.log(result);
484
+ }
485
+
486
+ run();
487
+ ```
488
+
489
+ ### Standalone function
490
+
491
+ The standalone function version of this method:
492
+
493
+ ```typescript
494
+ import { CompassApiSDKCore } from "@compass-labs/api-sdk/core.js";
495
+ import { tokenizedAssetsTokenizedAssetsRedemptions } from "@compass-labs/api-sdk/funcs/tokenizedAssetsTokenizedAssetsRedemptions.js";
496
+
497
+ // Use `CompassApiSDKCore` for best tree-shaking performance.
498
+ // You can create one instance of it to use across an application.
499
+ const compassApiSDK = new CompassApiSDKCore({
500
+ apiKeyAuth: "<YOUR_API_KEY_HERE>",
501
+ });
502
+
503
+ async function run() {
504
+ const res = await tokenizedAssetsTokenizedAssetsRedemptions(compassApiSDK, {
505
+ owner: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
506
+ chain: "bsc",
507
+ vault: "ixv1",
508
+ });
509
+ if (res.ok) {
510
+ const { value: result } = res;
511
+ console.log(result);
512
+ } else {
513
+ console.log("tokenizedAssetsTokenizedAssetsRedemptions failed:", res.error);
514
+ }
515
+ }
516
+
517
+ run();
518
+ ```
519
+
520
+ ### Parameters
521
+
522
+ | Parameter | Type | Required | Description |
523
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
524
+ | `request` | [operations.V2TokenizedAssetsRedemptionsRequest](../../models/operations/v2tokenizedassetsredemptionsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
525
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
526
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
527
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
528
+
529
+ ### Response
530
+
531
+ **Promise\<[components.RedemptionsResponse](../../models/components/redemptionsresponse.md)\>**
532
+
533
+ ### Errors
534
+
535
+ | Error Type | Status Code | Content Type |
536
+ | ----------------------------------- | ----------------------------------- | ----------------------------------- |
537
+ | errors.TokenizedAssetsErrorResponse | 422 | application/json |
538
+ | errors.APIError | 4XX, 5XX | \*/\* |
539
+
450
540
  ## tokenizedAssetsCreateAccount
451
541
 
452
542
  Create a Tokenized Assets Account for a wallet address.