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