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.
- package/README.md +33 -0
- package/dist/common/dto/by_id_request_dto.d.ts +11 -0
- package/dist/common/dto/by_id_request_dto.js +10 -0
- package/dist/common/dto/index.d.ts +3 -0
- package/dist/common/dto/index.js +7 -0
- package/dist/common/dto/paginate_from_request_dto.d.ts +58 -0
- package/dist/common/dto/paginate_from_request_dto.js +22 -0
- package/dist/common/dto/paginate_request_dto.d.ts +23 -0
- package/dist/common/dto/paginate_request_dto.js +14 -0
- package/dist/common/exception/base_exception.d.ts +4 -0
- package/dist/common/exception/base_exception.js +14 -0
- package/dist/common/exception/index.d.ts +1 -0
- package/dist/common/exception/index.js +5 -0
- package/dist/common/factory/grpc_options_factory.d.ts +15 -0
- package/dist/common/factory/grpc_options_factory.js +63 -0
- package/dist/common/factory/index.d.ts +5 -0
- package/dist/common/factory/index.js +9 -0
- package/dist/common/factory/logger/index.d.ts +2 -0
- package/dist/common/factory/logger/index.js +6 -0
- package/dist/common/factory/logger/kafka_transport.d.ts +16 -0
- package/dist/common/factory/logger/kafka_transport.js +54 -0
- package/dist/common/factory/logger/winston_config.d.ts +22 -0
- package/dist/common/factory/logger/winston_config.js +141 -0
- package/dist/common/factory/module_metadata_factory.d.ts +24 -0
- package/dist/common/factory/module_metadata_factory.js +186 -0
- package/dist/common/factory/redis_client_factory.d.ts +5 -0
- package/dist/common/factory/redis_client_factory.js +22 -0
- package/dist/common/factory/redis_cluster_factory.d.ts +5 -0
- package/dist/common/factory/redis_cluster_factory.js +25 -0
- package/dist/common/filters/grpc_exceptions_filter.d.ts +6 -0
- package/dist/common/filters/grpc_exceptions_filter.js +26 -0
- package/dist/common/filters/index.d.ts +1 -0
- package/dist/common/filters/index.js +5 -0
- package/dist/common/guards/app_auth_guard.d.ts +5 -0
- package/dist/common/guards/app_auth_guard.js +38 -0
- package/dist/common/guards/app_internal_guard.d.ts +5 -0
- package/dist/common/guards/app_internal_guard.js +38 -0
- package/dist/common/guards/app_role_guard.d.ts +5 -0
- package/dist/common/guards/app_role_guard.js +43 -0
- package/dist/common/guards/index.d.ts +4 -0
- package/dist/common/guards/index.js +8 -0
- package/dist/common/guards/jwt_auth_user_decorator.d.ts +1 -0
- package/dist/common/guards/jwt_auth_user_decorator.js +31 -0
- package/dist/common/index.d.ts +8 -0
- package/dist/common/index.js +12 -0
- package/dist/common/interceptors/grpc/grpc_error_interceptors.d.ts +7 -0
- package/dist/common/interceptors/grpc/grpc_error_interceptors.js +35 -0
- package/dist/common/interceptors/grpc/index.d.ts +1 -0
- package/dist/common/interceptors/grpc/index.js +5 -0
- package/dist/common/interceptors/http/http_error_interceptors.d.ts +7 -0
- package/dist/common/interceptors/http/http_error_interceptors.js +30 -0
- package/dist/common/interceptors/http/http_response_interceptors.d.ts +7 -0
- package/dist/common/interceptors/http/http_response_interceptors.js +20 -0
- package/dist/common/interceptors/http/index.d.ts +2 -0
- package/dist/common/interceptors/http/index.js +6 -0
- package/dist/common/interceptors/index.d.ts +2 -0
- package/dist/common/interceptors/index.js +6 -0
- package/dist/common/kafka/index.d.ts +3 -0
- package/dist/common/kafka/index.js +7 -0
- package/dist/common/kafka/kafka_admin_service.d.ts +13 -0
- package/dist/common/kafka/kafka_admin_service.js +64 -0
- package/dist/common/kafka/kafka_consumer_service.d.ts +19 -0
- package/dist/common/kafka/kafka_consumer_service.js +80 -0
- package/dist/common/kafka/kafka_producer_service.d.ts +14 -0
- package/dist/common/kafka/kafka_producer_service.js +49 -0
- package/dist/common/service/crud/crud_service_interface.d.ts +20 -0
- package/dist/common/service/crud/crud_service_interface.js +2 -0
- package/dist/common/service/crud/index.d.ts +1 -0
- package/dist/common/service/crud/index.js +5 -0
- package/dist/common/service/index.d.ts +1 -0
- package/dist/common/service/index.js +5 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +7 -0
- package/dist/proto/index.d.ts +1 -0
- package/dist/proto/index.js +5 -0
- package/dist/proto/micro/index.d.ts +1 -0
- package/dist/proto/micro/index.js +5 -0
- package/dist/proto/micro/v1/coin/analytics_messages_nest.d.ts +335 -0
- package/dist/proto/micro/v1/coin/analytics_messages_nest.js +18 -0
- package/dist/proto/micro/v1/coin/analytics_messages_pb.d.ts +670 -0
- package/dist/proto/micro/v1/coin/analytics_messages_pb.js +1456 -0
- package/dist/proto/micro/v1/coin/coin_messages_nest.d.ts +110 -0
- package/dist/proto/micro/v1/coin/coin_messages_nest.js +5 -0
- package/dist/proto/micro/v1/coin/coin_messages_pb.d.ts +258 -0
- package/dist/proto/micro/v1/coin/coin_messages_pb.js +568 -0
- package/dist/proto/micro/v1/coin/coin_websocket_messages_nest.d.ts +72 -0
- package/dist/proto/micro/v1/coin/coin_websocket_messages_nest.js +5 -0
- package/dist/proto/micro/v1/coin/coin_websocket_messages_pb.d.ts +128 -0
- package/dist/proto/micro/v1/coin/coin_websocket_messages_pb.js +276 -0
- package/dist/proto/micro/v1/coin/data_general_messages_nest.d.ts +54 -0
- package/dist/proto/micro/v1/coin/data_general_messages_nest.js +5 -0
- package/dist/proto/micro/v1/coin/data_general_messages_pb.d.ts +118 -0
- package/dist/proto/micro/v1/coin/data_general_messages_pb.js +259 -0
- package/dist/proto/micro/v1/coin/data_microservice_messages_nest.d.ts +43 -0
- package/dist/proto/micro/v1/coin/data_microservice_messages_nest.js +5 -0
- package/dist/proto/micro/v1/coin/data_microservice_messages_pb.d.ts +91 -0
- package/dist/proto/micro/v1/coin/data_microservice_messages_pb.js +199 -0
- package/dist/proto/micro/v1/coin/etf_messages_nest.d.ts +98 -0
- package/dist/proto/micro/v1/coin/etf_messages_nest.js +5 -0
- package/dist/proto/micro/v1/coin/etf_messages_pb.d.ts +226 -0
- package/dist/proto/micro/v1/coin/etf_messages_pb.js +499 -0
- package/dist/proto/micro/v1/coin/index.d.ts +11 -0
- package/dist/proto/micro/v1/coin/index.js +15 -0
- package/dist/proto/micro/v1/coin/long_short_ratio_messages_nest.d.ts +55 -0
- package/dist/proto/micro/v1/coin/long_short_ratio_messages_nest.js +5 -0
- package/dist/proto/micro/v1/coin/long_short_ratio_messages_pb.d.ts +115 -0
- package/dist/proto/micro/v1/coin/long_short_ratio_messages_pb.js +249 -0
- package/dist/proto/micro/v1/coin/rsi_messages_nest.d.ts +42 -0
- package/dist/proto/micro/v1/coin/rsi_messages_nest.js +5 -0
- package/dist/proto/micro/v1/coin/rsi_messages_pb.d.ts +98 -0
- package/dist/proto/micro/v1/coin/rsi_messages_pb.js +216 -0
- package/dist/proto/micro/v1/coin/services_connect.d.ts +413 -0
- package/dist/proto/micro/v1/coin/services_connect.js +416 -0
- package/dist/proto/micro/v1/coin/services_nest.d.ts +200 -0
- package/dist/proto/micro/v1/coin/services_nest.js +244 -0
- package/dist/proto/micro/v1/coin/token_unlocks_messages_nest.d.ts +53 -0
- package/dist/proto/micro/v1/coin/token_unlocks_messages_nest.js +5 -0
- package/dist/proto/micro/v1/coin/token_unlocks_messages_pb.d.ts +101 -0
- package/dist/proto/micro/v1/coin/token_unlocks_messages_pb.js +214 -0
- package/dist/proto/micro/v1/data/daily_market_data_messages_nest.d.ts +18 -0
- package/dist/proto/micro/v1/data/daily_market_data_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/daily_market_data_messages_pb.d.ts +42 -0
- package/dist/proto/micro/v1/data/daily_market_data_messages_pb.js +92 -0
- package/dist/proto/micro/v1/data/dominance_messages_nest.d.ts +35 -0
- package/dist/proto/micro/v1/data/dominance_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/dominance_messages_pb.d.ts +75 -0
- package/dist/proto/micro/v1/data/dominance_messages_pb.js +164 -0
- package/dist/proto/micro/v1/data/exchanges_messages_nest.d.ts +153 -0
- package/dist/proto/micro/v1/data/exchanges_messages_nest.js +11 -0
- package/dist/proto/micro/v1/data/exchanges_messages_pb.d.ts +256 -0
- package/dist/proto/micro/v1/data/exchanges_messages_pb.js +546 -0
- package/dist/proto/micro/v1/data/funding_rate_messages_nest.d.ts +52 -0
- package/dist/proto/micro/v1/data/funding_rate_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/funding_rate_messages_pb.d.ts +68 -0
- package/dist/proto/micro/v1/data/funding_rate_messages_pb.js +131 -0
- package/dist/proto/micro/v1/data/global_stats_messages_nest.d.ts +17 -0
- package/dist/proto/micro/v1/data/global_stats_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/global_stats_messages_pb.d.ts +25 -0
- package/dist/proto/micro/v1/data/global_stats_messages_pb.js +53 -0
- package/dist/proto/micro/v1/data/homepage_messages_nest.d.ts +35 -0
- package/dist/proto/micro/v1/data/homepage_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/homepage_messages_pb.d.ts +83 -0
- package/dist/proto/micro/v1/data/homepage_messages_pb.js +183 -0
- package/dist/proto/micro/v1/data/index.d.ts +22 -0
- package/dist/proto/micro/v1/data/index.js +26 -0
- package/dist/proto/micro/v1/data/inflow_outflow_messages_nest.d.ts +72 -0
- package/dist/proto/micro/v1/data/inflow_outflow_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/inflow_outflow_messages_pb.d.ts +136 -0
- package/dist/proto/micro/v1/data/inflow_outflow_messages_pb.js +295 -0
- package/dist/proto/micro/v1/data/liquidation_heat_map_m2_messages_nest.d.ts +44 -0
- package/dist/proto/micro/v1/data/liquidation_heat_map_m2_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/liquidation_heat_map_m2_messages_pb.d.ts +100 -0
- package/dist/proto/micro/v1/data/liquidation_heat_map_m2_messages_pb.js +221 -0
- package/dist/proto/micro/v1/data/liquidation_v1_messages_nest.d.ts +34 -0
- package/dist/proto/micro/v1/data/liquidation_v1_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/liquidation_v1_messages_pb.d.ts +82 -0
- package/dist/proto/micro/v1/data/liquidation_v1_messages_pb.js +181 -0
- package/dist/proto/micro/v1/data/mvrvz_score_messages_nest.d.ts +10 -0
- package/dist/proto/micro/v1/data/mvrvz_score_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/mvrvz_score_messages_pb.d.ts +26 -0
- package/dist/proto/micro/v1/data/mvrvz_score_messages_pb.js +58 -0
- package/dist/proto/micro/v1/data/puell_multiple_messages_nest.d.ts +14 -0
- package/dist/proto/micro/v1/data/puell_multiple_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/puell_multiple_messages_pb.d.ts +30 -0
- package/dist/proto/micro/v1/data/puell_multiple_messages_pb.js +65 -0
- package/dist/proto/micro/v1/data/puppeteer_messages_nest.d.ts +24 -0
- package/dist/proto/micro/v1/data/puppeteer_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/puppeteer_messages_pb.d.ts +40 -0
- package/dist/proto/micro/v1/data/puppeteer_messages_pb.js +84 -0
- package/dist/proto/micro/v1/data/rainbow_messages_nest.d.ts +10 -0
- package/dist/proto/micro/v1/data/rainbow_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/rainbow_messages_pb.d.ts +26 -0
- package/dist/proto/micro/v1/data/rainbow_messages_pb.js +57 -0
- package/dist/proto/micro/v1/data/rsi_list_messages_nest.d.ts +23 -0
- package/dist/proto/micro/v1/data/rsi_list_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/rsi_list_messages_pb.d.ts +39 -0
- package/dist/proto/micro/v1/data/rsi_list_messages_pb.js +83 -0
- package/dist/proto/micro/v1/data/scrape_assets_messages_nest.d.ts +20 -0
- package/dist/proto/micro/v1/data/scrape_assets_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/scrape_assets_messages_pb.d.ts +36 -0
- package/dist/proto/micro/v1/data/scrape_assets_messages_pb.js +77 -0
- package/dist/proto/micro/v1/data/scrape_treasuries_messages_nest.d.ts +37 -0
- package/dist/proto/micro/v1/data/scrape_treasuries_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/scrape_treasuries_messages_pb.d.ts +69 -0
- package/dist/proto/micro/v1/data/scrape_treasuries_messages_pb.js +149 -0
- package/dist/proto/micro/v1/data/services_connect.d.ts +325 -0
- package/dist/proto/micro/v1/data/services_connect.js +328 -0
- package/dist/proto/micro/v1/data/services_nest.d.ts +207 -0
- package/dist/proto/micro/v1/data/services_nest.js +326 -0
- package/dist/proto/micro/v1/data/token_unlocks_connect.d.ts +19 -0
- package/dist/proto/micro/v1/data/token_unlocks_connect.js +22 -0
- package/dist/proto/micro/v1/data/token_unlocks_nest.d.ts +69 -0
- package/dist/proto/micro/v1/data/token_unlocks_nest.js +22 -0
- package/dist/proto/micro/v1/data/token_unlocks_pb.d.ts +109 -0
- package/dist/proto/micro/v1/data/token_unlocks_pb.js +234 -0
- package/dist/proto/micro/v1/data/two_hundred_week_moving_average_messages_nest.d.ts +15 -0
- package/dist/proto/micro/v1/data/two_hundred_week_moving_average_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/two_hundred_week_moving_average_messages_pb.d.ts +31 -0
- package/dist/proto/micro/v1/data/two_hundred_week_moving_average_messages_pb.js +68 -0
- package/dist/proto/micro/v1/data/two_year_ma_multipler_messages_nest.d.ts +15 -0
- package/dist/proto/micro/v1/data/two_year_ma_multipler_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/two_year_ma_multipler_messages_pb.d.ts +31 -0
- package/dist/proto/micro/v1/data/two_year_ma_multipler_messages_pb.js +67 -0
- package/dist/proto/micro/v1/education/education_messages_nest.d.ts +370 -0
- package/dist/proto/micro/v1/education/education_messages_nest.js +5 -0
- package/dist/proto/micro/v1/education/education_messages_pb.d.ts +610 -0
- package/dist/proto/micro/v1/education/education_messages_pb.js +1264 -0
- package/dist/proto/micro/v1/education/index.d.ts +3 -0
- package/dist/proto/micro/v1/education/index.js +7 -0
- package/dist/proto/micro/v1/education/services_connect.d.ts +375 -0
- package/dist/proto/micro/v1/education/services_connect.js +378 -0
- package/dist/proto/micro/v1/education/services_nest.d.ts +182 -0
- package/dist/proto/micro/v1/education/services_nest.js +198 -0
- package/dist/proto/micro/v1/general_nest.d.ts +115 -0
- package/dist/proto/micro/v1/general_nest.js +51 -0
- package/dist/proto/micro/v1/general_pb.d.ts +211 -0
- package/dist/proto/micro/v1/general_pb.js +460 -0
- package/dist/proto/micro/v1/index.d.ts +10 -0
- package/dist/proto/micro/v1/index.js +14 -0
- package/dist/proto/micro/v1/media/index.d.ts +3 -0
- package/dist/proto/micro/v1/media/index.js +7 -0
- package/dist/proto/micro/v1/media/media_messages_nest.d.ts +92 -0
- package/dist/proto/micro/v1/media/media_messages_nest.js +21 -0
- package/dist/proto/micro/v1/media/media_messages_pb.d.ts +202 -0
- package/dist/proto/micro/v1/media/media_messages_pb.js +447 -0
- package/dist/proto/micro/v1/media/services_connect.d.ts +55 -0
- package/dist/proto/micro/v1/media/services_connect.js +58 -0
- package/dist/proto/micro/v1/media/services_nest.d.ts +32 -0
- package/dist/proto/micro/v1/media/services_nest.js +45 -0
- package/dist/proto/micro/v1/news/app_version_message_nest.d.ts +40 -0
- package/dist/proto/micro/v1/news/app_version_message_nest.js +5 -0
- package/dist/proto/micro/v1/news/app_version_message_pb.d.ts +72 -0
- package/dist/proto/micro/v1/news/app_version_message_pb.js +150 -0
- package/dist/proto/micro/v1/news/blog_messages_nest.d.ts +162 -0
- package/dist/proto/micro/v1/news/blog_messages_nest.js +5 -0
- package/dist/proto/micro/v1/news/blog_messages_pb.d.ts +246 -0
- package/dist/proto/micro/v1/news/blog_messages_pb.js +495 -0
- package/dist/proto/micro/v1/news/calendar_messages_nest.d.ts +70 -0
- package/dist/proto/micro/v1/news/calendar_messages_nest.js +5 -0
- package/dist/proto/micro/v1/news/calendar_messages_pb.d.ts +98 -0
- package/dist/proto/micro/v1/news/calendar_messages_pb.js +193 -0
- package/dist/proto/micro/v1/news/economic_calendar_messages_nest.d.ts +28 -0
- package/dist/proto/micro/v1/news/economic_calendar_messages_nest.js +5 -0
- package/dist/proto/micro/v1/news/economic_calendar_messages_pb.d.ts +48 -0
- package/dist/proto/micro/v1/news/economic_calendar_messages_pb.js +100 -0
- package/dist/proto/micro/v1/news/index.d.ts +9 -0
- package/dist/proto/micro/v1/news/index.js +13 -0
- package/dist/proto/micro/v1/news/jr_blog_messages_nest.d.ts +321 -0
- package/dist/proto/micro/v1/news/jr_blog_messages_nest.js +5 -0
- package/dist/proto/micro/v1/news/jr_blog_messages_pb.d.ts +477 -0
- package/dist/proto/micro/v1/news/jr_blog_messages_pb.js +954 -0
- package/dist/proto/micro/v1/news/news_messages_nest.d.ts +270 -0
- package/dist/proto/micro/v1/news/news_messages_nest.js +5 -0
- package/dist/proto/micro/v1/news/news_messages_pb.d.ts +418 -0
- package/dist/proto/micro/v1/news/news_messages_pb.js +848 -0
- package/dist/proto/micro/v1/news/services_connect.d.ts +549 -0
- package/dist/proto/micro/v1/news/services_connect.js +552 -0
- package/dist/proto/micro/v1/news/services_nest.d.ts +244 -0
- package/dist/proto/micro/v1/news/services_nest.js +261 -0
- package/dist/proto/micro/v1/news/sundown_messages_nest.d.ts +99 -0
- package/dist/proto/micro/v1/news/sundown_messages_nest.js +5 -0
- package/dist/proto/micro/v1/news/sundown_messages_pb.d.ts +131 -0
- package/dist/proto/micro/v1/news/sundown_messages_pb.js +253 -0
- package/dist/proto/micro/v1/notification/index.d.ts +4 -0
- package/dist/proto/micro/v1/notification/index.js +8 -0
- package/dist/proto/micro/v1/notification/mail_messages_nest.d.ts +31 -0
- package/dist/proto/micro/v1/notification/mail_messages_nest.js +5 -0
- package/dist/proto/micro/v1/notification/mail_messages_pb.d.ts +63 -0
- package/dist/proto/micro/v1/notification/mail_messages_pb.js +138 -0
- package/dist/proto/micro/v1/notification/notification_messages_nest.d.ts +164 -0
- package/dist/proto/micro/v1/notification/notification_messages_nest.js +5 -0
- package/dist/proto/micro/v1/notification/notification_messages_pb.d.ts +356 -0
- package/dist/proto/micro/v1/notification/notification_messages_pb.js +783 -0
- package/dist/proto/micro/v1/notification/services_connect.d.ts +139 -0
- package/dist/proto/micro/v1/notification/services_connect.js +142 -0
- package/dist/proto/micro/v1/notification/services_nest.d.ts +65 -0
- package/dist/proto/micro/v1/notification/services_nest.js +70 -0
- package/dist/proto/micro/v1/portfolio/index.d.ts +5 -0
- package/dist/proto/micro/v1/portfolio/index.js +9 -0
- package/dist/proto/micro/v1/portfolio/portfolio_coin_messages_nest.d.ts +17 -0
- package/dist/proto/micro/v1/portfolio/portfolio_coin_messages_nest.js +5 -0
- package/dist/proto/micro/v1/portfolio/portfolio_coin_messages_pb.d.ts +41 -0
- package/dist/proto/micro/v1/portfolio/portfolio_coin_messages_pb.js +89 -0
- package/dist/proto/micro/v1/portfolio/portfolio_coin_trasaction_messages_nest.d.ts +34 -0
- package/dist/proto/micro/v1/portfolio/portfolio_coin_trasaction_messages_nest.js +5 -0
- package/dist/proto/micro/v1/portfolio/portfolio_coin_trasaction_messages_pb.d.ts +82 -0
- package/dist/proto/micro/v1/portfolio/portfolio_coin_trasaction_messages_pb.js +180 -0
- package/dist/proto/micro/v1/portfolio/portfolio_messages_nest.d.ts +154 -0
- package/dist/proto/micro/v1/portfolio/portfolio_messages_nest.js +5 -0
- package/dist/proto/micro/v1/portfolio/portfolio_messages_pb.d.ts +370 -0
- package/dist/proto/micro/v1/portfolio/portfolio_messages_pb.js +820 -0
- package/dist/proto/micro/v1/portfolio/services_connect.d.ts +140 -0
- package/dist/proto/micro/v1/portfolio/services_connect.js +143 -0
- package/dist/proto/micro/v1/portfolio/services_nest.d.ts +66 -0
- package/dist/proto/micro/v1/portfolio/services_nest.js +74 -0
- package/dist/proto/micro/v1/puppeteer/index.d.ts +3 -0
- package/dist/proto/micro/v1/puppeteer/index.js +7 -0
- package/dist/proto/micro/v1/puppeteer/puppeteer_messages_nest.d.ts +2 -0
- package/dist/proto/micro/v1/puppeteer/puppeteer_messages_nest.js +5 -0
- package/dist/proto/micro/v1/puppeteer/services_connect.d.ts +89 -0
- package/dist/proto/micro/v1/puppeteer/services_connect.js +92 -0
- package/dist/proto/micro/v1/puppeteer/services_nest.d.ts +47 -0
- package/dist/proto/micro/v1/puppeteer/services_nest.js +63 -0
- package/dist/proto/micro/v1/user/auth_messages_nest.d.ts +87 -0
- package/dist/proto/micro/v1/user/auth_messages_nest.js +5 -0
- package/dist/proto/micro/v1/user/auth_messages_pb.d.ts +263 -0
- package/dist/proto/micro/v1/user/auth_messages_pb.js +590 -0
- package/dist/proto/micro/v1/user/authorization_messages_nest.d.ts +47 -0
- package/dist/proto/micro/v1/user/authorization_messages_nest.js +5 -0
- package/dist/proto/micro/v1/user/authorization_messages_pb.d.ts +111 -0
- package/dist/proto/micro/v1/user/authorization_messages_pb.js +245 -0
- package/dist/proto/micro/v1/user/index.d.ts +6 -0
- package/dist/proto/micro/v1/user/index.js +10 -0
- package/dist/proto/micro/v1/user/services_connect.d.ts +315 -0
- package/dist/proto/micro/v1/user/services_connect.js +318 -0
- package/dist/proto/micro/v1/user/services_nest.d.ts +151 -0
- package/dist/proto/micro/v1/user/services_nest.js +172 -0
- package/dist/proto/micro/v1/user/site_settings_messages_nest.d.ts +19 -0
- package/dist/proto/micro/v1/user/site_settings_messages_nest.js +12 -0
- package/dist/proto/micro/v1/user/site_settings_messages_pb.d.ts +42 -0
- package/dist/proto/micro/v1/user/site_settings_messages_pb.js +93 -0
- package/dist/proto/micro/v1/user/user_messages_nest.d.ts +175 -0
- package/dist/proto/micro/v1/user/user_messages_nest.js +12 -0
- package/dist/proto/micro/v1/user/user_messages_pb.d.ts +358 -0
- package/dist/proto/micro/v1/user/user_messages_pb.js +784 -0
- package/dist/utils/constants.d.ts +45 -0
- package/dist/utils/constants.js +48 -0
- package/dist/utils/functions.d.ts +70 -0
- package/dist/utils/functions.js +425 -0
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/index.js +9 -0
- package/dist/utils/logger_names.d.ts +8 -0
- package/dist/utils/logger_names.js +41 -0
- package/dist/utils/minimatch/assert_valid_pattern.d.ts +1 -0
- package/dist/utils/minimatch/assert_valid_pattern.js +13 -0
- package/dist/utils/minimatch/ast.d.ts +19 -0
- package/dist/utils/minimatch/ast.js +446 -0
- package/dist/utils/minimatch/balanced_match.d.ts +2 -0
- package/dist/utils/minimatch/balanced_match.js +57 -0
- package/dist/utils/minimatch/brace_expansion.d.ts +1 -0
- package/dist/utils/minimatch/brace_expansion.js +181 -0
- package/dist/utils/minimatch/brace_expressions.d.ts +7 -0
- package/dist/utils/minimatch/brace_expressions.js +119 -0
- package/dist/utils/minimatch/escape.d.ts +2 -0
- package/dist/utils/minimatch/escape.js +9 -0
- package/dist/utils/minimatch/index.d.ts +93 -0
- package/dist/utils/minimatch/index.js +788 -0
- package/dist/utils/minimatch/matcher_collection.d.ts +9 -0
- package/dist/utils/minimatch/matcher_collection.js +30 -0
- package/dist/utils/minimatch/unescape.d.ts +2 -0
- package/dist/utils/minimatch/unescape.js +11 -0
- package/dist/utils/types.d.ts +70 -0
- package/dist/utils/types.js +22 -0
- package/dist/utils/walk_sync.d.ts +25 -0
- package/dist/utils/walk_sync.js +184 -0
- package/package.json +87 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
import { ResponseStatus } from "../general_pb.js";
|
|
4
|
+
export declare class LiveCoinRequest extends Message<LiveCoinRequest> {
|
|
5
|
+
symbol: string;
|
|
6
|
+
constructor(data?: PartialMessage<LiveCoinRequest>);
|
|
7
|
+
static readonly runtime: typeof proto3;
|
|
8
|
+
static readonly typeName = "micro.v1.coin.LiveCoinRequest";
|
|
9
|
+
static readonly fields: FieldList;
|
|
10
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LiveCoinRequest;
|
|
11
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LiveCoinRequest;
|
|
12
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LiveCoinRequest;
|
|
13
|
+
static equals(a: LiveCoinRequest | PlainMessage<LiveCoinRequest> | undefined, b: LiveCoinRequest | PlainMessage<LiveCoinRequest> | undefined): boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare class LiveCoinResponse extends Message<LiveCoinResponse> {
|
|
16
|
+
data?: CoinData;
|
|
17
|
+
status?: ResponseStatus;
|
|
18
|
+
constructor(data?: PartialMessage<LiveCoinResponse>);
|
|
19
|
+
static readonly runtime: typeof proto3;
|
|
20
|
+
static readonly typeName = "micro.v1.coin.LiveCoinResponse";
|
|
21
|
+
static readonly fields: FieldList;
|
|
22
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LiveCoinResponse;
|
|
23
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LiveCoinResponse;
|
|
24
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LiveCoinResponse;
|
|
25
|
+
static equals(a: LiveCoinResponse | PlainMessage<LiveCoinResponse> | undefined, b: LiveCoinResponse | PlainMessage<LiveCoinResponse> | undefined): boolean;
|
|
26
|
+
}
|
|
27
|
+
export declare class CoinMarketCapValues extends Message<CoinMarketCapValues> {
|
|
28
|
+
symbol: string;
|
|
29
|
+
marketCap: number;
|
|
30
|
+
price: number;
|
|
31
|
+
priceChangePercentage1h: number;
|
|
32
|
+
priceChangePercentage24h: number;
|
|
33
|
+
priceChangePercentage7d: number;
|
|
34
|
+
tradingVolume24h: number;
|
|
35
|
+
constructor(data?: PartialMessage<CoinMarketCapValues>);
|
|
36
|
+
static readonly runtime: typeof proto3;
|
|
37
|
+
static readonly typeName = "micro.v1.coin.CoinMarketCapValues";
|
|
38
|
+
static readonly fields: FieldList;
|
|
39
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinMarketCapValues;
|
|
40
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinMarketCapValues;
|
|
41
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinMarketCapValues;
|
|
42
|
+
static equals(a: CoinMarketCapValues | PlainMessage<CoinMarketCapValues> | undefined, b: CoinMarketCapValues | PlainMessage<CoinMarketCapValues> | undefined): boolean;
|
|
43
|
+
}
|
|
44
|
+
export declare class CoinData extends Message<CoinData> {
|
|
45
|
+
coinLiveData?: CoinLiveData;
|
|
46
|
+
constructor(data?: PartialMessage<CoinData>);
|
|
47
|
+
static readonly runtime: typeof proto3;
|
|
48
|
+
static readonly typeName = "micro.v1.coin.CoinData";
|
|
49
|
+
static readonly fields: FieldList;
|
|
50
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinData;
|
|
51
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinData;
|
|
52
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinData;
|
|
53
|
+
static equals(a: CoinData | PlainMessage<CoinData> | undefined, b: CoinData | PlainMessage<CoinData> | undefined): boolean;
|
|
54
|
+
}
|
|
55
|
+
export declare class CoinWebsocketValues extends Message<CoinWebsocketValues> {
|
|
56
|
+
symbol: string;
|
|
57
|
+
price: number;
|
|
58
|
+
percentage: number;
|
|
59
|
+
change: number;
|
|
60
|
+
high: number;
|
|
61
|
+
low: number;
|
|
62
|
+
timestamp: number;
|
|
63
|
+
websocketType: string;
|
|
64
|
+
constructor(data?: PartialMessage<CoinWebsocketValues>);
|
|
65
|
+
static readonly runtime: typeof proto3;
|
|
66
|
+
static readonly typeName = "micro.v1.coin.CoinWebsocketValues";
|
|
67
|
+
static readonly fields: FieldList;
|
|
68
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinWebsocketValues;
|
|
69
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinWebsocketValues;
|
|
70
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinWebsocketValues;
|
|
71
|
+
static equals(a: CoinWebsocketValues | PlainMessage<CoinWebsocketValues> | undefined, b: CoinWebsocketValues | PlainMessage<CoinWebsocketValues> | undefined): boolean;
|
|
72
|
+
}
|
|
73
|
+
export declare class CoinGeckoValues extends Message<CoinGeckoValues> {
|
|
74
|
+
symbol: string;
|
|
75
|
+
name: string;
|
|
76
|
+
image: string;
|
|
77
|
+
currentPrice: number;
|
|
78
|
+
marketCap: number;
|
|
79
|
+
marketCapRank: number;
|
|
80
|
+
fullyDilutedValuation: number;
|
|
81
|
+
totalVolume: number;
|
|
82
|
+
high24h: number;
|
|
83
|
+
low24h: number;
|
|
84
|
+
priceChange24h: number;
|
|
85
|
+
priceChangePercentage24h: number;
|
|
86
|
+
marketCapChange24h: number;
|
|
87
|
+
marketCapChangePercentage24h: number;
|
|
88
|
+
constructor(data?: PartialMessage<CoinGeckoValues>);
|
|
89
|
+
static readonly runtime: typeof proto3;
|
|
90
|
+
static readonly typeName = "micro.v1.coin.CoinGeckoValues";
|
|
91
|
+
static readonly fields: FieldList;
|
|
92
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinGeckoValues;
|
|
93
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinGeckoValues;
|
|
94
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinGeckoValues;
|
|
95
|
+
static equals(a: CoinGeckoValues | PlainMessage<CoinGeckoValues> | undefined, b: CoinGeckoValues | PlainMessage<CoinGeckoValues> | undefined): boolean;
|
|
96
|
+
}
|
|
97
|
+
export declare class CoinLiveData extends Message<CoinLiveData> {
|
|
98
|
+
id: string;
|
|
99
|
+
symbol: string;
|
|
100
|
+
price: number;
|
|
101
|
+
percentage: number;
|
|
102
|
+
change: number;
|
|
103
|
+
high: number;
|
|
104
|
+
low: number;
|
|
105
|
+
timestamp: number;
|
|
106
|
+
websocketType: string;
|
|
107
|
+
marketCap: number;
|
|
108
|
+
priceChangePercentage1h: number;
|
|
109
|
+
priceChangePercentage24h: number;
|
|
110
|
+
priceChangePercentage7d: number;
|
|
111
|
+
tradingVolume24h: number;
|
|
112
|
+
name: string;
|
|
113
|
+
image: string;
|
|
114
|
+
marketCapRank: number;
|
|
115
|
+
fullyDilutedValuation: number;
|
|
116
|
+
marketCapChange24h: number;
|
|
117
|
+
marketCapChangePercentage24h: number;
|
|
118
|
+
coinmarketcapId: string;
|
|
119
|
+
coingeckoId: string;
|
|
120
|
+
constructor(data?: PartialMessage<CoinLiveData>);
|
|
121
|
+
static readonly runtime: typeof proto3;
|
|
122
|
+
static readonly typeName = "micro.v1.coin.CoinLiveData";
|
|
123
|
+
static readonly fields: FieldList;
|
|
124
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinLiveData;
|
|
125
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinLiveData;
|
|
126
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinLiveData;
|
|
127
|
+
static equals(a: CoinLiveData | PlainMessage<CoinLiveData> | undefined, b: CoinLiveData | PlainMessage<CoinLiveData> | undefined): boolean;
|
|
128
|
+
}
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CoinLiveData = exports.CoinGeckoValues = exports.CoinWebsocketValues = exports.CoinData = exports.CoinMarketCapValues = exports.LiveCoinResponse = exports.LiveCoinRequest = void 0;
|
|
4
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
5
|
+
const general_pb_js_1 = require("../general_pb.js");
|
|
6
|
+
class LiveCoinRequest extends protobuf_1.Message {
|
|
7
|
+
symbol = "";
|
|
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.LiveCoinRequest";
|
|
14
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
15
|
+
{ no: 1, name: "symbol", kind: "scalar", T: 9 },
|
|
16
|
+
]);
|
|
17
|
+
static fromBinary(bytes, options) {
|
|
18
|
+
return new LiveCoinRequest().fromBinary(bytes, options);
|
|
19
|
+
}
|
|
20
|
+
static fromJson(jsonValue, options) {
|
|
21
|
+
return new LiveCoinRequest().fromJson(jsonValue, options);
|
|
22
|
+
}
|
|
23
|
+
static fromJsonString(jsonString, options) {
|
|
24
|
+
return new LiveCoinRequest().fromJsonString(jsonString, options);
|
|
25
|
+
}
|
|
26
|
+
static equals(a, b) {
|
|
27
|
+
return protobuf_1.proto3.util.equals(LiveCoinRequest, a, b);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.LiveCoinRequest = LiveCoinRequest;
|
|
31
|
+
class LiveCoinResponse extends protobuf_1.Message {
|
|
32
|
+
data;
|
|
33
|
+
status;
|
|
34
|
+
constructor(data) {
|
|
35
|
+
super();
|
|
36
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
37
|
+
}
|
|
38
|
+
static runtime = protobuf_1.proto3;
|
|
39
|
+
static typeName = "micro.v1.coin.LiveCoinResponse";
|
|
40
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
41
|
+
{ no: 1, name: "data", kind: "message", T: CoinData },
|
|
42
|
+
{ no: 2, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
43
|
+
]);
|
|
44
|
+
static fromBinary(bytes, options) {
|
|
45
|
+
return new LiveCoinResponse().fromBinary(bytes, options);
|
|
46
|
+
}
|
|
47
|
+
static fromJson(jsonValue, options) {
|
|
48
|
+
return new LiveCoinResponse().fromJson(jsonValue, options);
|
|
49
|
+
}
|
|
50
|
+
static fromJsonString(jsonString, options) {
|
|
51
|
+
return new LiveCoinResponse().fromJsonString(jsonString, options);
|
|
52
|
+
}
|
|
53
|
+
static equals(a, b) {
|
|
54
|
+
return protobuf_1.proto3.util.equals(LiveCoinResponse, a, b);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.LiveCoinResponse = LiveCoinResponse;
|
|
58
|
+
class CoinMarketCapValues extends protobuf_1.Message {
|
|
59
|
+
symbol = "";
|
|
60
|
+
marketCap = 0;
|
|
61
|
+
price = 0;
|
|
62
|
+
priceChangePercentage1h = 0;
|
|
63
|
+
priceChangePercentage24h = 0;
|
|
64
|
+
priceChangePercentage7d = 0;
|
|
65
|
+
tradingVolume24h = 0;
|
|
66
|
+
constructor(data) {
|
|
67
|
+
super();
|
|
68
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
69
|
+
}
|
|
70
|
+
static runtime = protobuf_1.proto3;
|
|
71
|
+
static typeName = "micro.v1.coin.CoinMarketCapValues";
|
|
72
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
73
|
+
{ no: 1, name: "symbol", kind: "scalar", T: 9 },
|
|
74
|
+
{ no: 2, name: "market_cap", kind: "scalar", T: 1 },
|
|
75
|
+
{ no: 3, name: "price", kind: "scalar", T: 1 },
|
|
76
|
+
{ no: 4, name: "price_change_percentage1h", kind: "scalar", T: 1 },
|
|
77
|
+
{ no: 5, name: "price_change_percentage24h", kind: "scalar", T: 1 },
|
|
78
|
+
{ no: 6, name: "price_change_percentage7d", kind: "scalar", T: 1 },
|
|
79
|
+
{ no: 7, name: "trading_volume24h", kind: "scalar", T: 1 },
|
|
80
|
+
]);
|
|
81
|
+
static fromBinary(bytes, options) {
|
|
82
|
+
return new CoinMarketCapValues().fromBinary(bytes, options);
|
|
83
|
+
}
|
|
84
|
+
static fromJson(jsonValue, options) {
|
|
85
|
+
return new CoinMarketCapValues().fromJson(jsonValue, options);
|
|
86
|
+
}
|
|
87
|
+
static fromJsonString(jsonString, options) {
|
|
88
|
+
return new CoinMarketCapValues().fromJsonString(jsonString, options);
|
|
89
|
+
}
|
|
90
|
+
static equals(a, b) {
|
|
91
|
+
return protobuf_1.proto3.util.equals(CoinMarketCapValues, a, b);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.CoinMarketCapValues = CoinMarketCapValues;
|
|
95
|
+
class CoinData extends protobuf_1.Message {
|
|
96
|
+
coinLiveData;
|
|
97
|
+
constructor(data) {
|
|
98
|
+
super();
|
|
99
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
100
|
+
}
|
|
101
|
+
static runtime = protobuf_1.proto3;
|
|
102
|
+
static typeName = "micro.v1.coin.CoinData";
|
|
103
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
104
|
+
{ no: 1, name: "coinLiveData", kind: "message", T: CoinLiveData },
|
|
105
|
+
]);
|
|
106
|
+
static fromBinary(bytes, options) {
|
|
107
|
+
return new CoinData().fromBinary(bytes, options);
|
|
108
|
+
}
|
|
109
|
+
static fromJson(jsonValue, options) {
|
|
110
|
+
return new CoinData().fromJson(jsonValue, options);
|
|
111
|
+
}
|
|
112
|
+
static fromJsonString(jsonString, options) {
|
|
113
|
+
return new CoinData().fromJsonString(jsonString, options);
|
|
114
|
+
}
|
|
115
|
+
static equals(a, b) {
|
|
116
|
+
return protobuf_1.proto3.util.equals(CoinData, a, b);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.CoinData = CoinData;
|
|
120
|
+
class CoinWebsocketValues extends protobuf_1.Message {
|
|
121
|
+
symbol = "";
|
|
122
|
+
price = 0;
|
|
123
|
+
percentage = 0;
|
|
124
|
+
change = 0;
|
|
125
|
+
high = 0;
|
|
126
|
+
low = 0;
|
|
127
|
+
timestamp = 0;
|
|
128
|
+
websocketType = "";
|
|
129
|
+
constructor(data) {
|
|
130
|
+
super();
|
|
131
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
132
|
+
}
|
|
133
|
+
static runtime = protobuf_1.proto3;
|
|
134
|
+
static typeName = "micro.v1.coin.CoinWebsocketValues";
|
|
135
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
136
|
+
{ no: 1, name: "symbol", kind: "scalar", T: 9 },
|
|
137
|
+
{ no: 2, name: "price", kind: "scalar", T: 1 },
|
|
138
|
+
{ no: 3, name: "percentage", kind: "scalar", T: 1 },
|
|
139
|
+
{ no: 4, name: "change", kind: "scalar", T: 1 },
|
|
140
|
+
{ no: 5, name: "high", kind: "scalar", T: 1 },
|
|
141
|
+
{ no: 6, name: "low", kind: "scalar", T: 1 },
|
|
142
|
+
{ no: 7, name: "timestamp", kind: "scalar", T: 1 },
|
|
143
|
+
{ no: 8, name: "websocketType", kind: "scalar", T: 9 },
|
|
144
|
+
]);
|
|
145
|
+
static fromBinary(bytes, options) {
|
|
146
|
+
return new CoinWebsocketValues().fromBinary(bytes, options);
|
|
147
|
+
}
|
|
148
|
+
static fromJson(jsonValue, options) {
|
|
149
|
+
return new CoinWebsocketValues().fromJson(jsonValue, options);
|
|
150
|
+
}
|
|
151
|
+
static fromJsonString(jsonString, options) {
|
|
152
|
+
return new CoinWebsocketValues().fromJsonString(jsonString, options);
|
|
153
|
+
}
|
|
154
|
+
static equals(a, b) {
|
|
155
|
+
return protobuf_1.proto3.util.equals(CoinWebsocketValues, a, b);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
exports.CoinWebsocketValues = CoinWebsocketValues;
|
|
159
|
+
class CoinGeckoValues extends protobuf_1.Message {
|
|
160
|
+
symbol = "";
|
|
161
|
+
name = "";
|
|
162
|
+
image = "";
|
|
163
|
+
currentPrice = 0;
|
|
164
|
+
marketCap = 0;
|
|
165
|
+
marketCapRank = 0;
|
|
166
|
+
fullyDilutedValuation = 0;
|
|
167
|
+
totalVolume = 0;
|
|
168
|
+
high24h = 0;
|
|
169
|
+
low24h = 0;
|
|
170
|
+
priceChange24h = 0;
|
|
171
|
+
priceChangePercentage24h = 0;
|
|
172
|
+
marketCapChange24h = 0;
|
|
173
|
+
marketCapChangePercentage24h = 0;
|
|
174
|
+
constructor(data) {
|
|
175
|
+
super();
|
|
176
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
177
|
+
}
|
|
178
|
+
static runtime = protobuf_1.proto3;
|
|
179
|
+
static typeName = "micro.v1.coin.CoinGeckoValues";
|
|
180
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
181
|
+
{ no: 1, name: "symbol", kind: "scalar", T: 9 },
|
|
182
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 },
|
|
183
|
+
{ no: 3, name: "image", kind: "scalar", T: 9 },
|
|
184
|
+
{ no: 4, name: "current_price", kind: "scalar", T: 1 },
|
|
185
|
+
{ no: 5, name: "market_cap", kind: "scalar", T: 1 },
|
|
186
|
+
{ no: 6, name: "market_cap_rank", kind: "scalar", T: 5 },
|
|
187
|
+
{ no: 7, name: "fully_diluted_valuation", kind: "scalar", T: 1 },
|
|
188
|
+
{ no: 8, name: "total_volume", kind: "scalar", T: 1 },
|
|
189
|
+
{ no: 9, name: "high_24h", kind: "scalar", T: 1 },
|
|
190
|
+
{ no: 10, name: "low_24h", kind: "scalar", T: 1 },
|
|
191
|
+
{ no: 11, name: "price_change_24h", kind: "scalar", T: 1 },
|
|
192
|
+
{ no: 12, name: "price_change_percentage_24h", kind: "scalar", T: 1 },
|
|
193
|
+
{ no: 13, name: "market_cap_change_24h", kind: "scalar", T: 1 },
|
|
194
|
+
{ no: 14, name: "market_cap_change_percentage_24h", kind: "scalar", T: 1 },
|
|
195
|
+
]);
|
|
196
|
+
static fromBinary(bytes, options) {
|
|
197
|
+
return new CoinGeckoValues().fromBinary(bytes, options);
|
|
198
|
+
}
|
|
199
|
+
static fromJson(jsonValue, options) {
|
|
200
|
+
return new CoinGeckoValues().fromJson(jsonValue, options);
|
|
201
|
+
}
|
|
202
|
+
static fromJsonString(jsonString, options) {
|
|
203
|
+
return new CoinGeckoValues().fromJsonString(jsonString, options);
|
|
204
|
+
}
|
|
205
|
+
static equals(a, b) {
|
|
206
|
+
return protobuf_1.proto3.util.equals(CoinGeckoValues, a, b);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
exports.CoinGeckoValues = CoinGeckoValues;
|
|
210
|
+
class CoinLiveData extends protobuf_1.Message {
|
|
211
|
+
id = "";
|
|
212
|
+
symbol = "";
|
|
213
|
+
price = 0;
|
|
214
|
+
percentage = 0;
|
|
215
|
+
change = 0;
|
|
216
|
+
high = 0;
|
|
217
|
+
low = 0;
|
|
218
|
+
timestamp = 0;
|
|
219
|
+
websocketType = "";
|
|
220
|
+
marketCap = 0;
|
|
221
|
+
priceChangePercentage1h = 0;
|
|
222
|
+
priceChangePercentage24h = 0;
|
|
223
|
+
priceChangePercentage7d = 0;
|
|
224
|
+
tradingVolume24h = 0;
|
|
225
|
+
name = "";
|
|
226
|
+
image = "";
|
|
227
|
+
marketCapRank = 0;
|
|
228
|
+
fullyDilutedValuation = 0;
|
|
229
|
+
marketCapChange24h = 0;
|
|
230
|
+
marketCapChangePercentage24h = 0;
|
|
231
|
+
coinmarketcapId = "";
|
|
232
|
+
coingeckoId = "";
|
|
233
|
+
constructor(data) {
|
|
234
|
+
super();
|
|
235
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
236
|
+
}
|
|
237
|
+
static runtime = protobuf_1.proto3;
|
|
238
|
+
static typeName = "micro.v1.coin.CoinLiveData";
|
|
239
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
240
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
241
|
+
{ no: 2, name: "symbol", kind: "scalar", T: 9 },
|
|
242
|
+
{ no: 3, name: "price", kind: "scalar", T: 1 },
|
|
243
|
+
{ no: 4, name: "percentage", kind: "scalar", T: 1 },
|
|
244
|
+
{ no: 5, name: "change", kind: "scalar", T: 1 },
|
|
245
|
+
{ no: 6, name: "high", kind: "scalar", T: 1 },
|
|
246
|
+
{ no: 7, name: "low", kind: "scalar", T: 1 },
|
|
247
|
+
{ no: 8, name: "timestamp", kind: "scalar", T: 1 },
|
|
248
|
+
{ no: 9, name: "websocketType", kind: "scalar", T: 9 },
|
|
249
|
+
{ no: 10, name: "market_cap", kind: "scalar", T: 1 },
|
|
250
|
+
{ no: 11, name: "price_change_percentage1h", kind: "scalar", T: 1 },
|
|
251
|
+
{ no: 12, name: "price_change_percentage24h", kind: "scalar", T: 1 },
|
|
252
|
+
{ no: 13, name: "price_change_percentage7d", kind: "scalar", T: 1 },
|
|
253
|
+
{ no: 14, name: "trading_volume24h", kind: "scalar", T: 1 },
|
|
254
|
+
{ no: 15, name: "name", kind: "scalar", T: 9 },
|
|
255
|
+
{ no: 16, name: "image", kind: "scalar", T: 9 },
|
|
256
|
+
{ no: 17, name: "market_cap_rank", kind: "scalar", T: 5 },
|
|
257
|
+
{ no: 18, name: "fully_diluted_valuation", kind: "scalar", T: 1 },
|
|
258
|
+
{ no: 19, name: "market_cap_change_24h", kind: "scalar", T: 1 },
|
|
259
|
+
{ no: 20, name: "market_cap_change_percentage_24h", kind: "scalar", T: 1 },
|
|
260
|
+
{ no: 21, name: "coinmarketcap_id", kind: "scalar", T: 9 },
|
|
261
|
+
{ no: 22, name: "coingecko_id", kind: "scalar", T: 9 },
|
|
262
|
+
]);
|
|
263
|
+
static fromBinary(bytes, options) {
|
|
264
|
+
return new CoinLiveData().fromBinary(bytes, options);
|
|
265
|
+
}
|
|
266
|
+
static fromJson(jsonValue, options) {
|
|
267
|
+
return new CoinLiveData().fromJson(jsonValue, options);
|
|
268
|
+
}
|
|
269
|
+
static fromJsonString(jsonString, options) {
|
|
270
|
+
return new CoinLiveData().fromJsonString(jsonString, options);
|
|
271
|
+
}
|
|
272
|
+
static equals(a, b) {
|
|
273
|
+
return protobuf_1.proto3.util.equals(CoinLiveData, a, b);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
exports.CoinLiveData = CoinLiveData;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ResponseStatus } from "../general_nest";
|
|
2
|
+
export declare const protobufPackage = "micro.v1.coin";
|
|
3
|
+
export interface ExchangesAssetsTransparencyDto {
|
|
4
|
+
id: string;
|
|
5
|
+
ranking: string;
|
|
6
|
+
icon: string;
|
|
7
|
+
exchanges: string;
|
|
8
|
+
assets: string;
|
|
9
|
+
cleanAssets: string;
|
|
10
|
+
inflows24h: string;
|
|
11
|
+
inflows7d: string;
|
|
12
|
+
inflows1m: string;
|
|
13
|
+
spotVolume: string;
|
|
14
|
+
oi24h: string;
|
|
15
|
+
avgLeverage: string;
|
|
16
|
+
}
|
|
17
|
+
export interface ExchangesAssetsTransparencyResponse {
|
|
18
|
+
status: ResponseStatus | undefined;
|
|
19
|
+
data: ExchangesAssetsTransparencyDto[];
|
|
20
|
+
}
|
|
21
|
+
export interface CoinExchangeBalanceResponse {
|
|
22
|
+
status: ResponseStatus | undefined;
|
|
23
|
+
data: CoinExchangeDto[];
|
|
24
|
+
}
|
|
25
|
+
export interface CoinExchangeDto {
|
|
26
|
+
id: string;
|
|
27
|
+
ranking: string;
|
|
28
|
+
icon: string;
|
|
29
|
+
exchanges: string;
|
|
30
|
+
balance: string;
|
|
31
|
+
change24h: string;
|
|
32
|
+
change7d: string;
|
|
33
|
+
change30d: string;
|
|
34
|
+
symbol: string;
|
|
35
|
+
}
|
|
36
|
+
export interface CoinBalanceRequest {
|
|
37
|
+
symbol: string;
|
|
38
|
+
exchange: string;
|
|
39
|
+
}
|
|
40
|
+
export interface CoinExchangeBalanceFlowResponse {
|
|
41
|
+
status: ResponseStatus | undefined;
|
|
42
|
+
data: CoinBalanceDto | undefined;
|
|
43
|
+
}
|
|
44
|
+
export interface CoinBalanceDto {
|
|
45
|
+
name: string;
|
|
46
|
+
symbol: string;
|
|
47
|
+
data: CoinBalanceDataDto[];
|
|
48
|
+
}
|
|
49
|
+
export interface CoinBalanceDataDto {
|
|
50
|
+
date: string;
|
|
51
|
+
price: string;
|
|
52
|
+
value: string;
|
|
53
|
+
}
|
|
54
|
+
export declare const MICRO_V1_COIN_PACKAGE_NAME = "micro.v1.coin";
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
import { ResponseStatus } from "../general_pb.js";
|
|
4
|
+
export declare class ExchangesAssetsTransparencyDto extends Message<ExchangesAssetsTransparencyDto> {
|
|
5
|
+
id: string;
|
|
6
|
+
ranking: string;
|
|
7
|
+
icon: string;
|
|
8
|
+
exchanges: string;
|
|
9
|
+
assets: string;
|
|
10
|
+
cleanAssets: string;
|
|
11
|
+
inflows24h: string;
|
|
12
|
+
inflows7d: string;
|
|
13
|
+
inflows1m: string;
|
|
14
|
+
spotVolume: string;
|
|
15
|
+
oi24h: string;
|
|
16
|
+
avgLeverage: string;
|
|
17
|
+
constructor(data?: PartialMessage<ExchangesAssetsTransparencyDto>);
|
|
18
|
+
static readonly runtime: typeof proto3;
|
|
19
|
+
static readonly typeName = "micro.v1.coin.ExchangesAssetsTransparencyDto";
|
|
20
|
+
static readonly fields: FieldList;
|
|
21
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExchangesAssetsTransparencyDto;
|
|
22
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExchangesAssetsTransparencyDto;
|
|
23
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExchangesAssetsTransparencyDto;
|
|
24
|
+
static equals(a: ExchangesAssetsTransparencyDto | PlainMessage<ExchangesAssetsTransparencyDto> | undefined, b: ExchangesAssetsTransparencyDto | PlainMessage<ExchangesAssetsTransparencyDto> | undefined): boolean;
|
|
25
|
+
}
|
|
26
|
+
export declare class ExchangesAssetsTransparencyResponse extends Message<ExchangesAssetsTransparencyResponse> {
|
|
27
|
+
status?: ResponseStatus;
|
|
28
|
+
data: ExchangesAssetsTransparencyDto[];
|
|
29
|
+
constructor(data?: PartialMessage<ExchangesAssetsTransparencyResponse>);
|
|
30
|
+
static readonly runtime: typeof proto3;
|
|
31
|
+
static readonly typeName = "micro.v1.coin.ExchangesAssetsTransparencyResponse";
|
|
32
|
+
static readonly fields: FieldList;
|
|
33
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExchangesAssetsTransparencyResponse;
|
|
34
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExchangesAssetsTransparencyResponse;
|
|
35
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExchangesAssetsTransparencyResponse;
|
|
36
|
+
static equals(a: ExchangesAssetsTransparencyResponse | PlainMessage<ExchangesAssetsTransparencyResponse> | undefined, b: ExchangesAssetsTransparencyResponse | PlainMessage<ExchangesAssetsTransparencyResponse> | undefined): boolean;
|
|
37
|
+
}
|
|
38
|
+
export declare class CoinExchangeBalanceResponse extends Message<CoinExchangeBalanceResponse> {
|
|
39
|
+
status?: ResponseStatus;
|
|
40
|
+
data: CoinExchangeDto[];
|
|
41
|
+
constructor(data?: PartialMessage<CoinExchangeBalanceResponse>);
|
|
42
|
+
static readonly runtime: typeof proto3;
|
|
43
|
+
static readonly typeName = "micro.v1.coin.CoinExchangeBalanceResponse";
|
|
44
|
+
static readonly fields: FieldList;
|
|
45
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinExchangeBalanceResponse;
|
|
46
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinExchangeBalanceResponse;
|
|
47
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinExchangeBalanceResponse;
|
|
48
|
+
static equals(a: CoinExchangeBalanceResponse | PlainMessage<CoinExchangeBalanceResponse> | undefined, b: CoinExchangeBalanceResponse | PlainMessage<CoinExchangeBalanceResponse> | undefined): boolean;
|
|
49
|
+
}
|
|
50
|
+
export declare class CoinExchangeDto extends Message<CoinExchangeDto> {
|
|
51
|
+
id: string;
|
|
52
|
+
ranking: string;
|
|
53
|
+
icon: string;
|
|
54
|
+
exchanges: string;
|
|
55
|
+
balance: string;
|
|
56
|
+
change24h: string;
|
|
57
|
+
change7d: string;
|
|
58
|
+
change30d: string;
|
|
59
|
+
symbol: string;
|
|
60
|
+
constructor(data?: PartialMessage<CoinExchangeDto>);
|
|
61
|
+
static readonly runtime: typeof proto3;
|
|
62
|
+
static readonly typeName = "micro.v1.coin.CoinExchangeDto";
|
|
63
|
+
static readonly fields: FieldList;
|
|
64
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinExchangeDto;
|
|
65
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinExchangeDto;
|
|
66
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinExchangeDto;
|
|
67
|
+
static equals(a: CoinExchangeDto | PlainMessage<CoinExchangeDto> | undefined, b: CoinExchangeDto | PlainMessage<CoinExchangeDto> | undefined): boolean;
|
|
68
|
+
}
|
|
69
|
+
export declare class CoinBalanceRequest extends Message<CoinBalanceRequest> {
|
|
70
|
+
symbol: string;
|
|
71
|
+
exchange: string;
|
|
72
|
+
constructor(data?: PartialMessage<CoinBalanceRequest>);
|
|
73
|
+
static readonly runtime: typeof proto3;
|
|
74
|
+
static readonly typeName = "micro.v1.coin.CoinBalanceRequest";
|
|
75
|
+
static readonly fields: FieldList;
|
|
76
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinBalanceRequest;
|
|
77
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinBalanceRequest;
|
|
78
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinBalanceRequest;
|
|
79
|
+
static equals(a: CoinBalanceRequest | PlainMessage<CoinBalanceRequest> | undefined, b: CoinBalanceRequest | PlainMessage<CoinBalanceRequest> | undefined): boolean;
|
|
80
|
+
}
|
|
81
|
+
export declare class CoinExchangeBalanceFlowResponse extends Message<CoinExchangeBalanceFlowResponse> {
|
|
82
|
+
status?: ResponseStatus;
|
|
83
|
+
data?: CoinBalanceDto;
|
|
84
|
+
constructor(data?: PartialMessage<CoinExchangeBalanceFlowResponse>);
|
|
85
|
+
static readonly runtime: typeof proto3;
|
|
86
|
+
static readonly typeName = "micro.v1.coin.CoinExchangeBalanceFlowResponse";
|
|
87
|
+
static readonly fields: FieldList;
|
|
88
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinExchangeBalanceFlowResponse;
|
|
89
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinExchangeBalanceFlowResponse;
|
|
90
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinExchangeBalanceFlowResponse;
|
|
91
|
+
static equals(a: CoinExchangeBalanceFlowResponse | PlainMessage<CoinExchangeBalanceFlowResponse> | undefined, b: CoinExchangeBalanceFlowResponse | PlainMessage<CoinExchangeBalanceFlowResponse> | undefined): boolean;
|
|
92
|
+
}
|
|
93
|
+
export declare class CoinBalanceDto extends Message<CoinBalanceDto> {
|
|
94
|
+
name: string;
|
|
95
|
+
symbol: string;
|
|
96
|
+
data: CoinBalanceDataDto[];
|
|
97
|
+
constructor(data?: PartialMessage<CoinBalanceDto>);
|
|
98
|
+
static readonly runtime: typeof proto3;
|
|
99
|
+
static readonly typeName = "micro.v1.coin.CoinBalanceDto";
|
|
100
|
+
static readonly fields: FieldList;
|
|
101
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinBalanceDto;
|
|
102
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinBalanceDto;
|
|
103
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinBalanceDto;
|
|
104
|
+
static equals(a: CoinBalanceDto | PlainMessage<CoinBalanceDto> | undefined, b: CoinBalanceDto | PlainMessage<CoinBalanceDto> | undefined): boolean;
|
|
105
|
+
}
|
|
106
|
+
export declare class CoinBalanceDataDto extends Message<CoinBalanceDataDto> {
|
|
107
|
+
date: string;
|
|
108
|
+
price: string;
|
|
109
|
+
value: string;
|
|
110
|
+
constructor(data?: PartialMessage<CoinBalanceDataDto>);
|
|
111
|
+
static readonly runtime: typeof proto3;
|
|
112
|
+
static readonly typeName = "micro.v1.coin.CoinBalanceDataDto";
|
|
113
|
+
static readonly fields: FieldList;
|
|
114
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinBalanceDataDto;
|
|
115
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinBalanceDataDto;
|
|
116
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinBalanceDataDto;
|
|
117
|
+
static equals(a: CoinBalanceDataDto | PlainMessage<CoinBalanceDataDto> | undefined, b: CoinBalanceDataDto | PlainMessage<CoinBalanceDataDto> | undefined): boolean;
|
|
118
|
+
}
|