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