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,568 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetFearGreedHistoryResponse = exports.FearGreedHistoryItem = exports.GetFearGreedHistoryRequest = exports.GetFearGreedIndexResponse = exports.CoinAdminStoreRequest = exports.CoinAdminUpdateRequest = exports.CoinPriceAlertPaginationResponse = exports.CoinPaginationResponse = exports.CoinSingleResponseWithCoinGeckoId = exports.CoinSingleResponse = exports.CoinStoreRequest = exports.CoinDtoWithCoinGeckoId = exports.SaveCoinPriceAlertRequest = exports.CoinPriceAlertDto = exports.IsFavoriteCoinResponse = exports.IsFavoriteCoinRequest = exports.GetFavoriteCoinsResponse = exports.FavoriteCoinDto = exports.CoinDto = void 0;
|
|
4
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
5
|
+
const general_pb_js_1 = require("../general_pb.js");
|
|
6
|
+
class CoinDto extends protobuf_1.Message {
|
|
7
|
+
id = "";
|
|
8
|
+
symbol = "";
|
|
9
|
+
name = "";
|
|
10
|
+
createdAt = "";
|
|
11
|
+
updatedAt;
|
|
12
|
+
constructor(data) {
|
|
13
|
+
super();
|
|
14
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
15
|
+
}
|
|
16
|
+
static runtime = protobuf_1.proto3;
|
|
17
|
+
static typeName = "micro.v1.coin.CoinDto";
|
|
18
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
19
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
20
|
+
{ no: 2, name: "symbol", kind: "scalar", T: 9 },
|
|
21
|
+
{ no: 3, name: "name", kind: "scalar", T: 9 },
|
|
22
|
+
{ no: 4, name: "created_at", kind: "scalar", T: 9 },
|
|
23
|
+
{ no: 5, name: "updated_at", kind: "scalar", T: 9, opt: true },
|
|
24
|
+
]);
|
|
25
|
+
static fromBinary(bytes, options) {
|
|
26
|
+
return new CoinDto().fromBinary(bytes, options);
|
|
27
|
+
}
|
|
28
|
+
static fromJson(jsonValue, options) {
|
|
29
|
+
return new CoinDto().fromJson(jsonValue, options);
|
|
30
|
+
}
|
|
31
|
+
static fromJsonString(jsonString, options) {
|
|
32
|
+
return new CoinDto().fromJsonString(jsonString, options);
|
|
33
|
+
}
|
|
34
|
+
static equals(a, b) {
|
|
35
|
+
return protobuf_1.proto3.util.equals(CoinDto, a, b);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.CoinDto = CoinDto;
|
|
39
|
+
class FavoriteCoinDto extends protobuf_1.Message {
|
|
40
|
+
id = "";
|
|
41
|
+
symbol = "";
|
|
42
|
+
name = "";
|
|
43
|
+
marketCap = "";
|
|
44
|
+
price = "";
|
|
45
|
+
priceChangePercentage1h = "";
|
|
46
|
+
priceChangePercentage24h = "";
|
|
47
|
+
priceChangePercentage7d = "";
|
|
48
|
+
tradingVolume24h = "";
|
|
49
|
+
rank = 0;
|
|
50
|
+
coingeckoId = "";
|
|
51
|
+
coinmarketcapId = "";
|
|
52
|
+
coinglassSpotId = "";
|
|
53
|
+
coinglassFuturesId = "";
|
|
54
|
+
createdAt = "";
|
|
55
|
+
updatedAt;
|
|
56
|
+
constructor(data) {
|
|
57
|
+
super();
|
|
58
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
59
|
+
}
|
|
60
|
+
static runtime = protobuf_1.proto3;
|
|
61
|
+
static typeName = "micro.v1.coin.FavoriteCoinDto";
|
|
62
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
63
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
64
|
+
{ no: 2, name: "symbol", kind: "scalar", T: 9 },
|
|
65
|
+
{ no: 3, name: "name", kind: "scalar", T: 9 },
|
|
66
|
+
{ no: 4, name: "market_cap", kind: "scalar", T: 9 },
|
|
67
|
+
{ no: 5, name: "price", kind: "scalar", T: 9 },
|
|
68
|
+
{ no: 6, name: "price_change_percentage1h", kind: "scalar", T: 9 },
|
|
69
|
+
{ no: 7, name: "price_change_percentage24h", kind: "scalar", T: 9 },
|
|
70
|
+
{ no: 8, name: "price_change_percentage7d", kind: "scalar", T: 9 },
|
|
71
|
+
{ no: 9, name: "trading_volume24h", kind: "scalar", T: 9 },
|
|
72
|
+
{ no: 10, name: "rank", kind: "scalar", T: 5 },
|
|
73
|
+
{ no: 11, name: "coingecko_id", kind: "scalar", T: 9 },
|
|
74
|
+
{ no: 12, name: "coinmarketcap_id", kind: "scalar", T: 9 },
|
|
75
|
+
{ no: 13, name: "coinglass_spot_id", kind: "scalar", T: 9 },
|
|
76
|
+
{ no: 14, name: "coinglass_futures_id", kind: "scalar", T: 9 },
|
|
77
|
+
{ no: 15, name: "created_at", kind: "scalar", T: 9 },
|
|
78
|
+
{ no: 16, name: "updated_at", kind: "scalar", T: 9, opt: true },
|
|
79
|
+
]);
|
|
80
|
+
static fromBinary(bytes, options) {
|
|
81
|
+
return new FavoriteCoinDto().fromBinary(bytes, options);
|
|
82
|
+
}
|
|
83
|
+
static fromJson(jsonValue, options) {
|
|
84
|
+
return new FavoriteCoinDto().fromJson(jsonValue, options);
|
|
85
|
+
}
|
|
86
|
+
static fromJsonString(jsonString, options) {
|
|
87
|
+
return new FavoriteCoinDto().fromJsonString(jsonString, options);
|
|
88
|
+
}
|
|
89
|
+
static equals(a, b) {
|
|
90
|
+
return protobuf_1.proto3.util.equals(FavoriteCoinDto, a, b);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.FavoriteCoinDto = FavoriteCoinDto;
|
|
94
|
+
class GetFavoriteCoinsResponse extends protobuf_1.Message {
|
|
95
|
+
status;
|
|
96
|
+
pagination;
|
|
97
|
+
data = [];
|
|
98
|
+
constructor(data) {
|
|
99
|
+
super();
|
|
100
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
101
|
+
}
|
|
102
|
+
static runtime = protobuf_1.proto3;
|
|
103
|
+
static typeName = "micro.v1.coin.GetFavoriteCoinsResponse";
|
|
104
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
105
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
106
|
+
{ no: 2, name: "pagination", kind: "message", T: general_pb_js_1.PaginationMetaResult },
|
|
107
|
+
{ no: 3, name: "data", kind: "message", T: FavoriteCoinDto, repeated: true },
|
|
108
|
+
]);
|
|
109
|
+
static fromBinary(bytes, options) {
|
|
110
|
+
return new GetFavoriteCoinsResponse().fromBinary(bytes, options);
|
|
111
|
+
}
|
|
112
|
+
static fromJson(jsonValue, options) {
|
|
113
|
+
return new GetFavoriteCoinsResponse().fromJson(jsonValue, options);
|
|
114
|
+
}
|
|
115
|
+
static fromJsonString(jsonString, options) {
|
|
116
|
+
return new GetFavoriteCoinsResponse().fromJsonString(jsonString, options);
|
|
117
|
+
}
|
|
118
|
+
static equals(a, b) {
|
|
119
|
+
return protobuf_1.proto3.util.equals(GetFavoriteCoinsResponse, a, b);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.GetFavoriteCoinsResponse = GetFavoriteCoinsResponse;
|
|
123
|
+
class IsFavoriteCoinRequest extends protobuf_1.Message {
|
|
124
|
+
coinmarketcapId = "";
|
|
125
|
+
constructor(data) {
|
|
126
|
+
super();
|
|
127
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
128
|
+
}
|
|
129
|
+
static runtime = protobuf_1.proto3;
|
|
130
|
+
static typeName = "micro.v1.coin.IsFavoriteCoinRequest";
|
|
131
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
132
|
+
{ no: 1, name: "coinmarketcap_id", kind: "scalar", T: 9 },
|
|
133
|
+
]);
|
|
134
|
+
static fromBinary(bytes, options) {
|
|
135
|
+
return new IsFavoriteCoinRequest().fromBinary(bytes, options);
|
|
136
|
+
}
|
|
137
|
+
static fromJson(jsonValue, options) {
|
|
138
|
+
return new IsFavoriteCoinRequest().fromJson(jsonValue, options);
|
|
139
|
+
}
|
|
140
|
+
static fromJsonString(jsonString, options) {
|
|
141
|
+
return new IsFavoriteCoinRequest().fromJsonString(jsonString, options);
|
|
142
|
+
}
|
|
143
|
+
static equals(a, b) {
|
|
144
|
+
return protobuf_1.proto3.util.equals(IsFavoriteCoinRequest, a, b);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
exports.IsFavoriteCoinRequest = IsFavoriteCoinRequest;
|
|
148
|
+
class IsFavoriteCoinResponse extends protobuf_1.Message {
|
|
149
|
+
message = "";
|
|
150
|
+
isFavorite = false;
|
|
151
|
+
constructor(data) {
|
|
152
|
+
super();
|
|
153
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
154
|
+
}
|
|
155
|
+
static runtime = protobuf_1.proto3;
|
|
156
|
+
static typeName = "micro.v1.coin.IsFavoriteCoinResponse";
|
|
157
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
158
|
+
{ no: 1, name: "message", kind: "scalar", T: 9 },
|
|
159
|
+
{ no: 2, name: "is_favorite", kind: "scalar", T: 8 },
|
|
160
|
+
]);
|
|
161
|
+
static fromBinary(bytes, options) {
|
|
162
|
+
return new IsFavoriteCoinResponse().fromBinary(bytes, options);
|
|
163
|
+
}
|
|
164
|
+
static fromJson(jsonValue, options) {
|
|
165
|
+
return new IsFavoriteCoinResponse().fromJson(jsonValue, options);
|
|
166
|
+
}
|
|
167
|
+
static fromJsonString(jsonString, options) {
|
|
168
|
+
return new IsFavoriteCoinResponse().fromJsonString(jsonString, options);
|
|
169
|
+
}
|
|
170
|
+
static equals(a, b) {
|
|
171
|
+
return protobuf_1.proto3.util.equals(IsFavoriteCoinResponse, a, b);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
exports.IsFavoriteCoinResponse = IsFavoriteCoinResponse;
|
|
175
|
+
class CoinPriceAlertDto extends protobuf_1.Message {
|
|
176
|
+
id = "";
|
|
177
|
+
symbol = "";
|
|
178
|
+
name = "";
|
|
179
|
+
price = "";
|
|
180
|
+
constructor(data) {
|
|
181
|
+
super();
|
|
182
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
183
|
+
}
|
|
184
|
+
static runtime = protobuf_1.proto3;
|
|
185
|
+
static typeName = "micro.v1.coin.CoinPriceAlertDto";
|
|
186
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
187
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
188
|
+
{ no: 2, name: "symbol", kind: "scalar", T: 9 },
|
|
189
|
+
{ no: 3, name: "name", kind: "scalar", T: 9 },
|
|
190
|
+
{ no: 4, name: "price", kind: "scalar", T: 9 },
|
|
191
|
+
]);
|
|
192
|
+
static fromBinary(bytes, options) {
|
|
193
|
+
return new CoinPriceAlertDto().fromBinary(bytes, options);
|
|
194
|
+
}
|
|
195
|
+
static fromJson(jsonValue, options) {
|
|
196
|
+
return new CoinPriceAlertDto().fromJson(jsonValue, options);
|
|
197
|
+
}
|
|
198
|
+
static fromJsonString(jsonString, options) {
|
|
199
|
+
return new CoinPriceAlertDto().fromJsonString(jsonString, options);
|
|
200
|
+
}
|
|
201
|
+
static equals(a, b) {
|
|
202
|
+
return protobuf_1.proto3.util.equals(CoinPriceAlertDto, a, b);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
exports.CoinPriceAlertDto = CoinPriceAlertDto;
|
|
206
|
+
class SaveCoinPriceAlertRequest extends protobuf_1.Message {
|
|
207
|
+
coinId = "";
|
|
208
|
+
price = "";
|
|
209
|
+
constructor(data) {
|
|
210
|
+
super();
|
|
211
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
212
|
+
}
|
|
213
|
+
static runtime = protobuf_1.proto3;
|
|
214
|
+
static typeName = "micro.v1.coin.SaveCoinPriceAlertRequest";
|
|
215
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
216
|
+
{ no: 1, name: "coinId", kind: "scalar", T: 9 },
|
|
217
|
+
{ no: 2, name: "price", kind: "scalar", T: 9 },
|
|
218
|
+
]);
|
|
219
|
+
static fromBinary(bytes, options) {
|
|
220
|
+
return new SaveCoinPriceAlertRequest().fromBinary(bytes, options);
|
|
221
|
+
}
|
|
222
|
+
static fromJson(jsonValue, options) {
|
|
223
|
+
return new SaveCoinPriceAlertRequest().fromJson(jsonValue, options);
|
|
224
|
+
}
|
|
225
|
+
static fromJsonString(jsonString, options) {
|
|
226
|
+
return new SaveCoinPriceAlertRequest().fromJsonString(jsonString, options);
|
|
227
|
+
}
|
|
228
|
+
static equals(a, b) {
|
|
229
|
+
return protobuf_1.proto3.util.equals(SaveCoinPriceAlertRequest, a, b);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
exports.SaveCoinPriceAlertRequest = SaveCoinPriceAlertRequest;
|
|
233
|
+
class CoinDtoWithCoinGeckoId extends protobuf_1.Message {
|
|
234
|
+
id = "";
|
|
235
|
+
symbol = "";
|
|
236
|
+
name = "";
|
|
237
|
+
coingeckoId = "";
|
|
238
|
+
constructor(data) {
|
|
239
|
+
super();
|
|
240
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
241
|
+
}
|
|
242
|
+
static runtime = protobuf_1.proto3;
|
|
243
|
+
static typeName = "micro.v1.coin.CoinDtoWithCoinGeckoId";
|
|
244
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
245
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
246
|
+
{ no: 2, name: "symbol", kind: "scalar", T: 9 },
|
|
247
|
+
{ no: 3, name: "name", kind: "scalar", T: 9 },
|
|
248
|
+
{ no: 4, name: "coingeckoId", kind: "scalar", T: 9 },
|
|
249
|
+
]);
|
|
250
|
+
static fromBinary(bytes, options) {
|
|
251
|
+
return new CoinDtoWithCoinGeckoId().fromBinary(bytes, options);
|
|
252
|
+
}
|
|
253
|
+
static fromJson(jsonValue, options) {
|
|
254
|
+
return new CoinDtoWithCoinGeckoId().fromJson(jsonValue, options);
|
|
255
|
+
}
|
|
256
|
+
static fromJsonString(jsonString, options) {
|
|
257
|
+
return new CoinDtoWithCoinGeckoId().fromJsonString(jsonString, options);
|
|
258
|
+
}
|
|
259
|
+
static equals(a, b) {
|
|
260
|
+
return protobuf_1.proto3.util.equals(CoinDtoWithCoinGeckoId, a, b);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
exports.CoinDtoWithCoinGeckoId = CoinDtoWithCoinGeckoId;
|
|
264
|
+
class CoinStoreRequest extends protobuf_1.Message {
|
|
265
|
+
symbol = "";
|
|
266
|
+
name = "";
|
|
267
|
+
constructor(data) {
|
|
268
|
+
super();
|
|
269
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
270
|
+
}
|
|
271
|
+
static runtime = protobuf_1.proto3;
|
|
272
|
+
static typeName = "micro.v1.coin.CoinStoreRequest";
|
|
273
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
274
|
+
{ no: 1, name: "symbol", kind: "scalar", T: 9 },
|
|
275
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 },
|
|
276
|
+
]);
|
|
277
|
+
static fromBinary(bytes, options) {
|
|
278
|
+
return new CoinStoreRequest().fromBinary(bytes, options);
|
|
279
|
+
}
|
|
280
|
+
static fromJson(jsonValue, options) {
|
|
281
|
+
return new CoinStoreRequest().fromJson(jsonValue, options);
|
|
282
|
+
}
|
|
283
|
+
static fromJsonString(jsonString, options) {
|
|
284
|
+
return new CoinStoreRequest().fromJsonString(jsonString, options);
|
|
285
|
+
}
|
|
286
|
+
static equals(a, b) {
|
|
287
|
+
return protobuf_1.proto3.util.equals(CoinStoreRequest, a, b);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
exports.CoinStoreRequest = CoinStoreRequest;
|
|
291
|
+
class CoinSingleResponse extends protobuf_1.Message {
|
|
292
|
+
status;
|
|
293
|
+
data;
|
|
294
|
+
constructor(data) {
|
|
295
|
+
super();
|
|
296
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
297
|
+
}
|
|
298
|
+
static runtime = protobuf_1.proto3;
|
|
299
|
+
static typeName = "micro.v1.coin.CoinSingleResponse";
|
|
300
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
301
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
302
|
+
{ no: 2, name: "data", kind: "message", T: CoinDto },
|
|
303
|
+
]);
|
|
304
|
+
static fromBinary(bytes, options) {
|
|
305
|
+
return new CoinSingleResponse().fromBinary(bytes, options);
|
|
306
|
+
}
|
|
307
|
+
static fromJson(jsonValue, options) {
|
|
308
|
+
return new CoinSingleResponse().fromJson(jsonValue, options);
|
|
309
|
+
}
|
|
310
|
+
static fromJsonString(jsonString, options) {
|
|
311
|
+
return new CoinSingleResponse().fromJsonString(jsonString, options);
|
|
312
|
+
}
|
|
313
|
+
static equals(a, b) {
|
|
314
|
+
return protobuf_1.proto3.util.equals(CoinSingleResponse, a, b);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
exports.CoinSingleResponse = CoinSingleResponse;
|
|
318
|
+
class CoinSingleResponseWithCoinGeckoId extends protobuf_1.Message {
|
|
319
|
+
status;
|
|
320
|
+
data;
|
|
321
|
+
constructor(data) {
|
|
322
|
+
super();
|
|
323
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
324
|
+
}
|
|
325
|
+
static runtime = protobuf_1.proto3;
|
|
326
|
+
static typeName = "micro.v1.coin.CoinSingleResponseWithCoinGeckoId";
|
|
327
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
328
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
329
|
+
{ no: 2, name: "data", kind: "message", T: CoinDtoWithCoinGeckoId },
|
|
330
|
+
]);
|
|
331
|
+
static fromBinary(bytes, options) {
|
|
332
|
+
return new CoinSingleResponseWithCoinGeckoId().fromBinary(bytes, options);
|
|
333
|
+
}
|
|
334
|
+
static fromJson(jsonValue, options) {
|
|
335
|
+
return new CoinSingleResponseWithCoinGeckoId().fromJson(jsonValue, options);
|
|
336
|
+
}
|
|
337
|
+
static fromJsonString(jsonString, options) {
|
|
338
|
+
return new CoinSingleResponseWithCoinGeckoId().fromJsonString(jsonString, options);
|
|
339
|
+
}
|
|
340
|
+
static equals(a, b) {
|
|
341
|
+
return protobuf_1.proto3.util.equals(CoinSingleResponseWithCoinGeckoId, a, b);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
exports.CoinSingleResponseWithCoinGeckoId = CoinSingleResponseWithCoinGeckoId;
|
|
345
|
+
class CoinPaginationResponse extends protobuf_1.Message {
|
|
346
|
+
status;
|
|
347
|
+
pagination;
|
|
348
|
+
data = [];
|
|
349
|
+
constructor(data) {
|
|
350
|
+
super();
|
|
351
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
352
|
+
}
|
|
353
|
+
static runtime = protobuf_1.proto3;
|
|
354
|
+
static typeName = "micro.v1.coin.CoinPaginationResponse";
|
|
355
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
356
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
357
|
+
{ no: 2, name: "pagination", kind: "message", T: general_pb_js_1.PaginationMetaResult },
|
|
358
|
+
{ no: 3, name: "data", kind: "message", T: CoinDto, repeated: true },
|
|
359
|
+
]);
|
|
360
|
+
static fromBinary(bytes, options) {
|
|
361
|
+
return new CoinPaginationResponse().fromBinary(bytes, options);
|
|
362
|
+
}
|
|
363
|
+
static fromJson(jsonValue, options) {
|
|
364
|
+
return new CoinPaginationResponse().fromJson(jsonValue, options);
|
|
365
|
+
}
|
|
366
|
+
static fromJsonString(jsonString, options) {
|
|
367
|
+
return new CoinPaginationResponse().fromJsonString(jsonString, options);
|
|
368
|
+
}
|
|
369
|
+
static equals(a, b) {
|
|
370
|
+
return protobuf_1.proto3.util.equals(CoinPaginationResponse, a, b);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
exports.CoinPaginationResponse = CoinPaginationResponse;
|
|
374
|
+
class CoinPriceAlertPaginationResponse extends protobuf_1.Message {
|
|
375
|
+
status;
|
|
376
|
+
pagination;
|
|
377
|
+
data = [];
|
|
378
|
+
constructor(data) {
|
|
379
|
+
super();
|
|
380
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
381
|
+
}
|
|
382
|
+
static runtime = protobuf_1.proto3;
|
|
383
|
+
static typeName = "micro.v1.coin.CoinPriceAlertPaginationResponse";
|
|
384
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
385
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
386
|
+
{ no: 2, name: "pagination", kind: "message", T: general_pb_js_1.PaginationMetaResult },
|
|
387
|
+
{ no: 3, name: "data", kind: "message", T: CoinPriceAlertDto, repeated: true },
|
|
388
|
+
]);
|
|
389
|
+
static fromBinary(bytes, options) {
|
|
390
|
+
return new CoinPriceAlertPaginationResponse().fromBinary(bytes, options);
|
|
391
|
+
}
|
|
392
|
+
static fromJson(jsonValue, options) {
|
|
393
|
+
return new CoinPriceAlertPaginationResponse().fromJson(jsonValue, options);
|
|
394
|
+
}
|
|
395
|
+
static fromJsonString(jsonString, options) {
|
|
396
|
+
return new CoinPriceAlertPaginationResponse().fromJsonString(jsonString, options);
|
|
397
|
+
}
|
|
398
|
+
static equals(a, b) {
|
|
399
|
+
return protobuf_1.proto3.util.equals(CoinPriceAlertPaginationResponse, a, b);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
exports.CoinPriceAlertPaginationResponse = CoinPriceAlertPaginationResponse;
|
|
403
|
+
class CoinAdminUpdateRequest extends protobuf_1.Message {
|
|
404
|
+
id = "";
|
|
405
|
+
symbol = "";
|
|
406
|
+
name = "";
|
|
407
|
+
constructor(data) {
|
|
408
|
+
super();
|
|
409
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
410
|
+
}
|
|
411
|
+
static runtime = protobuf_1.proto3;
|
|
412
|
+
static typeName = "micro.v1.coin.CoinAdminUpdateRequest";
|
|
413
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
414
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
415
|
+
{ no: 2, name: "symbol", kind: "scalar", T: 9 },
|
|
416
|
+
{ no: 3, name: "name", kind: "scalar", T: 9 },
|
|
417
|
+
]);
|
|
418
|
+
static fromBinary(bytes, options) {
|
|
419
|
+
return new CoinAdminUpdateRequest().fromBinary(bytes, options);
|
|
420
|
+
}
|
|
421
|
+
static fromJson(jsonValue, options) {
|
|
422
|
+
return new CoinAdminUpdateRequest().fromJson(jsonValue, options);
|
|
423
|
+
}
|
|
424
|
+
static fromJsonString(jsonString, options) {
|
|
425
|
+
return new CoinAdminUpdateRequest().fromJsonString(jsonString, options);
|
|
426
|
+
}
|
|
427
|
+
static equals(a, b) {
|
|
428
|
+
return protobuf_1.proto3.util.equals(CoinAdminUpdateRequest, a, b);
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
exports.CoinAdminUpdateRequest = CoinAdminUpdateRequest;
|
|
432
|
+
class CoinAdminStoreRequest extends protobuf_1.Message {
|
|
433
|
+
symbol = "";
|
|
434
|
+
name = "";
|
|
435
|
+
constructor(data) {
|
|
436
|
+
super();
|
|
437
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
438
|
+
}
|
|
439
|
+
static runtime = protobuf_1.proto3;
|
|
440
|
+
static typeName = "micro.v1.coin.CoinAdminStoreRequest";
|
|
441
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
442
|
+
{ no: 1, name: "symbol", kind: "scalar", T: 9 },
|
|
443
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 },
|
|
444
|
+
]);
|
|
445
|
+
static fromBinary(bytes, options) {
|
|
446
|
+
return new CoinAdminStoreRequest().fromBinary(bytes, options);
|
|
447
|
+
}
|
|
448
|
+
static fromJson(jsonValue, options) {
|
|
449
|
+
return new CoinAdminStoreRequest().fromJson(jsonValue, options);
|
|
450
|
+
}
|
|
451
|
+
static fromJsonString(jsonString, options) {
|
|
452
|
+
return new CoinAdminStoreRequest().fromJsonString(jsonString, options);
|
|
453
|
+
}
|
|
454
|
+
static equals(a, b) {
|
|
455
|
+
return protobuf_1.proto3.util.equals(CoinAdminStoreRequest, a, b);
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
exports.CoinAdminStoreRequest = CoinAdminStoreRequest;
|
|
459
|
+
class GetFearGreedIndexResponse extends protobuf_1.Message {
|
|
460
|
+
data = {};
|
|
461
|
+
constructor(data) {
|
|
462
|
+
super();
|
|
463
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
464
|
+
}
|
|
465
|
+
static runtime = protobuf_1.proto3;
|
|
466
|
+
static typeName = "micro.v1.coin.GetFearGreedIndexResponse";
|
|
467
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
468
|
+
{ no: 1, name: "data", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
469
|
+
]);
|
|
470
|
+
static fromBinary(bytes, options) {
|
|
471
|
+
return new GetFearGreedIndexResponse().fromBinary(bytes, options);
|
|
472
|
+
}
|
|
473
|
+
static fromJson(jsonValue, options) {
|
|
474
|
+
return new GetFearGreedIndexResponse().fromJson(jsonValue, options);
|
|
475
|
+
}
|
|
476
|
+
static fromJsonString(jsonString, options) {
|
|
477
|
+
return new GetFearGreedIndexResponse().fromJsonString(jsonString, options);
|
|
478
|
+
}
|
|
479
|
+
static equals(a, b) {
|
|
480
|
+
return protobuf_1.proto3.util.equals(GetFearGreedIndexResponse, a, b);
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
exports.GetFearGreedIndexResponse = GetFearGreedIndexResponse;
|
|
484
|
+
class GetFearGreedHistoryRequest extends protobuf_1.Message {
|
|
485
|
+
startDate;
|
|
486
|
+
endDate;
|
|
487
|
+
limit;
|
|
488
|
+
constructor(data) {
|
|
489
|
+
super();
|
|
490
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
491
|
+
}
|
|
492
|
+
static runtime = protobuf_1.proto3;
|
|
493
|
+
static typeName = "micro.v1.coin.GetFearGreedHistoryRequest";
|
|
494
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
495
|
+
{ no: 1, name: "start_date", kind: "scalar", T: 9, opt: true },
|
|
496
|
+
{ no: 2, name: "end_date", kind: "scalar", T: 9, opt: true },
|
|
497
|
+
{ no: 3, name: "limit", kind: "scalar", T: 5, opt: true },
|
|
498
|
+
]);
|
|
499
|
+
static fromBinary(bytes, options) {
|
|
500
|
+
return new GetFearGreedHistoryRequest().fromBinary(bytes, options);
|
|
501
|
+
}
|
|
502
|
+
static fromJson(jsonValue, options) {
|
|
503
|
+
return new GetFearGreedHistoryRequest().fromJson(jsonValue, options);
|
|
504
|
+
}
|
|
505
|
+
static fromJsonString(jsonString, options) {
|
|
506
|
+
return new GetFearGreedHistoryRequest().fromJsonString(jsonString, options);
|
|
507
|
+
}
|
|
508
|
+
static equals(a, b) {
|
|
509
|
+
return protobuf_1.proto3.util.equals(GetFearGreedHistoryRequest, a, b);
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
exports.GetFearGreedHistoryRequest = GetFearGreedHistoryRequest;
|
|
513
|
+
class FearGreedHistoryItem extends protobuf_1.Message {
|
|
514
|
+
btc = "";
|
|
515
|
+
eth = "";
|
|
516
|
+
timestamp = "";
|
|
517
|
+
constructor(data) {
|
|
518
|
+
super();
|
|
519
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
520
|
+
}
|
|
521
|
+
static runtime = protobuf_1.proto3;
|
|
522
|
+
static typeName = "micro.v1.coin.FearGreedHistoryItem";
|
|
523
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
524
|
+
{ no: 1, name: "btc", kind: "scalar", T: 9 },
|
|
525
|
+
{ no: 2, name: "eth", kind: "scalar", T: 9 },
|
|
526
|
+
{ no: 3, name: "timestamp", kind: "scalar", T: 9 },
|
|
527
|
+
]);
|
|
528
|
+
static fromBinary(bytes, options) {
|
|
529
|
+
return new FearGreedHistoryItem().fromBinary(bytes, options);
|
|
530
|
+
}
|
|
531
|
+
static fromJson(jsonValue, options) {
|
|
532
|
+
return new FearGreedHistoryItem().fromJson(jsonValue, options);
|
|
533
|
+
}
|
|
534
|
+
static fromJsonString(jsonString, options) {
|
|
535
|
+
return new FearGreedHistoryItem().fromJsonString(jsonString, options);
|
|
536
|
+
}
|
|
537
|
+
static equals(a, b) {
|
|
538
|
+
return protobuf_1.proto3.util.equals(FearGreedHistoryItem, a, b);
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
exports.FearGreedHistoryItem = FearGreedHistoryItem;
|
|
542
|
+
class GetFearGreedHistoryResponse extends protobuf_1.Message {
|
|
543
|
+
status;
|
|
544
|
+
data = [];
|
|
545
|
+
constructor(data) {
|
|
546
|
+
super();
|
|
547
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
548
|
+
}
|
|
549
|
+
static runtime = protobuf_1.proto3;
|
|
550
|
+
static typeName = "micro.v1.coin.GetFearGreedHistoryResponse";
|
|
551
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
552
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
553
|
+
{ no: 2, name: "data", kind: "message", T: FearGreedHistoryItem, repeated: true },
|
|
554
|
+
]);
|
|
555
|
+
static fromBinary(bytes, options) {
|
|
556
|
+
return new GetFearGreedHistoryResponse().fromBinary(bytes, options);
|
|
557
|
+
}
|
|
558
|
+
static fromJson(jsonValue, options) {
|
|
559
|
+
return new GetFearGreedHistoryResponse().fromJson(jsonValue, options);
|
|
560
|
+
}
|
|
561
|
+
static fromJsonString(jsonString, options) {
|
|
562
|
+
return new GetFearGreedHistoryResponse().fromJsonString(jsonString, options);
|
|
563
|
+
}
|
|
564
|
+
static equals(a, b) {
|
|
565
|
+
return protobuf_1.proto3.util.equals(GetFearGreedHistoryResponse, a, b);
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
exports.GetFearGreedHistoryResponse = GetFearGreedHistoryResponse;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { ResponseStatus } from "../general_nest";
|
|
2
|
+
export declare const protobufPackage = "micro.v1.coin";
|
|
3
|
+
export interface LiveCoinRequest {
|
|
4
|
+
symbol: string;
|
|
5
|
+
}
|
|
6
|
+
export interface LiveCoinResponse {
|
|
7
|
+
data: CoinData | undefined;
|
|
8
|
+
status: ResponseStatus | undefined;
|
|
9
|
+
}
|
|
10
|
+
export interface CoinMarketCapValues {
|
|
11
|
+
symbol: string;
|
|
12
|
+
market_cap: number;
|
|
13
|
+
price: number;
|
|
14
|
+
price_change_percentage1h: number;
|
|
15
|
+
price_change_percentage24h: number;
|
|
16
|
+
price_change_percentage7d: number;
|
|
17
|
+
trading_volume24h: number;
|
|
18
|
+
}
|
|
19
|
+
export interface CoinData {
|
|
20
|
+
coinLiveData: CoinLiveData | undefined;
|
|
21
|
+
}
|
|
22
|
+
export interface CoinWebsocketValues {
|
|
23
|
+
symbol: string;
|
|
24
|
+
price: number;
|
|
25
|
+
percentage: number;
|
|
26
|
+
change: number;
|
|
27
|
+
high: number;
|
|
28
|
+
low: number;
|
|
29
|
+
timestamp: number;
|
|
30
|
+
websocketType: string;
|
|
31
|
+
}
|
|
32
|
+
export interface CoinGeckoValues {
|
|
33
|
+
symbol: string;
|
|
34
|
+
name: string;
|
|
35
|
+
image: string;
|
|
36
|
+
current_price: number;
|
|
37
|
+
market_cap: number;
|
|
38
|
+
market_cap_rank: number;
|
|
39
|
+
fully_diluted_valuation: number;
|
|
40
|
+
total_volume: number;
|
|
41
|
+
high_24h: number;
|
|
42
|
+
low_24h: number;
|
|
43
|
+
price_change_24h: number;
|
|
44
|
+
price_change_percentage_24h: number;
|
|
45
|
+
market_cap_change_24h: number;
|
|
46
|
+
market_cap_change_percentage_24h: number;
|
|
47
|
+
}
|
|
48
|
+
export interface CoinLiveData {
|
|
49
|
+
id: string;
|
|
50
|
+
symbol: string;
|
|
51
|
+
price: number;
|
|
52
|
+
percentage: number;
|
|
53
|
+
change: number;
|
|
54
|
+
high: number;
|
|
55
|
+
low: number;
|
|
56
|
+
timestamp: number;
|
|
57
|
+
websocketType: string;
|
|
58
|
+
market_cap: number;
|
|
59
|
+
price_change_percentage1h: number;
|
|
60
|
+
price_change_percentage24h: number;
|
|
61
|
+
price_change_percentage7d: number;
|
|
62
|
+
trading_volume24h: number;
|
|
63
|
+
name: string;
|
|
64
|
+
image: string;
|
|
65
|
+
market_cap_rank: number;
|
|
66
|
+
fully_diluted_valuation: number;
|
|
67
|
+
market_cap_change_24h: number;
|
|
68
|
+
market_cap_change_percentage_24h: number;
|
|
69
|
+
coinmarketcap_id: string;
|
|
70
|
+
coingecko_id: string;
|
|
71
|
+
}
|
|
72
|
+
export declare const MICRO_V1_COIN_PACKAGE_NAME = "micro.v1.coin";
|