@clossir-tech/ts-sdk 0.10.3 → 0.10.4

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 (215) hide show
  1. package/esm/funcs/account-timeseries-get-accounts-holdings.js +1 -1
  2. package/esm/funcs/account-timeseries-get-accounts-holdings.js.map +1 -1
  3. package/esm/funcs/account-timeseries-get-accounts-portfolio.js +1 -1
  4. package/esm/funcs/account-timeseries-get-accounts-portfolio.js.map +1 -1
  5. package/esm/funcs/assets-get-orgs-by-org-id-assets-by-asset-id-holders.js +2 -0
  6. package/esm/funcs/assets-get-orgs-by-org-id-assets-by-asset-id-holders.js.map +1 -1
  7. package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-deploy.d.ts +1 -1
  8. package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-deploy.js +1 -1
  9. package/esm/funcs/assets-post-orgs-by-org-id-assets.d.ts +1 -1
  10. package/esm/funcs/assets-post-orgs-by-org-id-assets.js +1 -1
  11. package/esm/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.js +2 -0
  12. package/esm/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.js.map +1 -1
  13. package/esm/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions.js +2 -0
  14. package/esm/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions.js.map +1 -1
  15. package/esm/funcs/fees-get-orgs-by-org-id-fee-distributions.js +2 -0
  16. package/esm/funcs/fees-get-orgs-by-org-id-fee-distributions.js.map +1 -1
  17. package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orderbook.js +2 -0
  18. package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orderbook.js.map +1 -1
  19. package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.js +2 -0
  20. package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.js.map +1 -1
  21. package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.js +2 -0
  22. package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.js.map +1 -1
  23. package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id.js +2 -0
  24. package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id.js.map +1 -1
  25. package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets.js +2 -0
  26. package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets.js.map +1 -1
  27. package/esm/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets.d.ts +1 -1
  28. package/esm/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets.js +1 -1
  29. package/esm/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-history.js +2 -0
  30. package/esm/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-history.js.map +1 -1
  31. package/esm/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-latest.js +2 -0
  32. package/esm/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-latest.js.map +1 -1
  33. package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-epochs.js +2 -0
  34. package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-epochs.js.map +1 -1
  35. package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-status.js +2 -0
  36. package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-status.js.map +1 -1
  37. package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault.js +2 -0
  38. package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault.js.map +1 -1
  39. package/esm/lib/config.d.ts +2 -2
  40. package/esm/lib/config.js +2 -2
  41. package/esm/models/operations/get-accounts-holdings-history.d.ts +6 -0
  42. package/esm/models/operations/get-accounts-holdings-history.d.ts.map +1 -1
  43. package/esm/models/operations/get-accounts-holdings-history.js.map +1 -1
  44. package/esm/models/operations/get-accounts-ledger.d.ts +6 -0
  45. package/esm/models/operations/get-accounts-ledger.d.ts.map +1 -1
  46. package/esm/models/operations/get-accounts-ledger.js.map +1 -1
  47. package/esm/models/operations/get-accounts-transactions.d.ts +6 -0
  48. package/esm/models/operations/get-accounts-transactions.d.ts.map +1 -1
  49. package/esm/models/operations/get-accounts-transactions.js.map +1 -1
  50. package/esm/models/operations/get-accounts-transfers.d.ts +6 -0
  51. package/esm/models/operations/get-accounts-transfers.d.ts.map +1 -1
  52. package/esm/models/operations/get-accounts-transfers.js.map +1 -1
  53. package/esm/models/operations/get-assets-by-asset-id.d.ts +1 -1
  54. package/esm/models/operations/get-assets-by-asset-id.js +1 -1
  55. package/esm/models/operations/get-assets.d.ts +1 -1
  56. package/esm/models/operations/get-assets.js +1 -1
  57. package/esm/models/operations/get-chains-by-eid.d.ts +0 -1
  58. package/esm/models/operations/get-chains-by-eid.d.ts.map +1 -1
  59. package/esm/models/operations/get-chains-by-eid.js +0 -2
  60. package/esm/models/operations/get-chains-by-eid.js.map +1 -1
  61. package/esm/models/operations/get-chains.d.ts +0 -1
  62. package/esm/models/operations/get-chains.d.ts.map +1 -1
  63. package/esm/models/operations/get-chains.js +0 -2
  64. package/esm/models/operations/get-chains.js.map +1 -1
  65. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.d.ts +4 -20
  66. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.d.ts.map +1 -1
  67. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.js +4 -29
  68. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.js.map +1 -1
  69. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions.d.ts +4 -20
  70. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions.d.ts.map +1 -1
  71. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions.js +4 -28
  72. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions.js.map +1 -1
  73. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-holders.d.ts +5 -10
  74. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-holders.d.ts.map +1 -1
  75. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-holders.js +2 -13
  76. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-holders.js.map +1 -1
  77. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.d.ts +9 -3
  78. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.d.ts.map +1 -1
  79. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.js +3 -3
  80. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.js.map +1 -1
  81. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.d.ts +11 -5
  82. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.d.ts.map +1 -1
  83. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.js +5 -5
  84. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.js.map +1 -1
  85. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id.d.ts +1 -5
  86. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id.d.ts.map +1 -1
  87. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id.js +1 -7
  88. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id.js.map +1 -1
  89. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets.d.ts +1 -5
  90. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets.d.ts.map +1 -1
  91. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets.js +1 -7
  92. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets.js.map +1 -1
  93. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-history.d.ts +1 -5
  94. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-history.d.ts.map +1 -1
  95. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-history.js +1 -6
  96. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-history.js.map +1 -1
  97. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-latest.d.ts +1 -5
  98. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-latest.d.ts.map +1 -1
  99. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-latest.js +1 -6
  100. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-latest.js.map +1 -1
  101. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-epochs.d.ts +5 -25
  102. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-epochs.d.ts.map +1 -1
  103. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-epochs.js +5 -30
  104. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-epochs.js.map +1 -1
  105. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-status.d.ts +1 -5
  106. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-status.d.ts.map +1 -1
  107. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-status.js +1 -6
  108. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-status.js.map +1 -1
  109. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault.d.ts +1 -5
  110. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault.d.ts.map +1 -1
  111. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault.js +1 -6
  112. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault.js.map +1 -1
  113. package/esm/models/operations/get-orgs-by-org-id-fee-distributions.d.ts +4 -20
  114. package/esm/models/operations/get-orgs-by-org-id-fee-distributions.d.ts.map +1 -1
  115. package/esm/models/operations/get-orgs-by-org-id-fee-distributions.js +4 -25
  116. package/esm/models/operations/get-orgs-by-org-id-fee-distributions.js.map +1 -1
  117. package/esm/models/operations/get-orgs-by-org-id-holdings-history.d.ts +6 -0
  118. package/esm/models/operations/get-orgs-by-org-id-holdings-history.d.ts.map +1 -1
  119. package/esm/models/operations/get-orgs-by-org-id-holdings-history.js.map +1 -1
  120. package/esm/models/operations/get-orgs-by-org-id-ledger-export.d.ts +6 -0
  121. package/esm/models/operations/get-orgs-by-org-id-ledger-export.d.ts.map +1 -1
  122. package/esm/models/operations/get-orgs-by-org-id-ledger-export.js.map +1 -1
  123. package/esm/models/operations/get-orgs-by-org-id-ledger.d.ts +6 -0
  124. package/esm/models/operations/get-orgs-by-org-id-ledger.d.ts.map +1 -1
  125. package/esm/models/operations/get-orgs-by-org-id-ledger.js.map +1 -1
  126. package/esm/models/operations/get-orgs-by-org-id-members-by-user-id-holdings.d.ts +2 -10
  127. package/esm/models/operations/get-orgs-by-org-id-members-by-user-id-holdings.d.ts.map +1 -1
  128. package/esm/models/operations/get-orgs-by-org-id-members-by-user-id-holdings.js +2 -13
  129. package/esm/models/operations/get-orgs-by-org-id-members-by-user-id-holdings.js.map +1 -1
  130. package/esm/models/operations/get-orgs-by-org-id-transfer-events.d.ts +6 -0
  131. package/esm/models/operations/get-orgs-by-org-id-transfer-events.d.ts.map +1 -1
  132. package/esm/models/operations/get-orgs-by-org-id-transfer-events.js.map +1 -1
  133. package/esm/models/operations/get-orgs-by-org-id-users-by-user-id-balance-summary.d.ts +4 -5
  134. package/esm/models/operations/get-orgs-by-org-id-users-by-user-id-balance-summary.d.ts.map +1 -1
  135. package/esm/models/operations/get-orgs-by-org-id-users-by-user-id-balance-summary.js +1 -7
  136. package/esm/models/operations/get-orgs-by-org-id-users-by-user-id-balance-summary.js.map +1 -1
  137. package/esm/models/operations/get-orgs-by-org-id-users-by-user-id-holdings.d.ts +2 -10
  138. package/esm/models/operations/get-orgs-by-org-id-users-by-user-id-holdings.d.ts.map +1 -1
  139. package/esm/models/operations/get-orgs-by-org-id-users-by-user-id-holdings.js +2 -13
  140. package/esm/models/operations/get-orgs-by-org-id-users-by-user-id-holdings.js.map +1 -1
  141. package/esm/models/operations/get-public-tickers-history.d.ts +6 -0
  142. package/esm/models/operations/get-public-tickers-history.d.ts.map +1 -1
  143. package/esm/models/operations/get-public-tickers-history.js.map +1 -1
  144. package/esm/models/operations/get-transfers-by-transfer-id.d.ts +4 -1
  145. package/esm/models/operations/get-transfers-by-transfer-id.d.ts.map +1 -1
  146. package/esm/models/operations/get-transfers-by-transfer-id.js +1 -1
  147. package/esm/models/operations/get-transfers-by-transfer-id.js.map +1 -1
  148. package/esm/models/operations/get-transfers.d.ts +16 -15
  149. package/esm/models/operations/get-transfers.d.ts.map +1 -1
  150. package/esm/models/operations/get-transfers.js +9 -19
  151. package/esm/models/operations/get-transfers.js.map +1 -1
  152. package/esm/models/operations/post-uploads-presigned.d.ts +4 -4
  153. package/esm/models/operations/post-uploads-presigned.d.ts.map +1 -1
  154. package/esm/models/operations/post-uploads-presigned.js +3 -3
  155. package/esm/models/operations/post-uploads-presigned.js.map +1 -1
  156. package/esm/sdk/assets.d.ts +2 -2
  157. package/esm/sdk/assets.js +2 -2
  158. package/esm/sdk/markets.d.ts +1 -1
  159. package/esm/sdk/markets.js +1 -1
  160. package/jsr.json +1 -1
  161. package/package.json +3 -3
  162. package/src/funcs/account-timeseries-get-accounts-holdings.ts +1 -1
  163. package/src/funcs/account-timeseries-get-accounts-portfolio.ts +1 -1
  164. package/src/funcs/assets-get-orgs-by-org-id-assets-by-asset-id-holders.ts +3 -0
  165. package/src/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-deploy.ts +1 -1
  166. package/src/funcs/assets-post-orgs-by-org-id-assets.ts +1 -1
  167. package/src/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.ts +3 -0
  168. package/src/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions.ts +3 -0
  169. package/src/funcs/fees-get-orgs-by-org-id-fee-distributions.ts +3 -0
  170. package/src/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orderbook.ts +3 -0
  171. package/src/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.ts +3 -0
  172. package/src/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.ts +3 -0
  173. package/src/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id.ts +3 -0
  174. package/src/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets.ts +3 -0
  175. package/src/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets.ts +1 -1
  176. package/src/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-history.ts +3 -0
  177. package/src/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-latest.ts +3 -0
  178. package/src/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-epochs.ts +3 -0
  179. package/src/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-status.ts +3 -0
  180. package/src/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault.ts +3 -0
  181. package/src/lib/config.ts +2 -2
  182. package/src/models/operations/get-accounts-holdings-history.ts +6 -0
  183. package/src/models/operations/get-accounts-ledger.ts +6 -0
  184. package/src/models/operations/get-accounts-transactions.ts +6 -0
  185. package/src/models/operations/get-accounts-transfers.ts +6 -0
  186. package/src/models/operations/get-assets-by-asset-id.ts +2 -2
  187. package/src/models/operations/get-assets.ts +2 -2
  188. package/src/models/operations/get-chains-by-eid.ts +0 -3
  189. package/src/models/operations/get-chains.ts +0 -3
  190. package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.ts +8 -121
  191. package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions.ts +8 -122
  192. package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-holders.ts +7 -53
  193. package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.ts +12 -6
  194. package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.ts +16 -10
  195. package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id.ts +2 -30
  196. package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets.ts +2 -30
  197. package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-history.ts +2 -29
  198. package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-latest.ts +2 -27
  199. package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-epochs.ts +10 -117
  200. package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-status.ts +2 -27
  201. package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault.ts +2 -27
  202. package/src/models/operations/get-orgs-by-org-id-fee-distributions.ts +8 -92
  203. package/src/models/operations/get-orgs-by-org-id-holdings-history.ts +6 -0
  204. package/src/models/operations/get-orgs-by-org-id-ledger-export.ts +6 -0
  205. package/src/models/operations/get-orgs-by-org-id-ledger.ts +6 -0
  206. package/src/models/operations/get-orgs-by-org-id-members-by-user-id-holdings.ts +4 -57
  207. package/src/models/operations/get-orgs-by-org-id-transfer-events.ts +6 -0
  208. package/src/models/operations/get-orgs-by-org-id-users-by-user-id-balance-summary.ts +5 -26
  209. package/src/models/operations/get-orgs-by-org-id-users-by-user-id-holdings.ts +4 -55
  210. package/src/models/operations/get-public-tickers-history.ts +6 -0
  211. package/src/models/operations/get-transfers-by-transfer-id.ts +5 -2
  212. package/src/models/operations/get-transfers.ts +20 -41
  213. package/src/models/operations/post-uploads-presigned.ts +11 -19
  214. package/src/sdk/assets.ts +2 -2
  215. package/src/sdk/markets.ts +1 -1
@@ -15,10 +15,6 @@ export type GetOrgsByOrgIdAssetsByAssetIdNavHistoryRequest = {
15
15
  assetId: string;
16
16
  };
17
17
 
18
- export type GetOrgsByOrgIdAssetsByAssetIdNavHistoryNavPerShare =
19
- | string
20
- | number;
21
-
22
18
  export type GetOrgsByOrgIdAssetsByAssetIdNavHistoryRound = string | number;
23
19
 
24
20
  /**
@@ -28,7 +24,7 @@ export type Update = {
28
24
  id?: string | null | undefined;
29
25
  assetId?: string | null | undefined;
30
26
  chainEid?: number | null | undefined;
31
- navPerShare?: string | number | null | undefined;
27
+ navPerShare?: string | null | undefined;
32
28
  asOfTimestamp?: string | null | undefined;
33
29
  round?: string | number | null | undefined;
34
30
  oracleType?: string | null | undefined;
@@ -88,27 +84,6 @@ export function getOrgsByOrgIdAssetsByAssetIdNavHistoryRequestToJSON(
88
84
  );
89
85
  }
90
86
 
91
- /** @internal */
92
- export const GetOrgsByOrgIdAssetsByAssetIdNavHistoryNavPerShare$inboundSchema:
93
- z.ZodMiniType<GetOrgsByOrgIdAssetsByAssetIdNavHistoryNavPerShare, unknown> =
94
- smartUnion([types.string(), types.number()]);
95
-
96
- export function getOrgsByOrgIdAssetsByAssetIdNavHistoryNavPerShareFromJSON(
97
- jsonString: string,
98
- ): SafeParseResult<
99
- GetOrgsByOrgIdAssetsByAssetIdNavHistoryNavPerShare,
100
- SDKValidationError
101
- > {
102
- return safeParse(
103
- jsonString,
104
- (x) =>
105
- GetOrgsByOrgIdAssetsByAssetIdNavHistoryNavPerShare$inboundSchema.parse(
106
- JSON.parse(x),
107
- ),
108
- `Failed to parse 'GetOrgsByOrgIdAssetsByAssetIdNavHistoryNavPerShare' from JSON`,
109
- );
110
- }
111
-
112
87
  /** @internal */
113
88
  export const GetOrgsByOrgIdAssetsByAssetIdNavHistoryRound$inboundSchema:
114
89
  z.ZodMiniType<GetOrgsByOrgIdAssetsByAssetIdNavHistoryRound, unknown> =
@@ -137,9 +112,7 @@ export const Update$inboundSchema: z.ZodMiniType<Update, unknown> = z.pipe(
137
112
  id: z.optional(z.nullable(types.string())),
138
113
  asset_id: z.optional(z.nullable(types.string())),
139
114
  chain_eid: z.optional(z.nullable(types.number())),
140
- nav_per_share: z.optional(
141
- z.nullable(smartUnion([types.string(), types.number()])),
142
- ),
115
+ nav_per_share: z.optional(z.nullable(types.string())),
143
116
  as_of_timestamp: z.optional(z.nullable(types.string())),
144
117
  round: z.optional(
145
118
  z.nullable(smartUnion([types.string(), types.number()])),
@@ -15,8 +15,6 @@ export type GetOrgsByOrgIdAssetsByAssetIdNavLatestRequest = {
15
15
  assetId: string;
16
16
  };
17
17
 
18
- export type GetOrgsByOrgIdAssetsByAssetIdNavLatestNavPerShare = string | number;
19
-
20
18
  export type GetOrgsByOrgIdAssetsByAssetIdNavLatestRound = string | number;
21
19
 
22
20
  /**
@@ -26,7 +24,7 @@ export type Nav = {
26
24
  id?: string | null | undefined;
27
25
  assetId?: string | null | undefined;
28
26
  chainEid?: number | null | undefined;
29
- navPerShare?: string | number | null | undefined;
27
+ navPerShare?: string | null | undefined;
30
28
  asOfTimestamp?: string | null | undefined;
31
29
  round?: string | number | null | undefined;
32
30
  oracleType?: string | null | undefined;
@@ -74,27 +72,6 @@ export function getOrgsByOrgIdAssetsByAssetIdNavLatestRequestToJSON(
74
72
  );
75
73
  }
76
74
 
77
- /** @internal */
78
- export const GetOrgsByOrgIdAssetsByAssetIdNavLatestNavPerShare$inboundSchema:
79
- z.ZodMiniType<GetOrgsByOrgIdAssetsByAssetIdNavLatestNavPerShare, unknown> =
80
- smartUnion([types.string(), types.number()]);
81
-
82
- export function getOrgsByOrgIdAssetsByAssetIdNavLatestNavPerShareFromJSON(
83
- jsonString: string,
84
- ): SafeParseResult<
85
- GetOrgsByOrgIdAssetsByAssetIdNavLatestNavPerShare,
86
- SDKValidationError
87
- > {
88
- return safeParse(
89
- jsonString,
90
- (x) =>
91
- GetOrgsByOrgIdAssetsByAssetIdNavLatestNavPerShare$inboundSchema.parse(
92
- JSON.parse(x),
93
- ),
94
- `Failed to parse 'GetOrgsByOrgIdAssetsByAssetIdNavLatestNavPerShare' from JSON`,
95
- );
96
- }
97
-
98
75
  /** @internal */
99
76
  export const GetOrgsByOrgIdAssetsByAssetIdNavLatestRound$inboundSchema:
100
77
  z.ZodMiniType<GetOrgsByOrgIdAssetsByAssetIdNavLatestRound, unknown> =
@@ -123,9 +100,7 @@ export const Nav$inboundSchema: z.ZodMiniType<Nav, unknown> = z.pipe(
123
100
  id: z.optional(z.nullable(types.string())),
124
101
  asset_id: z.optional(z.nullable(types.string())),
125
102
  chain_eid: z.optional(z.nullable(types.number())),
126
- nav_per_share: z.optional(
127
- z.nullable(smartUnion([types.string(), types.number()])),
128
- ),
103
+ nav_per_share: z.optional(z.nullable(types.string())),
129
104
  as_of_timestamp: z.optional(z.nullable(types.string())),
130
105
  round: z.optional(
131
106
  z.nullable(smartUnion([types.string(), types.number()])),
@@ -17,20 +17,8 @@ export type GetOrgsByOrgIdAssetsByAssetIdVaultEpochsRequest = {
17
17
 
18
18
  export type EpochId = string | number;
19
19
 
20
- export type GetOrgsByOrgIdAssetsByAssetIdVaultEpochsNavPerShare =
21
- | string
22
- | number;
23
-
24
20
  export type NavRound = string | number;
25
21
 
26
- export type TotalDepositRequests = string | number;
27
-
28
- export type TotalRedeemRequests = string | number;
29
-
30
- export type MgmtFeeSharesMinted = string | number;
31
-
32
- export type PerfFeeSharesMinted = string | number;
33
-
34
22
  /**
35
23
  * A row of the `vault_epochs` table.
36
24
  */
@@ -41,15 +29,15 @@ export type Epoch = {
41
29
  startAt?: string | null | undefined;
42
30
  endAt?: string | null | undefined;
43
31
  settledAt?: string | null | undefined;
44
- navPerShare?: string | number | null | undefined;
32
+ navPerShare?: string | null | undefined;
45
33
  navRound?: string | number | null | undefined;
46
34
  navSource?: string | null | undefined;
47
- totalDepositRequests?: string | number | null | undefined;
48
- totalRedeemRequests?: string | number | null | undefined;
35
+ totalDepositRequests?: string | null | undefined;
36
+ totalRedeemRequests?: string | null | undefined;
49
37
  depositFulfillmentBps?: number | null | undefined;
50
38
  redeemFulfillmentBps?: number | null | undefined;
51
- mgmtFeeSharesMinted?: string | number | null | undefined;
52
- perfFeeSharesMinted?: string | number | null | undefined;
39
+ mgmtFeeSharesMinted?: string | null | undefined;
40
+ perfFeeSharesMinted?: string | null | undefined;
53
41
  txHash?: string | null | undefined;
54
42
  createdAt?: string | null | undefined;
55
43
  [additionalProperties: string]: unknown;
@@ -115,27 +103,6 @@ export function epochIdFromJSON(
115
103
  );
116
104
  }
117
105
 
118
- /** @internal */
119
- export const GetOrgsByOrgIdAssetsByAssetIdVaultEpochsNavPerShare$inboundSchema:
120
- z.ZodMiniType<GetOrgsByOrgIdAssetsByAssetIdVaultEpochsNavPerShare, unknown> =
121
- smartUnion([types.string(), types.number()]);
122
-
123
- export function getOrgsByOrgIdAssetsByAssetIdVaultEpochsNavPerShareFromJSON(
124
- jsonString: string,
125
- ): SafeParseResult<
126
- GetOrgsByOrgIdAssetsByAssetIdVaultEpochsNavPerShare,
127
- SDKValidationError
128
- > {
129
- return safeParse(
130
- jsonString,
131
- (x) =>
132
- GetOrgsByOrgIdAssetsByAssetIdVaultEpochsNavPerShare$inboundSchema.parse(
133
- JSON.parse(x),
134
- ),
135
- `Failed to parse 'GetOrgsByOrgIdAssetsByAssetIdVaultEpochsNavPerShare' from JSON`,
136
- );
137
- }
138
-
139
106
  /** @internal */
140
107
  export const NavRound$inboundSchema: z.ZodMiniType<NavRound, unknown> =
141
108
  smartUnion([types.string(), types.number()]);
@@ -150,70 +117,6 @@ export function navRoundFromJSON(
150
117
  );
151
118
  }
152
119
 
153
- /** @internal */
154
- export const TotalDepositRequests$inboundSchema: z.ZodMiniType<
155
- TotalDepositRequests,
156
- unknown
157
- > = smartUnion([types.string(), types.number()]);
158
-
159
- export function totalDepositRequestsFromJSON(
160
- jsonString: string,
161
- ): SafeParseResult<TotalDepositRequests, SDKValidationError> {
162
- return safeParse(
163
- jsonString,
164
- (x) => TotalDepositRequests$inboundSchema.parse(JSON.parse(x)),
165
- `Failed to parse 'TotalDepositRequests' from JSON`,
166
- );
167
- }
168
-
169
- /** @internal */
170
- export const TotalRedeemRequests$inboundSchema: z.ZodMiniType<
171
- TotalRedeemRequests,
172
- unknown
173
- > = smartUnion([types.string(), types.number()]);
174
-
175
- export function totalRedeemRequestsFromJSON(
176
- jsonString: string,
177
- ): SafeParseResult<TotalRedeemRequests, SDKValidationError> {
178
- return safeParse(
179
- jsonString,
180
- (x) => TotalRedeemRequests$inboundSchema.parse(JSON.parse(x)),
181
- `Failed to parse 'TotalRedeemRequests' from JSON`,
182
- );
183
- }
184
-
185
- /** @internal */
186
- export const MgmtFeeSharesMinted$inboundSchema: z.ZodMiniType<
187
- MgmtFeeSharesMinted,
188
- unknown
189
- > = smartUnion([types.string(), types.number()]);
190
-
191
- export function mgmtFeeSharesMintedFromJSON(
192
- jsonString: string,
193
- ): SafeParseResult<MgmtFeeSharesMinted, SDKValidationError> {
194
- return safeParse(
195
- jsonString,
196
- (x) => MgmtFeeSharesMinted$inboundSchema.parse(JSON.parse(x)),
197
- `Failed to parse 'MgmtFeeSharesMinted' from JSON`,
198
- );
199
- }
200
-
201
- /** @internal */
202
- export const PerfFeeSharesMinted$inboundSchema: z.ZodMiniType<
203
- PerfFeeSharesMinted,
204
- unknown
205
- > = smartUnion([types.string(), types.number()]);
206
-
207
- export function perfFeeSharesMintedFromJSON(
208
- jsonString: string,
209
- ): SafeParseResult<PerfFeeSharesMinted, SDKValidationError> {
210
- return safeParse(
211
- jsonString,
212
- (x) => PerfFeeSharesMinted$inboundSchema.parse(JSON.parse(x)),
213
- `Failed to parse 'PerfFeeSharesMinted' from JSON`,
214
- );
215
- }
216
-
217
120
  /** @internal */
218
121
  export const Epoch$inboundSchema: z.ZodMiniType<Epoch, unknown> = z.pipe(
219
122
  z.catchall(
@@ -226,27 +129,17 @@ export const Epoch$inboundSchema: z.ZodMiniType<Epoch, unknown> = z.pipe(
226
129
  start_at: z.optional(z.nullable(types.string())),
227
130
  end_at: z.optional(z.nullable(types.string())),
228
131
  settled_at: z.optional(z.nullable(types.string())),
229
- nav_per_share: z.optional(
230
- z.nullable(smartUnion([types.string(), types.number()])),
231
- ),
132
+ nav_per_share: z.optional(z.nullable(types.string())),
232
133
  nav_round: z.optional(
233
134
  z.nullable(smartUnion([types.string(), types.number()])),
234
135
  ),
235
136
  nav_source: z.optional(z.nullable(types.string())),
236
- total_deposit_requests: z.optional(
237
- z.nullable(smartUnion([types.string(), types.number()])),
238
- ),
239
- total_redeem_requests: z.optional(
240
- z.nullable(smartUnion([types.string(), types.number()])),
241
- ),
137
+ total_deposit_requests: z.optional(z.nullable(types.string())),
138
+ total_redeem_requests: z.optional(z.nullable(types.string())),
242
139
  deposit_fulfillment_bps: z.optional(z.nullable(types.number())),
243
140
  redeem_fulfillment_bps: z.optional(z.nullable(types.number())),
244
- mgmt_fee_shares_minted: z.optional(
245
- z.nullable(smartUnion([types.string(), types.number()])),
246
- ),
247
- perf_fee_shares_minted: z.optional(
248
- z.nullable(smartUnion([types.string(), types.number()])),
249
- ),
141
+ mgmt_fee_shares_minted: z.optional(z.nullable(types.string())),
142
+ perf_fee_shares_minted: z.optional(z.nullable(types.string())),
250
143
  tx_hash: z.optional(z.nullable(types.string())),
251
144
  created_at: z.optional(z.nullable(types.string())),
252
145
  }),
@@ -15,8 +15,6 @@ export type GetOrgsByOrgIdAssetsByAssetIdVaultStatusRequest = {
15
15
  assetId: string;
16
16
  };
17
17
 
18
- export type GetOrgsByOrgIdAssetsByAssetIdVaultStatusLatestNav = string | number;
19
-
20
18
  export type GetOrgsByOrgIdAssetsByAssetIdVaultStatusLatestNavRound =
21
19
  | string
22
20
  | number;
@@ -28,7 +26,7 @@ export type GetOrgsByOrgIdAssetsByAssetIdVaultStatusVault = {
28
26
  vaultAddress?: string | null | undefined;
29
27
  vaultStatus?: string | null | undefined;
30
28
  feesSplitterAddress?: string | null | undefined;
31
- latestNav?: string | number | null | undefined;
29
+ latestNav?: string | null | undefined;
32
30
  latestNavRound?: string | number | null | undefined;
33
31
  latestNavAt?: string | null | undefined;
34
32
  [additionalProperties: string]: unknown;
@@ -68,27 +66,6 @@ export function getOrgsByOrgIdAssetsByAssetIdVaultStatusRequestToJSON(
68
66
  );
69
67
  }
70
68
 
71
- /** @internal */
72
- export const GetOrgsByOrgIdAssetsByAssetIdVaultStatusLatestNav$inboundSchema:
73
- z.ZodMiniType<GetOrgsByOrgIdAssetsByAssetIdVaultStatusLatestNav, unknown> =
74
- smartUnion([types.string(), types.number()]);
75
-
76
- export function getOrgsByOrgIdAssetsByAssetIdVaultStatusLatestNavFromJSON(
77
- jsonString: string,
78
- ): SafeParseResult<
79
- GetOrgsByOrgIdAssetsByAssetIdVaultStatusLatestNav,
80
- SDKValidationError
81
- > {
82
- return safeParse(
83
- jsonString,
84
- (x) =>
85
- GetOrgsByOrgIdAssetsByAssetIdVaultStatusLatestNav$inboundSchema.parse(
86
- JSON.parse(x),
87
- ),
88
- `Failed to parse 'GetOrgsByOrgIdAssetsByAssetIdVaultStatusLatestNav' from JSON`,
89
- );
90
- }
91
-
92
69
  /** @internal */
93
70
  export const GetOrgsByOrgIdAssetsByAssetIdVaultStatusLatestNavRound$inboundSchema:
94
71
  z.ZodMiniType<
@@ -120,9 +97,7 @@ export const GetOrgsByOrgIdAssetsByAssetIdVaultStatusVault$inboundSchema:
120
97
  vault_address: z.optional(z.nullable(types.string())),
121
98
  vault_status: z.optional(z.nullable(types.string())),
122
99
  fees_splitter_address: z.optional(z.nullable(types.string())),
123
- latest_nav: z.optional(
124
- z.nullable(smartUnion([types.string(), types.number()])),
125
- ),
100
+ latest_nav: z.optional(z.nullable(types.string())),
126
101
  latest_nav_round: z.optional(
127
102
  z.nullable(smartUnion([types.string(), types.number()])),
128
103
  ),
@@ -15,8 +15,6 @@ export type GetOrgsByOrgIdAssetsByAssetIdVaultRequest = {
15
15
  assetId: string;
16
16
  };
17
17
 
18
- export type GetOrgsByOrgIdAssetsByAssetIdVaultLatestNav = string | number;
19
-
20
18
  export type GetOrgsByOrgIdAssetsByAssetIdVaultLatestNavRound = string | number;
21
19
 
22
20
  /**
@@ -26,7 +24,7 @@ export type GetOrgsByOrgIdAssetsByAssetIdVaultVault = {
26
24
  vaultAddress?: string | null | undefined;
27
25
  vaultStatus?: string | null | undefined;
28
26
  feesSplitterAddress?: string | null | undefined;
29
- latestNav?: string | number | null | undefined;
27
+ latestNav?: string | null | undefined;
30
28
  latestNavRound?: string | number | null | undefined;
31
29
  latestNavAt?: string | null | undefined;
32
30
  [additionalProperties: string]: unknown;
@@ -66,27 +64,6 @@ export function getOrgsByOrgIdAssetsByAssetIdVaultRequestToJSON(
66
64
  );
67
65
  }
68
66
 
69
- /** @internal */
70
- export const GetOrgsByOrgIdAssetsByAssetIdVaultLatestNav$inboundSchema:
71
- z.ZodMiniType<GetOrgsByOrgIdAssetsByAssetIdVaultLatestNav, unknown> =
72
- smartUnion([types.string(), types.number()]);
73
-
74
- export function getOrgsByOrgIdAssetsByAssetIdVaultLatestNavFromJSON(
75
- jsonString: string,
76
- ): SafeParseResult<
77
- GetOrgsByOrgIdAssetsByAssetIdVaultLatestNav,
78
- SDKValidationError
79
- > {
80
- return safeParse(
81
- jsonString,
82
- (x) =>
83
- GetOrgsByOrgIdAssetsByAssetIdVaultLatestNav$inboundSchema.parse(
84
- JSON.parse(x),
85
- ),
86
- `Failed to parse 'GetOrgsByOrgIdAssetsByAssetIdVaultLatestNav' from JSON`,
87
- );
88
- }
89
-
90
67
  /** @internal */
91
68
  export const GetOrgsByOrgIdAssetsByAssetIdVaultLatestNavRound$inboundSchema:
92
69
  z.ZodMiniType<GetOrgsByOrgIdAssetsByAssetIdVaultLatestNavRound, unknown> =
@@ -116,9 +93,7 @@ export const GetOrgsByOrgIdAssetsByAssetIdVaultVault$inboundSchema:
116
93
  vault_address: z.optional(z.nullable(types.string())),
117
94
  vault_status: z.optional(z.nullable(types.string())),
118
95
  fees_splitter_address: z.optional(z.nullable(types.string())),
119
- latest_nav: z.optional(
120
- z.nullable(smartUnion([types.string(), types.number()])),
121
- ),
96
+ latest_nav: z.optional(z.nullable(types.string())),
122
97
  latest_nav_round: z.optional(
123
98
  z.nullable(smartUnion([types.string(), types.number()])),
124
99
  ),
@@ -7,21 +7,12 @@ import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import * as types from "../../types/primitives.js";
10
- import { smartUnion } from "../../types/smart-union.js";
11
10
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
12
11
 
13
12
  export type GetOrgsByOrgIdFeeDistributionsRequest = {
14
13
  orgId: string;
15
14
  };
16
15
 
17
- export type GetOrgsByOrgIdFeeDistributionsTotalAmount = string | number;
18
-
19
- export type PlatformAmount = string | number;
20
-
21
- export type ParentOrgAmount = string | number;
22
-
23
- export type SubOrgAmount = string | number;
24
-
25
16
  /**
26
17
  * A row of the `fee_distributions` table.
27
18
  */
@@ -31,10 +22,10 @@ export type GetOrgsByOrgIdFeeDistributionsDistribution = {
31
22
  assetId?: string | null | undefined;
32
23
  distributionId?: string | null | undefined;
33
24
  tokenAddress?: string | null | undefined;
34
- totalAmount?: string | number | null | undefined;
35
- platformAmount?: string | number | null | undefined;
36
- parentOrgAmount?: string | number | null | undefined;
37
- subOrgAmount?: string | number | null | undefined;
25
+ totalAmount?: string | null | undefined;
26
+ platformAmount?: string | null | undefined;
27
+ parentOrgAmount?: string | null | undefined;
28
+ subOrgAmount?: string | null | undefined;
38
29
  txHash?: string | null | undefined;
39
30
  chainEid?: number | null | undefined;
40
31
  createdAt?: string | null | undefined;
@@ -84,73 +75,6 @@ export function getOrgsByOrgIdFeeDistributionsRequestToJSON(
84
75
  );
85
76
  }
86
77
 
87
- /** @internal */
88
- export const GetOrgsByOrgIdFeeDistributionsTotalAmount$inboundSchema:
89
- z.ZodMiniType<GetOrgsByOrgIdFeeDistributionsTotalAmount, unknown> =
90
- smartUnion([types.string(), types.number()]);
91
-
92
- export function getOrgsByOrgIdFeeDistributionsTotalAmountFromJSON(
93
- jsonString: string,
94
- ): SafeParseResult<
95
- GetOrgsByOrgIdFeeDistributionsTotalAmount,
96
- SDKValidationError
97
- > {
98
- return safeParse(
99
- jsonString,
100
- (x) =>
101
- GetOrgsByOrgIdFeeDistributionsTotalAmount$inboundSchema.parse(
102
- JSON.parse(x),
103
- ),
104
- `Failed to parse 'GetOrgsByOrgIdFeeDistributionsTotalAmount' from JSON`,
105
- );
106
- }
107
-
108
- /** @internal */
109
- export const PlatformAmount$inboundSchema: z.ZodMiniType<
110
- PlatformAmount,
111
- unknown
112
- > = smartUnion([types.string(), types.number()]);
113
-
114
- export function platformAmountFromJSON(
115
- jsonString: string,
116
- ): SafeParseResult<PlatformAmount, SDKValidationError> {
117
- return safeParse(
118
- jsonString,
119
- (x) => PlatformAmount$inboundSchema.parse(JSON.parse(x)),
120
- `Failed to parse 'PlatformAmount' from JSON`,
121
- );
122
- }
123
-
124
- /** @internal */
125
- export const ParentOrgAmount$inboundSchema: z.ZodMiniType<
126
- ParentOrgAmount,
127
- unknown
128
- > = smartUnion([types.string(), types.number()]);
129
-
130
- export function parentOrgAmountFromJSON(
131
- jsonString: string,
132
- ): SafeParseResult<ParentOrgAmount, SDKValidationError> {
133
- return safeParse(
134
- jsonString,
135
- (x) => ParentOrgAmount$inboundSchema.parse(JSON.parse(x)),
136
- `Failed to parse 'ParentOrgAmount' from JSON`,
137
- );
138
- }
139
-
140
- /** @internal */
141
- export const SubOrgAmount$inboundSchema: z.ZodMiniType<SubOrgAmount, unknown> =
142
- smartUnion([types.string(), types.number()]);
143
-
144
- export function subOrgAmountFromJSON(
145
- jsonString: string,
146
- ): SafeParseResult<SubOrgAmount, SDKValidationError> {
147
- return safeParse(
148
- jsonString,
149
- (x) => SubOrgAmount$inboundSchema.parse(JSON.parse(x)),
150
- `Failed to parse 'SubOrgAmount' from JSON`,
151
- );
152
- }
153
-
154
78
  /** @internal */
155
79
  export const GetOrgsByOrgIdFeeDistributionsDistribution$inboundSchema:
156
80
  z.ZodMiniType<GetOrgsByOrgIdFeeDistributionsDistribution, unknown> = z.pipe(
@@ -161,18 +85,10 @@ export const GetOrgsByOrgIdFeeDistributionsDistribution$inboundSchema:
161
85
  asset_id: z.optional(z.nullable(types.string())),
162
86
  distribution_id: z.optional(z.nullable(types.string())),
163
87
  token_address: z.optional(z.nullable(types.string())),
164
- total_amount: z.optional(
165
- z.nullable(smartUnion([types.string(), types.number()])),
166
- ),
167
- platform_amount: z.optional(
168
- z.nullable(smartUnion([types.string(), types.number()])),
169
- ),
170
- parent_org_amount: z.optional(
171
- z.nullable(smartUnion([types.string(), types.number()])),
172
- ),
173
- sub_org_amount: z.optional(
174
- z.nullable(smartUnion([types.string(), types.number()])),
175
- ),
88
+ total_amount: z.optional(z.nullable(types.string())),
89
+ platform_amount: z.optional(z.nullable(types.string())),
90
+ parent_org_amount: z.optional(z.nullable(types.string())),
91
+ sub_org_amount: z.optional(z.nullable(types.string())),
176
92
  tx_hash: z.optional(z.nullable(types.string())),
177
93
  chain_eid: z.optional(z.nullable(types.number())),
178
94
  created_at: z.optional(z.nullable(types.string())),
@@ -12,7 +12,13 @@ export type GetOrgsByOrgIdHoldingsHistoryRequest = {
12
12
  orgId: string;
13
13
  limit?: string | undefined;
14
14
  offset?: string | undefined;
15
+ /**
16
+ * ISO-8601 date (YYYY-MM-DD) or RFC 3339 date-time with Z or ±HH:MM offset
17
+ */
15
18
  from?: string | undefined;
19
+ /**
20
+ * ISO-8601 date (YYYY-MM-DD) or RFC 3339 date-time with Z or ±HH:MM offset
21
+ */
16
22
  to?: string | undefined;
17
23
  };
18
24
 
@@ -6,7 +6,13 @@ import * as z from "zod/v4-mini";
6
6
 
7
7
  export type GetOrgsByOrgIdLedgerExportRequest = {
8
8
  orgId: string;
9
+ /**
10
+ * ISO-8601 date (YYYY-MM-DD) or RFC 3339 date-time with Z or ±HH:MM offset
11
+ */
9
12
  from?: string | undefined;
13
+ /**
14
+ * ISO-8601 date (YYYY-MM-DD) or RFC 3339 date-time with Z or ±HH:MM offset
15
+ */
10
16
  to?: string | undefined;
11
17
  };
12
18
 
@@ -12,7 +12,13 @@ export type GetOrgsByOrgIdLedgerRequest = {
12
12
  orgId: string;
13
13
  limit?: string | undefined;
14
14
  offset?: string | undefined;
15
+ /**
16
+ * ISO-8601 date (YYYY-MM-DD) or RFC 3339 date-time with Z or ±HH:MM offset
17
+ */
15
18
  from?: string | undefined;
19
+ /**
20
+ * ISO-8601 date (YYYY-MM-DD) or RFC 3339 date-time with Z or ±HH:MM offset
21
+ */
16
22
  to?: string | undefined;
17
23
  entryKind?: string | undefined;
18
24
  assetId?: string | undefined;
@@ -7,7 +7,6 @@ import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import * as types from "../../types/primitives.js";
10
- import { smartUnion } from "../../types/smart-union.js";
11
10
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
12
11
 
13
12
  export type GetOrgsByOrgIdMembersByUserIdHoldingsSecurity = {
@@ -20,12 +19,6 @@ export type GetOrgsByOrgIdMembersByUserIdHoldingsRequest = {
20
19
  userId: string;
21
20
  };
22
21
 
23
- export type GetOrgsByOrgIdMembersByUserIdHoldingsBalance = string | number;
24
-
25
- export type GetOrgsByOrgIdMembersByUserIdHoldingsLockedBalance =
26
- | string
27
- | number;
28
-
29
22
  export type GetOrgsByOrgIdMembersByUserIdHoldingsAsset = {
30
23
  id: string;
31
24
  name?: string | null | undefined;
@@ -35,8 +28,8 @@ export type GetOrgsByOrgIdMembersByUserIdHoldingsAsset = {
35
28
  };
36
29
 
37
30
  export type GetOrgsByOrgIdMembersByUserIdHoldingsHolding = {
38
- balance?: string | number | null | undefined;
39
- lockedBalance?: string | number | null | undefined;
31
+ balance?: string | null | undefined;
32
+ lockedBalance?: string | null | undefined;
40
33
  walletAddress?: string | null | undefined;
41
34
  chainEid?: number | null | undefined;
42
35
  asset?: GetOrgsByOrgIdMembersByUserIdHoldingsAsset | null | undefined;
@@ -103,48 +96,6 @@ export function getOrgsByOrgIdMembersByUserIdHoldingsRequestToJSON(
103
96
  );
104
97
  }
105
98
 
106
- /** @internal */
107
- export const GetOrgsByOrgIdMembersByUserIdHoldingsBalance$inboundSchema:
108
- z.ZodMiniType<GetOrgsByOrgIdMembersByUserIdHoldingsBalance, unknown> =
109
- smartUnion([types.string(), types.number()]);
110
-
111
- export function getOrgsByOrgIdMembersByUserIdHoldingsBalanceFromJSON(
112
- jsonString: string,
113
- ): SafeParseResult<
114
- GetOrgsByOrgIdMembersByUserIdHoldingsBalance,
115
- SDKValidationError
116
- > {
117
- return safeParse(
118
- jsonString,
119
- (x) =>
120
- GetOrgsByOrgIdMembersByUserIdHoldingsBalance$inboundSchema.parse(
121
- JSON.parse(x),
122
- ),
123
- `Failed to parse 'GetOrgsByOrgIdMembersByUserIdHoldingsBalance' from JSON`,
124
- );
125
- }
126
-
127
- /** @internal */
128
- export const GetOrgsByOrgIdMembersByUserIdHoldingsLockedBalance$inboundSchema:
129
- z.ZodMiniType<GetOrgsByOrgIdMembersByUserIdHoldingsLockedBalance, unknown> =
130
- smartUnion([types.string(), types.number()]);
131
-
132
- export function getOrgsByOrgIdMembersByUserIdHoldingsLockedBalanceFromJSON(
133
- jsonString: string,
134
- ): SafeParseResult<
135
- GetOrgsByOrgIdMembersByUserIdHoldingsLockedBalance,
136
- SDKValidationError
137
- > {
138
- return safeParse(
139
- jsonString,
140
- (x) =>
141
- GetOrgsByOrgIdMembersByUserIdHoldingsLockedBalance$inboundSchema.parse(
142
- JSON.parse(x),
143
- ),
144
- `Failed to parse 'GetOrgsByOrgIdMembersByUserIdHoldingsLockedBalance' from JSON`,
145
- );
146
- }
147
-
148
99
  /** @internal */
149
100
  export const GetOrgsByOrgIdMembersByUserIdHoldingsAsset$inboundSchema:
150
101
  z.ZodMiniType<GetOrgsByOrgIdMembersByUserIdHoldingsAsset, unknown> = z.pipe(
@@ -182,12 +133,8 @@ export function getOrgsByOrgIdMembersByUserIdHoldingsAssetFromJSON(
182
133
  export const GetOrgsByOrgIdMembersByUserIdHoldingsHolding$inboundSchema:
183
134
  z.ZodMiniType<GetOrgsByOrgIdMembersByUserIdHoldingsHolding, unknown> = z.pipe(
184
135
  z.object({
185
- balance: z.optional(
186
- z.nullable(smartUnion([types.string(), types.number()])),
187
- ),
188
- locked_balance: z.optional(
189
- z.nullable(smartUnion([types.string(), types.number()])),
190
- ),
136
+ balance: z.optional(z.nullable(types.string())),
137
+ locked_balance: z.optional(z.nullable(types.string())),
191
138
  wallet_address: z.optional(z.nullable(types.string())),
192
139
  chain_eid: z.optional(z.nullable(types.number())),
193
140
  asset: z.optional(z.nullable(z.lazy(() =>
@@ -12,7 +12,13 @@ export type GetOrgsByOrgIdTransferEventsRequest = {
12
12
  orgId: string;
13
13
  limit?: string | undefined;
14
14
  offset?: string | undefined;
15
+ /**
16
+ * ISO-8601 date (YYYY-MM-DD) or RFC 3339 date-time with Z or ±HH:MM offset
17
+ */
15
18
  from?: string | undefined;
19
+ /**
20
+ * ISO-8601 date (YYYY-MM-DD) or RFC 3339 date-time with Z or ±HH:MM offset
21
+ */
16
22
  to?: string | undefined;
17
23
  };
18
24