@chainstream-io/sdk 0.0.12 → 0.1.5

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 (1026) hide show
  1. package/dist/api/stream.d.ts +19 -0
  2. package/dist/api/stream.fields.d.ts +29 -0
  3. package/dist/api/stream.fields.js +45 -5
  4. package/dist/api/stream.js +123 -37
  5. package/dist/api/stream.model.js +5 -6
  6. package/dist/{src → esm}/api/stream.d.ts +68 -44
  7. package/dist/esm/api/stream.fields.d.ts +40 -0
  8. package/dist/{src → esm}/api/stream.fields.js +46 -12
  9. package/dist/{src → esm}/api/stream.js +575 -423
  10. package/dist/{src → esm}/api/stream.model.d.ts +28 -2
  11. package/dist/{src → esm}/api/stream.model.js +13 -12
  12. package/dist/{src → esm}/index.d.ts +5 -2
  13. package/dist/esm/index.js +108 -0
  14. package/dist/esm/openapi/apis/BlockchainApi.d.ts +57 -0
  15. package/dist/esm/openapi/apis/BlockchainApi.js +101 -0
  16. package/dist/esm/openapi/apis/DefiSolanaMoonshotApi.d.ts +44 -0
  17. package/dist/esm/openapi/apis/DefiSolanaMoonshotApi.js +92 -0
  18. package/dist/esm/openapi/apis/DefiSolanaPumpfunApi.d.ts +31 -0
  19. package/dist/esm/openapi/apis/DefiSolanaPumpfunApi.js +56 -0
  20. package/dist/esm/openapi/apis/DexApi.d.ts +166 -0
  21. package/dist/esm/openapi/apis/DexApi.js +318 -0
  22. package/dist/esm/openapi/apis/DexPoolApi.d.ts +48 -0
  23. package/dist/esm/openapi/apis/DexPoolApi.js +74 -0
  24. package/dist/esm/openapi/apis/EndpointApi.d.ts +119 -0
  25. package/dist/esm/openapi/apis/EndpointApi.js +279 -0
  26. package/dist/esm/openapi/apis/IpfsApi.d.ts +27 -0
  27. package/dist/esm/openapi/apis/IpfsApi.js +55 -0
  28. package/dist/esm/openapi/apis/JobsApi.d.ts +44 -0
  29. package/dist/esm/openapi/apis/JobsApi.js +90 -0
  30. package/dist/esm/openapi/apis/RankingApi.d.ts +565 -0
  31. package/dist/esm/openapi/apis/RankingApi.js +739 -0
  32. package/dist/esm/openapi/apis/RedPacketApi.d.ts +202 -0
  33. package/dist/esm/openapi/apis/RedPacketApi.js +413 -0
  34. package/dist/esm/openapi/apis/TokenApi.d.ts +966 -0
  35. package/dist/esm/openapi/apis/TokenApi.js +1748 -0
  36. package/dist/esm/openapi/apis/TradeApi.d.ts +278 -0
  37. package/dist/esm/openapi/apis/TradeApi.js +425 -0
  38. package/dist/esm/openapi/apis/TransactionApi.d.ts +32 -0
  39. package/dist/esm/openapi/apis/TransactionApi.js +60 -0
  40. package/dist/esm/openapi/apis/WalletApi.d.ts +141 -0
  41. package/dist/esm/openapi/apis/WalletApi.js +247 -0
  42. package/dist/esm/openapi/apis/WatchlistApi.d.ts +48 -0
  43. package/dist/esm/openapi/apis/WatchlistApi.js +74 -0
  44. package/dist/esm/openapi/apis/index.d.ts +15 -0
  45. package/dist/esm/openapi/apis/index.js +17 -0
  46. package/dist/esm/openapi/index.d.ts +3 -0
  47. package/dist/esm/openapi/index.js +5 -0
  48. package/dist/esm/openapi/models/BlockchainDTO.d.ts +50 -0
  49. package/dist/esm/openapi/models/BlockchainDTO.js +55 -0
  50. package/dist/esm/openapi/models/BlockchainLatestBlockDTO.d.ts +38 -0
  51. package/dist/esm/openapi/models/BlockchainLatestBlockDTO.js +47 -0
  52. package/dist/esm/openapi/models/BooleanResultDTO.d.ts +32 -0
  53. package/dist/esm/openapi/models/BooleanResultDTO.js +43 -0
  54. package/dist/esm/openapi/models/CalculatePnlInput.d.ts +32 -0
  55. package/dist/esm/openapi/models/CalculatePnlInput.js +41 -0
  56. package/dist/esm/openapi/models/Candle.d.ts +69 -0
  57. package/dist/esm/openapi/models/Candle.js +68 -0
  58. package/dist/esm/openapi/models/ClaimRedPacketInput.d.ts +50 -0
  59. package/dist/esm/openapi/models/ClaimRedPacketInput.js +49 -0
  60. package/dist/esm/openapi/models/CreateEndpointInput.d.ts +74 -0
  61. package/dist/esm/openapi/models/CreateEndpointInput.js +55 -0
  62. package/dist/esm/openapi/models/CreateRedPacketInput.d.ts +74 -0
  63. package/dist/esm/openapi/models/CreateRedPacketInput.js +61 -0
  64. package/dist/esm/openapi/models/CreateRedPacketReply.d.ts +38 -0
  65. package/dist/esm/openapi/models/CreateRedPacketReply.js +47 -0
  66. package/dist/esm/openapi/models/CreateTokenInput.d.ts +85 -0
  67. package/dist/esm/openapi/models/CreateTokenInput.js +73 -0
  68. package/dist/esm/openapi/models/CreateTokenReply.d.ts +38 -0
  69. package/dist/esm/openapi/models/CreateTokenReply.js +47 -0
  70. package/dist/esm/openapi/models/DexDTO.d.ts +50 -0
  71. package/dist/esm/openapi/models/DexDTO.js +49 -0
  72. package/dist/esm/openapi/models/DexPage.d.ts +63 -0
  73. package/dist/esm/openapi/models/DexPage.js +54 -0
  74. package/dist/esm/openapi/models/DexPoolDTO.d.ts +86 -0
  75. package/dist/esm/openapi/models/DexPoolDTO.js +67 -0
  76. package/dist/esm/openapi/models/EndpointListResponse.d.ts +51 -0
  77. package/dist/esm/openapi/models/EndpointListResponse.js +48 -0
  78. package/dist/esm/openapi/models/EndpointOperationResponse.d.ts +32 -0
  79. package/dist/esm/openapi/models/EndpointOperationResponse.js +41 -0
  80. package/dist/esm/openapi/models/EndpointResponse.d.ts +92 -0
  81. package/dist/esm/openapi/models/EndpointResponse.js +61 -0
  82. package/dist/esm/openapi/models/EndpointSecretResponse.d.ts +32 -0
  83. package/dist/esm/openapi/models/EndpointSecretResponse.js +41 -0
  84. package/dist/esm/openapi/models/FilterCondition.d.ts +95 -0
  85. package/dist/esm/openapi/models/FilterCondition.js +95 -0
  86. package/dist/esm/openapi/models/GainersAndLosersDTO.d.ts +50 -0
  87. package/dist/esm/openapi/models/GainersAndLosersDTO.js +55 -0
  88. package/dist/esm/openapi/models/GainersAndLosersPage.d.ts +63 -0
  89. package/dist/esm/openapi/models/GainersAndLosersPage.js +54 -0
  90. package/dist/esm/openapi/models/JobDTO.d.ts +38 -0
  91. package/dist/esm/openapi/models/JobDTO.js +47 -0
  92. package/dist/esm/openapi/models/JobStreamingDTO.d.ts +38 -0
  93. package/dist/esm/openapi/models/JobStreamingDTO.js +47 -0
  94. package/dist/esm/openapi/models/Link.d.ts +48 -0
  95. package/dist/esm/openapi/models/Link.js +56 -0
  96. package/dist/esm/openapi/models/MoonshotCreateTokenInput.d.ts +109 -0
  97. package/dist/esm/openapi/models/MoonshotCreateTokenInput.js +94 -0
  98. package/dist/esm/openapi/models/MoonshotCreateTokenReply.d.ts +38 -0
  99. package/dist/esm/openapi/models/MoonshotCreateTokenReply.js +47 -0
  100. package/dist/esm/openapi/models/MoonshotSubmitCreateToken200Response.d.ts +38 -0
  101. package/dist/esm/openapi/models/MoonshotSubmitCreateToken200Response.js +43 -0
  102. package/dist/esm/openapi/models/MoonshotSubmitCreateTokenInput.d.ts +38 -0
  103. package/dist/esm/openapi/models/MoonshotSubmitCreateTokenInput.js +45 -0
  104. package/dist/esm/openapi/models/PumpCreateTokenInput.d.ts +113 -0
  105. package/dist/esm/openapi/models/PumpCreateTokenInput.js +92 -0
  106. package/dist/esm/openapi/models/PumpCreateTokenReply.d.ts +38 -0
  107. package/dist/esm/openapi/models/PumpCreateTokenReply.js +45 -0
  108. package/dist/esm/openapi/models/QuoteResponse.d.ts +62 -0
  109. package/dist/esm/openapi/models/QuoteResponse.js +51 -0
  110. package/dist/esm/openapi/models/RedPacketClaimDTO.d.ts +90 -0
  111. package/dist/esm/openapi/models/RedPacketClaimDTO.js +86 -0
  112. package/dist/esm/openapi/models/RedPacketClaimsPage.d.ts +57 -0
  113. package/dist/esm/openapi/models/RedPacketClaimsPage.js +60 -0
  114. package/dist/esm/openapi/models/RedPacketDTO.d.ts +144 -0
  115. package/dist/esm/openapi/models/RedPacketDTO.js +122 -0
  116. package/dist/esm/openapi/models/RedPacketReply.d.ts +32 -0
  117. package/dist/esm/openapi/models/RedPacketReply.js +43 -0
  118. package/dist/esm/openapi/models/RedPacketSendTxInput.d.ts +32 -0
  119. package/dist/esm/openapi/models/RedPacketSendTxInput.js +43 -0
  120. package/dist/esm/openapi/models/RedPacketSendTxResponse.d.ts +32 -0
  121. package/dist/esm/openapi/models/RedPacketSendTxResponse.js +43 -0
  122. package/dist/esm/openapi/models/RedPacketsPage.d.ts +57 -0
  123. package/dist/esm/openapi/models/RedPacketsPage.js +60 -0
  124. package/dist/esm/openapi/models/Resolution.d.ts +33 -0
  125. package/dist/esm/openapi/models/Resolution.js +51 -0
  126. package/dist/esm/openapi/models/SendTxInput.d.ts +52 -0
  127. package/dist/esm/openapi/models/SendTxInput.js +54 -0
  128. package/dist/esm/openapi/models/SendTxResponse.d.ts +44 -0
  129. package/dist/esm/openapi/models/SendTxResponse.js +51 -0
  130. package/dist/esm/openapi/models/SwapInput.d.ts +99 -0
  131. package/dist/esm/openapi/models/SwapInput.js +84 -0
  132. package/dist/esm/openapi/models/SwapReply.d.ts +38 -0
  133. package/dist/esm/openapi/models/SwapReply.js +47 -0
  134. package/dist/esm/openapi/models/SwapRouteInput.d.ts +120 -0
  135. package/dist/esm/openapi/models/SwapRouteInput.js +89 -0
  136. package/dist/esm/openapi/models/SwapRouteResponse.d.ts +51 -0
  137. package/dist/esm/openapi/models/SwapRouteResponse.js +56 -0
  138. package/dist/esm/openapi/models/Token.d.ts +140 -0
  139. package/dist/esm/openapi/models/Token.js +95 -0
  140. package/dist/esm/openapi/models/TokenCreationDTO.d.ts +77 -0
  141. package/dist/esm/openapi/models/TokenCreationDTO.js +73 -0
  142. package/dist/esm/openapi/models/TokenCreationPage.d.ts +63 -0
  143. package/dist/esm/openapi/models/TokenCreationPage.js +54 -0
  144. package/dist/esm/openapi/models/TokenCreatorsDTO.d.ts +44 -0
  145. package/dist/esm/openapi/models/TokenCreatorsDTO.js +45 -0
  146. package/dist/esm/openapi/models/TokenExtraDTO.d.ts +152 -0
  147. package/dist/esm/openapi/models/TokenExtraDTO.js +81 -0
  148. package/dist/esm/openapi/models/TokenHolder.d.ts +50 -0
  149. package/dist/esm/openapi/models/TokenHolder.js +55 -0
  150. package/dist/esm/openapi/models/TokenHolderPage.d.ts +63 -0
  151. package/dist/esm/openapi/models/TokenHolderPage.js +54 -0
  152. package/dist/esm/openapi/models/TokenListPage.d.ts +63 -0
  153. package/dist/esm/openapi/models/TokenListPage.js +54 -0
  154. package/dist/esm/openapi/models/TokenMarketData.d.ts +122 -0
  155. package/dist/esm/openapi/models/TokenMarketData.js +81 -0
  156. package/dist/esm/openapi/models/TokenMetadata.d.ts +107 -0
  157. package/dist/esm/openapi/models/TokenMetadata.js +78 -0
  158. package/dist/esm/openapi/models/TokenPage.d.ts +69 -0
  159. package/dist/esm/openapi/models/TokenPage.js +56 -0
  160. package/dist/esm/openapi/models/TokenPriceDTO.d.ts +50 -0
  161. package/dist/esm/openapi/models/TokenPriceDTO.js +55 -0
  162. package/dist/esm/openapi/models/TokenPricePage.d.ts +63 -0
  163. package/dist/esm/openapi/models/TokenPricePage.js +54 -0
  164. package/dist/esm/openapi/models/TokenSocialMediasDTO.d.ts +104 -0
  165. package/dist/esm/openapi/models/TokenSocialMediasDTO.js +65 -0
  166. package/dist/esm/openapi/models/TokenStat.d.ts +788 -0
  167. package/dist/esm/openapi/models/TokenStat.js +451 -0
  168. package/dist/esm/openapi/models/TopTradersDTO.d.ts +98 -0
  169. package/dist/esm/openapi/models/TopTradersDTO.js +85 -0
  170. package/dist/esm/openapi/models/TopTradersPage.d.ts +63 -0
  171. package/dist/esm/openapi/models/TopTradersPage.js +54 -0
  172. package/dist/esm/openapi/models/TradeDetailDTO.d.ts +176 -0
  173. package/dist/esm/openapi/models/TradeDetailDTO.js +139 -0
  174. package/dist/esm/openapi/models/TradeEvent.d.ts +105 -0
  175. package/dist/esm/openapi/models/TradeEvent.js +92 -0
  176. package/dist/esm/openapi/models/TradePage.d.ts +63 -0
  177. package/dist/esm/openapi/models/TradePage.js +54 -0
  178. package/dist/esm/openapi/models/TradeType.d.ts +25 -0
  179. package/dist/esm/openapi/models/TradeType.js +43 -0
  180. package/dist/esm/openapi/models/UpdateEndpointInput.d.ts +80 -0
  181. package/dist/esm/openapi/models/UpdateEndpointInput.js +57 -0
  182. package/dist/esm/openapi/models/WalletBalanceDetailDTO.d.ts +176 -0
  183. package/dist/esm/openapi/models/WalletBalanceDetailDTO.js +139 -0
  184. package/dist/esm/openapi/models/WalletBalancesDTO.d.ts +45 -0
  185. package/dist/esm/openapi/models/WalletBalancesDTO.js +52 -0
  186. package/dist/esm/openapi/models/WalletPnlDTO.d.ts +164 -0
  187. package/dist/esm/openapi/models/WalletPnlDTO.js +131 -0
  188. package/dist/esm/openapi/models/index.d.ts +70 -0
  189. package/dist/esm/openapi/models/index.js +72 -0
  190. package/dist/esm/openapi/runtime.d.ts +184 -0
  191. package/dist/esm/openapi/runtime.js +322 -0
  192. package/dist/index.d.ts +3 -2
  193. package/dist/index.js +65 -67
  194. package/dist/openapi/apis/BlockchainApi.d.ts +55 -10
  195. package/dist/openapi/apis/BlockchainApi.js +129 -89
  196. package/dist/openapi/apis/DefiSolanaMoonshotApi.d.ts +42 -13
  197. package/dist/openapi/apis/DefiSolanaMoonshotApi.js +120 -103
  198. package/dist/openapi/apis/DefiSolanaPumpfunApi.d.ts +29 -9
  199. package/dist/openapi/apis/DefiSolanaPumpfunApi.js +87 -62
  200. package/dist/openapi/apis/DexApi.d.ts +164 -23
  201. package/dist/openapi/apis/DexApi.js +342 -277
  202. package/dist/openapi/apis/DexPoolApi.d.ts +46 -8
  203. package/dist/openapi/apis/DexPoolApi.js +105 -61
  204. package/dist/openapi/apis/EndpointApi.d.ts +119 -0
  205. package/dist/openapi/apis/EndpointApi.js +316 -0
  206. package/dist/openapi/apis/IpfsApi.d.ts +26 -8
  207. package/dist/openapi/apis/IpfsApi.js +86 -53
  208. package/dist/openapi/apis/JobsApi.d.ts +42 -9
  209. package/dist/openapi/apis/JobsApi.js +118 -81
  210. package/dist/openapi/apis/RankingApi.d.ts +563 -17
  211. package/dist/openapi/apis/RankingApi.js +763 -405
  212. package/dist/openapi/apis/RedPacketApi.d.ts +201 -31
  213. package/dist/openapi/apis/RedPacketApi.js +431 -382
  214. package/dist/openapi/apis/TokenApi.d.ts +959 -62
  215. package/dist/openapi/apis/TokenApi.js +1742 -1329
  216. package/dist/openapi/apis/TradeApi.d.ts +276 -16
  217. package/dist/openapi/apis/TradeApi.js +451 -295
  218. package/dist/openapi/apis/TransactionApi.d.ts +30 -9
  219. package/dist/openapi/apis/TransactionApi.js +91 -66
  220. package/dist/openapi/apis/WalletApi.d.ts +139 -16
  221. package/dist/openapi/apis/WalletApi.js +269 -196
  222. package/dist/openapi/apis/WatchlistApi.d.ts +46 -7
  223. package/dist/openapi/apis/WatchlistApi.js +105 -61
  224. package/dist/openapi/apis/index.d.ts +15 -0
  225. package/dist/openapi/apis/index.js +33 -0
  226. package/dist/openapi/index.d.ts +3 -10
  227. package/dist/openapi/index.js +5 -26
  228. package/dist/openapi/models/BlockchainDTO.d.ts +49 -22
  229. package/dist/openapi/models/BlockchainDTO.js +57 -35
  230. package/dist/openapi/models/BlockchainLatestBlockDTO.d.ts +37 -20
  231. package/dist/openapi/models/BlockchainLatestBlockDTO.js +49 -23
  232. package/dist/openapi/models/BooleanResultDTO.d.ts +32 -0
  233. package/dist/openapi/models/BooleanResultDTO.js +50 -0
  234. package/dist/openapi/models/CalculatePnlInput.d.ts +31 -19
  235. package/dist/openapi/models/CalculatePnlInput.js +43 -17
  236. package/dist/openapi/models/Candle.d.ts +68 -26
  237. package/dist/openapi/models/Candle.js +70 -53
  238. package/dist/openapi/models/ClaimRedPacketInput.d.ts +49 -22
  239. package/dist/openapi/models/ClaimRedPacketInput.js +51 -35
  240. package/dist/openapi/models/CreateEndpointInput.d.ts +74 -0
  241. package/dist/openapi/models/CreateEndpointInput.js +62 -0
  242. package/dist/openapi/models/CreateRedPacketInput.d.ts +73 -26
  243. package/dist/openapi/models/CreateRedPacketInput.js +63 -59
  244. package/dist/openapi/models/CreateRedPacketReply.d.ts +37 -20
  245. package/dist/openapi/models/CreateRedPacketReply.js +49 -23
  246. package/dist/openapi/models/CreateTokenInput.d.ts +84 -33
  247. package/dist/openapi/models/CreateTokenInput.js +76 -67
  248. package/dist/openapi/models/CreateTokenReply.d.ts +37 -20
  249. package/dist/openapi/models/CreateTokenReply.js +49 -23
  250. package/dist/openapi/models/DexDTO.d.ts +49 -22
  251. package/dist/openapi/models/DexDTO.js +51 -35
  252. package/dist/openapi/models/DexPage.d.ts +62 -25
  253. package/dist/openapi/models/DexPage.js +56 -47
  254. package/dist/openapi/models/DexPoolDTO.d.ts +85 -28
  255. package/dist/openapi/models/DexPoolDTO.js +69 -71
  256. package/dist/openapi/models/EndpointListResponse.d.ts +51 -0
  257. package/dist/openapi/models/EndpointListResponse.js +55 -0
  258. package/dist/openapi/models/EndpointOperationResponse.d.ts +32 -0
  259. package/dist/openapi/models/EndpointOperationResponse.js +48 -0
  260. package/dist/openapi/models/EndpointResponse.d.ts +92 -0
  261. package/dist/openapi/models/EndpointResponse.js +68 -0
  262. package/dist/openapi/models/EndpointSecretResponse.d.ts +32 -0
  263. package/dist/openapi/models/EndpointSecretResponse.js +48 -0
  264. package/dist/openapi/models/FilterCondition.d.ts +94 -68
  265. package/dist/openapi/models/FilterCondition.js +98 -77
  266. package/dist/openapi/models/GainersAndLosersDTO.d.ts +49 -22
  267. package/dist/openapi/models/GainersAndLosersDTO.js +57 -35
  268. package/dist/openapi/models/GainersAndLosersPage.d.ts +62 -25
  269. package/dist/openapi/models/GainersAndLosersPage.js +56 -47
  270. package/dist/openapi/models/JobDTO.d.ts +38 -0
  271. package/dist/openapi/models/JobDTO.js +54 -0
  272. package/dist/openapi/models/JobStreamingDTO.d.ts +38 -0
  273. package/dist/openapi/models/JobStreamingDTO.js +54 -0
  274. package/dist/openapi/models/Link.d.ts +47 -26
  275. package/dist/openapi/models/Link.js +59 -30
  276. package/dist/openapi/models/MoonshotCreateTokenInput.d.ts +108 -38
  277. package/dist/openapi/models/MoonshotCreateTokenInput.js +97 -87
  278. package/dist/openapi/models/MoonshotCreateTokenReply.d.ts +37 -20
  279. package/dist/openapi/models/MoonshotCreateTokenReply.js +49 -23
  280. package/dist/openapi/models/MoonshotSubmitCreateToken200Response.d.ts +37 -20
  281. package/dist/openapi/models/MoonshotSubmitCreateToken200Response.js +45 -23
  282. package/dist/openapi/models/MoonshotSubmitCreateTokenInput.d.ts +37 -20
  283. package/dist/openapi/models/MoonshotSubmitCreateTokenInput.js +47 -23
  284. package/dist/openapi/models/PumpCreateTokenInput.d.ts +112 -37
  285. package/dist/openapi/models/PumpCreateTokenInput.js +95 -92
  286. package/dist/openapi/models/PumpCreateTokenReply.d.ts +37 -20
  287. package/dist/openapi/models/PumpCreateTokenReply.js +47 -23
  288. package/dist/openapi/models/QuoteResponse.d.ts +61 -24
  289. package/dist/openapi/models/QuoteResponse.js +53 -47
  290. package/dist/openapi/models/RedPacketClaimDTO.d.ts +89 -38
  291. package/dist/openapi/models/RedPacketClaimDTO.js +89 -72
  292. package/dist/openapi/models/RedPacketClaimsPage.d.ts +56 -24
  293. package/dist/openapi/models/RedPacketClaimsPage.js +62 -41
  294. package/dist/openapi/models/RedPacketDTO.d.ts +143 -47
  295. package/dist/openapi/models/RedPacketDTO.js +125 -126
  296. package/dist/openapi/models/RedPacketReply.d.ts +31 -19
  297. package/dist/openapi/models/RedPacketReply.js +45 -17
  298. package/dist/openapi/models/RedPacketSendTxInput.d.ts +31 -19
  299. package/dist/openapi/models/RedPacketSendTxInput.js +45 -17
  300. package/dist/openapi/models/RedPacketSendTxResponse.d.ts +31 -19
  301. package/dist/openapi/models/RedPacketSendTxResponse.js +45 -17
  302. package/dist/openapi/models/RedPacketsPage.d.ts +56 -24
  303. package/dist/openapi/models/RedPacketsPage.js +62 -41
  304. package/dist/openapi/models/Resolution.d.ts +33 -12
  305. package/dist/openapi/models/Resolution.js +56 -14
  306. package/dist/openapi/models/SendTxInput.d.ts +51 -25
  307. package/dist/openapi/models/SendTxInput.js +57 -34
  308. package/dist/openapi/models/SendTxResponse.d.ts +43 -21
  309. package/dist/openapi/models/SendTxResponse.js +53 -29
  310. package/dist/openapi/models/SwapInput.d.ts +98 -38
  311. package/dist/openapi/models/SwapInput.js +87 -78
  312. package/dist/openapi/models/SwapReply.d.ts +37 -20
  313. package/dist/openapi/models/SwapReply.js +49 -23
  314. package/dist/openapi/models/SwapRouteInput.d.ts +119 -39
  315. package/dist/openapi/models/SwapRouteInput.js +92 -99
  316. package/dist/openapi/models/SwapRouteResponse.d.ts +50 -23
  317. package/dist/openapi/models/SwapRouteResponse.js +58 -35
  318. package/dist/openapi/models/Token.d.ts +139 -43
  319. package/dist/openapi/models/Token.js +97 -125
  320. package/dist/openapi/models/TokenCreationDTO.d.ts +76 -30
  321. package/dist/openapi/models/TokenCreationDTO.js +76 -59
  322. package/dist/openapi/models/TokenCreationPage.d.ts +62 -25
  323. package/dist/openapi/models/TokenCreationPage.js +56 -47
  324. package/dist/openapi/models/TokenCreatorsDTO.d.ts +43 -21
  325. package/dist/openapi/models/TokenCreatorsDTO.js +47 -29
  326. package/dist/openapi/models/TokenExtraDTO.d.ts +151 -39
  327. package/dist/openapi/models/TokenExtraDTO.js +83 -137
  328. package/dist/openapi/models/TokenHolder.d.ts +49 -22
  329. package/dist/openapi/models/TokenHolder.js +57 -35
  330. package/dist/openapi/models/TokenHolderPage.d.ts +62 -25
  331. package/dist/openapi/models/TokenHolderPage.js +56 -47
  332. package/dist/openapi/models/TokenListPage.d.ts +62 -25
  333. package/dist/openapi/models/TokenListPage.js +56 -47
  334. package/dist/openapi/models/TokenMarketData.d.ts +121 -34
  335. package/dist/openapi/models/TokenMarketData.js +83 -107
  336. package/dist/openapi/models/TokenMetadata.d.ts +106 -34
  337. package/dist/openapi/models/TokenMetadata.js +80 -89
  338. package/dist/openapi/models/TokenPage.d.ts +68 -26
  339. package/dist/openapi/models/TokenPage.js +58 -53
  340. package/dist/openapi/models/TokenPriceDTO.d.ts +49 -22
  341. package/dist/openapi/models/TokenPriceDTO.js +57 -35
  342. package/dist/openapi/models/TokenPricePage.d.ts +62 -25
  343. package/dist/openapi/models/TokenPricePage.js +56 -47
  344. package/dist/openapi/models/TokenSocialMediasDTO.d.ts +103 -31
  345. package/dist/openapi/models/TokenSocialMediasDTO.js +67 -89
  346. package/dist/openapi/models/TokenStat.d.ts +787 -145
  347. package/dist/openapi/models/TokenStat.js +453 -773
  348. package/dist/openapi/models/TopTradersDTO.d.ts +97 -28
  349. package/dist/openapi/models/TopTradersDTO.js +87 -71
  350. package/dist/openapi/models/TopTradersPage.d.ts +62 -25
  351. package/dist/openapi/models/TopTradersPage.js +56 -47
  352. package/dist/openapi/models/TradeDetailDTO.d.ts +175 -43
  353. package/dist/openapi/models/TradeDetailDTO.js +141 -161
  354. package/dist/openapi/models/TradeEvent.d.ts +104 -32
  355. package/dist/openapi/models/TradeEvent.js +94 -89
  356. package/dist/openapi/models/TradePage.d.ts +62 -25
  357. package/dist/openapi/models/TradePage.js +56 -47
  358. package/dist/openapi/models/TradeType.d.ts +25 -4
  359. package/dist/openapi/models/TradeType.js +48 -6
  360. package/dist/openapi/models/UpdateEndpointInput.d.ts +80 -0
  361. package/dist/openapi/models/UpdateEndpointInput.js +64 -0
  362. package/dist/openapi/models/WalletBalanceDetailDTO.d.ts +175 -43
  363. package/dist/openapi/models/WalletBalanceDetailDTO.js +141 -161
  364. package/dist/openapi/models/WalletBalancesDTO.d.ts +44 -22
  365. package/dist/openapi/models/WalletBalancesDTO.js +54 -29
  366. package/dist/openapi/models/WalletPnlDTO.d.ts +163 -41
  367. package/dist/openapi/models/WalletPnlDTO.js +133 -149
  368. package/dist/openapi/models/index.d.ts +70 -0
  369. package/dist/openapi/models/index.js +88 -0
  370. package/dist/openapi/runtime.d.ts +184 -0
  371. package/dist/openapi/runtime.js +338 -0
  372. package/package.json +38 -39
  373. package/src/api/stream.ts +1 -1
  374. package/src/index.ts +29 -55
  375. package/src/openapi/apis/BlockchainApi.ts +101 -113
  376. package/src/openapi/apis/DefiSolanaMoonshotApi.ts +102 -140
  377. package/src/openapi/apis/DefiSolanaPumpfunApi.ts +60 -76
  378. package/src/openapi/apis/DexApi.ts +372 -398
  379. package/src/openapi/apis/DexPoolApi.ts +80 -72
  380. package/src/openapi/apis/EndpointApi.ts +421 -0
  381. package/src/openapi/apis/IpfsApi.ts +42 -58
  382. package/src/openapi/apis/JobsApi.ts +94 -98
  383. package/src/openapi/apis/RankingApi.ts +775 -567
  384. package/src/openapi/apis/RedPacketApi.ts +467 -572
  385. package/src/openapi/apis/TokenApi.ts +1930 -2058
  386. package/src/openapi/apis/TradeApi.ts +453 -437
  387. package/src/openapi/apis/TransactionApi.ts +67 -82
  388. package/src/openapi/apis/WalletApi.ts +279 -278
  389. package/src/openapi/apis/WatchlistApi.ts +80 -71
  390. package/src/openapi/apis/index.ts +17 -0
  391. package/src/openapi/index.ts +5 -12
  392. package/src/openapi/models/BlockchainDTO.ts +93 -0
  393. package/src/openapi/models/BlockchainLatestBlockDTO.ts +58 -32
  394. package/src/openapi/models/BooleanResultDTO.ts +66 -0
  395. package/src/openapi/models/CalculatePnlInput.ts +46 -20
  396. package/src/openapi/models/Candle.ts +102 -74
  397. package/src/openapi/models/ClaimRedPacketInput.ts +68 -47
  398. package/src/openapi/models/CreateEndpointInput.ts +121 -0
  399. package/src/openapi/models/CreateRedPacketInput.ts +98 -83
  400. package/src/openapi/models/CreateRedPacketReply.ts +58 -32
  401. package/src/openapi/models/CreateTokenInput.ts +110 -89
  402. package/src/openapi/models/CreateTokenReply.ts +58 -32
  403. package/src/openapi/models/DexDTO.ts +68 -47
  404. package/src/openapi/models/DexPage.ts +89 -65
  405. package/src/openapi/models/DexPoolDTO.ts +113 -101
  406. package/src/openapi/models/EndpointListResponse.ts +97 -0
  407. package/src/openapi/models/EndpointOperationResponse.ts +65 -0
  408. package/src/openapi/models/EndpointResponse.ts +145 -0
  409. package/src/openapi/models/EndpointSecretResponse.ts +65 -0
  410. package/src/openapi/models/FilterCondition.ts +111 -84
  411. package/src/openapi/models/GainersAndLosersDTO.ts +71 -47
  412. package/src/openapi/models/GainersAndLosersPage.ts +89 -65
  413. package/src/openapi/models/JobDTO.ts +75 -0
  414. package/src/openapi/models/JobStreamingDTO.ts +75 -0
  415. package/src/openapi/models/Link.ts +69 -38
  416. package/src/openapi/models/MoonshotCreateTokenInput.ts +148 -116
  417. package/src/openapi/models/MoonshotCreateTokenReply.ts +58 -32
  418. package/src/openapi/models/MoonshotSubmitCreateToken200Response.ts +56 -32
  419. package/src/openapi/models/MoonshotSubmitCreateTokenInput.ts +57 -32
  420. package/src/openapi/models/PumpCreateTokenInput.ts +146 -124
  421. package/src/openapi/models/PumpCreateTokenReply.ts +57 -32
  422. package/src/openapi/models/QuoteResponse.ts +81 -65
  423. package/src/openapi/models/RedPacketClaimDTO.ts +119 -94
  424. package/src/openapi/models/RedPacketClaimsPage.ts +86 -56
  425. package/src/openapi/models/RedPacketDTO.ts +207 -191
  426. package/src/openapi/models/RedPacketReply.ts +47 -20
  427. package/src/openapi/models/RedPacketSendTxInput.ts +47 -20
  428. package/src/openapi/models/RedPacketSendTxResponse.ts +47 -20
  429. package/src/openapi/models/RedPacketsPage.ts +86 -56
  430. package/src/openapi/models/Resolution.ts +49 -14
  431. package/src/openapi/models/SendTxInput.ts +69 -41
  432. package/src/openapi/models/SendTxResponse.ts +66 -41
  433. package/src/openapi/models/SwapInput.ts +126 -101
  434. package/src/openapi/models/SwapReply.ts +58 -32
  435. package/src/openapi/models/SwapRouteInput.ts +151 -134
  436. package/src/openapi/models/SwapRouteResponse.ts +78 -47
  437. package/src/openapi/models/Token.ts +232 -206
  438. package/src/openapi/models/TokenCreationDTO.ts +103 -78
  439. package/src/openapi/models/TokenCreationPage.ts +89 -65
  440. package/src/openapi/models/TokenCreatorsDTO.ts +63 -41
  441. package/src/openapi/models/TokenExtraDTO.ts +206 -220
  442. package/src/openapi/models/TokenHolder.ts +71 -47
  443. package/src/openapi/models/TokenHolderPage.ts +89 -65
  444. package/src/openapi/models/TokenListPage.ts +89 -65
  445. package/src/openapi/models/TokenMarketData.ts +171 -170
  446. package/src/openapi/models/TokenMetadata.ts +156 -130
  447. package/src/openapi/models/TokenPage.ts +96 -74
  448. package/src/openapi/models/TokenPriceDTO.ts +71 -47
  449. package/src/openapi/models/TokenPricePage.ts +89 -65
  450. package/src/openapi/models/TokenSocialMediasDTO.ts +130 -128
  451. package/src/openapi/models/TokenStat.ts +1133 -1280
  452. package/src/openapi/models/TopTradersDTO.ts +136 -101
  453. package/src/openapi/models/TopTradersPage.ts +89 -65
  454. package/src/openapi/models/TradeDetailDTO.ts +239 -236
  455. package/src/openapi/models/TradeEvent.ts +150 -128
  456. package/src/openapi/models/TradePage.ts +89 -65
  457. package/src/openapi/models/TradeType.ts +40 -5
  458. package/src/openapi/models/UpdateEndpointInput.ts +129 -0
  459. package/src/openapi/models/WalletBalanceDetailDTO.ts +239 -236
  460. package/src/openapi/models/WalletBalancesDTO.ts +73 -41
  461. package/src/openapi/models/WalletPnlDTO.ts +223 -218
  462. package/src/openapi/models/index.ts +72 -0
  463. package/src/openapi/runtime.ts +432 -0
  464. package/README.md +0 -0
  465. package/dist/api/stream.fields.js.map +0 -1
  466. package/dist/api/stream.js.map +0 -1
  467. package/dist/api/stream.model.js.map +0 -1
  468. package/dist/index.js.map +0 -1
  469. package/dist/openapi/apis/BlockchainApi.js.map +0 -1
  470. package/dist/openapi/apis/DefiSolanaMoonshotApi.js.map +0 -1
  471. package/dist/openapi/apis/DefiSolanaPumpfunApi.js.map +0 -1
  472. package/dist/openapi/apis/DexApi.js.map +0 -1
  473. package/dist/openapi/apis/DexPoolApi.js.map +0 -1
  474. package/dist/openapi/apis/IpfsApi.js.map +0 -1
  475. package/dist/openapi/apis/JobsApi.js.map +0 -1
  476. package/dist/openapi/apis/OpenbookApi.d.ts +0 -19
  477. package/dist/openapi/apis/OpenbookApi.js +0 -180
  478. package/dist/openapi/apis/OpenbookApi.js.map +0 -1
  479. package/dist/openapi/apis/OrderApi.d.ts +0 -25
  480. package/dist/openapi/apis/OrderApi.js +0 -288
  481. package/dist/openapi/apis/OrderApi.js.map +0 -1
  482. package/dist/openapi/apis/PrometheusApi.d.ts +0 -9
  483. package/dist/openapi/apis/PrometheusApi.js +0 -53
  484. package/dist/openapi/apis/PrometheusApi.js.map +0 -1
  485. package/dist/openapi/apis/RankingApi.js.map +0 -1
  486. package/dist/openapi/apis/RealtimeApi.d.ts +0 -9
  487. package/dist/openapi/apis/RealtimeApi.js +0 -53
  488. package/dist/openapi/apis/RealtimeApi.js.map +0 -1
  489. package/dist/openapi/apis/RedPacketApi.js.map +0 -1
  490. package/dist/openapi/apis/TokenApi.js.map +0 -1
  491. package/dist/openapi/apis/TokenRankingsApi.d.ts +0 -10
  492. package/dist/openapi/apis/TokenRankingsApi.js +0 -67
  493. package/dist/openapi/apis/TokenRankingsApi.js.map +0 -1
  494. package/dist/openapi/apis/TradeApi.js.map +0 -1
  495. package/dist/openapi/apis/TransactionApi.js.map +0 -1
  496. package/dist/openapi/apis/UserApi.d.ts +0 -9
  497. package/dist/openapi/apis/UserApi.js +0 -67
  498. package/dist/openapi/apis/UserApi.js.map +0 -1
  499. package/dist/openapi/apis/WalletApi.js.map +0 -1
  500. package/dist/openapi/apis/WatchlistApi.js.map +0 -1
  501. package/dist/openapi/apis/baseapi.d.ts +0 -18
  502. package/dist/openapi/apis/baseapi.js +0 -27
  503. package/dist/openapi/apis/baseapi.js.map +0 -1
  504. package/dist/openapi/apis/exception.d.ts +0 -10
  505. package/dist/openapi/apis/exception.js +0 -14
  506. package/dist/openapi/apis/exception.js.map +0 -1
  507. package/dist/openapi/auth/auth.d.ts +0 -35
  508. package/dist/openapi/auth/auth.js +0 -39
  509. package/dist/openapi/auth/auth.js.map +0 -1
  510. package/dist/openapi/configuration.d.ts +0 -18
  511. package/dist/openapi/configuration.js +0 -21
  512. package/dist/openapi/configuration.js.map +0 -1
  513. package/dist/openapi/http/http.d.ts +0 -68
  514. package/dist/openapi/http/http.js +0 -195
  515. package/dist/openapi/http/http.js.map +0 -1
  516. package/dist/openapi/http/isomorphic-fetch.d.ts +0 -6
  517. package/dist/openapi/http/isomorphic-fetch.js +0 -31
  518. package/dist/openapi/http/isomorphic-fetch.js.map +0 -1
  519. package/dist/openapi/index.js.map +0 -1
  520. package/dist/openapi/middleware.d.ts +0 -16
  521. package/dist/openapi/middleware.js +0 -17
  522. package/dist/openapi/middleware.js.map +0 -1
  523. package/dist/openapi/models/BlockchainDTO.js.map +0 -1
  524. package/dist/openapi/models/BlockchainLatestBlockDTO.js.map +0 -1
  525. package/dist/openapi/models/BlockchainPage.d.ts +0 -23
  526. package/dist/openapi/models/BlockchainPage.js +0 -34
  527. package/dist/openapi/models/BlockchainPage.js.map +0 -1
  528. package/dist/openapi/models/CalculatePnlInput.js.map +0 -1
  529. package/dist/openapi/models/CancelAllOrdersInput.d.ts +0 -39
  530. package/dist/openapi/models/CancelAllOrdersInput.js +0 -74
  531. package/dist/openapi/models/CancelAllOrdersInput.js.map +0 -1
  532. package/dist/openapi/models/CancelOrderInput.d.ts +0 -36
  533. package/dist/openapi/models/CancelOrderInput.js +0 -75
  534. package/dist/openapi/models/CancelOrderInput.js.map +0 -1
  535. package/dist/openapi/models/Candle.js.map +0 -1
  536. package/dist/openapi/models/ClaimRedPacketInput.js.map +0 -1
  537. package/dist/openapi/models/CloseMarketInput.d.ts +0 -34
  538. package/dist/openapi/models/CloseMarketInput.js +0 -63
  539. package/dist/openapi/models/CloseMarketInput.js.map +0 -1
  540. package/dist/openapi/models/CreateMarketInput.d.ts +0 -43
  541. package/dist/openapi/models/CreateMarketInput.js +0 -117
  542. package/dist/openapi/models/CreateMarketInput.js.map +0 -1
  543. package/dist/openapi/models/CreateRedPacketInput.js.map +0 -1
  544. package/dist/openapi/models/CreateRedPacketReply.js.map +0 -1
  545. package/dist/openapi/models/CreateTokenInput.js.map +0 -1
  546. package/dist/openapi/models/CreateTokenReply.js.map +0 -1
  547. package/dist/openapi/models/DexCreateTokenInput.d.ts +0 -34
  548. package/dist/openapi/models/DexCreateTokenInput.js +0 -72
  549. package/dist/openapi/models/DexCreateTokenInput.js.map +0 -1
  550. package/dist/openapi/models/DexDTO.js.map +0 -1
  551. package/dist/openapi/models/DexMintInput.d.ts +0 -34
  552. package/dist/openapi/models/DexMintInput.js +0 -72
  553. package/dist/openapi/models/DexMintInput.js.map +0 -1
  554. package/dist/openapi/models/DexPage.js.map +0 -1
  555. package/dist/openapi/models/DexPoolDTO.js.map +0 -1
  556. package/dist/openapi/models/FilterCondition.js.map +0 -1
  557. package/dist/openapi/models/GainersAndLosersDTO.js.map +0 -1
  558. package/dist/openapi/models/GainersAndLosersPage.js.map +0 -1
  559. package/dist/openapi/models/JobControllerGetJob200Response.d.ts +0 -21
  560. package/dist/openapi/models/JobControllerGetJob200Response.js +0 -28
  561. package/dist/openapi/models/JobControllerGetJob200Response.js.map +0 -1
  562. package/dist/openapi/models/JobControllerGetJob404Response.d.ts +0 -21
  563. package/dist/openapi/models/JobControllerGetJob404Response.js +0 -28
  564. package/dist/openapi/models/JobControllerGetJob404Response.js.map +0 -1
  565. package/dist/openapi/models/JobControllerStreaming200Response.d.ts +0 -26
  566. package/dist/openapi/models/JobControllerStreaming200Response.js +0 -39
  567. package/dist/openapi/models/JobControllerStreaming200Response.js.map +0 -1
  568. package/dist/openapi/models/JobControllerStreaming404Response.d.ts +0 -21
  569. package/dist/openapi/models/JobControllerStreaming404Response.js +0 -28
  570. package/dist/openapi/models/JobControllerStreaming404Response.js.map +0 -1
  571. package/dist/openapi/models/Link.js.map +0 -1
  572. package/dist/openapi/models/LiquidityDTO.d.ts +0 -22
  573. package/dist/openapi/models/LiquidityDTO.js +0 -28
  574. package/dist/openapi/models/LiquidityDTO.js.map +0 -1
  575. package/dist/openapi/models/MarketInfoDto.d.ts +0 -32
  576. package/dist/openapi/models/MarketInfoDto.js +0 -94
  577. package/dist/openapi/models/MarketInfoDto.js.map +0 -1
  578. package/dist/openapi/models/MintInput.d.ts +0 -39
  579. package/dist/openapi/models/MintInput.js +0 -92
  580. package/dist/openapi/models/MintInput.js.map +0 -1
  581. package/dist/openapi/models/MintReply.d.ts +0 -21
  582. package/dist/openapi/models/MintReply.js +0 -28
  583. package/dist/openapi/models/MintReply.js.map +0 -1
  584. package/dist/openapi/models/MoonshotCreateTokenInput.js.map +0 -1
  585. package/dist/openapi/models/MoonshotCreateTokenReply.js.map +0 -1
  586. package/dist/openapi/models/MoonshotMintReply.d.ts +0 -21
  587. package/dist/openapi/models/MoonshotMintReply.js +0 -28
  588. package/dist/openapi/models/MoonshotMintReply.js.map +0 -1
  589. package/dist/openapi/models/MoonshotSubmitCreateToken200Response.js.map +0 -1
  590. package/dist/openapi/models/MoonshotSubmitCreateTokenInput.js.map +0 -1
  591. package/dist/openapi/models/MoonshotSubmitMint200Response.d.ts +0 -21
  592. package/dist/openapi/models/MoonshotSubmitMint200Response.js +0 -28
  593. package/dist/openapi/models/MoonshotSubmitMint200Response.js.map +0 -1
  594. package/dist/openapi/models/ObjectSerializer.d.ts +0 -69
  595. package/dist/openapi/models/ObjectSerializer.js +0 -457
  596. package/dist/openapi/models/ObjectSerializer.js.map +0 -1
  597. package/dist/openapi/models/OrderBookInfoDto.d.ts +0 -25
  598. package/dist/openapi/models/OrderBookInfoDto.js +0 -46
  599. package/dist/openapi/models/OrderBookInfoDto.js.map +0 -1
  600. package/dist/openapi/models/OrderInfoDto.d.ts +0 -22
  601. package/dist/openapi/models/OrderInfoDto.js +0 -34
  602. package/dist/openapi/models/OrderInfoDto.js.map +0 -1
  603. package/dist/openapi/models/OrderReply.d.ts +0 -20
  604. package/dist/openapi/models/OrderReply.js +0 -22
  605. package/dist/openapi/models/OrderReply.js.map +0 -1
  606. package/dist/openapi/models/Page.d.ts +0 -25
  607. package/dist/openapi/models/Page.js +0 -52
  608. package/dist/openapi/models/Page.js.map +0 -1
  609. package/dist/openapi/models/PlaceOrderInput.d.ts +0 -40
  610. package/dist/openapi/models/PlaceOrderInput.js +0 -80
  611. package/dist/openapi/models/PlaceOrderInput.js.map +0 -1
  612. package/dist/openapi/models/PumpCreateTokenInput.js.map +0 -1
  613. package/dist/openapi/models/PumpCreateTokenReply.js.map +0 -1
  614. package/dist/openapi/models/PumpMintInput.d.ts +0 -38
  615. package/dist/openapi/models/PumpMintInput.js +0 -97
  616. package/dist/openapi/models/PumpMintInput.js.map +0 -1
  617. package/dist/openapi/models/PumpMintReply.d.ts +0 -21
  618. package/dist/openapi/models/PumpMintReply.js +0 -28
  619. package/dist/openapi/models/PumpMintReply.js.map +0 -1
  620. package/dist/openapi/models/QuoteResponse.js.map +0 -1
  621. package/dist/openapi/models/RankingToken.d.ts +0 -32
  622. package/dist/openapi/models/RankingToken.js +0 -76
  623. package/dist/openapi/models/RankingToken.js.map +0 -1
  624. package/dist/openapi/models/RankingTokenMarketData.d.ts +0 -27
  625. package/dist/openapi/models/RankingTokenMarketData.js +0 -64
  626. package/dist/openapi/models/RankingTokenMarketData.js.map +0 -1
  627. package/dist/openapi/models/RankingTokenStat.d.ts +0 -49
  628. package/dist/openapi/models/RankingTokenStat.js +0 -196
  629. package/dist/openapi/models/RankingTokenStat.js.map +0 -1
  630. package/dist/openapi/models/RedPacketClaimDTO.js.map +0 -1
  631. package/dist/openapi/models/RedPacketClaimsPage.js.map +0 -1
  632. package/dist/openapi/models/RedPacketDTO.js.map +0 -1
  633. package/dist/openapi/models/RedPacketReply.js.map +0 -1
  634. package/dist/openapi/models/RedPacketSendTxInput.js.map +0 -1
  635. package/dist/openapi/models/RedPacketSendTxResponse.js.map +0 -1
  636. package/dist/openapi/models/RedPacketsPage.js.map +0 -1
  637. package/dist/openapi/models/Resolution.js.map +0 -1
  638. package/dist/openapi/models/SendTxInput.js.map +0 -1
  639. package/dist/openapi/models/SendTxResponse.js.map +0 -1
  640. package/dist/openapi/models/SimpleMarketDto.d.ts +0 -24
  641. package/dist/openapi/models/SimpleMarketDto.js +0 -46
  642. package/dist/openapi/models/SimpleMarketDto.js.map +0 -1
  643. package/dist/openapi/models/SubmitInput.d.ts +0 -21
  644. package/dist/openapi/models/SubmitInput.js +0 -28
  645. package/dist/openapi/models/SubmitInput.js.map +0 -1
  646. package/dist/openapi/models/SwapInput.js.map +0 -1
  647. package/dist/openapi/models/SwapReply.js.map +0 -1
  648. package/dist/openapi/models/SwapRouteInfo.d.ts +0 -30
  649. package/dist/openapi/models/SwapRouteInfo.js +0 -63
  650. package/dist/openapi/models/SwapRouteInfo.js.map +0 -1
  651. package/dist/openapi/models/SwapRouteInput.js.map +0 -1
  652. package/dist/openapi/models/SwapRouteResponse.js.map +0 -1
  653. package/dist/openapi/models/Token.js.map +0 -1
  654. package/dist/openapi/models/TokenAddressesRequest.d.ts +0 -57
  655. package/dist/openapi/models/TokenAddressesRequest.js +0 -75
  656. package/dist/openapi/models/TokenAddressesRequest.js.map +0 -1
  657. package/dist/openapi/models/TokenCreationDTO.js.map +0 -1
  658. package/dist/openapi/models/TokenCreationPage.js.map +0 -1
  659. package/dist/openapi/models/TokenCreatorsDTO.js.map +0 -1
  660. package/dist/openapi/models/TokenExtraDTO.js.map +0 -1
  661. package/dist/openapi/models/TokenExtraJsonDTO.d.ts +0 -35
  662. package/dist/openapi/models/TokenExtraJsonDTO.js +0 -112
  663. package/dist/openapi/models/TokenExtraJsonDTO.js.map +0 -1
  664. package/dist/openapi/models/TokenGainersPage.d.ts +0 -22
  665. package/dist/openapi/models/TokenGainersPage.js +0 -34
  666. package/dist/openapi/models/TokenGainersPage.js.map +0 -1
  667. package/dist/openapi/models/TokenHolder.js.map +0 -1
  668. package/dist/openapi/models/TokenHolderPage.js.map +0 -1
  669. package/dist/openapi/models/TokenListPage.js.map +0 -1
  670. package/dist/openapi/models/TokenMarketCap.d.ts +0 -31
  671. package/dist/openapi/models/TokenMarketCap.js +0 -88
  672. package/dist/openapi/models/TokenMarketCap.js.map +0 -1
  673. package/dist/openapi/models/TokenMarketData.js.map +0 -1
  674. package/dist/openapi/models/TokenMetadata.js.map +0 -1
  675. package/dist/openapi/models/TokenPage.js.map +0 -1
  676. package/dist/openapi/models/TokenPriceDTO.js.map +0 -1
  677. package/dist/openapi/models/TokenPricePage.js.map +0 -1
  678. package/dist/openapi/models/TokenSocialMediasDTO.js.map +0 -1
  679. package/dist/openapi/models/TokenSortFilterRequest.d.ts +0 -56
  680. package/dist/openapi/models/TokenSortFilterRequest.js +0 -69
  681. package/dist/openapi/models/TokenSortFilterRequest.js.map +0 -1
  682. package/dist/openapi/models/TokenStat.js.map +0 -1
  683. package/dist/openapi/models/TopTradersDTO.js.map +0 -1
  684. package/dist/openapi/models/TopTradersPage.js.map +0 -1
  685. package/dist/openapi/models/Trade.d.ts +0 -51
  686. package/dist/openapi/models/Trade.js +0 -202
  687. package/dist/openapi/models/Trade.js.map +0 -1
  688. package/dist/openapi/models/TradeDetailDTO.js.map +0 -1
  689. package/dist/openapi/models/TradeEvent.js.map +0 -1
  690. package/dist/openapi/models/TradePage.js.map +0 -1
  691. package/dist/openapi/models/TradeType.js.map +0 -1
  692. package/dist/openapi/models/UserOrderDto.d.ts +0 -28
  693. package/dist/openapi/models/UserOrderDto.js +0 -51
  694. package/dist/openapi/models/UserOrderDto.js.map +0 -1
  695. package/dist/openapi/models/UserOrderInfoDto.d.ts +0 -22
  696. package/dist/openapi/models/UserOrderInfoDto.js +0 -28
  697. package/dist/openapi/models/UserOrderInfoDto.js.map +0 -1
  698. package/dist/openapi/models/WalletBalanceDetailDTO.js.map +0 -1
  699. package/dist/openapi/models/WalletBalancesDTO.js.map +0 -1
  700. package/dist/openapi/models/WalletPnlDTO.js.map +0 -1
  701. package/dist/openapi/models/WalletTradeInfo.d.ts +0 -27
  702. package/dist/openapi/models/WalletTradeInfo.js +0 -64
  703. package/dist/openapi/models/WalletTradeInfo.js.map +0 -1
  704. package/dist/openapi/models/WalletTrades.d.ts +0 -23
  705. package/dist/openapi/models/WalletTrades.js +0 -34
  706. package/dist/openapi/models/WalletTrades.js.map +0 -1
  707. package/dist/openapi/models/all.d.ts +0 -60
  708. package/dist/openapi/models/all.js +0 -77
  709. package/dist/openapi/models/all.js.map +0 -1
  710. package/dist/openapi/rxjsStub.d.ts +0 -10
  711. package/dist/openapi/rxjsStub.js +0 -32
  712. package/dist/openapi/rxjsStub.js.map +0 -1
  713. package/dist/openapi/servers.d.ts +0 -17
  714. package/dist/openapi/servers.js +0 -31
  715. package/dist/openapi/servers.js.map +0 -1
  716. package/dist/openapi/types/ObjectParamAPI.d.ts +0 -702
  717. package/dist/openapi/types/ObjectParamAPI.js +0 -444
  718. package/dist/openapi/types/ObjectParamAPI.js.map +0 -1
  719. package/dist/openapi/types/ObservableAPI.d.ts +0 -275
  720. package/dist/openapi/types/ObservableAPI.js +0 -1158
  721. package/dist/openapi/types/ObservableAPI.js.map +0 -1
  722. package/dist/openapi/types/PromiseAPI.d.ts +0 -246
  723. package/dist/openapi/types/PromiseAPI.js +0 -558
  724. package/dist/openapi/types/PromiseAPI.js.map +0 -1
  725. package/dist/openapi/util.d.ts +0 -2
  726. package/dist/openapi/util.js +0 -29
  727. package/dist/openapi/util.js.map +0 -1
  728. package/dist/src/api/stream.fields.d.ts +0 -11
  729. package/dist/src/api/stream.fields.js.map +0 -1
  730. package/dist/src/api/stream.js.map +0 -1
  731. package/dist/src/api/stream.model.js.map +0 -1
  732. package/dist/src/index.js +0 -112
  733. package/dist/src/index.js.map +0 -1
  734. package/dist/src/openapi/apis/BlockchainApi.d.ts +0 -12
  735. package/dist/src/openapi/apis/BlockchainApi.js +0 -98
  736. package/dist/src/openapi/apis/BlockchainApi.js.map +0 -1
  737. package/dist/src/openapi/apis/DefiSolanaMoonshotApi.d.ts +0 -15
  738. package/dist/src/openapi/apis/DefiSolanaMoonshotApi.js +0 -112
  739. package/dist/src/openapi/apis/DefiSolanaMoonshotApi.js.map +0 -1
  740. package/dist/src/openapi/apis/DefiSolanaPumpfunApi.d.ts +0 -11
  741. package/dist/src/openapi/apis/DefiSolanaPumpfunApi.js +0 -68
  742. package/dist/src/openapi/apis/DefiSolanaPumpfunApi.js.map +0 -1
  743. package/dist/src/openapi/apis/DexApi.d.ts +0 -22
  744. package/dist/src/openapi/apis/DexApi.js +0 -215
  745. package/dist/src/openapi/apis/DexApi.js.map +0 -1
  746. package/dist/src/openapi/apis/DexPoolApi.d.ts +0 -12
  747. package/dist/src/openapi/apis/DexPoolApi.js +0 -114
  748. package/dist/src/openapi/apis/DexPoolApi.js.map +0 -1
  749. package/dist/src/openapi/apis/IpfsApi.d.ts +0 -9
  750. package/dist/src/openapi/apis/IpfsApi.js +0 -59
  751. package/dist/src/openapi/apis/IpfsApi.js.map +0 -1
  752. package/dist/src/openapi/apis/JobsApi.d.ts +0 -11
  753. package/dist/src/openapi/apis/JobsApi.js +0 -90
  754. package/dist/src/openapi/apis/JobsApi.js.map +0 -1
  755. package/dist/src/openapi/apis/RankingApi.d.ts +0 -19
  756. package/dist/src/openapi/apis/RankingApi.js +0 -298
  757. package/dist/src/openapi/apis/RankingApi.js.map +0 -1
  758. package/dist/src/openapi/apis/RedPacketApi.d.ts +0 -32
  759. package/dist/src/openapi/apis/RedPacketApi.js +0 -401
  760. package/dist/src/openapi/apis/RedPacketApi.js.map +0 -1
  761. package/dist/src/openapi/apis/TokenApi.d.ts +0 -69
  762. package/dist/src/openapi/apis/TokenApi.js +0 -1372
  763. package/dist/src/openapi/apis/TokenApi.js.map +0 -1
  764. package/dist/src/openapi/apis/TradeApi.d.ts +0 -16
  765. package/dist/src/openapi/apis/TradeApi.js +0 -231
  766. package/dist/src/openapi/apis/TradeApi.js.map +0 -1
  767. package/dist/src/openapi/apis/TransactionApi.d.ts +0 -11
  768. package/dist/src/openapi/apis/TransactionApi.js +0 -72
  769. package/dist/src/openapi/apis/TransactionApi.js.map +0 -1
  770. package/dist/src/openapi/apis/WalletApi.d.ts +0 -18
  771. package/dist/src/openapi/apis/WalletApi.js +0 -211
  772. package/dist/src/openapi/apis/WalletApi.js.map +0 -1
  773. package/dist/src/openapi/apis/WatchlistApi.d.ts +0 -9
  774. package/dist/src/openapi/apis/WatchlistApi.js +0 -67
  775. package/dist/src/openapi/apis/WatchlistApi.js.map +0 -1
  776. package/dist/src/openapi/apis/baseapi.d.ts +0 -18
  777. package/dist/src/openapi/apis/baseapi.js +0 -27
  778. package/dist/src/openapi/apis/baseapi.js.map +0 -1
  779. package/dist/src/openapi/apis/exception.d.ts +0 -10
  780. package/dist/src/openapi/apis/exception.js +0 -14
  781. package/dist/src/openapi/apis/exception.js.map +0 -1
  782. package/dist/src/openapi/auth/auth.d.ts +0 -35
  783. package/dist/src/openapi/auth/auth.js +0 -39
  784. package/dist/src/openapi/auth/auth.js.map +0 -1
  785. package/dist/src/openapi/configuration.d.ts +0 -18
  786. package/dist/src/openapi/configuration.js +0 -21
  787. package/dist/src/openapi/configuration.js.map +0 -1
  788. package/dist/src/openapi/http/http.d.ts +0 -68
  789. package/dist/src/openapi/http/http.js +0 -195
  790. package/dist/src/openapi/http/http.js.map +0 -1
  791. package/dist/src/openapi/http/isomorphic-fetch.d.ts +0 -6
  792. package/dist/src/openapi/http/isomorphic-fetch.js +0 -31
  793. package/dist/src/openapi/http/isomorphic-fetch.js.map +0 -1
  794. package/dist/src/openapi/index.d.ts +0 -10
  795. package/dist/src/openapi/index.js +0 -42
  796. package/dist/src/openapi/index.js.map +0 -1
  797. package/dist/src/openapi/middleware.d.ts +0 -16
  798. package/dist/src/openapi/middleware.js +0 -17
  799. package/dist/src/openapi/middleware.js.map +0 -1
  800. package/dist/src/openapi/models/BlockchainLatestBlockDTO.d.ts +0 -21
  801. package/dist/src/openapi/models/BlockchainLatestBlockDTO.js +0 -28
  802. package/dist/src/openapi/models/BlockchainLatestBlockDTO.js.map +0 -1
  803. package/dist/src/openapi/models/CalculatePnlInput.d.ts +0 -20
  804. package/dist/src/openapi/models/CalculatePnlInput.js +0 -22
  805. package/dist/src/openapi/models/CalculatePnlInput.js.map +0 -1
  806. package/dist/src/openapi/models/Candle.d.ts +0 -27
  807. package/dist/src/openapi/models/Candle.js +0 -58
  808. package/dist/src/openapi/models/Candle.js.map +0 -1
  809. package/dist/src/openapi/models/ClaimRedPacketInput.d.ts +0 -23
  810. package/dist/src/openapi/models/ClaimRedPacketInput.js +0 -40
  811. package/dist/src/openapi/models/ClaimRedPacketInput.js.map +0 -1
  812. package/dist/src/openapi/models/CreateRedPacketInput.d.ts +0 -27
  813. package/dist/src/openapi/models/CreateRedPacketInput.js +0 -64
  814. package/dist/src/openapi/models/CreateRedPacketInput.js.map +0 -1
  815. package/dist/src/openapi/models/CreateRedPacketReply.d.ts +0 -21
  816. package/dist/src/openapi/models/CreateRedPacketReply.js +0 -28
  817. package/dist/src/openapi/models/CreateRedPacketReply.js.map +0 -1
  818. package/dist/src/openapi/models/DexDTO.d.ts +0 -23
  819. package/dist/src/openapi/models/DexDTO.js +0 -40
  820. package/dist/src/openapi/models/DexDTO.js.map +0 -1
  821. package/dist/src/openapi/models/DexMintInput.d.ts +0 -34
  822. package/dist/src/openapi/models/DexMintInput.js +0 -72
  823. package/dist/src/openapi/models/DexMintInput.js.map +0 -1
  824. package/dist/src/openapi/models/DexPage.d.ts +0 -26
  825. package/dist/src/openapi/models/DexPage.js +0 -52
  826. package/dist/src/openapi/models/DexPage.js.map +0 -1
  827. package/dist/src/openapi/models/DexPoolDTO.d.ts +0 -29
  828. package/dist/src/openapi/models/DexPoolDTO.js +0 -76
  829. package/dist/src/openapi/models/DexPoolDTO.js.map +0 -1
  830. package/dist/src/openapi/models/FilterCondition.d.ts +0 -51
  831. package/dist/src/openapi/models/FilterCondition.js +0 -64
  832. package/dist/src/openapi/models/FilterCondition.js.map +0 -1
  833. package/dist/src/openapi/models/GainersAndLosersDTO.d.ts +0 -23
  834. package/dist/src/openapi/models/GainersAndLosersDTO.js +0 -40
  835. package/dist/src/openapi/models/GainersAndLosersDTO.js.map +0 -1
  836. package/dist/src/openapi/models/GainersAndLosersPage.d.ts +0 -26
  837. package/dist/src/openapi/models/GainersAndLosersPage.js +0 -52
  838. package/dist/src/openapi/models/GainersAndLosersPage.js.map +0 -1
  839. package/dist/src/openapi/models/Link.d.ts +0 -27
  840. package/dist/src/openapi/models/Link.js +0 -35
  841. package/dist/src/openapi/models/Link.js.map +0 -1
  842. package/dist/src/openapi/models/MintInput.d.ts +0 -39
  843. package/dist/src/openapi/models/MintInput.js +0 -92
  844. package/dist/src/openapi/models/MintInput.js.map +0 -1
  845. package/dist/src/openapi/models/MintReply.d.ts +0 -21
  846. package/dist/src/openapi/models/MintReply.js +0 -28
  847. package/dist/src/openapi/models/MintReply.js.map +0 -1
  848. package/dist/src/openapi/models/MoonshotMintReply.d.ts +0 -21
  849. package/dist/src/openapi/models/MoonshotMintReply.js +0 -28
  850. package/dist/src/openapi/models/MoonshotMintReply.js.map +0 -1
  851. package/dist/src/openapi/models/MoonshotSubmitMint200Response.d.ts +0 -21
  852. package/dist/src/openapi/models/MoonshotSubmitMint200Response.js +0 -28
  853. package/dist/src/openapi/models/MoonshotSubmitMint200Response.js.map +0 -1
  854. package/dist/src/openapi/models/ObjectSerializer.d.ts +0 -68
  855. package/dist/src/openapi/models/ObjectSerializer.js +0 -454
  856. package/dist/src/openapi/models/ObjectSerializer.js.map +0 -1
  857. package/dist/src/openapi/models/PumpMintInput.d.ts +0 -38
  858. package/dist/src/openapi/models/PumpMintInput.js +0 -97
  859. package/dist/src/openapi/models/PumpMintInput.js.map +0 -1
  860. package/dist/src/openapi/models/PumpMintReply.d.ts +0 -21
  861. package/dist/src/openapi/models/PumpMintReply.js +0 -28
  862. package/dist/src/openapi/models/PumpMintReply.js.map +0 -1
  863. package/dist/src/openapi/models/RankingToken.d.ts +0 -30
  864. package/dist/src/openapi/models/RankingToken.js +0 -70
  865. package/dist/src/openapi/models/RankingToken.js.map +0 -1
  866. package/dist/src/openapi/models/RankingTokenMarketData.d.ts +0 -26
  867. package/dist/src/openapi/models/RankingTokenMarketData.js +0 -58
  868. package/dist/src/openapi/models/RankingTokenMarketData.js.map +0 -1
  869. package/dist/src/openapi/models/RankingTokenStat.d.ts +0 -39
  870. package/dist/src/openapi/models/RankingTokenStat.js +0 -136
  871. package/dist/src/openapi/models/RankingTokenStat.js.map +0 -1
  872. package/dist/src/openapi/models/RedPacketClaimDTO.d.ts +0 -39
  873. package/dist/src/openapi/models/RedPacketClaimDTO.js +0 -77
  874. package/dist/src/openapi/models/RedPacketClaimDTO.js.map +0 -1
  875. package/dist/src/openapi/models/RedPacketClaimsPage.d.ts +0 -25
  876. package/dist/src/openapi/models/RedPacketClaimsPage.js +0 -46
  877. package/dist/src/openapi/models/RedPacketClaimsPage.js.map +0 -1
  878. package/dist/src/openapi/models/RedPacketDTO.d.ts +0 -48
  879. package/dist/src/openapi/models/RedPacketDTO.js +0 -131
  880. package/dist/src/openapi/models/RedPacketDTO.js.map +0 -1
  881. package/dist/src/openapi/models/RedPacketReply.d.ts +0 -20
  882. package/dist/src/openapi/models/RedPacketReply.js +0 -22
  883. package/dist/src/openapi/models/RedPacketReply.js.map +0 -1
  884. package/dist/src/openapi/models/RedPacketSendTxInput.d.ts +0 -20
  885. package/dist/src/openapi/models/RedPacketSendTxInput.js +0 -22
  886. package/dist/src/openapi/models/RedPacketSendTxInput.js.map +0 -1
  887. package/dist/src/openapi/models/RedPacketSendTxResponse.d.ts +0 -20
  888. package/dist/src/openapi/models/RedPacketSendTxResponse.js +0 -22
  889. package/dist/src/openapi/models/RedPacketSendTxResponse.js.map +0 -1
  890. package/dist/src/openapi/models/RedPacketsPage.d.ts +0 -25
  891. package/dist/src/openapi/models/RedPacketsPage.js +0 -46
  892. package/dist/src/openapi/models/RedPacketsPage.js.map +0 -1
  893. package/dist/src/openapi/models/Resolution.d.ts +0 -12
  894. package/dist/src/openapi/models/Resolution.js +0 -17
  895. package/dist/src/openapi/models/Resolution.js.map +0 -1
  896. package/dist/src/openapi/models/SendTxInput.d.ts +0 -26
  897. package/dist/src/openapi/models/SendTxInput.js +0 -39
  898. package/dist/src/openapi/models/SendTxInput.js.map +0 -1
  899. package/dist/src/openapi/models/SendTxResponse.d.ts +0 -22
  900. package/dist/src/openapi/models/SendTxResponse.js +0 -34
  901. package/dist/src/openapi/models/SendTxResponse.js.map +0 -1
  902. package/dist/src/openapi/models/SubmitInput.d.ts +0 -21
  903. package/dist/src/openapi/models/SubmitInput.js +0 -28
  904. package/dist/src/openapi/models/SubmitInput.js.map +0 -1
  905. package/dist/src/openapi/models/SwapInput.d.ts +0 -39
  906. package/dist/src/openapi/models/SwapInput.js +0 -83
  907. package/dist/src/openapi/models/SwapInput.js.map +0 -1
  908. package/dist/src/openapi/models/SwapReply.d.ts +0 -21
  909. package/dist/src/openapi/models/SwapReply.js +0 -28
  910. package/dist/src/openapi/models/SwapReply.js.map +0 -1
  911. package/dist/src/openapi/models/SwapRouteInput.d.ts +0 -40
  912. package/dist/src/openapi/models/SwapRouteInput.js +0 -104
  913. package/dist/src/openapi/models/SwapRouteInput.js.map +0 -1
  914. package/dist/src/openapi/models/SwapRouteResponse.d.ts +0 -24
  915. package/dist/src/openapi/models/SwapRouteResponse.js +0 -40
  916. package/dist/src/openapi/models/SwapRouteResponse.js.map +0 -1
  917. package/dist/src/openapi/models/Token.d.ts +0 -41
  918. package/dist/src/openapi/models/Token.js +0 -130
  919. package/dist/src/openapi/models/Token.js.map +0 -1
  920. package/dist/src/openapi/models/TokenCreationDTO.d.ts +0 -31
  921. package/dist/src/openapi/models/TokenCreationDTO.js +0 -64
  922. package/dist/src/openapi/models/TokenCreationDTO.js.map +0 -1
  923. package/dist/src/openapi/models/TokenCreationPage.d.ts +0 -26
  924. package/dist/src/openapi/models/TokenCreationPage.js +0 -52
  925. package/dist/src/openapi/models/TokenCreationPage.js.map +0 -1
  926. package/dist/src/openapi/models/TokenHolder.d.ts +0 -23
  927. package/dist/src/openapi/models/TokenHolder.js +0 -40
  928. package/dist/src/openapi/models/TokenHolder.js.map +0 -1
  929. package/dist/src/openapi/models/TokenHolderPage.d.ts +0 -26
  930. package/dist/src/openapi/models/TokenHolderPage.js +0 -52
  931. package/dist/src/openapi/models/TokenHolderPage.js.map +0 -1
  932. package/dist/src/openapi/models/TokenListPage.d.ts +0 -26
  933. package/dist/src/openapi/models/TokenListPage.js +0 -52
  934. package/dist/src/openapi/models/TokenListPage.js.map +0 -1
  935. package/dist/src/openapi/models/TokenMarketData.d.ts +0 -31
  936. package/dist/src/openapi/models/TokenMarketData.js +0 -88
  937. package/dist/src/openapi/models/TokenMarketData.js.map +0 -1
  938. package/dist/src/openapi/models/TokenMetadata.d.ts +0 -32
  939. package/dist/src/openapi/models/TokenMetadata.js +0 -94
  940. package/dist/src/openapi/models/TokenMetadata.js.map +0 -1
  941. package/dist/src/openapi/models/TokenPage.d.ts +0 -27
  942. package/dist/src/openapi/models/TokenPage.js +0 -58
  943. package/dist/src/openapi/models/TokenPage.js.map +0 -1
  944. package/dist/src/openapi/models/TokenPriceDTO.d.ts +0 -23
  945. package/dist/src/openapi/models/TokenPriceDTO.js +0 -40
  946. package/dist/src/openapi/models/TokenPriceDTO.js.map +0 -1
  947. package/dist/src/openapi/models/TokenPricePage.d.ts +0 -26
  948. package/dist/src/openapi/models/TokenPricePage.js +0 -52
  949. package/dist/src/openapi/models/TokenPricePage.js.map +0 -1
  950. package/dist/src/openapi/models/TokenStat.d.ts +0 -146
  951. package/dist/src/openapi/models/TokenStat.js +0 -778
  952. package/dist/src/openapi/models/TokenStat.js.map +0 -1
  953. package/dist/src/openapi/models/TopTradersDTO.d.ts +0 -29
  954. package/dist/src/openapi/models/TopTradersDTO.js +0 -76
  955. package/dist/src/openapi/models/TopTradersDTO.js.map +0 -1
  956. package/dist/src/openapi/models/TopTradersPage.d.ts +0 -26
  957. package/dist/src/openapi/models/TopTradersPage.js +0 -52
  958. package/dist/src/openapi/models/TopTradersPage.js.map +0 -1
  959. package/dist/src/openapi/models/TradeDetailDTO.d.ts +0 -44
  960. package/dist/src/openapi/models/TradeDetailDTO.js +0 -166
  961. package/dist/src/openapi/models/TradeDetailDTO.js.map +0 -1
  962. package/dist/src/openapi/models/TradeEvent.d.ts +0 -33
  963. package/dist/src/openapi/models/TradeEvent.js +0 -94
  964. package/dist/src/openapi/models/TradeEvent.js.map +0 -1
  965. package/dist/src/openapi/models/TradePage.d.ts +0 -26
  966. package/dist/src/openapi/models/TradePage.js +0 -52
  967. package/dist/src/openapi/models/TradePage.js.map +0 -1
  968. package/dist/src/openapi/models/TradeType.d.ts +0 -4
  969. package/dist/src/openapi/models/TradeType.js +0 -9
  970. package/dist/src/openapi/models/TradeType.js.map +0 -1
  971. package/dist/src/openapi/models/WalletBalanceDetailDTO.d.ts +0 -44
  972. package/dist/src/openapi/models/WalletBalanceDetailDTO.js +0 -166
  973. package/dist/src/openapi/models/WalletBalanceDetailDTO.js.map +0 -1
  974. package/dist/src/openapi/models/WalletBalancesDTO.d.ts +0 -23
  975. package/dist/src/openapi/models/WalletBalancesDTO.js +0 -34
  976. package/dist/src/openapi/models/WalletBalancesDTO.js.map +0 -1
  977. package/dist/src/openapi/models/WalletPnlDTO.d.ts +0 -42
  978. package/dist/src/openapi/models/WalletPnlDTO.js +0 -154
  979. package/dist/src/openapi/models/WalletPnlDTO.js.map +0 -1
  980. package/dist/src/openapi/models/all.d.ts +0 -59
  981. package/dist/src/openapi/models/all.js +0 -76
  982. package/dist/src/openapi/models/all.js.map +0 -1
  983. package/dist/src/openapi/rxjsStub.d.ts +0 -10
  984. package/dist/src/openapi/rxjsStub.js +0 -32
  985. package/dist/src/openapi/rxjsStub.js.map +0 -1
  986. package/dist/src/openapi/servers.d.ts +0 -17
  987. package/dist/src/openapi/servers.js +0 -31
  988. package/dist/src/openapi/servers.js.map +0 -1
  989. package/dist/src/openapi/types/ObjectParamAPI.d.ts +0 -661
  990. package/dist/src/openapi/types/ObjectParamAPI.js +0 -438
  991. package/dist/src/openapi/types/ObjectParamAPI.js.map +0 -1
  992. package/dist/src/openapi/types/ObservableAPI.d.ts +0 -273
  993. package/dist/src/openapi/types/ObservableAPI.js +0 -1140
  994. package/dist/src/openapi/types/ObservableAPI.js.map +0 -1
  995. package/dist/src/openapi/types/PromiseAPI.d.ts +0 -244
  996. package/dist/src/openapi/types/PromiseAPI.js +0 -550
  997. package/dist/src/openapi/types/PromiseAPI.js.map +0 -1
  998. package/dist/src/openapi/util.d.ts +0 -2
  999. package/dist/src/openapi/util.js +0 -29
  1000. package/dist/src/openapi/util.js.map +0 -1
  1001. package/dist/stream.test.d.ts +0 -1
  1002. package/dist/stream.test.js +0 -84
  1003. package/dist/stream.test.js.map +0 -1
  1004. package/src/openapi/.gitattributes +0 -8
  1005. package/src/openapi/.openapi-generator/FILES +0 -97
  1006. package/src/openapi/.openapi-generator/VERSION +0 -1
  1007. package/src/openapi/.openapi-generator-ignore +0 -23
  1008. package/src/openapi/README.md +0 -80
  1009. package/src/openapi/apis/baseapi.ts +0 -37
  1010. package/src/openapi/apis/exception.ts +0 -15
  1011. package/src/openapi/auth/auth.ts +0 -80
  1012. package/src/openapi/configuration.ts +0 -82
  1013. package/src/openapi/git_push.sh +0 -51
  1014. package/src/openapi/http/http.ts +0 -259
  1015. package/src/openapi/http/isomorphic-fetch.ts +0 -32
  1016. package/src/openapi/middleware.ts +0 -66
  1017. package/src/openapi/models/ObjectSerializer.ts +0 -500
  1018. package/src/openapi/models/all.ts +0 -60
  1019. package/src/openapi/package.json +0 -43
  1020. package/src/openapi/rxjsStub.ts +0 -27
  1021. package/src/openapi/servers.ts +0 -55
  1022. package/src/openapi/tsconfig.json +0 -37
  1023. package/src/openapi/types/ObjectParamAPI.ts +0 -3839
  1024. package/src/openapi/types/ObservableAPI.ts +0 -2767
  1025. package/src/openapi/types/PromiseAPI.ts +0 -2039
  1026. package/src/openapi/util.ts +0 -37
@@ -1,1372 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.TokenApiResponseProcessor = exports.TokenApiRequestFactory = void 0;
13
- const baseapi_1 = require("./baseapi");
14
- const http_1 = require("../http/http");
15
- const ObjectSerializer_1 = require("../models/ObjectSerializer");
16
- const exception_1 = require("./exception");
17
- const util_1 = require("../util");
18
- class TokenApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
19
- getCandles(chain, tokenAddress, resolution, _from, to, limit, _options) {
20
- var _a, _b, _c;
21
- return __awaiter(this, void 0, void 0, function* () {
22
- let _config = _options || this.configuration;
23
- if (chain === null || chain === undefined) {
24
- throw new baseapi_1.RequiredError("TokenApi", "getCandles", "chain");
25
- }
26
- if (tokenAddress === null || tokenAddress === undefined) {
27
- throw new baseapi_1.RequiredError("TokenApi", "getCandles", "tokenAddress");
28
- }
29
- if (resolution === null || resolution === undefined) {
30
- throw new baseapi_1.RequiredError("TokenApi", "getCandles", "resolution");
31
- }
32
- const localVarPath = '/v1/token/{chain}/{tokenAddress}/candles'
33
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)))
34
- .replace('{' + 'tokenAddress' + '}', encodeURIComponent(String(tokenAddress)));
35
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
36
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
37
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
38
- requestContext.setHeaderParam("x-req-id", randomId.toString());
39
- if (resolution !== undefined) {
40
- requestContext.setQueryParam("resolution", ObjectSerializer_1.ObjectSerializer.serialize(resolution, "string", ""));
41
- }
42
- if (_from !== undefined) {
43
- requestContext.setQueryParam("from", ObjectSerializer_1.ObjectSerializer.serialize(_from, "number", ""));
44
- }
45
- if (to !== undefined) {
46
- requestContext.setQueryParam("to", ObjectSerializer_1.ObjectSerializer.serialize(to, "number", ""));
47
- }
48
- if (limit !== undefined) {
49
- requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", ""));
50
- }
51
- let authMethod;
52
- authMethod = _config.authMethods["bearer"];
53
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
54
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
55
- }
56
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
57
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
58
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
59
- }
60
- return requestContext;
61
- });
62
- }
63
- getCreation(chain, tokenAddress, _options) {
64
- var _a, _b, _c;
65
- return __awaiter(this, void 0, void 0, function* () {
66
- let _config = _options || this.configuration;
67
- if (chain === null || chain === undefined) {
68
- throw new baseapi_1.RequiredError("TokenApi", "getCreation", "chain");
69
- }
70
- if (tokenAddress === null || tokenAddress === undefined) {
71
- throw new baseapi_1.RequiredError("TokenApi", "getCreation", "tokenAddress");
72
- }
73
- const localVarPath = '/v1/token/{chain}/{tokenAddress}/creation'
74
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)))
75
- .replace('{' + 'tokenAddress' + '}', encodeURIComponent(String(tokenAddress)));
76
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
77
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
78
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
79
- requestContext.setHeaderParam("x-req-id", randomId.toString());
80
- let authMethod;
81
- authMethod = _config.authMethods["bearer"];
82
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
83
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
84
- }
85
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
86
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
87
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
88
- }
89
- return requestContext;
90
- });
91
- }
92
- getHolders(chain, tokenAddress, cursor, limit, direction, _options) {
93
- var _a, _b, _c;
94
- return __awaiter(this, void 0, void 0, function* () {
95
- let _config = _options || this.configuration;
96
- if (chain === null || chain === undefined) {
97
- throw new baseapi_1.RequiredError("TokenApi", "getHolders", "chain");
98
- }
99
- if (tokenAddress === null || tokenAddress === undefined) {
100
- throw new baseapi_1.RequiredError("TokenApi", "getHolders", "tokenAddress");
101
- }
102
- const localVarPath = '/v1/token/{chain}/{tokenAddress}/holders'
103
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)))
104
- .replace('{' + 'tokenAddress' + '}', encodeURIComponent(String(tokenAddress)));
105
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
106
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
107
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
108
- requestContext.setHeaderParam("x-req-id", randomId.toString());
109
- if (cursor !== undefined) {
110
- requestContext.setQueryParam("cursor", ObjectSerializer_1.ObjectSerializer.serialize(cursor, "string", ""));
111
- }
112
- if (limit !== undefined) {
113
- requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", ""));
114
- }
115
- if (direction !== undefined) {
116
- requestContext.setQueryParam("direction", ObjectSerializer_1.ObjectSerializer.serialize(direction, "'next' | 'prev'", ""));
117
- }
118
- let authMethod;
119
- authMethod = _config.authMethods["bearer"];
120
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
121
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
122
- }
123
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
124
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
125
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
126
- }
127
- return requestContext;
128
- });
129
- }
130
- getHoldersMulti(chain, tokenAddress, walletAddresses, _options) {
131
- var _a, _b, _c;
132
- return __awaiter(this, void 0, void 0, function* () {
133
- let _config = _options || this.configuration;
134
- if (chain === null || chain === undefined) {
135
- throw new baseapi_1.RequiredError("TokenApi", "getHoldersMulti", "chain");
136
- }
137
- if (tokenAddress === null || tokenAddress === undefined) {
138
- throw new baseapi_1.RequiredError("TokenApi", "getHoldersMulti", "tokenAddress");
139
- }
140
- if (walletAddresses === null || walletAddresses === undefined) {
141
- throw new baseapi_1.RequiredError("TokenApi", "getHoldersMulti", "walletAddresses");
142
- }
143
- const localVarPath = '/v1/token/{chain}/{tokenAddress}/holders/multi'
144
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)))
145
- .replace('{' + 'tokenAddress' + '}', encodeURIComponent(String(tokenAddress)));
146
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
147
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
148
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
149
- requestContext.setHeaderParam("x-req-id", randomId.toString());
150
- if (walletAddresses !== undefined) {
151
- requestContext.setQueryParam("walletAddresses", ObjectSerializer_1.ObjectSerializer.serialize(walletAddresses, "string", ""));
152
- }
153
- let authMethod;
154
- authMethod = _config.authMethods["bearer"];
155
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
156
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
157
- }
158
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
159
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
160
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
161
- }
162
- return requestContext;
163
- });
164
- }
165
- getMarketData(chain, tokenAddress, _options) {
166
- var _a, _b, _c;
167
- return __awaiter(this, void 0, void 0, function* () {
168
- let _config = _options || this.configuration;
169
- if (chain === null || chain === undefined) {
170
- throw new baseapi_1.RequiredError("TokenApi", "getMarketData", "chain");
171
- }
172
- if (tokenAddress === null || tokenAddress === undefined) {
173
- throw new baseapi_1.RequiredError("TokenApi", "getMarketData", "tokenAddress");
174
- }
175
- const localVarPath = '/v1/token/{chain}/{tokenAddress}/marketData'
176
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)))
177
- .replace('{' + 'tokenAddress' + '}', encodeURIComponent(String(tokenAddress)));
178
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
179
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
180
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
181
- requestContext.setHeaderParam("x-req-id", randomId.toString());
182
- let authMethod;
183
- authMethod = _config.authMethods["bearer"];
184
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
185
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
186
- }
187
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
188
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
189
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
190
- }
191
- return requestContext;
192
- });
193
- }
194
- getMarketDataMulti(chain, tokenAddresses, _options) {
195
- var _a, _b, _c;
196
- return __awaiter(this, void 0, void 0, function* () {
197
- let _config = _options || this.configuration;
198
- if (chain === null || chain === undefined) {
199
- throw new baseapi_1.RequiredError("TokenApi", "getMarketDataMulti", "chain");
200
- }
201
- if (tokenAddresses === null || tokenAddresses === undefined) {
202
- throw new baseapi_1.RequiredError("TokenApi", "getMarketDataMulti", "tokenAddresses");
203
- }
204
- const localVarPath = '/v1/token/{chain}/marketData/multi'
205
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)));
206
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
207
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
208
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
209
- requestContext.setHeaderParam("x-req-id", randomId.toString());
210
- if (tokenAddresses !== undefined) {
211
- requestContext.setQueryParam("tokenAddresses", ObjectSerializer_1.ObjectSerializer.serialize(tokenAddresses, "string", ""));
212
- }
213
- let authMethod;
214
- authMethod = _config.authMethods["bearer"];
215
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
216
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
217
- }
218
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
219
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
220
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
221
- }
222
- return requestContext;
223
- });
224
- }
225
- getMetadata(chain, tokenAddress, _options) {
226
- var _a, _b, _c;
227
- return __awaiter(this, void 0, void 0, function* () {
228
- let _config = _options || this.configuration;
229
- if (chain === null || chain === undefined) {
230
- throw new baseapi_1.RequiredError("TokenApi", "getMetadata", "chain");
231
- }
232
- if (tokenAddress === null || tokenAddress === undefined) {
233
- throw new baseapi_1.RequiredError("TokenApi", "getMetadata", "tokenAddress");
234
- }
235
- const localVarPath = '/v1/token/{chain}/{tokenAddress}/metadata'
236
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)))
237
- .replace('{' + 'tokenAddress' + '}', encodeURIComponent(String(tokenAddress)));
238
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
239
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
240
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
241
- requestContext.setHeaderParam("x-req-id", randomId.toString());
242
- let authMethod;
243
- authMethod = _config.authMethods["bearer"];
244
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
245
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
246
- }
247
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
248
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
249
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
250
- }
251
- return requestContext;
252
- });
253
- }
254
- getMetadataMulti(chain, tokenAddresses, _options) {
255
- var _a, _b, _c;
256
- return __awaiter(this, void 0, void 0, function* () {
257
- let _config = _options || this.configuration;
258
- if (chain === null || chain === undefined) {
259
- throw new baseapi_1.RequiredError("TokenApi", "getMetadataMulti", "chain");
260
- }
261
- if (tokenAddresses === null || tokenAddresses === undefined) {
262
- throw new baseapi_1.RequiredError("TokenApi", "getMetadataMulti", "tokenAddresses");
263
- }
264
- const localVarPath = '/v1/token/{chain}/metadata/multi'
265
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)));
266
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
267
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
268
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
269
- requestContext.setHeaderParam("x-req-id", randomId.toString());
270
- if (tokenAddresses !== undefined) {
271
- requestContext.setQueryParam("tokenAddresses", ObjectSerializer_1.ObjectSerializer.serialize(tokenAddresses, "string", ""));
272
- }
273
- let authMethod;
274
- authMethod = _config.authMethods["bearer"];
275
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
276
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
277
- }
278
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
279
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
280
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
281
- }
282
- return requestContext;
283
- });
284
- }
285
- getMintAndBurn(chain, tokenAddress, type, cursor, limit, direction, _options) {
286
- var _a, _b, _c;
287
- return __awaiter(this, void 0, void 0, function* () {
288
- let _config = _options || this.configuration;
289
- if (chain === null || chain === undefined) {
290
- throw new baseapi_1.RequiredError("TokenApi", "getMintAndBurn", "chain");
291
- }
292
- if (tokenAddress === null || tokenAddress === undefined) {
293
- throw new baseapi_1.RequiredError("TokenApi", "getMintAndBurn", "tokenAddress");
294
- }
295
- if (type === null || type === undefined) {
296
- throw new baseapi_1.RequiredError("TokenApi", "getMintAndBurn", "type");
297
- }
298
- const localVarPath = '/v1/token/{chain}/{tokenAddress}/mintAndBurn'
299
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)))
300
- .replace('{' + 'tokenAddress' + '}', encodeURIComponent(String(tokenAddress)));
301
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
302
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
303
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
304
- requestContext.setHeaderParam("x-req-id", randomId.toString());
305
- if (cursor !== undefined) {
306
- requestContext.setQueryParam("cursor", ObjectSerializer_1.ObjectSerializer.serialize(cursor, "string", ""));
307
- }
308
- if (limit !== undefined) {
309
- requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", ""));
310
- }
311
- if (direction !== undefined) {
312
- requestContext.setQueryParam("direction", ObjectSerializer_1.ObjectSerializer.serialize(direction, "'next' | 'prev'", ""));
313
- }
314
- if (type !== undefined) {
315
- requestContext.setQueryParam("type", ObjectSerializer_1.ObjectSerializer.serialize(type, "'all' | 'mint' | 'burn'", ""));
316
- }
317
- let authMethod;
318
- authMethod = _config.authMethods["bearer"];
319
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
320
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
321
- }
322
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
323
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
324
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
325
- }
326
- return requestContext;
327
- });
328
- }
329
- getPools(chain, tokenAddress, _options) {
330
- var _a, _b, _c;
331
- return __awaiter(this, void 0, void 0, function* () {
332
- let _config = _options || this.configuration;
333
- if (chain === null || chain === undefined) {
334
- throw new baseapi_1.RequiredError("TokenApi", "getPools", "chain");
335
- }
336
- if (tokenAddress === null || tokenAddress === undefined) {
337
- throw new baseapi_1.RequiredError("TokenApi", "getPools", "tokenAddress");
338
- }
339
- const localVarPath = '/v1/token/{chain}/{tokenAddress}/pools'
340
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)))
341
- .replace('{' + 'tokenAddress' + '}', encodeURIComponent(String(tokenAddress)));
342
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
343
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
344
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
345
- requestContext.setHeaderParam("x-req-id", randomId.toString());
346
- let authMethod;
347
- authMethod = _config.authMethods["bearer"];
348
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
349
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
350
- }
351
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
352
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
353
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
354
- }
355
- return requestContext;
356
- });
357
- }
358
- getPriceByTime(chain, tokenAddress, timestamp, _options) {
359
- var _a, _b, _c;
360
- return __awaiter(this, void 0, void 0, function* () {
361
- let _config = _options || this.configuration;
362
- if (chain === null || chain === undefined) {
363
- throw new baseapi_1.RequiredError("TokenApi", "getPriceByTime", "chain");
364
- }
365
- if (tokenAddress === null || tokenAddress === undefined) {
366
- throw new baseapi_1.RequiredError("TokenApi", "getPriceByTime", "tokenAddress");
367
- }
368
- if (timestamp === null || timestamp === undefined) {
369
- throw new baseapi_1.RequiredError("TokenApi", "getPriceByTime", "timestamp");
370
- }
371
- const localVarPath = '/v1/token/{chain}/{tokenAddress}/price'
372
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)))
373
- .replace('{' + 'tokenAddress' + '}', encodeURIComponent(String(tokenAddress)));
374
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
375
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
376
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
377
- requestContext.setHeaderParam("x-req-id", randomId.toString());
378
- if (timestamp !== undefined) {
379
- requestContext.setQueryParam("timestamp", ObjectSerializer_1.ObjectSerializer.serialize(timestamp, "number", ""));
380
- }
381
- let authMethod;
382
- authMethod = _config.authMethods["bearer"];
383
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
384
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
385
- }
386
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
387
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
388
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
389
- }
390
- return requestContext;
391
- });
392
- }
393
- getPrices(chain, tokenAddress, cursor, limit, direction, _options) {
394
- var _a, _b, _c;
395
- return __awaiter(this, void 0, void 0, function* () {
396
- let _config = _options || this.configuration;
397
- if (chain === null || chain === undefined) {
398
- throw new baseapi_1.RequiredError("TokenApi", "getPrices", "chain");
399
- }
400
- if (tokenAddress === null || tokenAddress === undefined) {
401
- throw new baseapi_1.RequiredError("TokenApi", "getPrices", "tokenAddress");
402
- }
403
- const localVarPath = '/v1/token/{chain}/{tokenAddress}/prices'
404
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)))
405
- .replace('{' + 'tokenAddress' + '}', encodeURIComponent(String(tokenAddress)));
406
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
407
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
408
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
409
- requestContext.setHeaderParam("x-req-id", randomId.toString());
410
- if (cursor !== undefined) {
411
- requestContext.setQueryParam("cursor", ObjectSerializer_1.ObjectSerializer.serialize(cursor, "string", ""));
412
- }
413
- if (limit !== undefined) {
414
- requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", ""));
415
- }
416
- if (direction !== undefined) {
417
- requestContext.setQueryParam("direction", ObjectSerializer_1.ObjectSerializer.serialize(direction, "'next' | 'prev'", ""));
418
- }
419
- let authMethod;
420
- authMethod = _config.authMethods["bearer"];
421
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
422
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
423
- }
424
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
425
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
426
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
427
- }
428
- return requestContext;
429
- });
430
- }
431
- getSecurity(chain, tokenAddress, _options) {
432
- var _a, _b, _c;
433
- return __awaiter(this, void 0, void 0, function* () {
434
- let _config = _options || this.configuration;
435
- if (chain === null || chain === undefined) {
436
- throw new baseapi_1.RequiredError("TokenApi", "getSecurity", "chain");
437
- }
438
- if (tokenAddress === null || tokenAddress === undefined) {
439
- throw new baseapi_1.RequiredError("TokenApi", "getSecurity", "tokenAddress");
440
- }
441
- const localVarPath = '/v1/token/{chain}/{tokenAddress}/security'
442
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)))
443
- .replace('{' + 'tokenAddress' + '}', encodeURIComponent(String(tokenAddress)));
444
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
445
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
446
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
447
- requestContext.setHeaderParam("x-req-id", randomId.toString());
448
- let authMethod;
449
- authMethod = _config.authMethods["bearer"];
450
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
451
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
452
- }
453
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
454
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
455
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
456
- }
457
- return requestContext;
458
- });
459
- }
460
- getStats(chain, tokenAddress, _options) {
461
- var _a, _b, _c;
462
- return __awaiter(this, void 0, void 0, function* () {
463
- let _config = _options || this.configuration;
464
- if (chain === null || chain === undefined) {
465
- throw new baseapi_1.RequiredError("TokenApi", "getStats", "chain");
466
- }
467
- if (tokenAddress === null || tokenAddress === undefined) {
468
- throw new baseapi_1.RequiredError("TokenApi", "getStats", "tokenAddress");
469
- }
470
- const localVarPath = '/v1/token/{chain}/{tokenAddress}/stats'
471
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)))
472
- .replace('{' + 'tokenAddress' + '}', encodeURIComponent(String(tokenAddress)));
473
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
474
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
475
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
476
- requestContext.setHeaderParam("x-req-id", randomId.toString());
477
- let authMethod;
478
- authMethod = _config.authMethods["bearer"];
479
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
480
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
481
- }
482
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
483
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
484
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
485
- }
486
- return requestContext;
487
- });
488
- }
489
- getStatsMulti(chain, tokenAddresses, _options) {
490
- var _a, _b, _c;
491
- return __awaiter(this, void 0, void 0, function* () {
492
- let _config = _options || this.configuration;
493
- if (chain === null || chain === undefined) {
494
- throw new baseapi_1.RequiredError("TokenApi", "getStatsMulti", "chain");
495
- }
496
- if (tokenAddresses === null || tokenAddresses === undefined) {
497
- throw new baseapi_1.RequiredError("TokenApi", "getStatsMulti", "tokenAddresses");
498
- }
499
- const localVarPath = '/v1/token/{chain}/stats/multi'
500
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)));
501
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
502
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
503
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
504
- requestContext.setHeaderParam("x-req-id", randomId.toString());
505
- if (tokenAddresses !== undefined) {
506
- requestContext.setQueryParam("tokenAddresses", ObjectSerializer_1.ObjectSerializer.serialize(tokenAddresses, "string", ""));
507
- }
508
- let authMethod;
509
- authMethod = _config.authMethods["bearer"];
510
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
511
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
512
- }
513
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
514
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
515
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
516
- }
517
- return requestContext;
518
- });
519
- }
520
- getToken(chain, tokenAddress, _options) {
521
- var _a, _b, _c;
522
- return __awaiter(this, void 0, void 0, function* () {
523
- let _config = _options || this.configuration;
524
- if (chain === null || chain === undefined) {
525
- throw new baseapi_1.RequiredError("TokenApi", "getToken", "chain");
526
- }
527
- if (tokenAddress === null || tokenAddress === undefined) {
528
- throw new baseapi_1.RequiredError("TokenApi", "getToken", "tokenAddress");
529
- }
530
- const localVarPath = '/v1/token/{chain}/{tokenAddress}'
531
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)))
532
- .replace('{' + 'tokenAddress' + '}', encodeURIComponent(String(tokenAddress)));
533
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
534
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
535
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
536
- requestContext.setHeaderParam("x-req-id", randomId.toString());
537
- let authMethod;
538
- authMethod = _config.authMethods["bearer"];
539
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
540
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
541
- }
542
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
543
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
544
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
545
- }
546
- return requestContext;
547
- });
548
- }
549
- getTokenList(chain, cursor, limit, direction, sort, sortBy, minH24VolumeInUsd, maxH24VolumeInUsd, minH24PriceChangeRatio, maxH24PriceChangeRatio, minH24Buys, maxH24Buys, minH24Sells, maxH24Sells, minH24Trades, maxH24Trades, minH24Buyers, maxH24Buyers, minH24Sellers, maxH24Sellers, minH24BuyVolumeInUsd, maxH24BuyVolumeInUsd, minH24SellVolumeInUsd, maxH24SellVolumeInUsd, minH4VolumeInUsd, maxH4VolumeInUsd, minH4PriceChangeRatio, maxH4PriceChangeRatio, minH4Buys, maxH4Buys, minH4Sells, maxH4Sells, minH4Trades, maxH4Trades, minH4Buyers, maxH4Buyers, minH4Sellers, maxH4Sellers, minH4BuyVolumeInUsd, maxH4BuyVolumeInUsd, minH4SellVolumeInUsd, maxH4SellVolumeInUsd, minH1VolumeInUsd, maxH1VolumeInUsd, minH1PriceChangeRatio, maxH1PriceChangeRatio, minH1Buys, maxH1Buys, minH1Sells, maxH1Sells, minH1Trades, maxH1Trades, minH1Buyers, maxH1Buyers, minH1Sellers, maxH1Sellers, minH1BuyVolumeInUsd, maxH1BuyVolumeInUsd, minH1SellVolumeInUsd, maxH1SellVolumeInUsd, minM30VolumeInUsd, maxM30VolumeInUsd, minM30PriceChangeRatio, maxM30PriceChangeRatio, minM30Buys, maxM30Buys, minM30Sells, maxM30Sells, minM30Trades, maxM30Trades, minM30Buyers, maxM30Buyers, minM30Sellers, maxM30Sellers, minM30BuyVolumeInUsd, maxM30BuyVolumeInUsd, minM30SellVolumeInUsd, maxM30SellVolumeInUsd, minM15VolumeInUsd, maxM15VolumeInUsd, minM15PriceChangeRatio, maxM15PriceChangeRatio, minM15Buys, maxM15Buys, minM15Sells, maxM15Sells, minM15Trades, maxM15Trades, minM15Buyers, maxM15Buyers, minM15Sellers, maxM15Sellers, minM15BuyVolumeInUsd, maxM15BuyVolumeInUsd, minM15SellVolumeInUsd, maxM15SellVolumeInUsd, minM5VolumeInUsd, maxM5VolumeInUsd, minM5PriceChangeRatio, maxM5PriceChangeRatio, minM5Buys, maxM5Buys, minM5Sells, maxM5Sells, minM5Trades, maxM5Trades, minM5Buyers, maxM5Buyers, minM5Sellers, maxM5Sellers, minM5BuyVolumeInUsd, maxM5BuyVolumeInUsd, minM5SellVolumeInUsd, maxM5SellVolumeInUsd, minM1VolumeInUsd, maxM1VolumeInUsd, minM1PriceChangeRatio, maxM1PriceChangeRatio, minM1Buys, maxM1Buys, minM1Sells, maxM1Sells, minM1Trades, maxM1Trades, minM1Buyers, maxM1Buyers, minM1Sellers, maxM1Sellers, minM1BuyVolumeInUsd, maxM1BuyVolumeInUsd, minM1SellVolumeInUsd, maxM1SellVolumeInUsd, _options) {
550
- var _a, _b, _c;
551
- return __awaiter(this, void 0, void 0, function* () {
552
- let _config = _options || this.configuration;
553
- if (chain === null || chain === undefined) {
554
- throw new baseapi_1.RequiredError("TokenApi", "getTokenList", "chain");
555
- }
556
- const localVarPath = '/v1/token/{chain}/list'
557
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)));
558
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
559
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
560
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
561
- requestContext.setHeaderParam("x-req-id", randomId.toString());
562
- if (cursor !== undefined) {
563
- requestContext.setQueryParam("cursor", ObjectSerializer_1.ObjectSerializer.serialize(cursor, "string", ""));
564
- }
565
- if (limit !== undefined) {
566
- requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", ""));
567
- }
568
- if (direction !== undefined) {
569
- requestContext.setQueryParam("direction", ObjectSerializer_1.ObjectSerializer.serialize(direction, "'next' | 'prev'", ""));
570
- }
571
- if (sort !== undefined) {
572
- requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "'asc' | 'desc'", ""));
573
- }
574
- if (sortBy !== undefined) {
575
- requestContext.setQueryParam("sortBy", ObjectSerializer_1.ObjectSerializer.serialize(sortBy, "'h24VolumeInUsd' | 'h24PriceChangeRatio' | 'h24Buys' | 'h24Sells' | 'h24Trades' | 'h24Buyers' | 'h24Sellers' | 'h24BuyVolumeInUsd' | 'h24SellVolumeInUsd' | 'h4VolumeInUsd' | 'h4PriceChangeRatio' | 'h4Buys' | 'h4Sells' | 'h4Trades' | 'h4Buyers' | 'h4Sellers' | 'h4BuyVolumeInUsd' | 'h4SellVolumeInUsd' | 'h1VolumeInUsd' | 'h1PriceChangeRatio' | 'h1Buys' | 'h1Sells' | 'h1Trades' | 'h1Buyers' | 'h1Sellers' | 'h1BuyVolumeInUsd' | 'h1SellVolumeInUsd' | 'm30VolumeInUsd' | 'm30PriceChangeRatio' | 'm30Buys' | 'm30Sells' | 'm30Trades' | 'm30Buyers' | 'm30Sellers' | 'm30BuyVolumeInUsd' | 'm30SellVolumeInUsd' | 'm15VolumeInUsd' | 'm15PriceChangeRatio' | 'm15Buys' | 'm15Sells' | 'm15Trades' | 'm15Buyers' | 'm15Sellers' | 'm15BuyVolumeInUsd' | 'm15SellVolumeInUsd' | 'm5VolumeInUsd' | 'm5PriceChangeRatio' | 'm5Buys' | 'm5Sells' | 'm5Trades' | 'm5Buyers' | 'm5Sellers' | 'm5BuyVolumeInUsd' | 'm5SellVolumeInUsd' | 'm1VolumeInUsd' | 'm1PriceChangeRatio' | 'm1Buys' | 'm1Sells' | 'm1Trades' | 'm1Buyers' | 'm1Sellers' | 'm1BuyVolumeInUsd' | 'm1SellVolumeInUsd'", ""));
576
- }
577
- if (minH24VolumeInUsd !== undefined) {
578
- requestContext.setQueryParam("min_h24_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minH24VolumeInUsd, "string", ""));
579
- }
580
- if (maxH24VolumeInUsd !== undefined) {
581
- requestContext.setQueryParam("max_h24_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxH24VolumeInUsd, "string", ""));
582
- }
583
- if (minH24PriceChangeRatio !== undefined) {
584
- requestContext.setQueryParam("min_h24_price_change_ratio", ObjectSerializer_1.ObjectSerializer.serialize(minH24PriceChangeRatio, "string", ""));
585
- }
586
- if (maxH24PriceChangeRatio !== undefined) {
587
- requestContext.setQueryParam("max_h24_price_change_ratio", ObjectSerializer_1.ObjectSerializer.serialize(maxH24PriceChangeRatio, "string", ""));
588
- }
589
- if (minH24Buys !== undefined) {
590
- requestContext.setQueryParam("min_h24_buys", ObjectSerializer_1.ObjectSerializer.serialize(minH24Buys, "string", ""));
591
- }
592
- if (maxH24Buys !== undefined) {
593
- requestContext.setQueryParam("max_h24_buys", ObjectSerializer_1.ObjectSerializer.serialize(maxH24Buys, "string", ""));
594
- }
595
- if (minH24Sells !== undefined) {
596
- requestContext.setQueryParam("min_h24_sells", ObjectSerializer_1.ObjectSerializer.serialize(minH24Sells, "string", ""));
597
- }
598
- if (maxH24Sells !== undefined) {
599
- requestContext.setQueryParam("max_h24_sells", ObjectSerializer_1.ObjectSerializer.serialize(maxH24Sells, "string", ""));
600
- }
601
- if (minH24Trades !== undefined) {
602
- requestContext.setQueryParam("min_h24_trades", ObjectSerializer_1.ObjectSerializer.serialize(minH24Trades, "string", ""));
603
- }
604
- if (maxH24Trades !== undefined) {
605
- requestContext.setQueryParam("max_h24_trades", ObjectSerializer_1.ObjectSerializer.serialize(maxH24Trades, "string", ""));
606
- }
607
- if (minH24Buyers !== undefined) {
608
- requestContext.setQueryParam("min_h24_buyers", ObjectSerializer_1.ObjectSerializer.serialize(minH24Buyers, "string", ""));
609
- }
610
- if (maxH24Buyers !== undefined) {
611
- requestContext.setQueryParam("max_h24_buyers", ObjectSerializer_1.ObjectSerializer.serialize(maxH24Buyers, "string", ""));
612
- }
613
- if (minH24Sellers !== undefined) {
614
- requestContext.setQueryParam("min_h24_sellers", ObjectSerializer_1.ObjectSerializer.serialize(minH24Sellers, "string", ""));
615
- }
616
- if (maxH24Sellers !== undefined) {
617
- requestContext.setQueryParam("max_h24_sellers", ObjectSerializer_1.ObjectSerializer.serialize(maxH24Sellers, "string", ""));
618
- }
619
- if (minH24BuyVolumeInUsd !== undefined) {
620
- requestContext.setQueryParam("min_h24_buy_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minH24BuyVolumeInUsd, "string", ""));
621
- }
622
- if (maxH24BuyVolumeInUsd !== undefined) {
623
- requestContext.setQueryParam("max_h24_buy_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxH24BuyVolumeInUsd, "string", ""));
624
- }
625
- if (minH24SellVolumeInUsd !== undefined) {
626
- requestContext.setQueryParam("min_h24_sell_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minH24SellVolumeInUsd, "string", ""));
627
- }
628
- if (maxH24SellVolumeInUsd !== undefined) {
629
- requestContext.setQueryParam("max_h24_sell_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxH24SellVolumeInUsd, "string", ""));
630
- }
631
- if (minH4VolumeInUsd !== undefined) {
632
- requestContext.setQueryParam("min_h4_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minH4VolumeInUsd, "string", ""));
633
- }
634
- if (maxH4VolumeInUsd !== undefined) {
635
- requestContext.setQueryParam("max_h4_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxH4VolumeInUsd, "string", ""));
636
- }
637
- if (minH4PriceChangeRatio !== undefined) {
638
- requestContext.setQueryParam("min_h4_price_change_ratio", ObjectSerializer_1.ObjectSerializer.serialize(minH4PriceChangeRatio, "string", ""));
639
- }
640
- if (maxH4PriceChangeRatio !== undefined) {
641
- requestContext.setQueryParam("max_h4_price_change_ratio", ObjectSerializer_1.ObjectSerializer.serialize(maxH4PriceChangeRatio, "string", ""));
642
- }
643
- if (minH4Buys !== undefined) {
644
- requestContext.setQueryParam("min_h4_buys", ObjectSerializer_1.ObjectSerializer.serialize(minH4Buys, "string", ""));
645
- }
646
- if (maxH4Buys !== undefined) {
647
- requestContext.setQueryParam("max_h4_buys", ObjectSerializer_1.ObjectSerializer.serialize(maxH4Buys, "string", ""));
648
- }
649
- if (minH4Sells !== undefined) {
650
- requestContext.setQueryParam("min_h4_sells", ObjectSerializer_1.ObjectSerializer.serialize(minH4Sells, "string", ""));
651
- }
652
- if (maxH4Sells !== undefined) {
653
- requestContext.setQueryParam("max_h4_sells", ObjectSerializer_1.ObjectSerializer.serialize(maxH4Sells, "string", ""));
654
- }
655
- if (minH4Trades !== undefined) {
656
- requestContext.setQueryParam("min_h4_trades", ObjectSerializer_1.ObjectSerializer.serialize(minH4Trades, "string", ""));
657
- }
658
- if (maxH4Trades !== undefined) {
659
- requestContext.setQueryParam("max_h4_trades", ObjectSerializer_1.ObjectSerializer.serialize(maxH4Trades, "string", ""));
660
- }
661
- if (minH4Buyers !== undefined) {
662
- requestContext.setQueryParam("min_h4_buyers", ObjectSerializer_1.ObjectSerializer.serialize(minH4Buyers, "string", ""));
663
- }
664
- if (maxH4Buyers !== undefined) {
665
- requestContext.setQueryParam("max_h4_buyers", ObjectSerializer_1.ObjectSerializer.serialize(maxH4Buyers, "string", ""));
666
- }
667
- if (minH4Sellers !== undefined) {
668
- requestContext.setQueryParam("min_h4_sellers", ObjectSerializer_1.ObjectSerializer.serialize(minH4Sellers, "string", ""));
669
- }
670
- if (maxH4Sellers !== undefined) {
671
- requestContext.setQueryParam("max_h4_sellers", ObjectSerializer_1.ObjectSerializer.serialize(maxH4Sellers, "string", ""));
672
- }
673
- if (minH4BuyVolumeInUsd !== undefined) {
674
- requestContext.setQueryParam("min_h4_buy_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minH4BuyVolumeInUsd, "string", ""));
675
- }
676
- if (maxH4BuyVolumeInUsd !== undefined) {
677
- requestContext.setQueryParam("max_h4_buy_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxH4BuyVolumeInUsd, "string", ""));
678
- }
679
- if (minH4SellVolumeInUsd !== undefined) {
680
- requestContext.setQueryParam("min_h4_sell_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minH4SellVolumeInUsd, "string", ""));
681
- }
682
- if (maxH4SellVolumeInUsd !== undefined) {
683
- requestContext.setQueryParam("max_h4_sell_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxH4SellVolumeInUsd, "string", ""));
684
- }
685
- if (minH1VolumeInUsd !== undefined) {
686
- requestContext.setQueryParam("min_h1_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minH1VolumeInUsd, "string", ""));
687
- }
688
- if (maxH1VolumeInUsd !== undefined) {
689
- requestContext.setQueryParam("max_h1_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxH1VolumeInUsd, "string", ""));
690
- }
691
- if (minH1PriceChangeRatio !== undefined) {
692
- requestContext.setQueryParam("min_h1_price_change_ratio", ObjectSerializer_1.ObjectSerializer.serialize(minH1PriceChangeRatio, "string", ""));
693
- }
694
- if (maxH1PriceChangeRatio !== undefined) {
695
- requestContext.setQueryParam("max_h1_price_change_ratio", ObjectSerializer_1.ObjectSerializer.serialize(maxH1PriceChangeRatio, "string", ""));
696
- }
697
- if (minH1Buys !== undefined) {
698
- requestContext.setQueryParam("min_h1_buys", ObjectSerializer_1.ObjectSerializer.serialize(minH1Buys, "string", ""));
699
- }
700
- if (maxH1Buys !== undefined) {
701
- requestContext.setQueryParam("max_h1_buys", ObjectSerializer_1.ObjectSerializer.serialize(maxH1Buys, "string", ""));
702
- }
703
- if (minH1Sells !== undefined) {
704
- requestContext.setQueryParam("min_h1_sells", ObjectSerializer_1.ObjectSerializer.serialize(minH1Sells, "string", ""));
705
- }
706
- if (maxH1Sells !== undefined) {
707
- requestContext.setQueryParam("max_h1_sells", ObjectSerializer_1.ObjectSerializer.serialize(maxH1Sells, "string", ""));
708
- }
709
- if (minH1Trades !== undefined) {
710
- requestContext.setQueryParam("min_h1_trades", ObjectSerializer_1.ObjectSerializer.serialize(minH1Trades, "string", ""));
711
- }
712
- if (maxH1Trades !== undefined) {
713
- requestContext.setQueryParam("max_h1_trades", ObjectSerializer_1.ObjectSerializer.serialize(maxH1Trades, "string", ""));
714
- }
715
- if (minH1Buyers !== undefined) {
716
- requestContext.setQueryParam("min_h1_buyers", ObjectSerializer_1.ObjectSerializer.serialize(minH1Buyers, "string", ""));
717
- }
718
- if (maxH1Buyers !== undefined) {
719
- requestContext.setQueryParam("max_h1_buyers", ObjectSerializer_1.ObjectSerializer.serialize(maxH1Buyers, "string", ""));
720
- }
721
- if (minH1Sellers !== undefined) {
722
- requestContext.setQueryParam("min_h1_sellers", ObjectSerializer_1.ObjectSerializer.serialize(minH1Sellers, "string", ""));
723
- }
724
- if (maxH1Sellers !== undefined) {
725
- requestContext.setQueryParam("max_h1_sellers", ObjectSerializer_1.ObjectSerializer.serialize(maxH1Sellers, "string", ""));
726
- }
727
- if (minH1BuyVolumeInUsd !== undefined) {
728
- requestContext.setQueryParam("min_h1_buy_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minH1BuyVolumeInUsd, "string", ""));
729
- }
730
- if (maxH1BuyVolumeInUsd !== undefined) {
731
- requestContext.setQueryParam("max_h1_buy_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxH1BuyVolumeInUsd, "string", ""));
732
- }
733
- if (minH1SellVolumeInUsd !== undefined) {
734
- requestContext.setQueryParam("min_h1_sell_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minH1SellVolumeInUsd, "string", ""));
735
- }
736
- if (maxH1SellVolumeInUsd !== undefined) {
737
- requestContext.setQueryParam("max_h1_sell_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxH1SellVolumeInUsd, "string", ""));
738
- }
739
- if (minM30VolumeInUsd !== undefined) {
740
- requestContext.setQueryParam("min_m30_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minM30VolumeInUsd, "string", ""));
741
- }
742
- if (maxM30VolumeInUsd !== undefined) {
743
- requestContext.setQueryParam("max_m30_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxM30VolumeInUsd, "string", ""));
744
- }
745
- if (minM30PriceChangeRatio !== undefined) {
746
- requestContext.setQueryParam("min_m30_price_change_ratio", ObjectSerializer_1.ObjectSerializer.serialize(minM30PriceChangeRatio, "string", ""));
747
- }
748
- if (maxM30PriceChangeRatio !== undefined) {
749
- requestContext.setQueryParam("max_m30_price_change_ratio", ObjectSerializer_1.ObjectSerializer.serialize(maxM30PriceChangeRatio, "string", ""));
750
- }
751
- if (minM30Buys !== undefined) {
752
- requestContext.setQueryParam("min_m30_buys", ObjectSerializer_1.ObjectSerializer.serialize(minM30Buys, "string", ""));
753
- }
754
- if (maxM30Buys !== undefined) {
755
- requestContext.setQueryParam("max_m30_buys", ObjectSerializer_1.ObjectSerializer.serialize(maxM30Buys, "string", ""));
756
- }
757
- if (minM30Sells !== undefined) {
758
- requestContext.setQueryParam("min_m30_sells", ObjectSerializer_1.ObjectSerializer.serialize(minM30Sells, "string", ""));
759
- }
760
- if (maxM30Sells !== undefined) {
761
- requestContext.setQueryParam("max_m30_sells", ObjectSerializer_1.ObjectSerializer.serialize(maxM30Sells, "string", ""));
762
- }
763
- if (minM30Trades !== undefined) {
764
- requestContext.setQueryParam("min_m30_trades", ObjectSerializer_1.ObjectSerializer.serialize(minM30Trades, "string", ""));
765
- }
766
- if (maxM30Trades !== undefined) {
767
- requestContext.setQueryParam("max_m30_trades", ObjectSerializer_1.ObjectSerializer.serialize(maxM30Trades, "string", ""));
768
- }
769
- if (minM30Buyers !== undefined) {
770
- requestContext.setQueryParam("min_m30_buyers", ObjectSerializer_1.ObjectSerializer.serialize(minM30Buyers, "string", ""));
771
- }
772
- if (maxM30Buyers !== undefined) {
773
- requestContext.setQueryParam("max_m30_buyers", ObjectSerializer_1.ObjectSerializer.serialize(maxM30Buyers, "string", ""));
774
- }
775
- if (minM30Sellers !== undefined) {
776
- requestContext.setQueryParam("min_m30_sellers", ObjectSerializer_1.ObjectSerializer.serialize(minM30Sellers, "string", ""));
777
- }
778
- if (maxM30Sellers !== undefined) {
779
- requestContext.setQueryParam("max_m30_sellers", ObjectSerializer_1.ObjectSerializer.serialize(maxM30Sellers, "string", ""));
780
- }
781
- if (minM30BuyVolumeInUsd !== undefined) {
782
- requestContext.setQueryParam("min_m30_buy_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minM30BuyVolumeInUsd, "string", ""));
783
- }
784
- if (maxM30BuyVolumeInUsd !== undefined) {
785
- requestContext.setQueryParam("max_m30_buy_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxM30BuyVolumeInUsd, "string", ""));
786
- }
787
- if (minM30SellVolumeInUsd !== undefined) {
788
- requestContext.setQueryParam("min_m30_sell_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minM30SellVolumeInUsd, "string", ""));
789
- }
790
- if (maxM30SellVolumeInUsd !== undefined) {
791
- requestContext.setQueryParam("max_m30_sell_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxM30SellVolumeInUsd, "string", ""));
792
- }
793
- if (minM15VolumeInUsd !== undefined) {
794
- requestContext.setQueryParam("min_m15_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minM15VolumeInUsd, "string", ""));
795
- }
796
- if (maxM15VolumeInUsd !== undefined) {
797
- requestContext.setQueryParam("max_m15_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxM15VolumeInUsd, "string", ""));
798
- }
799
- if (minM15PriceChangeRatio !== undefined) {
800
- requestContext.setQueryParam("min_m15_price_change_ratio", ObjectSerializer_1.ObjectSerializer.serialize(minM15PriceChangeRatio, "string", ""));
801
- }
802
- if (maxM15PriceChangeRatio !== undefined) {
803
- requestContext.setQueryParam("max_m15_price_change_ratio", ObjectSerializer_1.ObjectSerializer.serialize(maxM15PriceChangeRatio, "string", ""));
804
- }
805
- if (minM15Buys !== undefined) {
806
- requestContext.setQueryParam("min_m15_buys", ObjectSerializer_1.ObjectSerializer.serialize(minM15Buys, "string", ""));
807
- }
808
- if (maxM15Buys !== undefined) {
809
- requestContext.setQueryParam("max_m15_buys", ObjectSerializer_1.ObjectSerializer.serialize(maxM15Buys, "string", ""));
810
- }
811
- if (minM15Sells !== undefined) {
812
- requestContext.setQueryParam("min_m15_sells", ObjectSerializer_1.ObjectSerializer.serialize(minM15Sells, "string", ""));
813
- }
814
- if (maxM15Sells !== undefined) {
815
- requestContext.setQueryParam("max_m15_sells", ObjectSerializer_1.ObjectSerializer.serialize(maxM15Sells, "string", ""));
816
- }
817
- if (minM15Trades !== undefined) {
818
- requestContext.setQueryParam("min_m15_trades", ObjectSerializer_1.ObjectSerializer.serialize(minM15Trades, "string", ""));
819
- }
820
- if (maxM15Trades !== undefined) {
821
- requestContext.setQueryParam("max_m15_trades", ObjectSerializer_1.ObjectSerializer.serialize(maxM15Trades, "string", ""));
822
- }
823
- if (minM15Buyers !== undefined) {
824
- requestContext.setQueryParam("min_m15_buyers", ObjectSerializer_1.ObjectSerializer.serialize(minM15Buyers, "string", ""));
825
- }
826
- if (maxM15Buyers !== undefined) {
827
- requestContext.setQueryParam("max_m15_buyers", ObjectSerializer_1.ObjectSerializer.serialize(maxM15Buyers, "string", ""));
828
- }
829
- if (minM15Sellers !== undefined) {
830
- requestContext.setQueryParam("min_m15_sellers", ObjectSerializer_1.ObjectSerializer.serialize(minM15Sellers, "string", ""));
831
- }
832
- if (maxM15Sellers !== undefined) {
833
- requestContext.setQueryParam("max_m15_sellers", ObjectSerializer_1.ObjectSerializer.serialize(maxM15Sellers, "string", ""));
834
- }
835
- if (minM15BuyVolumeInUsd !== undefined) {
836
- requestContext.setQueryParam("min_m15_buy_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minM15BuyVolumeInUsd, "string", ""));
837
- }
838
- if (maxM15BuyVolumeInUsd !== undefined) {
839
- requestContext.setQueryParam("max_m15_buy_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxM15BuyVolumeInUsd, "string", ""));
840
- }
841
- if (minM15SellVolumeInUsd !== undefined) {
842
- requestContext.setQueryParam("min_m15_sell_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minM15SellVolumeInUsd, "string", ""));
843
- }
844
- if (maxM15SellVolumeInUsd !== undefined) {
845
- requestContext.setQueryParam("max_m15_sell_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxM15SellVolumeInUsd, "string", ""));
846
- }
847
- if (minM5VolumeInUsd !== undefined) {
848
- requestContext.setQueryParam("min_m5_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minM5VolumeInUsd, "string", ""));
849
- }
850
- if (maxM5VolumeInUsd !== undefined) {
851
- requestContext.setQueryParam("max_m5_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxM5VolumeInUsd, "string", ""));
852
- }
853
- if (minM5PriceChangeRatio !== undefined) {
854
- requestContext.setQueryParam("min_m5_price_change_ratio", ObjectSerializer_1.ObjectSerializer.serialize(minM5PriceChangeRatio, "string", ""));
855
- }
856
- if (maxM5PriceChangeRatio !== undefined) {
857
- requestContext.setQueryParam("max_m5_price_change_ratio", ObjectSerializer_1.ObjectSerializer.serialize(maxM5PriceChangeRatio, "string", ""));
858
- }
859
- if (minM5Buys !== undefined) {
860
- requestContext.setQueryParam("min_m5_buys", ObjectSerializer_1.ObjectSerializer.serialize(minM5Buys, "string", ""));
861
- }
862
- if (maxM5Buys !== undefined) {
863
- requestContext.setQueryParam("max_m5_buys", ObjectSerializer_1.ObjectSerializer.serialize(maxM5Buys, "string", ""));
864
- }
865
- if (minM5Sells !== undefined) {
866
- requestContext.setQueryParam("min_m5_sells", ObjectSerializer_1.ObjectSerializer.serialize(minM5Sells, "string", ""));
867
- }
868
- if (maxM5Sells !== undefined) {
869
- requestContext.setQueryParam("max_m5_sells", ObjectSerializer_1.ObjectSerializer.serialize(maxM5Sells, "string", ""));
870
- }
871
- if (minM5Trades !== undefined) {
872
- requestContext.setQueryParam("min_m5_trades", ObjectSerializer_1.ObjectSerializer.serialize(minM5Trades, "string", ""));
873
- }
874
- if (maxM5Trades !== undefined) {
875
- requestContext.setQueryParam("max_m5_trades", ObjectSerializer_1.ObjectSerializer.serialize(maxM5Trades, "string", ""));
876
- }
877
- if (minM5Buyers !== undefined) {
878
- requestContext.setQueryParam("min_m5_buyers", ObjectSerializer_1.ObjectSerializer.serialize(minM5Buyers, "string", ""));
879
- }
880
- if (maxM5Buyers !== undefined) {
881
- requestContext.setQueryParam("max_m5_buyers", ObjectSerializer_1.ObjectSerializer.serialize(maxM5Buyers, "string", ""));
882
- }
883
- if (minM5Sellers !== undefined) {
884
- requestContext.setQueryParam("min_m5_sellers", ObjectSerializer_1.ObjectSerializer.serialize(minM5Sellers, "string", ""));
885
- }
886
- if (maxM5Sellers !== undefined) {
887
- requestContext.setQueryParam("max_m5_sellers", ObjectSerializer_1.ObjectSerializer.serialize(maxM5Sellers, "string", ""));
888
- }
889
- if (minM5BuyVolumeInUsd !== undefined) {
890
- requestContext.setQueryParam("min_m5_buy_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minM5BuyVolumeInUsd, "string", ""));
891
- }
892
- if (maxM5BuyVolumeInUsd !== undefined) {
893
- requestContext.setQueryParam("max_m5_buy_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxM5BuyVolumeInUsd, "string", ""));
894
- }
895
- if (minM5SellVolumeInUsd !== undefined) {
896
- requestContext.setQueryParam("min_m5_sell_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minM5SellVolumeInUsd, "string", ""));
897
- }
898
- if (maxM5SellVolumeInUsd !== undefined) {
899
- requestContext.setQueryParam("max_m5_sell_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxM5SellVolumeInUsd, "string", ""));
900
- }
901
- if (minM1VolumeInUsd !== undefined) {
902
- requestContext.setQueryParam("min_m1_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minM1VolumeInUsd, "string", ""));
903
- }
904
- if (maxM1VolumeInUsd !== undefined) {
905
- requestContext.setQueryParam("max_m1_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxM1VolumeInUsd, "string", ""));
906
- }
907
- if (minM1PriceChangeRatio !== undefined) {
908
- requestContext.setQueryParam("min_m1_price_change_ratio", ObjectSerializer_1.ObjectSerializer.serialize(minM1PriceChangeRatio, "string", ""));
909
- }
910
- if (maxM1PriceChangeRatio !== undefined) {
911
- requestContext.setQueryParam("max_m1_price_change_ratio", ObjectSerializer_1.ObjectSerializer.serialize(maxM1PriceChangeRatio, "string", ""));
912
- }
913
- if (minM1Buys !== undefined) {
914
- requestContext.setQueryParam("min_m1_buys", ObjectSerializer_1.ObjectSerializer.serialize(minM1Buys, "string", ""));
915
- }
916
- if (maxM1Buys !== undefined) {
917
- requestContext.setQueryParam("max_m1_buys", ObjectSerializer_1.ObjectSerializer.serialize(maxM1Buys, "string", ""));
918
- }
919
- if (minM1Sells !== undefined) {
920
- requestContext.setQueryParam("min_m1_sells", ObjectSerializer_1.ObjectSerializer.serialize(minM1Sells, "string", ""));
921
- }
922
- if (maxM1Sells !== undefined) {
923
- requestContext.setQueryParam("max_m1_sells", ObjectSerializer_1.ObjectSerializer.serialize(maxM1Sells, "string", ""));
924
- }
925
- if (minM1Trades !== undefined) {
926
- requestContext.setQueryParam("min_m1_trades", ObjectSerializer_1.ObjectSerializer.serialize(minM1Trades, "string", ""));
927
- }
928
- if (maxM1Trades !== undefined) {
929
- requestContext.setQueryParam("max_m1_trades", ObjectSerializer_1.ObjectSerializer.serialize(maxM1Trades, "string", ""));
930
- }
931
- if (minM1Buyers !== undefined) {
932
- requestContext.setQueryParam("min_m1_buyers", ObjectSerializer_1.ObjectSerializer.serialize(minM1Buyers, "string", ""));
933
- }
934
- if (maxM1Buyers !== undefined) {
935
- requestContext.setQueryParam("max_m1_buyers", ObjectSerializer_1.ObjectSerializer.serialize(maxM1Buyers, "string", ""));
936
- }
937
- if (minM1Sellers !== undefined) {
938
- requestContext.setQueryParam("min_m1_sellers", ObjectSerializer_1.ObjectSerializer.serialize(minM1Sellers, "string", ""));
939
- }
940
- if (maxM1Sellers !== undefined) {
941
- requestContext.setQueryParam("max_m1_sellers", ObjectSerializer_1.ObjectSerializer.serialize(maxM1Sellers, "string", ""));
942
- }
943
- if (minM1BuyVolumeInUsd !== undefined) {
944
- requestContext.setQueryParam("min_m1_buy_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minM1BuyVolumeInUsd, "string", ""));
945
- }
946
- if (maxM1BuyVolumeInUsd !== undefined) {
947
- requestContext.setQueryParam("max_m1_buy_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxM1BuyVolumeInUsd, "string", ""));
948
- }
949
- if (minM1SellVolumeInUsd !== undefined) {
950
- requestContext.setQueryParam("min_m1_sell_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(minM1SellVolumeInUsd, "string", ""));
951
- }
952
- if (maxM1SellVolumeInUsd !== undefined) {
953
- requestContext.setQueryParam("max_m1_sell_volume_in_usd", ObjectSerializer_1.ObjectSerializer.serialize(maxM1SellVolumeInUsd, "string", ""));
954
- }
955
- let authMethod;
956
- authMethod = _config.authMethods["bearer"];
957
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
958
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
959
- }
960
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
961
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
962
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
963
- }
964
- return requestContext;
965
- });
966
- }
967
- getTokens(chain, tokenAddresses, sortBy, sortDirection, filterBy, _options) {
968
- var _a, _b, _c;
969
- return __awaiter(this, void 0, void 0, function* () {
970
- let _config = _options || this.configuration;
971
- if (chain === null || chain === undefined) {
972
- throw new baseapi_1.RequiredError("TokenApi", "getTokens", "chain");
973
- }
974
- if (tokenAddresses === null || tokenAddresses === undefined) {
975
- throw new baseapi_1.RequiredError("TokenApi", "getTokens", "tokenAddresses");
976
- }
977
- const localVarPath = '/v1/token/{chain}/token/multi'
978
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)));
979
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
980
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
981
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
982
- requestContext.setHeaderParam("x-req-id", randomId.toString());
983
- if (tokenAddresses !== undefined) {
984
- requestContext.setQueryParam("tokenAddresses", ObjectSerializer_1.ObjectSerializer.serialize(tokenAddresses, "string", ""));
985
- }
986
- if (sortBy !== undefined) {
987
- requestContext.setQueryParam("sortBy", ObjectSerializer_1.ObjectSerializer.serialize(sortBy, "'marketData.priceInUsd' | 'stats.priceChangeRatioInUsd1m' | 'stats.priceChangeRatioInUsd5m' | 'stats.priceChangeRatioInUsd1h' | 'stats.priceChangeRatioInUsd4h' | 'stats.priceChangeRatioInUsd24h' | 'marketData.marketCapInUsd' | 'marketData.tvlInUsd' | 'marketData.top10HoldingsRatio' | 'marketData.top100HoldingsRatio' | 'marketData.holders' | 'stats.trades1m' | 'stats.trades5m' | 'stats.trades1h' | 'stats.trades4h' | 'stats.trades24h' | 'stats.traders1m' | 'stats.traders5m' | 'stats.traders1h' | 'stats.traders4h' | 'stats.traders24h' | 'stats.volumesInUsd1m' | 'stats.volumesInUsd5m' | 'stats.volumesInUsd1h' | 'stats.volumesInUsd4h' | 'stats.volumesInUsd24h' | 'tokenCreatedAt'", ""));
988
- }
989
- if (sortDirection !== undefined) {
990
- requestContext.setQueryParam("sortDirection", ObjectSerializer_1.ObjectSerializer.serialize(sortDirection, "'ASC' | 'DESC'", ""));
991
- }
992
- if (filterBy !== undefined) {
993
- const serializedParams = ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "Array<FilterCondition>", "");
994
- for (const serializedParam of serializedParams) {
995
- requestContext.appendQueryParam("filterBy", serializedParam);
996
- }
997
- }
998
- let authMethod;
999
- authMethod = _config.authMethods["bearer"];
1000
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
1001
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
1002
- }
1003
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
1004
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
1005
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
1006
- }
1007
- return requestContext;
1008
- });
1009
- }
1010
- getTopHolders(chain, tokenAddress, _options) {
1011
- var _a, _b, _c;
1012
- return __awaiter(this, void 0, void 0, function* () {
1013
- let _config = _options || this.configuration;
1014
- if (chain === null || chain === undefined) {
1015
- throw new baseapi_1.RequiredError("TokenApi", "getTopHolders", "chain");
1016
- }
1017
- if (tokenAddress === null || tokenAddress === undefined) {
1018
- throw new baseapi_1.RequiredError("TokenApi", "getTopHolders", "tokenAddress");
1019
- }
1020
- const localVarPath = '/v1/token/{chain}/{tokenAddress}/topHolders'
1021
- .replace('{' + 'chain' + '}', encodeURIComponent(String(chain)))
1022
- .replace('{' + 'tokenAddress' + '}', encodeURIComponent(String(tokenAddress)));
1023
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
1024
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
1025
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
1026
- requestContext.setHeaderParam("x-req-id", randomId.toString());
1027
- let authMethod;
1028
- authMethod = _config.authMethods["bearer"];
1029
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
1030
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
1031
- }
1032
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
1033
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
1034
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
1035
- }
1036
- return requestContext;
1037
- });
1038
- }
1039
- search(chains, q, limit, sort, protocols, cursor, sortBy, _options) {
1040
- var _a, _b, _c;
1041
- return __awaiter(this, void 0, void 0, function* () {
1042
- let _config = _options || this.configuration;
1043
- const localVarPath = '/v1/token/search';
1044
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
1045
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
1046
- const randomId = Math.floor(Math.random() * Math.pow(2, 32));
1047
- requestContext.setHeaderParam("x-req-id", randomId.toString());
1048
- if (chains !== undefined) {
1049
- const serializedParams = ObjectSerializer_1.ObjectSerializer.serialize(chains, "Array<string>", "");
1050
- for (const serializedParam of serializedParams) {
1051
- requestContext.appendQueryParam("chains", serializedParam);
1052
- }
1053
- }
1054
- if (q !== undefined) {
1055
- requestContext.setQueryParam("q", ObjectSerializer_1.ObjectSerializer.serialize(q, "string", ""));
1056
- }
1057
- if (limit !== undefined) {
1058
- requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", ""));
1059
- }
1060
- if (sort !== undefined) {
1061
- requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "'asc' | 'desc'", ""));
1062
- }
1063
- if (protocols !== undefined) {
1064
- const serializedParams = ObjectSerializer_1.ObjectSerializer.serialize(protocols, "Array<string>", "");
1065
- for (const serializedParam of serializedParams) {
1066
- requestContext.appendQueryParam("protocols", serializedParam);
1067
- }
1068
- }
1069
- if (cursor !== undefined) {
1070
- requestContext.setQueryParam("cursor", ObjectSerializer_1.ObjectSerializer.serialize(cursor, "string", ""));
1071
- }
1072
- if (sortBy !== undefined) {
1073
- requestContext.setQueryParam("sortBy", ObjectSerializer_1.ObjectSerializer.serialize(sortBy, "'marketCapInUsd' | 'liquidityInUsd' | 'priceInUsd' | 'holderCount' | 'h24VolumeInUsd' | 'h24Transactions' | 'tokenCreatedAt'", ""));
1074
- }
1075
- let authMethod;
1076
- authMethod = _config.authMethods["bearer"];
1077
- if (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication) {
1078
- yield (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext));
1079
- }
1080
- const defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
1081
- if (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication) {
1082
- yield (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext));
1083
- }
1084
- return requestContext;
1085
- });
1086
- }
1087
- }
1088
- exports.TokenApiRequestFactory = TokenApiRequestFactory;
1089
- class TokenApiResponseProcessor {
1090
- getCandlesWithHttpInfo(response) {
1091
- return __awaiter(this, void 0, void 0, function* () {
1092
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1093
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1094
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Array<Candle>", "");
1095
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1096
- }
1097
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1098
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Array<Candle>", "");
1099
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1100
- }
1101
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1102
- });
1103
- }
1104
- getCreationWithHttpInfo(response) {
1105
- return __awaiter(this, void 0, void 0, function* () {
1106
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1107
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1108
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenCreationDTO", "");
1109
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1110
- }
1111
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1112
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenCreationDTO", "");
1113
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1114
- }
1115
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1116
- });
1117
- }
1118
- getHoldersWithHttpInfo(response) {
1119
- return __awaiter(this, void 0, void 0, function* () {
1120
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1121
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1122
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenHolderPage", "");
1123
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1124
- }
1125
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1126
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenHolderPage", "");
1127
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1128
- }
1129
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1130
- });
1131
- }
1132
- getHoldersMultiWithHttpInfo(response) {
1133
- return __awaiter(this, void 0, void 0, function* () {
1134
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1135
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1136
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Array<TokenHolder>", "");
1137
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1138
- }
1139
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1140
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Array<TokenHolder>", "");
1141
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1142
- }
1143
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1144
- });
1145
- }
1146
- getMarketDataWithHttpInfo(response) {
1147
- return __awaiter(this, void 0, void 0, function* () {
1148
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1149
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1150
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenMarketData", "");
1151
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1152
- }
1153
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1154
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenMarketData", "");
1155
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1156
- }
1157
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1158
- });
1159
- }
1160
- getMarketDataMultiWithHttpInfo(response) {
1161
- return __awaiter(this, void 0, void 0, function* () {
1162
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1163
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1164
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "{ [key: string]: TokenMarketData; }", "");
1165
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1166
- }
1167
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1168
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "{ [key: string]: TokenMarketData; }", "");
1169
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1170
- }
1171
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1172
- });
1173
- }
1174
- getMetadataWithHttpInfo(response) {
1175
- return __awaiter(this, void 0, void 0, function* () {
1176
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1177
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1178
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenMetadata", "");
1179
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1180
- }
1181
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1182
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenMetadata", "");
1183
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1184
- }
1185
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1186
- });
1187
- }
1188
- getMetadataMultiWithHttpInfo(response) {
1189
- return __awaiter(this, void 0, void 0, function* () {
1190
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1191
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1192
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "{ [key: string]: TokenMetadata; }", "");
1193
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1194
- }
1195
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1196
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "{ [key: string]: TokenMetadata; }", "");
1197
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1198
- }
1199
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1200
- });
1201
- }
1202
- getMintAndBurnWithHttpInfo(response) {
1203
- return __awaiter(this, void 0, void 0, function* () {
1204
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1205
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1206
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenCreationPage", "");
1207
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1208
- }
1209
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1210
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenCreationPage", "");
1211
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1212
- }
1213
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1214
- });
1215
- }
1216
- getPoolsWithHttpInfo(response) {
1217
- return __awaiter(this, void 0, void 0, function* () {
1218
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1219
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1220
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Array<DexPoolDTO>", "");
1221
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1222
- }
1223
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1224
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Array<DexPoolDTO>", "");
1225
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1226
- }
1227
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1228
- });
1229
- }
1230
- getPriceByTimeWithHttpInfo(response) {
1231
- return __awaiter(this, void 0, void 0, function* () {
1232
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1233
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1234
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenPriceDTO", "");
1235
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1236
- }
1237
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1238
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenPriceDTO", "");
1239
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1240
- }
1241
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1242
- });
1243
- }
1244
- getPricesWithHttpInfo(response) {
1245
- return __awaiter(this, void 0, void 0, function* () {
1246
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1247
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1248
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenPricePage", "");
1249
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1250
- }
1251
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1252
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenPricePage", "");
1253
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1254
- }
1255
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1256
- });
1257
- }
1258
- getSecurityWithHttpInfo(response) {
1259
- return __awaiter(this, void 0, void 0, function* () {
1260
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1261
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1262
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "any", "");
1263
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1264
- }
1265
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1266
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "any", "");
1267
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1268
- }
1269
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1270
- });
1271
- }
1272
- getStatsWithHttpInfo(response) {
1273
- return __awaiter(this, void 0, void 0, function* () {
1274
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1275
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1276
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenStat", "");
1277
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1278
- }
1279
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1280
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenStat", "");
1281
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1282
- }
1283
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1284
- });
1285
- }
1286
- getStatsMultiWithHttpInfo(response) {
1287
- return __awaiter(this, void 0, void 0, function* () {
1288
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1289
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1290
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "{ [key: string]: TokenStat; }", "");
1291
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1292
- }
1293
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1294
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "{ [key: string]: TokenStat; }", "");
1295
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1296
- }
1297
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1298
- });
1299
- }
1300
- getTokenWithHttpInfo(response) {
1301
- return __awaiter(this, void 0, void 0, function* () {
1302
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1303
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1304
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Token", "");
1305
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1306
- }
1307
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1308
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Token", "");
1309
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1310
- }
1311
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1312
- });
1313
- }
1314
- getTokenListWithHttpInfo(response) {
1315
- return __awaiter(this, void 0, void 0, function* () {
1316
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1317
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1318
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenListPage", "");
1319
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1320
- }
1321
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1322
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenListPage", "");
1323
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1324
- }
1325
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1326
- });
1327
- }
1328
- getTokensWithHttpInfo(response) {
1329
- return __awaiter(this, void 0, void 0, function* () {
1330
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1331
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1332
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Array<Token>", "");
1333
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1334
- }
1335
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1336
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Array<Token>", "");
1337
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1338
- }
1339
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1340
- });
1341
- }
1342
- getTopHoldersWithHttpInfo(response) {
1343
- return __awaiter(this, void 0, void 0, function* () {
1344
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1345
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1346
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenHolderPage", "");
1347
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1348
- }
1349
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1350
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenHolderPage", "");
1351
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1352
- }
1353
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1354
- });
1355
- }
1356
- searchWithHttpInfo(response) {
1357
- return __awaiter(this, void 0, void 0, function* () {
1358
- const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1359
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
1360
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenPage", "");
1361
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1362
- }
1363
- if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
1364
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TokenPage", "");
1365
- return new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body);
1366
- }
1367
- throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", yield response.getBodyAsAny(), response.headers);
1368
- });
1369
- }
1370
- }
1371
- exports.TokenApiResponseProcessor = TokenApiResponseProcessor;
1372
- //# sourceMappingURL=TokenApi.js.map