jr-common-micro 0.6.1-dev

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 (356) hide show
  1. package/README.md +33 -0
  2. package/dist/common/dto/by_id_request_dto.d.ts +11 -0
  3. package/dist/common/dto/by_id_request_dto.js +10 -0
  4. package/dist/common/dto/index.d.ts +3 -0
  5. package/dist/common/dto/index.js +7 -0
  6. package/dist/common/dto/paginate_from_request_dto.d.ts +58 -0
  7. package/dist/common/dto/paginate_from_request_dto.js +22 -0
  8. package/dist/common/dto/paginate_request_dto.d.ts +23 -0
  9. package/dist/common/dto/paginate_request_dto.js +14 -0
  10. package/dist/common/exception/base_exception.d.ts +4 -0
  11. package/dist/common/exception/base_exception.js +14 -0
  12. package/dist/common/exception/index.d.ts +1 -0
  13. package/dist/common/exception/index.js +5 -0
  14. package/dist/common/factory/grpc_options_factory.d.ts +15 -0
  15. package/dist/common/factory/grpc_options_factory.js +63 -0
  16. package/dist/common/factory/index.d.ts +5 -0
  17. package/dist/common/factory/index.js +9 -0
  18. package/dist/common/factory/logger/index.d.ts +2 -0
  19. package/dist/common/factory/logger/index.js +6 -0
  20. package/dist/common/factory/logger/kafka_transport.d.ts +16 -0
  21. package/dist/common/factory/logger/kafka_transport.js +54 -0
  22. package/dist/common/factory/logger/winston_config.d.ts +22 -0
  23. package/dist/common/factory/logger/winston_config.js +141 -0
  24. package/dist/common/factory/module_metadata_factory.d.ts +24 -0
  25. package/dist/common/factory/module_metadata_factory.js +186 -0
  26. package/dist/common/factory/redis_client_factory.d.ts +5 -0
  27. package/dist/common/factory/redis_client_factory.js +22 -0
  28. package/dist/common/factory/redis_cluster_factory.d.ts +5 -0
  29. package/dist/common/factory/redis_cluster_factory.js +25 -0
  30. package/dist/common/filters/grpc_exceptions_filter.d.ts +6 -0
  31. package/dist/common/filters/grpc_exceptions_filter.js +26 -0
  32. package/dist/common/filters/index.d.ts +1 -0
  33. package/dist/common/filters/index.js +5 -0
  34. package/dist/common/guards/app_auth_guard.d.ts +5 -0
  35. package/dist/common/guards/app_auth_guard.js +38 -0
  36. package/dist/common/guards/app_internal_guard.d.ts +5 -0
  37. package/dist/common/guards/app_internal_guard.js +38 -0
  38. package/dist/common/guards/app_role_guard.d.ts +5 -0
  39. package/dist/common/guards/app_role_guard.js +43 -0
  40. package/dist/common/guards/index.d.ts +4 -0
  41. package/dist/common/guards/index.js +8 -0
  42. package/dist/common/guards/jwt_auth_user_decorator.d.ts +1 -0
  43. package/dist/common/guards/jwt_auth_user_decorator.js +31 -0
  44. package/dist/common/index.d.ts +8 -0
  45. package/dist/common/index.js +12 -0
  46. package/dist/common/interceptors/grpc/grpc_error_interceptors.d.ts +7 -0
  47. package/dist/common/interceptors/grpc/grpc_error_interceptors.js +35 -0
  48. package/dist/common/interceptors/grpc/index.d.ts +1 -0
  49. package/dist/common/interceptors/grpc/index.js +5 -0
  50. package/dist/common/interceptors/http/http_error_interceptors.d.ts +7 -0
  51. package/dist/common/interceptors/http/http_error_interceptors.js +30 -0
  52. package/dist/common/interceptors/http/http_response_interceptors.d.ts +7 -0
  53. package/dist/common/interceptors/http/http_response_interceptors.js +20 -0
  54. package/dist/common/interceptors/http/index.d.ts +2 -0
  55. package/dist/common/interceptors/http/index.js +6 -0
  56. package/dist/common/interceptors/index.d.ts +2 -0
  57. package/dist/common/interceptors/index.js +6 -0
  58. package/dist/common/kafka/index.d.ts +3 -0
  59. package/dist/common/kafka/index.js +7 -0
  60. package/dist/common/kafka/kafka_admin_service.d.ts +13 -0
  61. package/dist/common/kafka/kafka_admin_service.js +64 -0
  62. package/dist/common/kafka/kafka_consumer_service.d.ts +19 -0
  63. package/dist/common/kafka/kafka_consumer_service.js +80 -0
  64. package/dist/common/kafka/kafka_producer_service.d.ts +14 -0
  65. package/dist/common/kafka/kafka_producer_service.js +49 -0
  66. package/dist/common/service/crud/crud_service_interface.d.ts +20 -0
  67. package/dist/common/service/crud/crud_service_interface.js +2 -0
  68. package/dist/common/service/crud/index.d.ts +1 -0
  69. package/dist/common/service/crud/index.js +5 -0
  70. package/dist/common/service/index.d.ts +1 -0
  71. package/dist/common/service/index.js +5 -0
  72. package/dist/index.d.ts +3 -0
  73. package/dist/index.js +7 -0
  74. package/dist/proto/index.d.ts +1 -0
  75. package/dist/proto/index.js +5 -0
  76. package/dist/proto/micro/index.d.ts +1 -0
  77. package/dist/proto/micro/index.js +5 -0
  78. package/dist/proto/micro/v1/coin/analytics_messages_nest.d.ts +335 -0
  79. package/dist/proto/micro/v1/coin/analytics_messages_nest.js +18 -0
  80. package/dist/proto/micro/v1/coin/analytics_messages_pb.d.ts +670 -0
  81. package/dist/proto/micro/v1/coin/analytics_messages_pb.js +1456 -0
  82. package/dist/proto/micro/v1/coin/coin_messages_nest.d.ts +110 -0
  83. package/dist/proto/micro/v1/coin/coin_messages_nest.js +5 -0
  84. package/dist/proto/micro/v1/coin/coin_messages_pb.d.ts +258 -0
  85. package/dist/proto/micro/v1/coin/coin_messages_pb.js +568 -0
  86. package/dist/proto/micro/v1/coin/coin_websocket_messages_nest.d.ts +72 -0
  87. package/dist/proto/micro/v1/coin/coin_websocket_messages_nest.js +5 -0
  88. package/dist/proto/micro/v1/coin/coin_websocket_messages_pb.d.ts +128 -0
  89. package/dist/proto/micro/v1/coin/coin_websocket_messages_pb.js +276 -0
  90. package/dist/proto/micro/v1/coin/data_general_messages_nest.d.ts +54 -0
  91. package/dist/proto/micro/v1/coin/data_general_messages_nest.js +5 -0
  92. package/dist/proto/micro/v1/coin/data_general_messages_pb.d.ts +118 -0
  93. package/dist/proto/micro/v1/coin/data_general_messages_pb.js +259 -0
  94. package/dist/proto/micro/v1/coin/data_microservice_messages_nest.d.ts +43 -0
  95. package/dist/proto/micro/v1/coin/data_microservice_messages_nest.js +5 -0
  96. package/dist/proto/micro/v1/coin/data_microservice_messages_pb.d.ts +91 -0
  97. package/dist/proto/micro/v1/coin/data_microservice_messages_pb.js +199 -0
  98. package/dist/proto/micro/v1/coin/etf_messages_nest.d.ts +98 -0
  99. package/dist/proto/micro/v1/coin/etf_messages_nest.js +5 -0
  100. package/dist/proto/micro/v1/coin/etf_messages_pb.d.ts +226 -0
  101. package/dist/proto/micro/v1/coin/etf_messages_pb.js +499 -0
  102. package/dist/proto/micro/v1/coin/index.d.ts +11 -0
  103. package/dist/proto/micro/v1/coin/index.js +15 -0
  104. package/dist/proto/micro/v1/coin/long_short_ratio_messages_nest.d.ts +55 -0
  105. package/dist/proto/micro/v1/coin/long_short_ratio_messages_nest.js +5 -0
  106. package/dist/proto/micro/v1/coin/long_short_ratio_messages_pb.d.ts +115 -0
  107. package/dist/proto/micro/v1/coin/long_short_ratio_messages_pb.js +249 -0
  108. package/dist/proto/micro/v1/coin/rsi_messages_nest.d.ts +42 -0
  109. package/dist/proto/micro/v1/coin/rsi_messages_nest.js +5 -0
  110. package/dist/proto/micro/v1/coin/rsi_messages_pb.d.ts +98 -0
  111. package/dist/proto/micro/v1/coin/rsi_messages_pb.js +216 -0
  112. package/dist/proto/micro/v1/coin/services_connect.d.ts +413 -0
  113. package/dist/proto/micro/v1/coin/services_connect.js +416 -0
  114. package/dist/proto/micro/v1/coin/services_nest.d.ts +200 -0
  115. package/dist/proto/micro/v1/coin/services_nest.js +244 -0
  116. package/dist/proto/micro/v1/coin/token_unlocks_messages_nest.d.ts +53 -0
  117. package/dist/proto/micro/v1/coin/token_unlocks_messages_nest.js +5 -0
  118. package/dist/proto/micro/v1/coin/token_unlocks_messages_pb.d.ts +101 -0
  119. package/dist/proto/micro/v1/coin/token_unlocks_messages_pb.js +214 -0
  120. package/dist/proto/micro/v1/data/daily_market_data_messages_nest.d.ts +18 -0
  121. package/dist/proto/micro/v1/data/daily_market_data_messages_nest.js +5 -0
  122. package/dist/proto/micro/v1/data/daily_market_data_messages_pb.d.ts +42 -0
  123. package/dist/proto/micro/v1/data/daily_market_data_messages_pb.js +92 -0
  124. package/dist/proto/micro/v1/data/dominance_messages_nest.d.ts +35 -0
  125. package/dist/proto/micro/v1/data/dominance_messages_nest.js +5 -0
  126. package/dist/proto/micro/v1/data/dominance_messages_pb.d.ts +75 -0
  127. package/dist/proto/micro/v1/data/dominance_messages_pb.js +164 -0
  128. package/dist/proto/micro/v1/data/exchanges_messages_nest.d.ts +153 -0
  129. package/dist/proto/micro/v1/data/exchanges_messages_nest.js +11 -0
  130. package/dist/proto/micro/v1/data/exchanges_messages_pb.d.ts +256 -0
  131. package/dist/proto/micro/v1/data/exchanges_messages_pb.js +546 -0
  132. package/dist/proto/micro/v1/data/funding_rate_messages_nest.d.ts +52 -0
  133. package/dist/proto/micro/v1/data/funding_rate_messages_nest.js +5 -0
  134. package/dist/proto/micro/v1/data/funding_rate_messages_pb.d.ts +68 -0
  135. package/dist/proto/micro/v1/data/funding_rate_messages_pb.js +131 -0
  136. package/dist/proto/micro/v1/data/global_stats_messages_nest.d.ts +17 -0
  137. package/dist/proto/micro/v1/data/global_stats_messages_nest.js +5 -0
  138. package/dist/proto/micro/v1/data/global_stats_messages_pb.d.ts +25 -0
  139. package/dist/proto/micro/v1/data/global_stats_messages_pb.js +53 -0
  140. package/dist/proto/micro/v1/data/homepage_messages_nest.d.ts +35 -0
  141. package/dist/proto/micro/v1/data/homepage_messages_nest.js +5 -0
  142. package/dist/proto/micro/v1/data/homepage_messages_pb.d.ts +83 -0
  143. package/dist/proto/micro/v1/data/homepage_messages_pb.js +183 -0
  144. package/dist/proto/micro/v1/data/index.d.ts +22 -0
  145. package/dist/proto/micro/v1/data/index.js +26 -0
  146. package/dist/proto/micro/v1/data/inflow_outflow_messages_nest.d.ts +72 -0
  147. package/dist/proto/micro/v1/data/inflow_outflow_messages_nest.js +5 -0
  148. package/dist/proto/micro/v1/data/inflow_outflow_messages_pb.d.ts +136 -0
  149. package/dist/proto/micro/v1/data/inflow_outflow_messages_pb.js +295 -0
  150. package/dist/proto/micro/v1/data/liquidation_heat_map_m2_messages_nest.d.ts +44 -0
  151. package/dist/proto/micro/v1/data/liquidation_heat_map_m2_messages_nest.js +5 -0
  152. package/dist/proto/micro/v1/data/liquidation_heat_map_m2_messages_pb.d.ts +100 -0
  153. package/dist/proto/micro/v1/data/liquidation_heat_map_m2_messages_pb.js +221 -0
  154. package/dist/proto/micro/v1/data/liquidation_v1_messages_nest.d.ts +34 -0
  155. package/dist/proto/micro/v1/data/liquidation_v1_messages_nest.js +5 -0
  156. package/dist/proto/micro/v1/data/liquidation_v1_messages_pb.d.ts +82 -0
  157. package/dist/proto/micro/v1/data/liquidation_v1_messages_pb.js +181 -0
  158. package/dist/proto/micro/v1/data/mvrvz_score_messages_nest.d.ts +10 -0
  159. package/dist/proto/micro/v1/data/mvrvz_score_messages_nest.js +5 -0
  160. package/dist/proto/micro/v1/data/mvrvz_score_messages_pb.d.ts +26 -0
  161. package/dist/proto/micro/v1/data/mvrvz_score_messages_pb.js +58 -0
  162. package/dist/proto/micro/v1/data/puell_multiple_messages_nest.d.ts +14 -0
  163. package/dist/proto/micro/v1/data/puell_multiple_messages_nest.js +5 -0
  164. package/dist/proto/micro/v1/data/puell_multiple_messages_pb.d.ts +30 -0
  165. package/dist/proto/micro/v1/data/puell_multiple_messages_pb.js +65 -0
  166. package/dist/proto/micro/v1/data/puppeteer_messages_nest.d.ts +24 -0
  167. package/dist/proto/micro/v1/data/puppeteer_messages_nest.js +5 -0
  168. package/dist/proto/micro/v1/data/puppeteer_messages_pb.d.ts +40 -0
  169. package/dist/proto/micro/v1/data/puppeteer_messages_pb.js +84 -0
  170. package/dist/proto/micro/v1/data/rainbow_messages_nest.d.ts +10 -0
  171. package/dist/proto/micro/v1/data/rainbow_messages_nest.js +5 -0
  172. package/dist/proto/micro/v1/data/rainbow_messages_pb.d.ts +26 -0
  173. package/dist/proto/micro/v1/data/rainbow_messages_pb.js +57 -0
  174. package/dist/proto/micro/v1/data/rsi_list_messages_nest.d.ts +23 -0
  175. package/dist/proto/micro/v1/data/rsi_list_messages_nest.js +5 -0
  176. package/dist/proto/micro/v1/data/rsi_list_messages_pb.d.ts +39 -0
  177. package/dist/proto/micro/v1/data/rsi_list_messages_pb.js +83 -0
  178. package/dist/proto/micro/v1/data/scrape_assets_messages_nest.d.ts +20 -0
  179. package/dist/proto/micro/v1/data/scrape_assets_messages_nest.js +5 -0
  180. package/dist/proto/micro/v1/data/scrape_assets_messages_pb.d.ts +36 -0
  181. package/dist/proto/micro/v1/data/scrape_assets_messages_pb.js +77 -0
  182. package/dist/proto/micro/v1/data/scrape_treasuries_messages_nest.d.ts +37 -0
  183. package/dist/proto/micro/v1/data/scrape_treasuries_messages_nest.js +5 -0
  184. package/dist/proto/micro/v1/data/scrape_treasuries_messages_pb.d.ts +69 -0
  185. package/dist/proto/micro/v1/data/scrape_treasuries_messages_pb.js +149 -0
  186. package/dist/proto/micro/v1/data/services_connect.d.ts +325 -0
  187. package/dist/proto/micro/v1/data/services_connect.js +328 -0
  188. package/dist/proto/micro/v1/data/services_nest.d.ts +207 -0
  189. package/dist/proto/micro/v1/data/services_nest.js +326 -0
  190. package/dist/proto/micro/v1/data/token_unlocks_connect.d.ts +19 -0
  191. package/dist/proto/micro/v1/data/token_unlocks_connect.js +22 -0
  192. package/dist/proto/micro/v1/data/token_unlocks_nest.d.ts +69 -0
  193. package/dist/proto/micro/v1/data/token_unlocks_nest.js +22 -0
  194. package/dist/proto/micro/v1/data/token_unlocks_pb.d.ts +109 -0
  195. package/dist/proto/micro/v1/data/token_unlocks_pb.js +234 -0
  196. package/dist/proto/micro/v1/data/two_hundred_week_moving_average_messages_nest.d.ts +15 -0
  197. package/dist/proto/micro/v1/data/two_hundred_week_moving_average_messages_nest.js +5 -0
  198. package/dist/proto/micro/v1/data/two_hundred_week_moving_average_messages_pb.d.ts +31 -0
  199. package/dist/proto/micro/v1/data/two_hundred_week_moving_average_messages_pb.js +68 -0
  200. package/dist/proto/micro/v1/data/two_year_ma_multipler_messages_nest.d.ts +15 -0
  201. package/dist/proto/micro/v1/data/two_year_ma_multipler_messages_nest.js +5 -0
  202. package/dist/proto/micro/v1/data/two_year_ma_multipler_messages_pb.d.ts +31 -0
  203. package/dist/proto/micro/v1/data/two_year_ma_multipler_messages_pb.js +67 -0
  204. package/dist/proto/micro/v1/education/education_messages_nest.d.ts +370 -0
  205. package/dist/proto/micro/v1/education/education_messages_nest.js +5 -0
  206. package/dist/proto/micro/v1/education/education_messages_pb.d.ts +610 -0
  207. package/dist/proto/micro/v1/education/education_messages_pb.js +1264 -0
  208. package/dist/proto/micro/v1/education/index.d.ts +3 -0
  209. package/dist/proto/micro/v1/education/index.js +7 -0
  210. package/dist/proto/micro/v1/education/services_connect.d.ts +375 -0
  211. package/dist/proto/micro/v1/education/services_connect.js +378 -0
  212. package/dist/proto/micro/v1/education/services_nest.d.ts +182 -0
  213. package/dist/proto/micro/v1/education/services_nest.js +198 -0
  214. package/dist/proto/micro/v1/general_nest.d.ts +115 -0
  215. package/dist/proto/micro/v1/general_nest.js +51 -0
  216. package/dist/proto/micro/v1/general_pb.d.ts +211 -0
  217. package/dist/proto/micro/v1/general_pb.js +460 -0
  218. package/dist/proto/micro/v1/index.d.ts +10 -0
  219. package/dist/proto/micro/v1/index.js +14 -0
  220. package/dist/proto/micro/v1/media/index.d.ts +3 -0
  221. package/dist/proto/micro/v1/media/index.js +7 -0
  222. package/dist/proto/micro/v1/media/media_messages_nest.d.ts +92 -0
  223. package/dist/proto/micro/v1/media/media_messages_nest.js +21 -0
  224. package/dist/proto/micro/v1/media/media_messages_pb.d.ts +202 -0
  225. package/dist/proto/micro/v1/media/media_messages_pb.js +447 -0
  226. package/dist/proto/micro/v1/media/services_connect.d.ts +55 -0
  227. package/dist/proto/micro/v1/media/services_connect.js +58 -0
  228. package/dist/proto/micro/v1/media/services_nest.d.ts +32 -0
  229. package/dist/proto/micro/v1/media/services_nest.js +45 -0
  230. package/dist/proto/micro/v1/news/app_version_message_nest.d.ts +40 -0
  231. package/dist/proto/micro/v1/news/app_version_message_nest.js +5 -0
  232. package/dist/proto/micro/v1/news/app_version_message_pb.d.ts +72 -0
  233. package/dist/proto/micro/v1/news/app_version_message_pb.js +150 -0
  234. package/dist/proto/micro/v1/news/blog_messages_nest.d.ts +162 -0
  235. package/dist/proto/micro/v1/news/blog_messages_nest.js +5 -0
  236. package/dist/proto/micro/v1/news/blog_messages_pb.d.ts +246 -0
  237. package/dist/proto/micro/v1/news/blog_messages_pb.js +495 -0
  238. package/dist/proto/micro/v1/news/calendar_messages_nest.d.ts +70 -0
  239. package/dist/proto/micro/v1/news/calendar_messages_nest.js +5 -0
  240. package/dist/proto/micro/v1/news/calendar_messages_pb.d.ts +98 -0
  241. package/dist/proto/micro/v1/news/calendar_messages_pb.js +193 -0
  242. package/dist/proto/micro/v1/news/economic_calendar_messages_nest.d.ts +28 -0
  243. package/dist/proto/micro/v1/news/economic_calendar_messages_nest.js +5 -0
  244. package/dist/proto/micro/v1/news/economic_calendar_messages_pb.d.ts +48 -0
  245. package/dist/proto/micro/v1/news/economic_calendar_messages_pb.js +100 -0
  246. package/dist/proto/micro/v1/news/index.d.ts +9 -0
  247. package/dist/proto/micro/v1/news/index.js +13 -0
  248. package/dist/proto/micro/v1/news/jr_blog_messages_nest.d.ts +321 -0
  249. package/dist/proto/micro/v1/news/jr_blog_messages_nest.js +5 -0
  250. package/dist/proto/micro/v1/news/jr_blog_messages_pb.d.ts +477 -0
  251. package/dist/proto/micro/v1/news/jr_blog_messages_pb.js +954 -0
  252. package/dist/proto/micro/v1/news/news_messages_nest.d.ts +270 -0
  253. package/dist/proto/micro/v1/news/news_messages_nest.js +5 -0
  254. package/dist/proto/micro/v1/news/news_messages_pb.d.ts +418 -0
  255. package/dist/proto/micro/v1/news/news_messages_pb.js +848 -0
  256. package/dist/proto/micro/v1/news/services_connect.d.ts +549 -0
  257. package/dist/proto/micro/v1/news/services_connect.js +552 -0
  258. package/dist/proto/micro/v1/news/services_nest.d.ts +244 -0
  259. package/dist/proto/micro/v1/news/services_nest.js +261 -0
  260. package/dist/proto/micro/v1/news/sundown_messages_nest.d.ts +99 -0
  261. package/dist/proto/micro/v1/news/sundown_messages_nest.js +5 -0
  262. package/dist/proto/micro/v1/news/sundown_messages_pb.d.ts +131 -0
  263. package/dist/proto/micro/v1/news/sundown_messages_pb.js +253 -0
  264. package/dist/proto/micro/v1/notification/index.d.ts +4 -0
  265. package/dist/proto/micro/v1/notification/index.js +8 -0
  266. package/dist/proto/micro/v1/notification/mail_messages_nest.d.ts +31 -0
  267. package/dist/proto/micro/v1/notification/mail_messages_nest.js +5 -0
  268. package/dist/proto/micro/v1/notification/mail_messages_pb.d.ts +63 -0
  269. package/dist/proto/micro/v1/notification/mail_messages_pb.js +138 -0
  270. package/dist/proto/micro/v1/notification/notification_messages_nest.d.ts +164 -0
  271. package/dist/proto/micro/v1/notification/notification_messages_nest.js +5 -0
  272. package/dist/proto/micro/v1/notification/notification_messages_pb.d.ts +356 -0
  273. package/dist/proto/micro/v1/notification/notification_messages_pb.js +783 -0
  274. package/dist/proto/micro/v1/notification/services_connect.d.ts +139 -0
  275. package/dist/proto/micro/v1/notification/services_connect.js +142 -0
  276. package/dist/proto/micro/v1/notification/services_nest.d.ts +65 -0
  277. package/dist/proto/micro/v1/notification/services_nest.js +70 -0
  278. package/dist/proto/micro/v1/portfolio/index.d.ts +5 -0
  279. package/dist/proto/micro/v1/portfolio/index.js +9 -0
  280. package/dist/proto/micro/v1/portfolio/portfolio_coin_messages_nest.d.ts +17 -0
  281. package/dist/proto/micro/v1/portfolio/portfolio_coin_messages_nest.js +5 -0
  282. package/dist/proto/micro/v1/portfolio/portfolio_coin_messages_pb.d.ts +41 -0
  283. package/dist/proto/micro/v1/portfolio/portfolio_coin_messages_pb.js +89 -0
  284. package/dist/proto/micro/v1/portfolio/portfolio_coin_trasaction_messages_nest.d.ts +34 -0
  285. package/dist/proto/micro/v1/portfolio/portfolio_coin_trasaction_messages_nest.js +5 -0
  286. package/dist/proto/micro/v1/portfolio/portfolio_coin_trasaction_messages_pb.d.ts +82 -0
  287. package/dist/proto/micro/v1/portfolio/portfolio_coin_trasaction_messages_pb.js +180 -0
  288. package/dist/proto/micro/v1/portfolio/portfolio_messages_nest.d.ts +154 -0
  289. package/dist/proto/micro/v1/portfolio/portfolio_messages_nest.js +5 -0
  290. package/dist/proto/micro/v1/portfolio/portfolio_messages_pb.d.ts +370 -0
  291. package/dist/proto/micro/v1/portfolio/portfolio_messages_pb.js +820 -0
  292. package/dist/proto/micro/v1/portfolio/services_connect.d.ts +140 -0
  293. package/dist/proto/micro/v1/portfolio/services_connect.js +143 -0
  294. package/dist/proto/micro/v1/portfolio/services_nest.d.ts +66 -0
  295. package/dist/proto/micro/v1/portfolio/services_nest.js +74 -0
  296. package/dist/proto/micro/v1/puppeteer/index.d.ts +3 -0
  297. package/dist/proto/micro/v1/puppeteer/index.js +7 -0
  298. package/dist/proto/micro/v1/puppeteer/puppeteer_messages_nest.d.ts +2 -0
  299. package/dist/proto/micro/v1/puppeteer/puppeteer_messages_nest.js +5 -0
  300. package/dist/proto/micro/v1/puppeteer/services_connect.d.ts +89 -0
  301. package/dist/proto/micro/v1/puppeteer/services_connect.js +92 -0
  302. package/dist/proto/micro/v1/puppeteer/services_nest.d.ts +47 -0
  303. package/dist/proto/micro/v1/puppeteer/services_nest.js +63 -0
  304. package/dist/proto/micro/v1/user/auth_messages_nest.d.ts +87 -0
  305. package/dist/proto/micro/v1/user/auth_messages_nest.js +5 -0
  306. package/dist/proto/micro/v1/user/auth_messages_pb.d.ts +263 -0
  307. package/dist/proto/micro/v1/user/auth_messages_pb.js +590 -0
  308. package/dist/proto/micro/v1/user/authorization_messages_nest.d.ts +47 -0
  309. package/dist/proto/micro/v1/user/authorization_messages_nest.js +5 -0
  310. package/dist/proto/micro/v1/user/authorization_messages_pb.d.ts +111 -0
  311. package/dist/proto/micro/v1/user/authorization_messages_pb.js +245 -0
  312. package/dist/proto/micro/v1/user/index.d.ts +6 -0
  313. package/dist/proto/micro/v1/user/index.js +10 -0
  314. package/dist/proto/micro/v1/user/services_connect.d.ts +315 -0
  315. package/dist/proto/micro/v1/user/services_connect.js +318 -0
  316. package/dist/proto/micro/v1/user/services_nest.d.ts +151 -0
  317. package/dist/proto/micro/v1/user/services_nest.js +172 -0
  318. package/dist/proto/micro/v1/user/site_settings_messages_nest.d.ts +19 -0
  319. package/dist/proto/micro/v1/user/site_settings_messages_nest.js +12 -0
  320. package/dist/proto/micro/v1/user/site_settings_messages_pb.d.ts +42 -0
  321. package/dist/proto/micro/v1/user/site_settings_messages_pb.js +93 -0
  322. package/dist/proto/micro/v1/user/user_messages_nest.d.ts +175 -0
  323. package/dist/proto/micro/v1/user/user_messages_nest.js +12 -0
  324. package/dist/proto/micro/v1/user/user_messages_pb.d.ts +358 -0
  325. package/dist/proto/micro/v1/user/user_messages_pb.js +784 -0
  326. package/dist/utils/constants.d.ts +45 -0
  327. package/dist/utils/constants.js +48 -0
  328. package/dist/utils/functions.d.ts +70 -0
  329. package/dist/utils/functions.js +425 -0
  330. package/dist/utils/index.d.ts +5 -0
  331. package/dist/utils/index.js +9 -0
  332. package/dist/utils/logger_names.d.ts +8 -0
  333. package/dist/utils/logger_names.js +41 -0
  334. package/dist/utils/minimatch/assert_valid_pattern.d.ts +1 -0
  335. package/dist/utils/minimatch/assert_valid_pattern.js +13 -0
  336. package/dist/utils/minimatch/ast.d.ts +19 -0
  337. package/dist/utils/minimatch/ast.js +446 -0
  338. package/dist/utils/minimatch/balanced_match.d.ts +2 -0
  339. package/dist/utils/minimatch/balanced_match.js +57 -0
  340. package/dist/utils/minimatch/brace_expansion.d.ts +1 -0
  341. package/dist/utils/minimatch/brace_expansion.js +181 -0
  342. package/dist/utils/minimatch/brace_expressions.d.ts +7 -0
  343. package/dist/utils/minimatch/brace_expressions.js +119 -0
  344. package/dist/utils/minimatch/escape.d.ts +2 -0
  345. package/dist/utils/minimatch/escape.js +9 -0
  346. package/dist/utils/minimatch/index.d.ts +93 -0
  347. package/dist/utils/minimatch/index.js +788 -0
  348. package/dist/utils/minimatch/matcher_collection.d.ts +9 -0
  349. package/dist/utils/minimatch/matcher_collection.js +30 -0
  350. package/dist/utils/minimatch/unescape.d.ts +2 -0
  351. package/dist/utils/minimatch/unescape.js +11 -0
  352. package/dist/utils/types.d.ts +70 -0
  353. package/dist/utils/types.js +22 -0
  354. package/dist/utils/walk_sync.d.ts +25 -0
  355. package/dist/utils/walk_sync.js +184 -0
  356. package/package.json +87 -0
@@ -0,0 +1,244 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.P_PUPPETEER_MICROSERVICE_NAME = exports.P_DATA_MARKET_CAP_SERVICE_NAME = exports.P_DATA_MICROSERVICE_NAME = exports.P_COIN_CRON_SERVICE_NAME = exports.P_COIN_ADMIN_SERVICE_NAME = exports.P_ANALYTICS_SERVICE_NAME = exports.P_TOKEN_UNLOCKS_SERVICE_NAME = exports.P_ETF_SERVICE_NAME = exports.P_COIN_DATA_SERVICE_NAME = exports.P_CHART_SERVICE_NAME = exports.PC_LIVE_COIN_SERVICE_NAME = exports.P_COIN_SERVICE_NAME = exports.MICRO_V1_COIN_PACKAGE_NAME = exports.protobufPackage = void 0;
4
+ exports.PCoinServiceControllerMethods = PCoinServiceControllerMethods;
5
+ exports.PCLiveCoinServiceControllerMethods = PCLiveCoinServiceControllerMethods;
6
+ exports.PChartServiceControllerMethods = PChartServiceControllerMethods;
7
+ exports.PCoinDataServiceControllerMethods = PCoinDataServiceControllerMethods;
8
+ exports.PEtfServiceControllerMethods = PEtfServiceControllerMethods;
9
+ exports.PTokenUnlocksServiceControllerMethods = PTokenUnlocksServiceControllerMethods;
10
+ exports.PAnalyticsServiceControllerMethods = PAnalyticsServiceControllerMethods;
11
+ exports.PCoinAdminServiceControllerMethods = PCoinAdminServiceControllerMethods;
12
+ exports.PCoinCronServiceControllerMethods = PCoinCronServiceControllerMethods;
13
+ exports.PDataMicroserviceControllerMethods = PDataMicroserviceControllerMethods;
14
+ exports.PDataMarketCapServiceControllerMethods = PDataMarketCapServiceControllerMethods;
15
+ exports.PPuppeteerMicroserviceControllerMethods = PPuppeteerMicroserviceControllerMethods;
16
+ const microservices_1 = require("@nestjs/microservices");
17
+ exports.protobufPackage = "micro.v1.coin";
18
+ exports.MICRO_V1_COIN_PACKAGE_NAME = "micro.v1.coin";
19
+ function PCoinServiceControllerMethods() {
20
+ return function (constructor) {
21
+ const grpcMethods = [
22
+ "read",
23
+ "readWithCoinGeckoId",
24
+ "paginate",
25
+ "paginateFiltered",
26
+ "paginateFrom",
27
+ "addFavoriteCoin",
28
+ "saveCoinPriceAlert",
29
+ "getFavoriteCoins",
30
+ "isFavoriteCoin",
31
+ "getCoinPriceAlerts",
32
+ "removeFavoriteCoin",
33
+ "removeCoinPriceAlert",
34
+ "removeUserData",
35
+ ];
36
+ for (const method of grpcMethods) {
37
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
38
+ (0, microservices_1.GrpcMethod)("PCoinService", method)(constructor.prototype[method], method, descriptor);
39
+ }
40
+ const grpcStreamMethods = [];
41
+ for (const method of grpcStreamMethods) {
42
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
43
+ (0, microservices_1.GrpcStreamMethod)("PCoinService", method)(constructor.prototype[method], method, descriptor);
44
+ }
45
+ };
46
+ }
47
+ exports.P_COIN_SERVICE_NAME = "PCoinService";
48
+ function PCLiveCoinServiceControllerMethods() {
49
+ return function (constructor) {
50
+ const grpcMethods = ["getCoinLiveData"];
51
+ for (const method of grpcMethods) {
52
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
53
+ (0, microservices_1.GrpcMethod)("PCLiveCoinService", method)(constructor.prototype[method], method, descriptor);
54
+ }
55
+ const grpcStreamMethods = [];
56
+ for (const method of grpcStreamMethods) {
57
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
58
+ (0, microservices_1.GrpcStreamMethod)("PCLiveCoinService", method)(constructor.prototype[method], method, descriptor);
59
+ }
60
+ };
61
+ }
62
+ exports.PC_LIVE_COIN_SERVICE_NAME = "PCLiveCoinService";
63
+ function PChartServiceControllerMethods() {
64
+ return function (constructor) {
65
+ const grpcMethods = [
66
+ "getFearGreedIndex",
67
+ "getFearGreedHistory",
68
+ "longShortRatios",
69
+ "longShortRatio",
70
+ "rsiStats",
71
+ "rsiPagination",
72
+ ];
73
+ for (const method of grpcMethods) {
74
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
75
+ (0, microservices_1.GrpcMethod)("PChartService", method)(constructor.prototype[method], method, descriptor);
76
+ }
77
+ const grpcStreamMethods = [];
78
+ for (const method of grpcStreamMethods) {
79
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
80
+ (0, microservices_1.GrpcStreamMethod)("PChartService", method)(constructor.prototype[method], method, descriptor);
81
+ }
82
+ };
83
+ }
84
+ exports.P_CHART_SERVICE_NAME = "PChartService";
85
+ function PCoinDataServiceControllerMethods() {
86
+ return function (constructor) {
87
+ const grpcMethods = [
88
+ "exchangesAssetsTransparency",
89
+ "coinExchangeBalance",
90
+ "getCoinBalance",
91
+ "getCoinFlow",
92
+ ];
93
+ for (const method of grpcMethods) {
94
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
95
+ (0, microservices_1.GrpcMethod)("PCoinDataService", method)(constructor.prototype[method], method, descriptor);
96
+ }
97
+ const grpcStreamMethods = [];
98
+ for (const method of grpcStreamMethods) {
99
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
100
+ (0, microservices_1.GrpcStreamMethod)("PCoinDataService", method)(constructor.prototype[method], method, descriptor);
101
+ }
102
+ };
103
+ }
104
+ exports.P_COIN_DATA_SERVICE_NAME = "PCoinDataService";
105
+ function PEtfServiceControllerMethods() {
106
+ return function (constructor) {
107
+ const grpcMethods = [
108
+ "getEtfOverview",
109
+ "getEtfHeatmap",
110
+ "getEtfInflow",
111
+ "getEtfPremiumDiscount",
112
+ "getEtfOnlyInflow",
113
+ ];
114
+ for (const method of grpcMethods) {
115
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
116
+ (0, microservices_1.GrpcMethod)("PEtfService", method)(constructor.prototype[method], method, descriptor);
117
+ }
118
+ const grpcStreamMethods = [];
119
+ for (const method of grpcStreamMethods) {
120
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
121
+ (0, microservices_1.GrpcStreamMethod)("PEtfService", method)(constructor.prototype[method], method, descriptor);
122
+ }
123
+ };
124
+ }
125
+ exports.P_ETF_SERVICE_NAME = "PEtfService";
126
+ function PTokenUnlocksServiceControllerMethods() {
127
+ return function (constructor) {
128
+ const grpcMethods = ["storeFunction", "paginate", "paginateFrom", "read"];
129
+ for (const method of grpcMethods) {
130
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
131
+ (0, microservices_1.GrpcMethod)("PTokenUnlocksService", method)(constructor.prototype[method], method, descriptor);
132
+ }
133
+ const grpcStreamMethods = [];
134
+ for (const method of grpcStreamMethods) {
135
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
136
+ (0, microservices_1.GrpcStreamMethod)("PTokenUnlocksService", method)(constructor.prototype[method], method, descriptor);
137
+ }
138
+ };
139
+ }
140
+ exports.P_TOKEN_UNLOCKS_SERVICE_NAME = "PTokenUnlocksService";
141
+ function PAnalyticsServiceControllerMethods() {
142
+ return function (constructor) {
143
+ const grpcMethods = [
144
+ "currencies",
145
+ "highlights",
146
+ "chains",
147
+ "categories",
148
+ "globalData",
149
+ "exchanges",
150
+ "coinWeeklyData",
151
+ "currenciesByCategory",
152
+ "currenciesByChain",
153
+ "navbarData",
154
+ "currenciesNew",
155
+ "currenciesNewsChanges",
156
+ "paginateCurrency",
157
+ ];
158
+ for (const method of grpcMethods) {
159
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
160
+ (0, microservices_1.GrpcMethod)("PAnalyticsService", method)(constructor.prototype[method], method, descriptor);
161
+ }
162
+ const grpcStreamMethods = [];
163
+ for (const method of grpcStreamMethods) {
164
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
165
+ (0, microservices_1.GrpcStreamMethod)("PAnalyticsService", method)(constructor.prototype[method], method, descriptor);
166
+ }
167
+ };
168
+ }
169
+ exports.P_ANALYTICS_SERVICE_NAME = "PAnalyticsService";
170
+ function PCoinAdminServiceControllerMethods() {
171
+ return function (constructor) {
172
+ const grpcMethods = ["read", "store", "update", "remove", "paginate", "paginateFrom"];
173
+ for (const method of grpcMethods) {
174
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
175
+ (0, microservices_1.GrpcMethod)("PCoinAdminService", method)(constructor.prototype[method], method, descriptor);
176
+ }
177
+ const grpcStreamMethods = [];
178
+ for (const method of grpcStreamMethods) {
179
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
180
+ (0, microservices_1.GrpcStreamMethod)("PCoinAdminService", method)(constructor.prototype[method], method, descriptor);
181
+ }
182
+ };
183
+ }
184
+ exports.P_COIN_ADMIN_SERVICE_NAME = "PCoinAdminService";
185
+ function PCoinCronServiceControllerMethods() {
186
+ return function (constructor) {
187
+ const grpcMethods = ["runCron"];
188
+ for (const method of grpcMethods) {
189
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
190
+ (0, microservices_1.GrpcMethod)("PCoinCronService", method)(constructor.prototype[method], method, descriptor);
191
+ }
192
+ const grpcStreamMethods = [];
193
+ for (const method of grpcStreamMethods) {
194
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
195
+ (0, microservices_1.GrpcStreamMethod)("PCoinCronService", method)(constructor.prototype[method], method, descriptor);
196
+ }
197
+ };
198
+ }
199
+ exports.P_COIN_CRON_SERVICE_NAME = "PCoinCronService";
200
+ function PDataMicroserviceControllerMethods() {
201
+ return function (constructor) {
202
+ const grpcMethods = ["getAllCoinsDb"];
203
+ for (const method of grpcMethods) {
204
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
205
+ (0, microservices_1.GrpcMethod)("PDataMicroservice", method)(constructor.prototype[method], method, descriptor);
206
+ }
207
+ const grpcStreamMethods = [];
208
+ for (const method of grpcStreamMethods) {
209
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
210
+ (0, microservices_1.GrpcStreamMethod)("PDataMicroservice", method)(constructor.prototype[method], method, descriptor);
211
+ }
212
+ };
213
+ }
214
+ exports.P_DATA_MICROSERVICE_NAME = "PDataMicroservice";
215
+ function PDataMarketCapServiceControllerMethods() {
216
+ return function (constructor) {
217
+ const grpcMethods = ["getCoinMarketCap"];
218
+ for (const method of grpcMethods) {
219
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
220
+ (0, microservices_1.GrpcMethod)("PDataMarketCapService", method)(constructor.prototype[method], method, descriptor);
221
+ }
222
+ const grpcStreamMethods = [];
223
+ for (const method of grpcStreamMethods) {
224
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
225
+ (0, microservices_1.GrpcStreamMethod)("PDataMarketCapService", method)(constructor.prototype[method], method, descriptor);
226
+ }
227
+ };
228
+ }
229
+ exports.P_DATA_MARKET_CAP_SERVICE_NAME = "PDataMarketCapService";
230
+ function PPuppeteerMicroserviceControllerMethods() {
231
+ return function (constructor) {
232
+ const grpcMethods = ["getAllCoinsDb", "getWithoutAboutCoins"];
233
+ for (const method of grpcMethods) {
234
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
235
+ (0, microservices_1.GrpcMethod)("PPuppeteerMicroservice", method)(constructor.prototype[method], method, descriptor);
236
+ }
237
+ const grpcStreamMethods = [];
238
+ for (const method of grpcStreamMethods) {
239
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
240
+ (0, microservices_1.GrpcStreamMethod)("PPuppeteerMicroservice", method)(constructor.prototype[method], method, descriptor);
241
+ }
242
+ };
243
+ }
244
+ exports.P_PUPPETEER_MICROSERVICE_NAME = "PPuppeteerMicroservice";
@@ -0,0 +1,53 @@
1
+ import { PaginationMetaResult, ResponseStatus } from "../general_nest";
2
+ export declare const protobufPackage = "micro.v1.coin";
3
+ export interface Allocation {
4
+ data: {
5
+ [key: string]: string;
6
+ };
7
+ }
8
+ export interface Allocation_DataEntry {
9
+ key: string;
10
+ value: string;
11
+ }
12
+ export interface UnlockProgressData {
13
+ data: string[];
14
+ }
15
+ export interface UnlockProgress {
16
+ data: {
17
+ [key: string]: UnlockProgressData;
18
+ };
19
+ }
20
+ export interface UnlockProgress_DataEntry {
21
+ key: string;
22
+ value: UnlockProgressData | undefined;
23
+ }
24
+ export interface TokenUnlocksDto {
25
+ id: string;
26
+ symbol: string;
27
+ date: string;
28
+ price: string;
29
+ price_change: string;
30
+ total_unlocked_percentage: string;
31
+ emission_price: string;
32
+ emission_price_change: string;
33
+ price_token: string;
34
+ price_change_daily: string;
35
+ market_cap: string;
36
+ circulating_supply: string;
37
+ allocations: Allocation[];
38
+ unlock_progress: UnlockProgress[];
39
+ }
40
+ export interface TokenUnlocksResponse {
41
+ status: ResponseStatus | undefined;
42
+ data: TokenUnlocksDto | undefined;
43
+ }
44
+ export interface TokenUnlocksPaginationResponse {
45
+ status: ResponseStatus | undefined;
46
+ pagination: PaginationMetaResult | undefined;
47
+ data: TokenUnlocksDto[];
48
+ }
49
+ export interface TokenUnlocksStoreFunctionResponse {
50
+ status: ResponseStatus | undefined;
51
+ coins: string[];
52
+ }
53
+ export declare const MICRO_V1_COIN_PACKAGE_NAME = "micro.v1.coin";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MICRO_V1_COIN_PACKAGE_NAME = exports.protobufPackage = void 0;
4
+ exports.protobufPackage = "micro.v1.coin";
5
+ exports.MICRO_V1_COIN_PACKAGE_NAME = "micro.v1.coin";
@@ -0,0 +1,101 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3 } from "@bufbuild/protobuf";
3
+ import { PaginationMetaResult, ResponseStatus } from "../general_pb.js";
4
+ export declare class Allocation extends Message<Allocation> {
5
+ data: {
6
+ [key: string]: string;
7
+ };
8
+ constructor(data?: PartialMessage<Allocation>);
9
+ static readonly runtime: typeof proto3;
10
+ static readonly typeName = "micro.v1.coin.Allocation";
11
+ static readonly fields: FieldList;
12
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Allocation;
13
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Allocation;
14
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Allocation;
15
+ static equals(a: Allocation | PlainMessage<Allocation> | undefined, b: Allocation | PlainMessage<Allocation> | undefined): boolean;
16
+ }
17
+ export declare class UnlockProgressData extends Message<UnlockProgressData> {
18
+ data: string[];
19
+ constructor(data?: PartialMessage<UnlockProgressData>);
20
+ static readonly runtime: typeof proto3;
21
+ static readonly typeName = "micro.v1.coin.UnlockProgressData";
22
+ static readonly fields: FieldList;
23
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnlockProgressData;
24
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnlockProgressData;
25
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnlockProgressData;
26
+ static equals(a: UnlockProgressData | PlainMessage<UnlockProgressData> | undefined, b: UnlockProgressData | PlainMessage<UnlockProgressData> | undefined): boolean;
27
+ }
28
+ export declare class UnlockProgress extends Message<UnlockProgress> {
29
+ data: {
30
+ [key: string]: UnlockProgressData;
31
+ };
32
+ constructor(data?: PartialMessage<UnlockProgress>);
33
+ static readonly runtime: typeof proto3;
34
+ static readonly typeName = "micro.v1.coin.UnlockProgress";
35
+ static readonly fields: FieldList;
36
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnlockProgress;
37
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnlockProgress;
38
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnlockProgress;
39
+ static equals(a: UnlockProgress | PlainMessage<UnlockProgress> | undefined, b: UnlockProgress | PlainMessage<UnlockProgress> | undefined): boolean;
40
+ }
41
+ export declare class TokenUnlocksDto extends Message<TokenUnlocksDto> {
42
+ id: string;
43
+ symbol: string;
44
+ date: string;
45
+ price: string;
46
+ priceChange: string;
47
+ totalUnlockedPercentage: string;
48
+ emissionPrice: string;
49
+ emissionPriceChange: string;
50
+ priceToken: string;
51
+ priceChangeDaily: string;
52
+ marketCap: string;
53
+ circulatingSupply: string;
54
+ allocations: Allocation[];
55
+ unlockProgress: UnlockProgress[];
56
+ constructor(data?: PartialMessage<TokenUnlocksDto>);
57
+ static readonly runtime: typeof proto3;
58
+ static readonly typeName = "micro.v1.coin.TokenUnlocksDto";
59
+ static readonly fields: FieldList;
60
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenUnlocksDto;
61
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenUnlocksDto;
62
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenUnlocksDto;
63
+ static equals(a: TokenUnlocksDto | PlainMessage<TokenUnlocksDto> | undefined, b: TokenUnlocksDto | PlainMessage<TokenUnlocksDto> | undefined): boolean;
64
+ }
65
+ export declare class TokenUnlocksResponse extends Message<TokenUnlocksResponse> {
66
+ status?: ResponseStatus;
67
+ data?: TokenUnlocksDto;
68
+ constructor(data?: PartialMessage<TokenUnlocksResponse>);
69
+ static readonly runtime: typeof proto3;
70
+ static readonly typeName = "micro.v1.coin.TokenUnlocksResponse";
71
+ static readonly fields: FieldList;
72
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenUnlocksResponse;
73
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenUnlocksResponse;
74
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenUnlocksResponse;
75
+ static equals(a: TokenUnlocksResponse | PlainMessage<TokenUnlocksResponse> | undefined, b: TokenUnlocksResponse | PlainMessage<TokenUnlocksResponse> | undefined): boolean;
76
+ }
77
+ export declare class TokenUnlocksPaginationResponse extends Message<TokenUnlocksPaginationResponse> {
78
+ status?: ResponseStatus;
79
+ pagination?: PaginationMetaResult;
80
+ data: TokenUnlocksDto[];
81
+ constructor(data?: PartialMessage<TokenUnlocksPaginationResponse>);
82
+ static readonly runtime: typeof proto3;
83
+ static readonly typeName = "micro.v1.coin.TokenUnlocksPaginationResponse";
84
+ static readonly fields: FieldList;
85
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenUnlocksPaginationResponse;
86
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenUnlocksPaginationResponse;
87
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenUnlocksPaginationResponse;
88
+ static equals(a: TokenUnlocksPaginationResponse | PlainMessage<TokenUnlocksPaginationResponse> | undefined, b: TokenUnlocksPaginationResponse | PlainMessage<TokenUnlocksPaginationResponse> | undefined): boolean;
89
+ }
90
+ export declare class TokenUnlocksStoreFunctionResponse extends Message<TokenUnlocksStoreFunctionResponse> {
91
+ status?: ResponseStatus;
92
+ coins: string[];
93
+ constructor(data?: PartialMessage<TokenUnlocksStoreFunctionResponse>);
94
+ static readonly runtime: typeof proto3;
95
+ static readonly typeName = "micro.v1.coin.TokenUnlocksStoreFunctionResponse";
96
+ static readonly fields: FieldList;
97
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenUnlocksStoreFunctionResponse;
98
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenUnlocksStoreFunctionResponse;
99
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenUnlocksStoreFunctionResponse;
100
+ static equals(a: TokenUnlocksStoreFunctionResponse | PlainMessage<TokenUnlocksStoreFunctionResponse> | undefined, b: TokenUnlocksStoreFunctionResponse | PlainMessage<TokenUnlocksStoreFunctionResponse> | undefined): boolean;
101
+ }
@@ -0,0 +1,214 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TokenUnlocksStoreFunctionResponse = exports.TokenUnlocksPaginationResponse = exports.TokenUnlocksResponse = exports.TokenUnlocksDto = exports.UnlockProgress = exports.UnlockProgressData = exports.Allocation = void 0;
4
+ const protobuf_1 = require("@bufbuild/protobuf");
5
+ const general_pb_js_1 = require("../general_pb.js");
6
+ class Allocation extends protobuf_1.Message {
7
+ data = {};
8
+ constructor(data) {
9
+ super();
10
+ protobuf_1.proto3.util.initPartial(data, this);
11
+ }
12
+ static runtime = protobuf_1.proto3;
13
+ static typeName = "micro.v1.coin.Allocation";
14
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
15
+ { no: 1, name: "data", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
16
+ ]);
17
+ static fromBinary(bytes, options) {
18
+ return new Allocation().fromBinary(bytes, options);
19
+ }
20
+ static fromJson(jsonValue, options) {
21
+ return new Allocation().fromJson(jsonValue, options);
22
+ }
23
+ static fromJsonString(jsonString, options) {
24
+ return new Allocation().fromJsonString(jsonString, options);
25
+ }
26
+ static equals(a, b) {
27
+ return protobuf_1.proto3.util.equals(Allocation, a, b);
28
+ }
29
+ }
30
+ exports.Allocation = Allocation;
31
+ class UnlockProgressData extends protobuf_1.Message {
32
+ data = [];
33
+ constructor(data) {
34
+ super();
35
+ protobuf_1.proto3.util.initPartial(data, this);
36
+ }
37
+ static runtime = protobuf_1.proto3;
38
+ static typeName = "micro.v1.coin.UnlockProgressData";
39
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
40
+ { no: 1, name: "data", kind: "scalar", T: 9, repeated: true },
41
+ ]);
42
+ static fromBinary(bytes, options) {
43
+ return new UnlockProgressData().fromBinary(bytes, options);
44
+ }
45
+ static fromJson(jsonValue, options) {
46
+ return new UnlockProgressData().fromJson(jsonValue, options);
47
+ }
48
+ static fromJsonString(jsonString, options) {
49
+ return new UnlockProgressData().fromJsonString(jsonString, options);
50
+ }
51
+ static equals(a, b) {
52
+ return protobuf_1.proto3.util.equals(UnlockProgressData, a, b);
53
+ }
54
+ }
55
+ exports.UnlockProgressData = UnlockProgressData;
56
+ class UnlockProgress extends protobuf_1.Message {
57
+ data = {};
58
+ constructor(data) {
59
+ super();
60
+ protobuf_1.proto3.util.initPartial(data, this);
61
+ }
62
+ static runtime = protobuf_1.proto3;
63
+ static typeName = "micro.v1.coin.UnlockProgress";
64
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
65
+ { no: 1, name: "data", kind: "map", K: 9, V: { kind: "message", T: UnlockProgressData } },
66
+ ]);
67
+ static fromBinary(bytes, options) {
68
+ return new UnlockProgress().fromBinary(bytes, options);
69
+ }
70
+ static fromJson(jsonValue, options) {
71
+ return new UnlockProgress().fromJson(jsonValue, options);
72
+ }
73
+ static fromJsonString(jsonString, options) {
74
+ return new UnlockProgress().fromJsonString(jsonString, options);
75
+ }
76
+ static equals(a, b) {
77
+ return protobuf_1.proto3.util.equals(UnlockProgress, a, b);
78
+ }
79
+ }
80
+ exports.UnlockProgress = UnlockProgress;
81
+ class TokenUnlocksDto extends protobuf_1.Message {
82
+ id = "";
83
+ symbol = "";
84
+ date = "";
85
+ price = "";
86
+ priceChange = "";
87
+ totalUnlockedPercentage = "";
88
+ emissionPrice = "";
89
+ emissionPriceChange = "";
90
+ priceToken = "";
91
+ priceChangeDaily = "";
92
+ marketCap = "";
93
+ circulatingSupply = "";
94
+ allocations = [];
95
+ unlockProgress = [];
96
+ constructor(data) {
97
+ super();
98
+ protobuf_1.proto3.util.initPartial(data, this);
99
+ }
100
+ static runtime = protobuf_1.proto3;
101
+ static typeName = "micro.v1.coin.TokenUnlocksDto";
102
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
103
+ { no: 1, name: "id", kind: "scalar", T: 9 },
104
+ { no: 2, name: "symbol", kind: "scalar", T: 9 },
105
+ { no: 3, name: "date", kind: "scalar", T: 9 },
106
+ { no: 4, name: "price", kind: "scalar", T: 9 },
107
+ { no: 5, name: "price_change", kind: "scalar", T: 9 },
108
+ { no: 6, name: "total_unlocked_percentage", kind: "scalar", T: 9 },
109
+ { no: 7, name: "emission_price", kind: "scalar", T: 9 },
110
+ { no: 8, name: "emission_price_change", kind: "scalar", T: 9 },
111
+ { no: 9, name: "price_token", kind: "scalar", T: 9 },
112
+ { no: 10, name: "price_change_daily", kind: "scalar", T: 9 },
113
+ { no: 11, name: "market_cap", kind: "scalar", T: 9 },
114
+ { no: 12, name: "circulating_supply", kind: "scalar", T: 9 },
115
+ { no: 13, name: "allocations", kind: "message", T: Allocation, repeated: true },
116
+ { no: 14, name: "unlock_progress", kind: "message", T: UnlockProgress, repeated: true },
117
+ ]);
118
+ static fromBinary(bytes, options) {
119
+ return new TokenUnlocksDto().fromBinary(bytes, options);
120
+ }
121
+ static fromJson(jsonValue, options) {
122
+ return new TokenUnlocksDto().fromJson(jsonValue, options);
123
+ }
124
+ static fromJsonString(jsonString, options) {
125
+ return new TokenUnlocksDto().fromJsonString(jsonString, options);
126
+ }
127
+ static equals(a, b) {
128
+ return protobuf_1.proto3.util.equals(TokenUnlocksDto, a, b);
129
+ }
130
+ }
131
+ exports.TokenUnlocksDto = TokenUnlocksDto;
132
+ class TokenUnlocksResponse extends protobuf_1.Message {
133
+ status;
134
+ data;
135
+ constructor(data) {
136
+ super();
137
+ protobuf_1.proto3.util.initPartial(data, this);
138
+ }
139
+ static runtime = protobuf_1.proto3;
140
+ static typeName = "micro.v1.coin.TokenUnlocksResponse";
141
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
142
+ { no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
143
+ { no: 2, name: "data", kind: "message", T: TokenUnlocksDto },
144
+ ]);
145
+ static fromBinary(bytes, options) {
146
+ return new TokenUnlocksResponse().fromBinary(bytes, options);
147
+ }
148
+ static fromJson(jsonValue, options) {
149
+ return new TokenUnlocksResponse().fromJson(jsonValue, options);
150
+ }
151
+ static fromJsonString(jsonString, options) {
152
+ return new TokenUnlocksResponse().fromJsonString(jsonString, options);
153
+ }
154
+ static equals(a, b) {
155
+ return protobuf_1.proto3.util.equals(TokenUnlocksResponse, a, b);
156
+ }
157
+ }
158
+ exports.TokenUnlocksResponse = TokenUnlocksResponse;
159
+ class TokenUnlocksPaginationResponse extends protobuf_1.Message {
160
+ status;
161
+ pagination;
162
+ data = [];
163
+ constructor(data) {
164
+ super();
165
+ protobuf_1.proto3.util.initPartial(data, this);
166
+ }
167
+ static runtime = protobuf_1.proto3;
168
+ static typeName = "micro.v1.coin.TokenUnlocksPaginationResponse";
169
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
170
+ { no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
171
+ { no: 2, name: "pagination", kind: "message", T: general_pb_js_1.PaginationMetaResult },
172
+ { no: 3, name: "data", kind: "message", T: TokenUnlocksDto, repeated: true },
173
+ ]);
174
+ static fromBinary(bytes, options) {
175
+ return new TokenUnlocksPaginationResponse().fromBinary(bytes, options);
176
+ }
177
+ static fromJson(jsonValue, options) {
178
+ return new TokenUnlocksPaginationResponse().fromJson(jsonValue, options);
179
+ }
180
+ static fromJsonString(jsonString, options) {
181
+ return new TokenUnlocksPaginationResponse().fromJsonString(jsonString, options);
182
+ }
183
+ static equals(a, b) {
184
+ return protobuf_1.proto3.util.equals(TokenUnlocksPaginationResponse, a, b);
185
+ }
186
+ }
187
+ exports.TokenUnlocksPaginationResponse = TokenUnlocksPaginationResponse;
188
+ class TokenUnlocksStoreFunctionResponse extends protobuf_1.Message {
189
+ status;
190
+ coins = [];
191
+ constructor(data) {
192
+ super();
193
+ protobuf_1.proto3.util.initPartial(data, this);
194
+ }
195
+ static runtime = protobuf_1.proto3;
196
+ static typeName = "micro.v1.coin.TokenUnlocksStoreFunctionResponse";
197
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
198
+ { no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
199
+ { no: 2, name: "coins", kind: "scalar", T: 9, repeated: true },
200
+ ]);
201
+ static fromBinary(bytes, options) {
202
+ return new TokenUnlocksStoreFunctionResponse().fromBinary(bytes, options);
203
+ }
204
+ static fromJson(jsonValue, options) {
205
+ return new TokenUnlocksStoreFunctionResponse().fromJson(jsonValue, options);
206
+ }
207
+ static fromJsonString(jsonString, options) {
208
+ return new TokenUnlocksStoreFunctionResponse().fromJsonString(jsonString, options);
209
+ }
210
+ static equals(a, b) {
211
+ return protobuf_1.proto3.util.equals(TokenUnlocksStoreFunctionResponse, a, b);
212
+ }
213
+ }
214
+ exports.TokenUnlocksStoreFunctionResponse = TokenUnlocksStoreFunctionResponse;
@@ -0,0 +1,18 @@
1
+ import { ResponseStatus } from "../general_nest";
2
+ export declare const protobufPackage = "micro.v1.data";
3
+ export interface DailyMarketDataDto {
4
+ symbol: string;
5
+ name: string;
6
+ status: string;
7
+ coinmarketcap_id: string;
8
+ coin_rank: string;
9
+ }
10
+ export interface DailyMarketDataResponse {
11
+ status: ResponseStatus | undefined;
12
+ data: DailyMarketDataDto[];
13
+ }
14
+ export interface DailyMarketDataRequest {
15
+ symbol: string;
16
+ coin_rank: string;
17
+ }
18
+ export declare const MICRO_V1_DATA_PACKAGE_NAME = "micro.v1.data";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MICRO_V1_DATA_PACKAGE_NAME = exports.protobufPackage = void 0;
4
+ exports.protobufPackage = "micro.v1.data";
5
+ exports.MICRO_V1_DATA_PACKAGE_NAME = "micro.v1.data";