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,139 @@
|
|
|
1
|
+
import { ByIdRequest, EmptyRequest, EmptyResponse, PaginateRequest } from "../general_pb.js";
|
|
2
|
+
import { AddBrowserTokenRequest, CreateNotificationRequest, GetMobileNotificationsPaginationResponse, GetUserMobileNotificationPaginationResponse, GetUserMobileNotificationRequest, GetUserNotificationPreferencesRequest, GetUserNotificationPreferencesResponse, NotificationPaginationResponse, RemoveDeviceTokenRequest, SaveDeviceTokenRequest, SaveMobileNotificationRequest, SaveUserNotificationPreferencesRequest, SendNotificationRequest, SendTestNotificationRequest, UpdateUserPreferencesRequest, UserPreferencesResponse } from "./notification_messages_pb.js";
|
|
3
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
4
|
+
import { SendContactMessageRequest, SendForgotPasswordRequest, SendUserVerificationRequest, SendWelcomeRequest } from "./mail_messages_pb.js";
|
|
5
|
+
export declare const PNotificationService: {
|
|
6
|
+
readonly typeName: "micro.v1.notification.PNotificationService";
|
|
7
|
+
readonly methods: {
|
|
8
|
+
readonly getUserPreferences: {
|
|
9
|
+
readonly name: "GetUserPreferences";
|
|
10
|
+
readonly I: typeof EmptyRequest;
|
|
11
|
+
readonly O: typeof UserPreferencesResponse;
|
|
12
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
13
|
+
};
|
|
14
|
+
readonly updateUserPreferences: {
|
|
15
|
+
readonly name: "UpdateUserPreferences";
|
|
16
|
+
readonly I: typeof UpdateUserPreferencesRequest;
|
|
17
|
+
readonly O: typeof UserPreferencesResponse;
|
|
18
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
19
|
+
};
|
|
20
|
+
readonly createNotification: {
|
|
21
|
+
readonly name: "CreateNotification";
|
|
22
|
+
readonly I: typeof CreateNotificationRequest;
|
|
23
|
+
readonly O: typeof EmptyResponse;
|
|
24
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
25
|
+
};
|
|
26
|
+
readonly paginate: {
|
|
27
|
+
readonly name: "Paginate";
|
|
28
|
+
readonly I: typeof PaginateRequest;
|
|
29
|
+
readonly O: typeof NotificationPaginationResponse;
|
|
30
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
31
|
+
};
|
|
32
|
+
readonly addBrowserToken: {
|
|
33
|
+
readonly name: "AddBrowserToken";
|
|
34
|
+
readonly I: typeof AddBrowserTokenRequest;
|
|
35
|
+
readonly O: typeof EmptyResponse;
|
|
36
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
37
|
+
};
|
|
38
|
+
readonly removeUserData: {
|
|
39
|
+
readonly name: "RemoveUserData";
|
|
40
|
+
readonly I: typeof ByIdRequest;
|
|
41
|
+
readonly O: typeof EmptyResponse;
|
|
42
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
43
|
+
};
|
|
44
|
+
readonly saveDeviceToken: {
|
|
45
|
+
readonly name: "SaveDeviceToken";
|
|
46
|
+
readonly I: typeof SaveDeviceTokenRequest;
|
|
47
|
+
readonly O: typeof EmptyResponse;
|
|
48
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
49
|
+
};
|
|
50
|
+
readonly removeDeviceToken: {
|
|
51
|
+
readonly name: "RemoveDeviceToken";
|
|
52
|
+
readonly I: typeof RemoveDeviceTokenRequest;
|
|
53
|
+
readonly O: typeof EmptyResponse;
|
|
54
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
55
|
+
};
|
|
56
|
+
readonly saveUserNotificationPreferences: {
|
|
57
|
+
readonly name: "SaveUserNotificationPreferences";
|
|
58
|
+
readonly I: typeof SaveUserNotificationPreferencesRequest;
|
|
59
|
+
readonly O: typeof EmptyResponse;
|
|
60
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
61
|
+
};
|
|
62
|
+
readonly sendTestNotification: {
|
|
63
|
+
readonly name: "SendTestNotification";
|
|
64
|
+
readonly I: typeof SendTestNotificationRequest;
|
|
65
|
+
readonly O: typeof EmptyResponse;
|
|
66
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
67
|
+
};
|
|
68
|
+
readonly sendNotification: {
|
|
69
|
+
readonly name: "SendNotification";
|
|
70
|
+
readonly I: typeof SendNotificationRequest;
|
|
71
|
+
readonly O: typeof EmptyResponse;
|
|
72
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
73
|
+
};
|
|
74
|
+
readonly getUserNotificationPreferences: {
|
|
75
|
+
readonly name: "GetUserNotificationPreferences";
|
|
76
|
+
readonly I: typeof GetUserNotificationPreferencesRequest;
|
|
77
|
+
readonly O: typeof GetUserNotificationPreferencesResponse;
|
|
78
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
79
|
+
};
|
|
80
|
+
readonly saveMobileNotification: {
|
|
81
|
+
readonly name: "SaveMobileNotification";
|
|
82
|
+
readonly I: typeof SaveMobileNotificationRequest;
|
|
83
|
+
readonly O: typeof EmptyResponse;
|
|
84
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
85
|
+
};
|
|
86
|
+
readonly getUserMobileNotification: {
|
|
87
|
+
readonly name: "GetUserMobileNotification";
|
|
88
|
+
readonly I: typeof GetUserMobileNotificationRequest;
|
|
89
|
+
readonly O: typeof GetUserMobileNotificationPaginationResponse;
|
|
90
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
91
|
+
};
|
|
92
|
+
readonly getMobileNotifications: {
|
|
93
|
+
readonly name: "GetMobileNotifications";
|
|
94
|
+
readonly I: typeof PaginateRequest;
|
|
95
|
+
readonly O: typeof GetMobileNotificationsPaginationResponse;
|
|
96
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
export declare const PNotificationDeleteService: {
|
|
101
|
+
readonly typeName: "micro.v1.notification.PNotificationDeleteService";
|
|
102
|
+
readonly methods: {
|
|
103
|
+
readonly deleteMobileNotification: {
|
|
104
|
+
readonly name: "DeleteMobileNotification";
|
|
105
|
+
readonly I: typeof ByIdRequest;
|
|
106
|
+
readonly O: typeof EmptyResponse;
|
|
107
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
export declare const PNotificationMailService: {
|
|
112
|
+
readonly typeName: "micro.v1.notification.PNotificationMailService";
|
|
113
|
+
readonly methods: {
|
|
114
|
+
readonly sendWelcome: {
|
|
115
|
+
readonly name: "SendWelcome";
|
|
116
|
+
readonly I: typeof SendWelcomeRequest;
|
|
117
|
+
readonly O: typeof EmptyResponse;
|
|
118
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
119
|
+
};
|
|
120
|
+
readonly sendForgotPassword: {
|
|
121
|
+
readonly name: "SendForgotPassword";
|
|
122
|
+
readonly I: typeof SendForgotPasswordRequest;
|
|
123
|
+
readonly O: typeof EmptyResponse;
|
|
124
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
125
|
+
};
|
|
126
|
+
readonly sendUserVerification: {
|
|
127
|
+
readonly name: "SendUserVerification";
|
|
128
|
+
readonly I: typeof SendUserVerificationRequest;
|
|
129
|
+
readonly O: typeof EmptyResponse;
|
|
130
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
131
|
+
};
|
|
132
|
+
readonly sendContactMessage: {
|
|
133
|
+
readonly name: "SendContactMessage";
|
|
134
|
+
readonly I: typeof SendContactMessageRequest;
|
|
135
|
+
readonly O: typeof EmptyResponse;
|
|
136
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PNotificationMailService = exports.PNotificationDeleteService = exports.PNotificationService = void 0;
|
|
4
|
+
const general_pb_js_1 = require("../general_pb.js");
|
|
5
|
+
const notification_messages_pb_js_1 = require("./notification_messages_pb.js");
|
|
6
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
7
|
+
const mail_messages_pb_js_1 = require("./mail_messages_pb.js");
|
|
8
|
+
exports.PNotificationService = {
|
|
9
|
+
typeName: "micro.v1.notification.PNotificationService",
|
|
10
|
+
methods: {
|
|
11
|
+
getUserPreferences: {
|
|
12
|
+
name: "GetUserPreferences",
|
|
13
|
+
I: general_pb_js_1.EmptyRequest,
|
|
14
|
+
O: notification_messages_pb_js_1.UserPreferencesResponse,
|
|
15
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
16
|
+
},
|
|
17
|
+
updateUserPreferences: {
|
|
18
|
+
name: "UpdateUserPreferences",
|
|
19
|
+
I: notification_messages_pb_js_1.UpdateUserPreferencesRequest,
|
|
20
|
+
O: notification_messages_pb_js_1.UserPreferencesResponse,
|
|
21
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
22
|
+
},
|
|
23
|
+
createNotification: {
|
|
24
|
+
name: "CreateNotification",
|
|
25
|
+
I: notification_messages_pb_js_1.CreateNotificationRequest,
|
|
26
|
+
O: general_pb_js_1.EmptyResponse,
|
|
27
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
28
|
+
},
|
|
29
|
+
paginate: {
|
|
30
|
+
name: "Paginate",
|
|
31
|
+
I: general_pb_js_1.PaginateRequest,
|
|
32
|
+
O: notification_messages_pb_js_1.NotificationPaginationResponse,
|
|
33
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
34
|
+
},
|
|
35
|
+
addBrowserToken: {
|
|
36
|
+
name: "AddBrowserToken",
|
|
37
|
+
I: notification_messages_pb_js_1.AddBrowserTokenRequest,
|
|
38
|
+
O: general_pb_js_1.EmptyResponse,
|
|
39
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
40
|
+
},
|
|
41
|
+
removeUserData: {
|
|
42
|
+
name: "RemoveUserData",
|
|
43
|
+
I: general_pb_js_1.ByIdRequest,
|
|
44
|
+
O: general_pb_js_1.EmptyResponse,
|
|
45
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
46
|
+
},
|
|
47
|
+
saveDeviceToken: {
|
|
48
|
+
name: "SaveDeviceToken",
|
|
49
|
+
I: notification_messages_pb_js_1.SaveDeviceTokenRequest,
|
|
50
|
+
O: general_pb_js_1.EmptyResponse,
|
|
51
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
52
|
+
},
|
|
53
|
+
removeDeviceToken: {
|
|
54
|
+
name: "RemoveDeviceToken",
|
|
55
|
+
I: notification_messages_pb_js_1.RemoveDeviceTokenRequest,
|
|
56
|
+
O: general_pb_js_1.EmptyResponse,
|
|
57
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
58
|
+
},
|
|
59
|
+
saveUserNotificationPreferences: {
|
|
60
|
+
name: "SaveUserNotificationPreferences",
|
|
61
|
+
I: notification_messages_pb_js_1.SaveUserNotificationPreferencesRequest,
|
|
62
|
+
O: general_pb_js_1.EmptyResponse,
|
|
63
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
64
|
+
},
|
|
65
|
+
sendTestNotification: {
|
|
66
|
+
name: "SendTestNotification",
|
|
67
|
+
I: notification_messages_pb_js_1.SendTestNotificationRequest,
|
|
68
|
+
O: general_pb_js_1.EmptyResponse,
|
|
69
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
70
|
+
},
|
|
71
|
+
sendNotification: {
|
|
72
|
+
name: "SendNotification",
|
|
73
|
+
I: notification_messages_pb_js_1.SendNotificationRequest,
|
|
74
|
+
O: general_pb_js_1.EmptyResponse,
|
|
75
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
76
|
+
},
|
|
77
|
+
getUserNotificationPreferences: {
|
|
78
|
+
name: "GetUserNotificationPreferences",
|
|
79
|
+
I: notification_messages_pb_js_1.GetUserNotificationPreferencesRequest,
|
|
80
|
+
O: notification_messages_pb_js_1.GetUserNotificationPreferencesResponse,
|
|
81
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
82
|
+
},
|
|
83
|
+
saveMobileNotification: {
|
|
84
|
+
name: "SaveMobileNotification",
|
|
85
|
+
I: notification_messages_pb_js_1.SaveMobileNotificationRequest,
|
|
86
|
+
O: general_pb_js_1.EmptyResponse,
|
|
87
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
88
|
+
},
|
|
89
|
+
getUserMobileNotification: {
|
|
90
|
+
name: "GetUserMobileNotification",
|
|
91
|
+
I: notification_messages_pb_js_1.GetUserMobileNotificationRequest,
|
|
92
|
+
O: notification_messages_pb_js_1.GetUserMobileNotificationPaginationResponse,
|
|
93
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
94
|
+
},
|
|
95
|
+
getMobileNotifications: {
|
|
96
|
+
name: "GetMobileNotifications",
|
|
97
|
+
I: general_pb_js_1.PaginateRequest,
|
|
98
|
+
O: notification_messages_pb_js_1.GetMobileNotificationsPaginationResponse,
|
|
99
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
100
|
+
},
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
exports.PNotificationDeleteService = {
|
|
104
|
+
typeName: "micro.v1.notification.PNotificationDeleteService",
|
|
105
|
+
methods: {
|
|
106
|
+
deleteMobileNotification: {
|
|
107
|
+
name: "DeleteMobileNotification",
|
|
108
|
+
I: general_pb_js_1.ByIdRequest,
|
|
109
|
+
O: general_pb_js_1.EmptyResponse,
|
|
110
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
111
|
+
},
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
exports.PNotificationMailService = {
|
|
115
|
+
typeName: "micro.v1.notification.PNotificationMailService",
|
|
116
|
+
methods: {
|
|
117
|
+
sendWelcome: {
|
|
118
|
+
name: "SendWelcome",
|
|
119
|
+
I: mail_messages_pb_js_1.SendWelcomeRequest,
|
|
120
|
+
O: general_pb_js_1.EmptyResponse,
|
|
121
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
122
|
+
},
|
|
123
|
+
sendForgotPassword: {
|
|
124
|
+
name: "SendForgotPassword",
|
|
125
|
+
I: mail_messages_pb_js_1.SendForgotPasswordRequest,
|
|
126
|
+
O: general_pb_js_1.EmptyResponse,
|
|
127
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
128
|
+
},
|
|
129
|
+
sendUserVerification: {
|
|
130
|
+
name: "SendUserVerification",
|
|
131
|
+
I: mail_messages_pb_js_1.SendUserVerificationRequest,
|
|
132
|
+
O: general_pb_js_1.EmptyResponse,
|
|
133
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
134
|
+
},
|
|
135
|
+
sendContactMessage: {
|
|
136
|
+
name: "SendContactMessage",
|
|
137
|
+
I: mail_messages_pb_js_1.SendContactMessageRequest,
|
|
138
|
+
O: general_pb_js_1.EmptyResponse,
|
|
139
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
140
|
+
},
|
|
141
|
+
}
|
|
142
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { Metadata } from "@grpc/grpc-js";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { ByIdRequest, EmptyRequest, EmptyResponse, PaginateRequest } from "../general_nest";
|
|
4
|
+
import { SendContactMessageRequest, SendForgotPasswordRequest, SendUserVerificationRequest, SendWelcomeRequest } from "./mail_messages_nest";
|
|
5
|
+
import { AddBrowserTokenRequest, CreateNotificationRequest, GetMobileNotificationsPaginationResponse, GetUserMobileNotificationPaginationResponse, GetUserMobileNotificationRequest, GetUserNotificationPreferencesRequest, GetUserNotificationPreferencesResponse, NotificationPaginationResponse, RemoveDeviceTokenRequest, SaveDeviceTokenRequest, SaveMobileNotificationRequest, SaveUserNotificationPreferencesRequest, SendNotificationRequest, SendTestNotificationRequest, UpdateUserPreferencesRequest, UserPreferencesResponse } from "./notification_messages_nest";
|
|
6
|
+
export declare const protobufPackage = "micro.v1.notification";
|
|
7
|
+
export declare const MICRO_V1_NOTIFICATION_PACKAGE_NAME = "micro.v1.notification";
|
|
8
|
+
export interface PNotificationServiceClient {
|
|
9
|
+
getUserPreferences(request: EmptyRequest, metadata?: Metadata): Observable<UserPreferencesResponse>;
|
|
10
|
+
updateUserPreferences(request: UpdateUserPreferencesRequest, metadata?: Metadata): Observable<UserPreferencesResponse>;
|
|
11
|
+
createNotification(request: CreateNotificationRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
12
|
+
paginate(request: PaginateRequest, metadata?: Metadata): Observable<NotificationPaginationResponse>;
|
|
13
|
+
addBrowserToken(request: AddBrowserTokenRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
14
|
+
removeUserData(request: ByIdRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
15
|
+
saveDeviceToken(request: SaveDeviceTokenRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
16
|
+
removeDeviceToken(request: RemoveDeviceTokenRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
17
|
+
saveUserNotificationPreferences(request: SaveUserNotificationPreferencesRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
18
|
+
sendTestNotification(request: SendTestNotificationRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
19
|
+
sendNotification(request: SendNotificationRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
20
|
+
getUserNotificationPreferences(request: GetUserNotificationPreferencesRequest, metadata?: Metadata): Observable<GetUserNotificationPreferencesResponse>;
|
|
21
|
+
saveMobileNotification(request: SaveMobileNotificationRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
22
|
+
getUserMobileNotification(request: GetUserMobileNotificationRequest, metadata?: Metadata): Observable<GetUserMobileNotificationPaginationResponse>;
|
|
23
|
+
getMobileNotifications(request: PaginateRequest, metadata?: Metadata): Observable<GetMobileNotificationsPaginationResponse>;
|
|
24
|
+
}
|
|
25
|
+
export interface PNotificationServiceController {
|
|
26
|
+
getUserPreferences(request: EmptyRequest, metadata?: Metadata): Observable<UserPreferencesResponse>;
|
|
27
|
+
updateUserPreferences(request: UpdateUserPreferencesRequest, metadata?: Metadata): Observable<UserPreferencesResponse>;
|
|
28
|
+
createNotification(request: CreateNotificationRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
29
|
+
paginate(request: PaginateRequest, metadata?: Metadata): Observable<NotificationPaginationResponse>;
|
|
30
|
+
addBrowserToken(request: AddBrowserTokenRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
31
|
+
removeUserData(request: ByIdRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
32
|
+
saveDeviceToken(request: SaveDeviceTokenRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
33
|
+
removeDeviceToken(request: RemoveDeviceTokenRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
34
|
+
saveUserNotificationPreferences(request: SaveUserNotificationPreferencesRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
35
|
+
sendTestNotification(request: SendTestNotificationRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
36
|
+
sendNotification(request: SendNotificationRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
37
|
+
getUserNotificationPreferences(request: GetUserNotificationPreferencesRequest, metadata?: Metadata): Observable<GetUserNotificationPreferencesResponse>;
|
|
38
|
+
saveMobileNotification(request: SaveMobileNotificationRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
39
|
+
getUserMobileNotification(request: GetUserMobileNotificationRequest, metadata?: Metadata): Observable<GetUserMobileNotificationPaginationResponse>;
|
|
40
|
+
getMobileNotifications(request: PaginateRequest, metadata?: Metadata): Observable<GetMobileNotificationsPaginationResponse>;
|
|
41
|
+
}
|
|
42
|
+
export declare function PNotificationServiceControllerMethods(): (constructor: Function) => void;
|
|
43
|
+
export declare const P_NOTIFICATION_SERVICE_NAME = "PNotificationService";
|
|
44
|
+
export interface PNotificationDeleteServiceClient {
|
|
45
|
+
deleteMobileNotification(request: ByIdRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
46
|
+
}
|
|
47
|
+
export interface PNotificationDeleteServiceController {
|
|
48
|
+
deleteMobileNotification(request: ByIdRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
49
|
+
}
|
|
50
|
+
export declare function PNotificationDeleteServiceControllerMethods(): (constructor: Function) => void;
|
|
51
|
+
export declare const P_NOTIFICATION_DELETE_SERVICE_NAME = "PNotificationDeleteService";
|
|
52
|
+
export interface PNotificationMailServiceClient {
|
|
53
|
+
sendWelcome(request: SendWelcomeRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
54
|
+
sendForgotPassword(request: SendForgotPasswordRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
55
|
+
sendUserVerification(request: SendUserVerificationRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
56
|
+
sendContactMessage(request: SendContactMessageRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
57
|
+
}
|
|
58
|
+
export interface PNotificationMailServiceController {
|
|
59
|
+
sendWelcome(request: SendWelcomeRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
60
|
+
sendForgotPassword(request: SendForgotPasswordRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
61
|
+
sendUserVerification(request: SendUserVerificationRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
62
|
+
sendContactMessage(request: SendContactMessageRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
63
|
+
}
|
|
64
|
+
export declare function PNotificationMailServiceControllerMethods(): (constructor: Function) => void;
|
|
65
|
+
export declare const P_NOTIFICATION_MAIL_SERVICE_NAME = "PNotificationMailService";
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.P_NOTIFICATION_MAIL_SERVICE_NAME = exports.P_NOTIFICATION_DELETE_SERVICE_NAME = exports.P_NOTIFICATION_SERVICE_NAME = exports.MICRO_V1_NOTIFICATION_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
4
|
+
exports.PNotificationServiceControllerMethods = PNotificationServiceControllerMethods;
|
|
5
|
+
exports.PNotificationDeleteServiceControllerMethods = PNotificationDeleteServiceControllerMethods;
|
|
6
|
+
exports.PNotificationMailServiceControllerMethods = PNotificationMailServiceControllerMethods;
|
|
7
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
8
|
+
exports.protobufPackage = "micro.v1.notification";
|
|
9
|
+
exports.MICRO_V1_NOTIFICATION_PACKAGE_NAME = "micro.v1.notification";
|
|
10
|
+
function PNotificationServiceControllerMethods() {
|
|
11
|
+
return function (constructor) {
|
|
12
|
+
const grpcMethods = [
|
|
13
|
+
"getUserPreferences",
|
|
14
|
+
"updateUserPreferences",
|
|
15
|
+
"createNotification",
|
|
16
|
+
"paginate",
|
|
17
|
+
"addBrowserToken",
|
|
18
|
+
"removeUserData",
|
|
19
|
+
"saveDeviceToken",
|
|
20
|
+
"removeDeviceToken",
|
|
21
|
+
"saveUserNotificationPreferences",
|
|
22
|
+
"sendTestNotification",
|
|
23
|
+
"sendNotification",
|
|
24
|
+
"getUserNotificationPreferences",
|
|
25
|
+
"saveMobileNotification",
|
|
26
|
+
"getUserMobileNotification",
|
|
27
|
+
"getMobileNotifications",
|
|
28
|
+
];
|
|
29
|
+
for (const method of grpcMethods) {
|
|
30
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
31
|
+
(0, microservices_1.GrpcMethod)("PNotificationService", method)(constructor.prototype[method], method, descriptor);
|
|
32
|
+
}
|
|
33
|
+
const grpcStreamMethods = [];
|
|
34
|
+
for (const method of grpcStreamMethods) {
|
|
35
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
36
|
+
(0, microservices_1.GrpcStreamMethod)("PNotificationService", method)(constructor.prototype[method], method, descriptor);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.P_NOTIFICATION_SERVICE_NAME = "PNotificationService";
|
|
41
|
+
function PNotificationDeleteServiceControllerMethods() {
|
|
42
|
+
return function (constructor) {
|
|
43
|
+
const grpcMethods = ["deleteMobileNotification"];
|
|
44
|
+
for (const method of grpcMethods) {
|
|
45
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
46
|
+
(0, microservices_1.GrpcMethod)("PNotificationDeleteService", method)(constructor.prototype[method], method, descriptor);
|
|
47
|
+
}
|
|
48
|
+
const grpcStreamMethods = [];
|
|
49
|
+
for (const method of grpcStreamMethods) {
|
|
50
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
51
|
+
(0, microservices_1.GrpcStreamMethod)("PNotificationDeleteService", method)(constructor.prototype[method], method, descriptor);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.P_NOTIFICATION_DELETE_SERVICE_NAME = "PNotificationDeleteService";
|
|
56
|
+
function PNotificationMailServiceControllerMethods() {
|
|
57
|
+
return function (constructor) {
|
|
58
|
+
const grpcMethods = ["sendWelcome", "sendForgotPassword", "sendUserVerification", "sendContactMessage"];
|
|
59
|
+
for (const method of grpcMethods) {
|
|
60
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
61
|
+
(0, microservices_1.GrpcMethod)("PNotificationMailService", method)(constructor.prototype[method], method, descriptor);
|
|
62
|
+
}
|
|
63
|
+
const grpcStreamMethods = [];
|
|
64
|
+
for (const method of grpcStreamMethods) {
|
|
65
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
66
|
+
(0, microservices_1.GrpcStreamMethod)("PNotificationMailService", method)(constructor.prototype[method], method, descriptor);
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
exports.P_NOTIFICATION_MAIL_SERVICE_NAME = "PNotificationMailService";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * as portfolio_coin_messages_nest from './portfolio_coin_messages_nest';
|
|
2
|
+
export * as portfolio_coin_trasaction_messages_nest from './portfolio_coin_trasaction_messages_nest';
|
|
3
|
+
export * as portfolio_messages_nest from './portfolio_messages_nest';
|
|
4
|
+
export * as services_connect from './services_connect';
|
|
5
|
+
export * as services_nest from './services_nest';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.services_nest = exports.services_connect = exports.portfolio_messages_nest = exports.portfolio_coin_trasaction_messages_nest = exports.portfolio_coin_messages_nest = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
exports.portfolio_coin_messages_nest = tslib_1.__importStar(require("./portfolio_coin_messages_nest"));
|
|
6
|
+
exports.portfolio_coin_trasaction_messages_nest = tslib_1.__importStar(require("./portfolio_coin_trasaction_messages_nest"));
|
|
7
|
+
exports.portfolio_messages_nest = tslib_1.__importStar(require("./portfolio_messages_nest"));
|
|
8
|
+
exports.services_connect = tslib_1.__importStar(require("./services_connect"));
|
|
9
|
+
exports.services_nest = tslib_1.__importStar(require("./services_nest"));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EmptyResponse, PaginateRequest, PaginationMetaResult, ResponseStatus } from "../general_nest";
|
|
2
|
+
import { PortfolioCoinDto } from "./portfolio_messages_nest";
|
|
3
|
+
export declare const protobufPackage = "micro.v1.portfolio";
|
|
4
|
+
export interface PortfolioCoinPaginateRequest {
|
|
5
|
+
pagination: PaginateRequest | undefined;
|
|
6
|
+
portfolioId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface PortfolioCoinPaginateResponse {
|
|
9
|
+
status: ResponseStatus | undefined;
|
|
10
|
+
meta: PaginationMetaResult | undefined;
|
|
11
|
+
data: PortfolioCoinDto[];
|
|
12
|
+
}
|
|
13
|
+
export interface RemovePortfolioCoinResponse {
|
|
14
|
+
status: ResponseStatus | undefined;
|
|
15
|
+
data: EmptyResponse | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare const MICRO_V1_PORTFOLIO_PACKAGE_NAME = "micro.v1.portfolio";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MICRO_V1_PORTFOLIO_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
4
|
+
exports.protobufPackage = "micro.v1.portfolio";
|
|
5
|
+
exports.MICRO_V1_PORTFOLIO_PACKAGE_NAME = "micro.v1.portfolio";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
import { EmptyResponse, PaginateRequest, PaginationMetaResult, ResponseStatus } from "../general_pb.js";
|
|
4
|
+
import { PortfolioCoinDto } from "./portfolio_messages_pb.js";
|
|
5
|
+
export declare class PortfolioCoinPaginateRequest extends Message<PortfolioCoinPaginateRequest> {
|
|
6
|
+
pagination?: PaginateRequest;
|
|
7
|
+
portfolioId: string;
|
|
8
|
+
constructor(data?: PartialMessage<PortfolioCoinPaginateRequest>);
|
|
9
|
+
static readonly runtime: typeof proto3;
|
|
10
|
+
static readonly typeName = "micro.v1.portfolio.PortfolioCoinPaginateRequest";
|
|
11
|
+
static readonly fields: FieldList;
|
|
12
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PortfolioCoinPaginateRequest;
|
|
13
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PortfolioCoinPaginateRequest;
|
|
14
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PortfolioCoinPaginateRequest;
|
|
15
|
+
static equals(a: PortfolioCoinPaginateRequest | PlainMessage<PortfolioCoinPaginateRequest> | undefined, b: PortfolioCoinPaginateRequest | PlainMessage<PortfolioCoinPaginateRequest> | undefined): boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare class PortfolioCoinPaginateResponse extends Message<PortfolioCoinPaginateResponse> {
|
|
18
|
+
status?: ResponseStatus;
|
|
19
|
+
meta?: PaginationMetaResult;
|
|
20
|
+
data: PortfolioCoinDto[];
|
|
21
|
+
constructor(data?: PartialMessage<PortfolioCoinPaginateResponse>);
|
|
22
|
+
static readonly runtime: typeof proto3;
|
|
23
|
+
static readonly typeName = "micro.v1.portfolio.PortfolioCoinPaginateResponse";
|
|
24
|
+
static readonly fields: FieldList;
|
|
25
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PortfolioCoinPaginateResponse;
|
|
26
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PortfolioCoinPaginateResponse;
|
|
27
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PortfolioCoinPaginateResponse;
|
|
28
|
+
static equals(a: PortfolioCoinPaginateResponse | PlainMessage<PortfolioCoinPaginateResponse> | undefined, b: PortfolioCoinPaginateResponse | PlainMessage<PortfolioCoinPaginateResponse> | undefined): boolean;
|
|
29
|
+
}
|
|
30
|
+
export declare class RemovePortfolioCoinResponse extends Message<RemovePortfolioCoinResponse> {
|
|
31
|
+
status?: ResponseStatus;
|
|
32
|
+
data?: EmptyResponse;
|
|
33
|
+
constructor(data?: PartialMessage<RemovePortfolioCoinResponse>);
|
|
34
|
+
static readonly runtime: typeof proto3;
|
|
35
|
+
static readonly typeName = "micro.v1.portfolio.RemovePortfolioCoinResponse";
|
|
36
|
+
static readonly fields: FieldList;
|
|
37
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemovePortfolioCoinResponse;
|
|
38
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemovePortfolioCoinResponse;
|
|
39
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemovePortfolioCoinResponse;
|
|
40
|
+
static equals(a: RemovePortfolioCoinResponse | PlainMessage<RemovePortfolioCoinResponse> | undefined, b: RemovePortfolioCoinResponse | PlainMessage<RemovePortfolioCoinResponse> | undefined): boolean;
|
|
41
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RemovePortfolioCoinResponse = exports.PortfolioCoinPaginateResponse = exports.PortfolioCoinPaginateRequest = void 0;
|
|
4
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
5
|
+
const general_pb_js_1 = require("../general_pb.js");
|
|
6
|
+
const portfolio_messages_pb_js_1 = require("./portfolio_messages_pb.js");
|
|
7
|
+
class PortfolioCoinPaginateRequest extends protobuf_1.Message {
|
|
8
|
+
pagination;
|
|
9
|
+
portfolioId = "";
|
|
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.PortfolioCoinPaginateRequest";
|
|
16
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17
|
+
{ no: 1, name: "pagination", kind: "message", T: general_pb_js_1.PaginateRequest },
|
|
18
|
+
{ no: 2, name: "portfolioId", kind: "scalar", T: 9 },
|
|
19
|
+
]);
|
|
20
|
+
static fromBinary(bytes, options) {
|
|
21
|
+
return new PortfolioCoinPaginateRequest().fromBinary(bytes, options);
|
|
22
|
+
}
|
|
23
|
+
static fromJson(jsonValue, options) {
|
|
24
|
+
return new PortfolioCoinPaginateRequest().fromJson(jsonValue, options);
|
|
25
|
+
}
|
|
26
|
+
static fromJsonString(jsonString, options) {
|
|
27
|
+
return new PortfolioCoinPaginateRequest().fromJsonString(jsonString, options);
|
|
28
|
+
}
|
|
29
|
+
static equals(a, b) {
|
|
30
|
+
return protobuf_1.proto3.util.equals(PortfolioCoinPaginateRequest, a, b);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.PortfolioCoinPaginateRequest = PortfolioCoinPaginateRequest;
|
|
34
|
+
class PortfolioCoinPaginateResponse extends protobuf_1.Message {
|
|
35
|
+
status;
|
|
36
|
+
meta;
|
|
37
|
+
data = [];
|
|
38
|
+
constructor(data) {
|
|
39
|
+
super();
|
|
40
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
41
|
+
}
|
|
42
|
+
static runtime = protobuf_1.proto3;
|
|
43
|
+
static typeName = "micro.v1.portfolio.PortfolioCoinPaginateResponse";
|
|
44
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
45
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
46
|
+
{ no: 2, name: "meta", kind: "message", T: general_pb_js_1.PaginationMetaResult },
|
|
47
|
+
{ no: 3, name: "data", kind: "message", T: portfolio_messages_pb_js_1.PortfolioCoinDto, repeated: true },
|
|
48
|
+
]);
|
|
49
|
+
static fromBinary(bytes, options) {
|
|
50
|
+
return new PortfolioCoinPaginateResponse().fromBinary(bytes, options);
|
|
51
|
+
}
|
|
52
|
+
static fromJson(jsonValue, options) {
|
|
53
|
+
return new PortfolioCoinPaginateResponse().fromJson(jsonValue, options);
|
|
54
|
+
}
|
|
55
|
+
static fromJsonString(jsonString, options) {
|
|
56
|
+
return new PortfolioCoinPaginateResponse().fromJsonString(jsonString, options);
|
|
57
|
+
}
|
|
58
|
+
static equals(a, b) {
|
|
59
|
+
return protobuf_1.proto3.util.equals(PortfolioCoinPaginateResponse, a, b);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.PortfolioCoinPaginateResponse = PortfolioCoinPaginateResponse;
|
|
63
|
+
class RemovePortfolioCoinResponse extends protobuf_1.Message {
|
|
64
|
+
status;
|
|
65
|
+
data;
|
|
66
|
+
constructor(data) {
|
|
67
|
+
super();
|
|
68
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
69
|
+
}
|
|
70
|
+
static runtime = protobuf_1.proto3;
|
|
71
|
+
static typeName = "micro.v1.portfolio.RemovePortfolioCoinResponse";
|
|
72
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
73
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
74
|
+
{ no: 2, name: "data", kind: "message", T: general_pb_js_1.EmptyResponse },
|
|
75
|
+
]);
|
|
76
|
+
static fromBinary(bytes, options) {
|
|
77
|
+
return new RemovePortfolioCoinResponse().fromBinary(bytes, options);
|
|
78
|
+
}
|
|
79
|
+
static fromJson(jsonValue, options) {
|
|
80
|
+
return new RemovePortfolioCoinResponse().fromJson(jsonValue, options);
|
|
81
|
+
}
|
|
82
|
+
static fromJsonString(jsonString, options) {
|
|
83
|
+
return new RemovePortfolioCoinResponse().fromJsonString(jsonString, options);
|
|
84
|
+
}
|
|
85
|
+
static equals(a, b) {
|
|
86
|
+
return protobuf_1.proto3.util.equals(RemovePortfolioCoinResponse, a, b);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.RemovePortfolioCoinResponse = RemovePortfolioCoinResponse;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EmptyResponse, ResponseStatus } from "../general_nest";
|
|
2
|
+
import { TransactionDto } from "./portfolio_messages_nest";
|
|
3
|
+
export declare const protobufPackage = "micro.v1.portfolio";
|
|
4
|
+
export interface PortfolioCoinTransactionResponse {
|
|
5
|
+
status: ResponseStatus | undefined;
|
|
6
|
+
data: TransactionDto | undefined;
|
|
7
|
+
}
|
|
8
|
+
export interface AddPortfolioCoinTransactionRequest {
|
|
9
|
+
portfolioCoinId: string;
|
|
10
|
+
price: string;
|
|
11
|
+
amount: string;
|
|
12
|
+
type: string;
|
|
13
|
+
timestamp: string;
|
|
14
|
+
currencyId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface AddPortfolioCoinTransactionResponse {
|
|
17
|
+
status: ResponseStatus | undefined;
|
|
18
|
+
data: TransactionDto | undefined;
|
|
19
|
+
}
|
|
20
|
+
export interface DeleteTransactionResponse {
|
|
21
|
+
status: ResponseStatus | undefined;
|
|
22
|
+
data: EmptyResponse | undefined;
|
|
23
|
+
}
|
|
24
|
+
export interface UpdateTransactionRequest {
|
|
25
|
+
id: string;
|
|
26
|
+
price: string;
|
|
27
|
+
amount: string;
|
|
28
|
+
timestamp: string;
|
|
29
|
+
}
|
|
30
|
+
export interface UpdateTransactionResponse {
|
|
31
|
+
status: ResponseStatus | undefined;
|
|
32
|
+
data: TransactionDto | undefined;
|
|
33
|
+
}
|
|
34
|
+
export declare const MICRO_V1_PORTFOLIO_PACKAGE_NAME = "micro.v1.portfolio";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MICRO_V1_PORTFOLIO_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
4
|
+
exports.protobufPackage = "micro.v1.portfolio";
|
|
5
|
+
exports.MICRO_V1_PORTFOLIO_PACKAGE_NAME = "micro.v1.portfolio";
|