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,820 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DefaultCurrencyResponse = exports.PortfolioWithCoinIdResponse = exports.AddCoinListResponse = exports.AddCoinListRequest = exports.RemovePortfolioResponse = exports.ResetPortfolioResponse = exports.RenamePortfolioResponse = exports.RenamePortfolioRequest = exports.SetMainPortfolioResponse = exports.PortfolioCoinChartData = exports.PortfolioCoinBundleDto = exports.PortfolioBundleDto = exports.PortfoliosBundleResponse = exports.CurrencyDto = exports.FeeDto = exports.TransactionDto = exports.AddCoinDto = exports.AddCoinResponse = exports.AddCoinRequest = exports.PortfolioStoreResponse = exports.PortfolioStoreRequest = exports.PortfolioCoinDto = exports.PortfoliosResponse = exports.PortfolioDto = exports.PortfolioByCoinIdResponse = exports.PortfolioUserResponse = exports.PortfolioByCoinIdDto = void 0;
|
|
4
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
5
|
+
const general_pb_js_1 = require("../general_pb.js");
|
|
6
|
+
class PortfolioByCoinIdDto extends protobuf_1.Message {
|
|
7
|
+
id = "";
|
|
8
|
+
portfolioId = "";
|
|
9
|
+
coinId = "";
|
|
10
|
+
constructor(data) {
|
|
11
|
+
super();
|
|
12
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
13
|
+
}
|
|
14
|
+
static runtime = protobuf_1.proto3;
|
|
15
|
+
static typeName = "micro.v1.portfolio.PortfolioByCoinIdDto";
|
|
16
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
18
|
+
{ no: 2, name: "portfolio_id", kind: "scalar", T: 9 },
|
|
19
|
+
{ no: 3, name: "coin_id", kind: "scalar", T: 9 },
|
|
20
|
+
]);
|
|
21
|
+
static fromBinary(bytes, options) {
|
|
22
|
+
return new PortfolioByCoinIdDto().fromBinary(bytes, options);
|
|
23
|
+
}
|
|
24
|
+
static fromJson(jsonValue, options) {
|
|
25
|
+
return new PortfolioByCoinIdDto().fromJson(jsonValue, options);
|
|
26
|
+
}
|
|
27
|
+
static fromJsonString(jsonString, options) {
|
|
28
|
+
return new PortfolioByCoinIdDto().fromJsonString(jsonString, options);
|
|
29
|
+
}
|
|
30
|
+
static equals(a, b) {
|
|
31
|
+
return protobuf_1.proto3.util.equals(PortfolioByCoinIdDto, a, b);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.PortfolioByCoinIdDto = PortfolioByCoinIdDto;
|
|
35
|
+
class PortfolioUserResponse extends protobuf_1.Message {
|
|
36
|
+
userId = "";
|
|
37
|
+
constructor(data) {
|
|
38
|
+
super();
|
|
39
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
40
|
+
}
|
|
41
|
+
static runtime = protobuf_1.proto3;
|
|
42
|
+
static typeName = "micro.v1.portfolio.PortfolioUserResponse";
|
|
43
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
44
|
+
{ no: 1, name: "user_id", kind: "scalar", T: 9 },
|
|
45
|
+
]);
|
|
46
|
+
static fromBinary(bytes, options) {
|
|
47
|
+
return new PortfolioUserResponse().fromBinary(bytes, options);
|
|
48
|
+
}
|
|
49
|
+
static fromJson(jsonValue, options) {
|
|
50
|
+
return new PortfolioUserResponse().fromJson(jsonValue, options);
|
|
51
|
+
}
|
|
52
|
+
static fromJsonString(jsonString, options) {
|
|
53
|
+
return new PortfolioUserResponse().fromJsonString(jsonString, options);
|
|
54
|
+
}
|
|
55
|
+
static equals(a, b) {
|
|
56
|
+
return protobuf_1.proto3.util.equals(PortfolioUserResponse, a, b);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.PortfolioUserResponse = PortfolioUserResponse;
|
|
60
|
+
class PortfolioByCoinIdResponse extends protobuf_1.Message {
|
|
61
|
+
status;
|
|
62
|
+
data = [];
|
|
63
|
+
constructor(data) {
|
|
64
|
+
super();
|
|
65
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
66
|
+
}
|
|
67
|
+
static runtime = protobuf_1.proto3;
|
|
68
|
+
static typeName = "micro.v1.portfolio.PortfolioByCoinIdResponse";
|
|
69
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
70
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
71
|
+
{ no: 2, name: "data", kind: "message", T: PortfolioByCoinIdDto, repeated: true },
|
|
72
|
+
]);
|
|
73
|
+
static fromBinary(bytes, options) {
|
|
74
|
+
return new PortfolioByCoinIdResponse().fromBinary(bytes, options);
|
|
75
|
+
}
|
|
76
|
+
static fromJson(jsonValue, options) {
|
|
77
|
+
return new PortfolioByCoinIdResponse().fromJson(jsonValue, options);
|
|
78
|
+
}
|
|
79
|
+
static fromJsonString(jsonString, options) {
|
|
80
|
+
return new PortfolioByCoinIdResponse().fromJsonString(jsonString, options);
|
|
81
|
+
}
|
|
82
|
+
static equals(a, b) {
|
|
83
|
+
return protobuf_1.proto3.util.equals(PortfolioByCoinIdResponse, a, b);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.PortfolioByCoinIdResponse = PortfolioByCoinIdResponse;
|
|
87
|
+
class PortfolioDto extends protobuf_1.Message {
|
|
88
|
+
id = "";
|
|
89
|
+
userId = "";
|
|
90
|
+
name = "";
|
|
91
|
+
isMain = false;
|
|
92
|
+
coins = [];
|
|
93
|
+
createdAt = "";
|
|
94
|
+
updatedAt = "";
|
|
95
|
+
constructor(data) {
|
|
96
|
+
super();
|
|
97
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
98
|
+
}
|
|
99
|
+
static runtime = protobuf_1.proto3;
|
|
100
|
+
static typeName = "micro.v1.portfolio.PortfolioDto";
|
|
101
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
102
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
103
|
+
{ no: 2, name: "userId", kind: "scalar", T: 9 },
|
|
104
|
+
{ no: 3, name: "name", kind: "scalar", T: 9 },
|
|
105
|
+
{ no: 4, name: "isMain", kind: "scalar", T: 8 },
|
|
106
|
+
{ no: 5, name: "coins", kind: "message", T: general_pb_js_1.CoinData, repeated: true },
|
|
107
|
+
{ no: 6, name: "createdAt", kind: "scalar", T: 9 },
|
|
108
|
+
{ no: 7, name: "updatedAt", kind: "scalar", T: 9 },
|
|
109
|
+
]);
|
|
110
|
+
static fromBinary(bytes, options) {
|
|
111
|
+
return new PortfolioDto().fromBinary(bytes, options);
|
|
112
|
+
}
|
|
113
|
+
static fromJson(jsonValue, options) {
|
|
114
|
+
return new PortfolioDto().fromJson(jsonValue, options);
|
|
115
|
+
}
|
|
116
|
+
static fromJsonString(jsonString, options) {
|
|
117
|
+
return new PortfolioDto().fromJsonString(jsonString, options);
|
|
118
|
+
}
|
|
119
|
+
static equals(a, b) {
|
|
120
|
+
return protobuf_1.proto3.util.equals(PortfolioDto, a, b);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
exports.PortfolioDto = PortfolioDto;
|
|
124
|
+
class PortfoliosResponse extends protobuf_1.Message {
|
|
125
|
+
status;
|
|
126
|
+
data = [];
|
|
127
|
+
constructor(data) {
|
|
128
|
+
super();
|
|
129
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
130
|
+
}
|
|
131
|
+
static runtime = protobuf_1.proto3;
|
|
132
|
+
static typeName = "micro.v1.portfolio.PortfoliosResponse";
|
|
133
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
134
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
135
|
+
{ no: 2, name: "data", kind: "message", T: PortfolioDto, repeated: true },
|
|
136
|
+
]);
|
|
137
|
+
static fromBinary(bytes, options) {
|
|
138
|
+
return new PortfoliosResponse().fromBinary(bytes, options);
|
|
139
|
+
}
|
|
140
|
+
static fromJson(jsonValue, options) {
|
|
141
|
+
return new PortfoliosResponse().fromJson(jsonValue, options);
|
|
142
|
+
}
|
|
143
|
+
static fromJsonString(jsonString, options) {
|
|
144
|
+
return new PortfoliosResponse().fromJsonString(jsonString, options);
|
|
145
|
+
}
|
|
146
|
+
static equals(a, b) {
|
|
147
|
+
return protobuf_1.proto3.util.equals(PortfoliosResponse, a, b);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
exports.PortfoliosResponse = PortfoliosResponse;
|
|
151
|
+
class PortfolioCoinDto extends protobuf_1.Message {
|
|
152
|
+
id = "";
|
|
153
|
+
coinId = "";
|
|
154
|
+
name = "";
|
|
155
|
+
symbol = "";
|
|
156
|
+
description;
|
|
157
|
+
portfolioId = "";
|
|
158
|
+
createdAt = "";
|
|
159
|
+
updatedAt = "";
|
|
160
|
+
constructor(data) {
|
|
161
|
+
super();
|
|
162
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
163
|
+
}
|
|
164
|
+
static runtime = protobuf_1.proto3;
|
|
165
|
+
static typeName = "micro.v1.portfolio.PortfolioCoinDto";
|
|
166
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
167
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
168
|
+
{ no: 2, name: "coinId", kind: "scalar", T: 9 },
|
|
169
|
+
{ no: 3, name: "name", kind: "scalar", T: 9 },
|
|
170
|
+
{ no: 4, name: "symbol", kind: "scalar", T: 9 },
|
|
171
|
+
{ no: 5, name: "description", kind: "scalar", T: 9, opt: true },
|
|
172
|
+
{ no: 6, name: "portfolioId", kind: "scalar", T: 9 },
|
|
173
|
+
{ no: 7, name: "createdAt", kind: "scalar", T: 9 },
|
|
174
|
+
{ no: 8, name: "updatedAt", kind: "scalar", T: 9 },
|
|
175
|
+
]);
|
|
176
|
+
static fromBinary(bytes, options) {
|
|
177
|
+
return new PortfolioCoinDto().fromBinary(bytes, options);
|
|
178
|
+
}
|
|
179
|
+
static fromJson(jsonValue, options) {
|
|
180
|
+
return new PortfolioCoinDto().fromJson(jsonValue, options);
|
|
181
|
+
}
|
|
182
|
+
static fromJsonString(jsonString, options) {
|
|
183
|
+
return new PortfolioCoinDto().fromJsonString(jsonString, options);
|
|
184
|
+
}
|
|
185
|
+
static equals(a, b) {
|
|
186
|
+
return protobuf_1.proto3.util.equals(PortfolioCoinDto, a, b);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
exports.PortfolioCoinDto = PortfolioCoinDto;
|
|
190
|
+
class PortfolioStoreRequest extends protobuf_1.Message {
|
|
191
|
+
name = "";
|
|
192
|
+
constructor(data) {
|
|
193
|
+
super();
|
|
194
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
195
|
+
}
|
|
196
|
+
static runtime = protobuf_1.proto3;
|
|
197
|
+
static typeName = "micro.v1.portfolio.PortfolioStoreRequest";
|
|
198
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
199
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 },
|
|
200
|
+
]);
|
|
201
|
+
static fromBinary(bytes, options) {
|
|
202
|
+
return new PortfolioStoreRequest().fromBinary(bytes, options);
|
|
203
|
+
}
|
|
204
|
+
static fromJson(jsonValue, options) {
|
|
205
|
+
return new PortfolioStoreRequest().fromJson(jsonValue, options);
|
|
206
|
+
}
|
|
207
|
+
static fromJsonString(jsonString, options) {
|
|
208
|
+
return new PortfolioStoreRequest().fromJsonString(jsonString, options);
|
|
209
|
+
}
|
|
210
|
+
static equals(a, b) {
|
|
211
|
+
return protobuf_1.proto3.util.equals(PortfolioStoreRequest, a, b);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
exports.PortfolioStoreRequest = PortfolioStoreRequest;
|
|
215
|
+
class PortfolioStoreResponse extends protobuf_1.Message {
|
|
216
|
+
status;
|
|
217
|
+
data;
|
|
218
|
+
constructor(data) {
|
|
219
|
+
super();
|
|
220
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
221
|
+
}
|
|
222
|
+
static runtime = protobuf_1.proto3;
|
|
223
|
+
static typeName = "micro.v1.portfolio.PortfolioStoreResponse";
|
|
224
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
225
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
226
|
+
{ no: 2, name: "data", kind: "message", T: PortfolioDto },
|
|
227
|
+
]);
|
|
228
|
+
static fromBinary(bytes, options) {
|
|
229
|
+
return new PortfolioStoreResponse().fromBinary(bytes, options);
|
|
230
|
+
}
|
|
231
|
+
static fromJson(jsonValue, options) {
|
|
232
|
+
return new PortfolioStoreResponse().fromJson(jsonValue, options);
|
|
233
|
+
}
|
|
234
|
+
static fromJsonString(jsonString, options) {
|
|
235
|
+
return new PortfolioStoreResponse().fromJsonString(jsonString, options);
|
|
236
|
+
}
|
|
237
|
+
static equals(a, b) {
|
|
238
|
+
return protobuf_1.proto3.util.equals(PortfolioStoreResponse, a, b);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
exports.PortfolioStoreResponse = PortfolioStoreResponse;
|
|
242
|
+
class AddCoinRequest extends protobuf_1.Message {
|
|
243
|
+
portfolioId = "";
|
|
244
|
+
coinId = "";
|
|
245
|
+
constructor(data) {
|
|
246
|
+
super();
|
|
247
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
248
|
+
}
|
|
249
|
+
static runtime = protobuf_1.proto3;
|
|
250
|
+
static typeName = "micro.v1.portfolio.AddCoinRequest";
|
|
251
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
252
|
+
{ no: 1, name: "portfolioId", kind: "scalar", T: 9 },
|
|
253
|
+
{ no: 2, name: "coinId", kind: "scalar", T: 9 },
|
|
254
|
+
]);
|
|
255
|
+
static fromBinary(bytes, options) {
|
|
256
|
+
return new AddCoinRequest().fromBinary(bytes, options);
|
|
257
|
+
}
|
|
258
|
+
static fromJson(jsonValue, options) {
|
|
259
|
+
return new AddCoinRequest().fromJson(jsonValue, options);
|
|
260
|
+
}
|
|
261
|
+
static fromJsonString(jsonString, options) {
|
|
262
|
+
return new AddCoinRequest().fromJsonString(jsonString, options);
|
|
263
|
+
}
|
|
264
|
+
static equals(a, b) {
|
|
265
|
+
return protobuf_1.proto3.util.equals(AddCoinRequest, a, b);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
exports.AddCoinRequest = AddCoinRequest;
|
|
269
|
+
class AddCoinResponse extends protobuf_1.Message {
|
|
270
|
+
status;
|
|
271
|
+
data;
|
|
272
|
+
constructor(data) {
|
|
273
|
+
super();
|
|
274
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
275
|
+
}
|
|
276
|
+
static runtime = protobuf_1.proto3;
|
|
277
|
+
static typeName = "micro.v1.portfolio.AddCoinResponse";
|
|
278
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
279
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
280
|
+
{ no: 2, name: "data", kind: "message", T: AddCoinDto },
|
|
281
|
+
]);
|
|
282
|
+
static fromBinary(bytes, options) {
|
|
283
|
+
return new AddCoinResponse().fromBinary(bytes, options);
|
|
284
|
+
}
|
|
285
|
+
static fromJson(jsonValue, options) {
|
|
286
|
+
return new AddCoinResponse().fromJson(jsonValue, options);
|
|
287
|
+
}
|
|
288
|
+
static fromJsonString(jsonString, options) {
|
|
289
|
+
return new AddCoinResponse().fromJsonString(jsonString, options);
|
|
290
|
+
}
|
|
291
|
+
static equals(a, b) {
|
|
292
|
+
return protobuf_1.proto3.util.equals(AddCoinResponse, a, b);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
exports.AddCoinResponse = AddCoinResponse;
|
|
296
|
+
class AddCoinDto extends protobuf_1.Message {
|
|
297
|
+
portfolioId = "";
|
|
298
|
+
coinId = "";
|
|
299
|
+
constructor(data) {
|
|
300
|
+
super();
|
|
301
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
302
|
+
}
|
|
303
|
+
static runtime = protobuf_1.proto3;
|
|
304
|
+
static typeName = "micro.v1.portfolio.AddCoinDto";
|
|
305
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
306
|
+
{ no: 1, name: "portfolioId", kind: "scalar", T: 9 },
|
|
307
|
+
{ no: 2, name: "coinId", kind: "scalar", T: 9 },
|
|
308
|
+
]);
|
|
309
|
+
static fromBinary(bytes, options) {
|
|
310
|
+
return new AddCoinDto().fromBinary(bytes, options);
|
|
311
|
+
}
|
|
312
|
+
static fromJson(jsonValue, options) {
|
|
313
|
+
return new AddCoinDto().fromJson(jsonValue, options);
|
|
314
|
+
}
|
|
315
|
+
static fromJsonString(jsonString, options) {
|
|
316
|
+
return new AddCoinDto().fromJsonString(jsonString, options);
|
|
317
|
+
}
|
|
318
|
+
static equals(a, b) {
|
|
319
|
+
return protobuf_1.proto3.util.equals(AddCoinDto, a, b);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
exports.AddCoinDto = AddCoinDto;
|
|
323
|
+
class TransactionDto extends protobuf_1.Message {
|
|
324
|
+
id = "";
|
|
325
|
+
portfolioCoinId = "";
|
|
326
|
+
portfolioId = "";
|
|
327
|
+
type = "";
|
|
328
|
+
amount = "";
|
|
329
|
+
price = "";
|
|
330
|
+
timestamp = "";
|
|
331
|
+
createdAt = "";
|
|
332
|
+
updatedAt = "";
|
|
333
|
+
currency;
|
|
334
|
+
fee;
|
|
335
|
+
constructor(data) {
|
|
336
|
+
super();
|
|
337
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
338
|
+
}
|
|
339
|
+
static runtime = protobuf_1.proto3;
|
|
340
|
+
static typeName = "micro.v1.portfolio.TransactionDto";
|
|
341
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
342
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
343
|
+
{ no: 2, name: "portfolioCoinId", kind: "scalar", T: 9 },
|
|
344
|
+
{ no: 3, name: "portfolioId", kind: "scalar", T: 9 },
|
|
345
|
+
{ no: 4, name: "type", kind: "scalar", T: 9 },
|
|
346
|
+
{ no: 5, name: "amount", kind: "scalar", T: 9 },
|
|
347
|
+
{ no: 6, name: "price", kind: "scalar", T: 9 },
|
|
348
|
+
{ no: 7, name: "timestamp", kind: "scalar", T: 9 },
|
|
349
|
+
{ no: 8, name: "createdAt", kind: "scalar", T: 9 },
|
|
350
|
+
{ no: 9, name: "updatedAt", kind: "scalar", T: 9 },
|
|
351
|
+
{ no: 10, name: "currency", kind: "message", T: CurrencyDto },
|
|
352
|
+
{ no: 11, name: "fee", kind: "message", T: FeeDto, opt: true },
|
|
353
|
+
]);
|
|
354
|
+
static fromBinary(bytes, options) {
|
|
355
|
+
return new TransactionDto().fromBinary(bytes, options);
|
|
356
|
+
}
|
|
357
|
+
static fromJson(jsonValue, options) {
|
|
358
|
+
return new TransactionDto().fromJson(jsonValue, options);
|
|
359
|
+
}
|
|
360
|
+
static fromJsonString(jsonString, options) {
|
|
361
|
+
return new TransactionDto().fromJsonString(jsonString, options);
|
|
362
|
+
}
|
|
363
|
+
static equals(a, b) {
|
|
364
|
+
return protobuf_1.proto3.util.equals(TransactionDto, a, b);
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
exports.TransactionDto = TransactionDto;
|
|
368
|
+
class FeeDto extends protobuf_1.Message {
|
|
369
|
+
id = "";
|
|
370
|
+
transactionId = "";
|
|
371
|
+
amount = "";
|
|
372
|
+
currency;
|
|
373
|
+
createdAt = "";
|
|
374
|
+
updatedAt = "";
|
|
375
|
+
constructor(data) {
|
|
376
|
+
super();
|
|
377
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
378
|
+
}
|
|
379
|
+
static runtime = protobuf_1.proto3;
|
|
380
|
+
static typeName = "micro.v1.portfolio.FeeDto";
|
|
381
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
382
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
383
|
+
{ no: 2, name: "transactionId", kind: "scalar", T: 9 },
|
|
384
|
+
{ no: 3, name: "amount", kind: "scalar", T: 9 },
|
|
385
|
+
{ no: 4, name: "currency", kind: "message", T: CurrencyDto },
|
|
386
|
+
{ no: 5, name: "createdAt", kind: "scalar", T: 9 },
|
|
387
|
+
{ no: 6, name: "updatedAt", kind: "scalar", T: 9 },
|
|
388
|
+
]);
|
|
389
|
+
static fromBinary(bytes, options) {
|
|
390
|
+
return new FeeDto().fromBinary(bytes, options);
|
|
391
|
+
}
|
|
392
|
+
static fromJson(jsonValue, options) {
|
|
393
|
+
return new FeeDto().fromJson(jsonValue, options);
|
|
394
|
+
}
|
|
395
|
+
static fromJsonString(jsonString, options) {
|
|
396
|
+
return new FeeDto().fromJsonString(jsonString, options);
|
|
397
|
+
}
|
|
398
|
+
static equals(a, b) {
|
|
399
|
+
return protobuf_1.proto3.util.equals(FeeDto, a, b);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
exports.FeeDto = FeeDto;
|
|
403
|
+
class CurrencyDto extends protobuf_1.Message {
|
|
404
|
+
id = "";
|
|
405
|
+
name = "";
|
|
406
|
+
symbol = "";
|
|
407
|
+
sign = "";
|
|
408
|
+
constructor(data) {
|
|
409
|
+
super();
|
|
410
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
411
|
+
}
|
|
412
|
+
static runtime = protobuf_1.proto3;
|
|
413
|
+
static typeName = "micro.v1.portfolio.CurrencyDto";
|
|
414
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
415
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
416
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 },
|
|
417
|
+
{ no: 3, name: "symbol", kind: "scalar", T: 9 },
|
|
418
|
+
{ no: 4, name: "sign", kind: "scalar", T: 9 },
|
|
419
|
+
]);
|
|
420
|
+
static fromBinary(bytes, options) {
|
|
421
|
+
return new CurrencyDto().fromBinary(bytes, options);
|
|
422
|
+
}
|
|
423
|
+
static fromJson(jsonValue, options) {
|
|
424
|
+
return new CurrencyDto().fromJson(jsonValue, options);
|
|
425
|
+
}
|
|
426
|
+
static fromJsonString(jsonString, options) {
|
|
427
|
+
return new CurrencyDto().fromJsonString(jsonString, options);
|
|
428
|
+
}
|
|
429
|
+
static equals(a, b) {
|
|
430
|
+
return protobuf_1.proto3.util.equals(CurrencyDto, a, b);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
exports.CurrencyDto = CurrencyDto;
|
|
434
|
+
class PortfoliosBundleResponse extends protobuf_1.Message {
|
|
435
|
+
status;
|
|
436
|
+
data = [];
|
|
437
|
+
constructor(data) {
|
|
438
|
+
super();
|
|
439
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
440
|
+
}
|
|
441
|
+
static runtime = protobuf_1.proto3;
|
|
442
|
+
static typeName = "micro.v1.portfolio.PortfoliosBundleResponse";
|
|
443
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
444
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
445
|
+
{ no: 2, name: "data", kind: "message", T: PortfolioBundleDto, repeated: true },
|
|
446
|
+
]);
|
|
447
|
+
static fromBinary(bytes, options) {
|
|
448
|
+
return new PortfoliosBundleResponse().fromBinary(bytes, options);
|
|
449
|
+
}
|
|
450
|
+
static fromJson(jsonValue, options) {
|
|
451
|
+
return new PortfoliosBundleResponse().fromJson(jsonValue, options);
|
|
452
|
+
}
|
|
453
|
+
static fromJsonString(jsonString, options) {
|
|
454
|
+
return new PortfoliosBundleResponse().fromJsonString(jsonString, options);
|
|
455
|
+
}
|
|
456
|
+
static equals(a, b) {
|
|
457
|
+
return protobuf_1.proto3.util.equals(PortfoliosBundleResponse, a, b);
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
exports.PortfoliosBundleResponse = PortfoliosBundleResponse;
|
|
461
|
+
class PortfolioBundleDto extends protobuf_1.Message {
|
|
462
|
+
id = "";
|
|
463
|
+
userId = "";
|
|
464
|
+
name = "";
|
|
465
|
+
isMain = false;
|
|
466
|
+
createdAt = "";
|
|
467
|
+
updatedAt = "";
|
|
468
|
+
portfolioCoins = [];
|
|
469
|
+
constructor(data) {
|
|
470
|
+
super();
|
|
471
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
472
|
+
}
|
|
473
|
+
static runtime = protobuf_1.proto3;
|
|
474
|
+
static typeName = "micro.v1.portfolio.PortfolioBundleDto";
|
|
475
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
476
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
477
|
+
{ no: 2, name: "userId", kind: "scalar", T: 9 },
|
|
478
|
+
{ no: 3, name: "name", kind: "scalar", T: 9 },
|
|
479
|
+
{ no: 4, name: "isMain", kind: "scalar", T: 8 },
|
|
480
|
+
{ no: 5, name: "createdAt", kind: "scalar", T: 9 },
|
|
481
|
+
{ no: 6, name: "updatedAt", kind: "scalar", T: 9 },
|
|
482
|
+
{ no: 7, name: "portfolioCoins", kind: "message", T: PortfolioCoinBundleDto, repeated: true },
|
|
483
|
+
]);
|
|
484
|
+
static fromBinary(bytes, options) {
|
|
485
|
+
return new PortfolioBundleDto().fromBinary(bytes, options);
|
|
486
|
+
}
|
|
487
|
+
static fromJson(jsonValue, options) {
|
|
488
|
+
return new PortfolioBundleDto().fromJson(jsonValue, options);
|
|
489
|
+
}
|
|
490
|
+
static fromJsonString(jsonString, options) {
|
|
491
|
+
return new PortfolioBundleDto().fromJsonString(jsonString, options);
|
|
492
|
+
}
|
|
493
|
+
static equals(a, b) {
|
|
494
|
+
return protobuf_1.proto3.util.equals(PortfolioBundleDto, a, b);
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
exports.PortfolioBundleDto = PortfolioBundleDto;
|
|
498
|
+
class PortfolioCoinBundleDto extends protobuf_1.Message {
|
|
499
|
+
id = "";
|
|
500
|
+
coinId = "";
|
|
501
|
+
name = "";
|
|
502
|
+
symbol = "";
|
|
503
|
+
description;
|
|
504
|
+
price = "";
|
|
505
|
+
change1h = "";
|
|
506
|
+
change24h = "";
|
|
507
|
+
change7d = "";
|
|
508
|
+
volume24h = "";
|
|
509
|
+
marketCap = "";
|
|
510
|
+
portfolioId = "";
|
|
511
|
+
createdAt = "";
|
|
512
|
+
updatedAt = "";
|
|
513
|
+
chartData = [];
|
|
514
|
+
transactions = [];
|
|
515
|
+
constructor(data) {
|
|
516
|
+
super();
|
|
517
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
518
|
+
}
|
|
519
|
+
static runtime = protobuf_1.proto3;
|
|
520
|
+
static typeName = "micro.v1.portfolio.PortfolioCoinBundleDto";
|
|
521
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
522
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
523
|
+
{ no: 2, name: "coinId", kind: "scalar", T: 9 },
|
|
524
|
+
{ no: 3, name: "name", kind: "scalar", T: 9 },
|
|
525
|
+
{ no: 4, name: "symbol", kind: "scalar", T: 9 },
|
|
526
|
+
{ no: 5, name: "description", kind: "scalar", T: 9, opt: true },
|
|
527
|
+
{ no: 6, name: "price", kind: "scalar", T: 9 },
|
|
528
|
+
{ no: 7, name: "change1h", kind: "scalar", T: 9 },
|
|
529
|
+
{ no: 8, name: "change24h", kind: "scalar", T: 9 },
|
|
530
|
+
{ no: 9, name: "change7d", kind: "scalar", T: 9 },
|
|
531
|
+
{ no: 10, name: "volume24h", kind: "scalar", T: 9 },
|
|
532
|
+
{ no: 11, name: "marketCap", kind: "scalar", T: 9 },
|
|
533
|
+
{ no: 12, name: "portfolioId", kind: "scalar", T: 9 },
|
|
534
|
+
{ no: 13, name: "createdAt", kind: "scalar", T: 9 },
|
|
535
|
+
{ no: 14, name: "updatedAt", kind: "scalar", T: 9 },
|
|
536
|
+
{ no: 15, name: "chartData", kind: "message", T: PortfolioCoinChartData, repeated: true },
|
|
537
|
+
{ no: 16, name: "transactions", kind: "message", T: TransactionDto, repeated: true },
|
|
538
|
+
]);
|
|
539
|
+
static fromBinary(bytes, options) {
|
|
540
|
+
return new PortfolioCoinBundleDto().fromBinary(bytes, options);
|
|
541
|
+
}
|
|
542
|
+
static fromJson(jsonValue, options) {
|
|
543
|
+
return new PortfolioCoinBundleDto().fromJson(jsonValue, options);
|
|
544
|
+
}
|
|
545
|
+
static fromJsonString(jsonString, options) {
|
|
546
|
+
return new PortfolioCoinBundleDto().fromJsonString(jsonString, options);
|
|
547
|
+
}
|
|
548
|
+
static equals(a, b) {
|
|
549
|
+
return protobuf_1.proto3.util.equals(PortfolioCoinBundleDto, a, b);
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
exports.PortfolioCoinBundleDto = PortfolioCoinBundleDto;
|
|
553
|
+
class PortfolioCoinChartData extends protobuf_1.Message {
|
|
554
|
+
price = "";
|
|
555
|
+
constructor(data) {
|
|
556
|
+
super();
|
|
557
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
558
|
+
}
|
|
559
|
+
static runtime = protobuf_1.proto3;
|
|
560
|
+
static typeName = "micro.v1.portfolio.PortfolioCoinChartData";
|
|
561
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
562
|
+
{ no: 2, name: "price", kind: "scalar", T: 9 },
|
|
563
|
+
]);
|
|
564
|
+
static fromBinary(bytes, options) {
|
|
565
|
+
return new PortfolioCoinChartData().fromBinary(bytes, options);
|
|
566
|
+
}
|
|
567
|
+
static fromJson(jsonValue, options) {
|
|
568
|
+
return new PortfolioCoinChartData().fromJson(jsonValue, options);
|
|
569
|
+
}
|
|
570
|
+
static fromJsonString(jsonString, options) {
|
|
571
|
+
return new PortfolioCoinChartData().fromJsonString(jsonString, options);
|
|
572
|
+
}
|
|
573
|
+
static equals(a, b) {
|
|
574
|
+
return protobuf_1.proto3.util.equals(PortfolioCoinChartData, a, b);
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
exports.PortfolioCoinChartData = PortfolioCoinChartData;
|
|
578
|
+
class SetMainPortfolioResponse extends protobuf_1.Message {
|
|
579
|
+
status;
|
|
580
|
+
data;
|
|
581
|
+
constructor(data) {
|
|
582
|
+
super();
|
|
583
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
584
|
+
}
|
|
585
|
+
static runtime = protobuf_1.proto3;
|
|
586
|
+
static typeName = "micro.v1.portfolio.SetMainPortfolioResponse";
|
|
587
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
588
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
589
|
+
{ no: 2, name: "data", kind: "message", T: PortfolioDto },
|
|
590
|
+
]);
|
|
591
|
+
static fromBinary(bytes, options) {
|
|
592
|
+
return new SetMainPortfolioResponse().fromBinary(bytes, options);
|
|
593
|
+
}
|
|
594
|
+
static fromJson(jsonValue, options) {
|
|
595
|
+
return new SetMainPortfolioResponse().fromJson(jsonValue, options);
|
|
596
|
+
}
|
|
597
|
+
static fromJsonString(jsonString, options) {
|
|
598
|
+
return new SetMainPortfolioResponse().fromJsonString(jsonString, options);
|
|
599
|
+
}
|
|
600
|
+
static equals(a, b) {
|
|
601
|
+
return protobuf_1.proto3.util.equals(SetMainPortfolioResponse, a, b);
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
exports.SetMainPortfolioResponse = SetMainPortfolioResponse;
|
|
605
|
+
class RenamePortfolioRequest extends protobuf_1.Message {
|
|
606
|
+
id = "";
|
|
607
|
+
name = "";
|
|
608
|
+
constructor(data) {
|
|
609
|
+
super();
|
|
610
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
611
|
+
}
|
|
612
|
+
static runtime = protobuf_1.proto3;
|
|
613
|
+
static typeName = "micro.v1.portfolio.RenamePortfolioRequest";
|
|
614
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
615
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
616
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 },
|
|
617
|
+
]);
|
|
618
|
+
static fromBinary(bytes, options) {
|
|
619
|
+
return new RenamePortfolioRequest().fromBinary(bytes, options);
|
|
620
|
+
}
|
|
621
|
+
static fromJson(jsonValue, options) {
|
|
622
|
+
return new RenamePortfolioRequest().fromJson(jsonValue, options);
|
|
623
|
+
}
|
|
624
|
+
static fromJsonString(jsonString, options) {
|
|
625
|
+
return new RenamePortfolioRequest().fromJsonString(jsonString, options);
|
|
626
|
+
}
|
|
627
|
+
static equals(a, b) {
|
|
628
|
+
return protobuf_1.proto3.util.equals(RenamePortfolioRequest, a, b);
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
exports.RenamePortfolioRequest = RenamePortfolioRequest;
|
|
632
|
+
class RenamePortfolioResponse extends protobuf_1.Message {
|
|
633
|
+
status;
|
|
634
|
+
data;
|
|
635
|
+
constructor(data) {
|
|
636
|
+
super();
|
|
637
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
638
|
+
}
|
|
639
|
+
static runtime = protobuf_1.proto3;
|
|
640
|
+
static typeName = "micro.v1.portfolio.RenamePortfolioResponse";
|
|
641
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
642
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
643
|
+
{ no: 2, name: "data", kind: "message", T: general_pb_js_1.EmptyResponse },
|
|
644
|
+
]);
|
|
645
|
+
static fromBinary(bytes, options) {
|
|
646
|
+
return new RenamePortfolioResponse().fromBinary(bytes, options);
|
|
647
|
+
}
|
|
648
|
+
static fromJson(jsonValue, options) {
|
|
649
|
+
return new RenamePortfolioResponse().fromJson(jsonValue, options);
|
|
650
|
+
}
|
|
651
|
+
static fromJsonString(jsonString, options) {
|
|
652
|
+
return new RenamePortfolioResponse().fromJsonString(jsonString, options);
|
|
653
|
+
}
|
|
654
|
+
static equals(a, b) {
|
|
655
|
+
return protobuf_1.proto3.util.equals(RenamePortfolioResponse, a, b);
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
exports.RenamePortfolioResponse = RenamePortfolioResponse;
|
|
659
|
+
class ResetPortfolioResponse extends protobuf_1.Message {
|
|
660
|
+
status;
|
|
661
|
+
data;
|
|
662
|
+
constructor(data) {
|
|
663
|
+
super();
|
|
664
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
665
|
+
}
|
|
666
|
+
static runtime = protobuf_1.proto3;
|
|
667
|
+
static typeName = "micro.v1.portfolio.ResetPortfolioResponse";
|
|
668
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
669
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
670
|
+
{ no: 2, name: "data", kind: "message", T: general_pb_js_1.EmptyResponse },
|
|
671
|
+
]);
|
|
672
|
+
static fromBinary(bytes, options) {
|
|
673
|
+
return new ResetPortfolioResponse().fromBinary(bytes, options);
|
|
674
|
+
}
|
|
675
|
+
static fromJson(jsonValue, options) {
|
|
676
|
+
return new ResetPortfolioResponse().fromJson(jsonValue, options);
|
|
677
|
+
}
|
|
678
|
+
static fromJsonString(jsonString, options) {
|
|
679
|
+
return new ResetPortfolioResponse().fromJsonString(jsonString, options);
|
|
680
|
+
}
|
|
681
|
+
static equals(a, b) {
|
|
682
|
+
return protobuf_1.proto3.util.equals(ResetPortfolioResponse, a, b);
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
exports.ResetPortfolioResponse = ResetPortfolioResponse;
|
|
686
|
+
class RemovePortfolioResponse extends protobuf_1.Message {
|
|
687
|
+
status;
|
|
688
|
+
data;
|
|
689
|
+
constructor(data) {
|
|
690
|
+
super();
|
|
691
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
692
|
+
}
|
|
693
|
+
static runtime = protobuf_1.proto3;
|
|
694
|
+
static typeName = "micro.v1.portfolio.RemovePortfolioResponse";
|
|
695
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
696
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
697
|
+
{ no: 2, name: "data", kind: "message", T: general_pb_js_1.EmptyResponse },
|
|
698
|
+
]);
|
|
699
|
+
static fromBinary(bytes, options) {
|
|
700
|
+
return new RemovePortfolioResponse().fromBinary(bytes, options);
|
|
701
|
+
}
|
|
702
|
+
static fromJson(jsonValue, options) {
|
|
703
|
+
return new RemovePortfolioResponse().fromJson(jsonValue, options);
|
|
704
|
+
}
|
|
705
|
+
static fromJsonString(jsonString, options) {
|
|
706
|
+
return new RemovePortfolioResponse().fromJsonString(jsonString, options);
|
|
707
|
+
}
|
|
708
|
+
static equals(a, b) {
|
|
709
|
+
return protobuf_1.proto3.util.equals(RemovePortfolioResponse, a, b);
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
exports.RemovePortfolioResponse = RemovePortfolioResponse;
|
|
713
|
+
class AddCoinListRequest extends protobuf_1.Message {
|
|
714
|
+
portfolioId = "";
|
|
715
|
+
coinIds = [];
|
|
716
|
+
constructor(data) {
|
|
717
|
+
super();
|
|
718
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
719
|
+
}
|
|
720
|
+
static runtime = protobuf_1.proto3;
|
|
721
|
+
static typeName = "micro.v1.portfolio.AddCoinListRequest";
|
|
722
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
723
|
+
{ no: 1, name: "portfolioId", kind: "scalar", T: 9 },
|
|
724
|
+
{ no: 2, name: "coinIds", kind: "scalar", T: 9, repeated: true },
|
|
725
|
+
]);
|
|
726
|
+
static fromBinary(bytes, options) {
|
|
727
|
+
return new AddCoinListRequest().fromBinary(bytes, options);
|
|
728
|
+
}
|
|
729
|
+
static fromJson(jsonValue, options) {
|
|
730
|
+
return new AddCoinListRequest().fromJson(jsonValue, options);
|
|
731
|
+
}
|
|
732
|
+
static fromJsonString(jsonString, options) {
|
|
733
|
+
return new AddCoinListRequest().fromJsonString(jsonString, options);
|
|
734
|
+
}
|
|
735
|
+
static equals(a, b) {
|
|
736
|
+
return protobuf_1.proto3.util.equals(AddCoinListRequest, a, b);
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
exports.AddCoinListRequest = AddCoinListRequest;
|
|
740
|
+
class AddCoinListResponse extends protobuf_1.Message {
|
|
741
|
+
status;
|
|
742
|
+
data;
|
|
743
|
+
constructor(data) {
|
|
744
|
+
super();
|
|
745
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
746
|
+
}
|
|
747
|
+
static runtime = protobuf_1.proto3;
|
|
748
|
+
static typeName = "micro.v1.portfolio.AddCoinListResponse";
|
|
749
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
750
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
751
|
+
{ no: 2, name: "data", kind: "message", T: PortfolioBundleDto },
|
|
752
|
+
]);
|
|
753
|
+
static fromBinary(bytes, options) {
|
|
754
|
+
return new AddCoinListResponse().fromBinary(bytes, options);
|
|
755
|
+
}
|
|
756
|
+
static fromJson(jsonValue, options) {
|
|
757
|
+
return new AddCoinListResponse().fromJson(jsonValue, options);
|
|
758
|
+
}
|
|
759
|
+
static fromJsonString(jsonString, options) {
|
|
760
|
+
return new AddCoinListResponse().fromJsonString(jsonString, options);
|
|
761
|
+
}
|
|
762
|
+
static equals(a, b) {
|
|
763
|
+
return protobuf_1.proto3.util.equals(AddCoinListResponse, a, b);
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
exports.AddCoinListResponse = AddCoinListResponse;
|
|
767
|
+
class PortfolioWithCoinIdResponse extends protobuf_1.Message {
|
|
768
|
+
status;
|
|
769
|
+
data;
|
|
770
|
+
constructor(data) {
|
|
771
|
+
super();
|
|
772
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
773
|
+
}
|
|
774
|
+
static runtime = protobuf_1.proto3;
|
|
775
|
+
static typeName = "micro.v1.portfolio.PortfolioWithCoinIdResponse";
|
|
776
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
777
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
778
|
+
{ no: 2, name: "data", kind: "message", T: PortfolioBundleDto },
|
|
779
|
+
]);
|
|
780
|
+
static fromBinary(bytes, options) {
|
|
781
|
+
return new PortfolioWithCoinIdResponse().fromBinary(bytes, options);
|
|
782
|
+
}
|
|
783
|
+
static fromJson(jsonValue, options) {
|
|
784
|
+
return new PortfolioWithCoinIdResponse().fromJson(jsonValue, options);
|
|
785
|
+
}
|
|
786
|
+
static fromJsonString(jsonString, options) {
|
|
787
|
+
return new PortfolioWithCoinIdResponse().fromJsonString(jsonString, options);
|
|
788
|
+
}
|
|
789
|
+
static equals(a, b) {
|
|
790
|
+
return protobuf_1.proto3.util.equals(PortfolioWithCoinIdResponse, a, b);
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
exports.PortfolioWithCoinIdResponse = PortfolioWithCoinIdResponse;
|
|
794
|
+
class DefaultCurrencyResponse extends protobuf_1.Message {
|
|
795
|
+
status;
|
|
796
|
+
data;
|
|
797
|
+
constructor(data) {
|
|
798
|
+
super();
|
|
799
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
800
|
+
}
|
|
801
|
+
static runtime = protobuf_1.proto3;
|
|
802
|
+
static typeName = "micro.v1.portfolio.DefaultCurrencyResponse";
|
|
803
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
804
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
805
|
+
{ no: 2, name: "data", kind: "message", T: CurrencyDto },
|
|
806
|
+
]);
|
|
807
|
+
static fromBinary(bytes, options) {
|
|
808
|
+
return new DefaultCurrencyResponse().fromBinary(bytes, options);
|
|
809
|
+
}
|
|
810
|
+
static fromJson(jsonValue, options) {
|
|
811
|
+
return new DefaultCurrencyResponse().fromJson(jsonValue, options);
|
|
812
|
+
}
|
|
813
|
+
static fromJsonString(jsonString, options) {
|
|
814
|
+
return new DefaultCurrencyResponse().fromJsonString(jsonString, options);
|
|
815
|
+
}
|
|
816
|
+
static equals(a, b) {
|
|
817
|
+
return protobuf_1.proto3.util.equals(DefaultCurrencyResponse, a, b);
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
exports.DefaultCurrencyResponse = DefaultCurrencyResponse;
|