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,1264 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReferralDetails = exports.ReferralDetailsDto = exports.ReferralDetailsResponse = exports.ReferralUidResponse = exports.ReferralUidRequest = exports.ContentOrderUpdate = exports.BulkUpdateContentOrderRequest = exports.ContentListResponse = exports.ContentSingleResponse = exports.ContentListRequest = exports.ContentUpdateRequest = exports.ContentCreateRequest = exports.ContentDto = exports.LessonOrderUpdate = exports.BulkUpdateLessonOrderRequest = exports.LessonListResponse = exports.LessonSingleResponse = exports.LessonListRequest = exports.LessonUpdateRequest = exports.LessonCreateRequest = exports.CourseOrderUpdate = exports.BulkUpdateCourseOrderRequest = exports.CourseTreeResponse = exports.CourseListResponse = exports.CourseSingleResponse = exports.CourseTreeRequest = exports.CourseListRequest = exports.CourseUpdateRequest = exports.CourseCreateRequest = exports.EducationArchiveRequest = exports.EducationPublishRequest = exports.EducationListResponse = exports.EducationSingleResponse = exports.EducationListRequest = exports.EducationUpdateRequest = exports.EducationCreateRequest = exports.LessonDto = exports.CourseDto = exports.EducationDto = void 0;
|
|
4
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
5
|
+
const general_pb_js_1 = require("../general_pb.js");
|
|
6
|
+
class EducationDto extends protobuf_1.Message {
|
|
7
|
+
id = "";
|
|
8
|
+
title = {};
|
|
9
|
+
description = {};
|
|
10
|
+
image;
|
|
11
|
+
introVideoUrl;
|
|
12
|
+
totalDuration;
|
|
13
|
+
totalTopics;
|
|
14
|
+
totalSubTopics;
|
|
15
|
+
language;
|
|
16
|
+
instructorId = "";
|
|
17
|
+
status = "";
|
|
18
|
+
createdAt = "";
|
|
19
|
+
updatedAt;
|
|
20
|
+
publishedAt = "";
|
|
21
|
+
constructor(data) {
|
|
22
|
+
super();
|
|
23
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
24
|
+
}
|
|
25
|
+
static runtime = protobuf_1.proto3;
|
|
26
|
+
static typeName = "micro.v1.education.EducationDto";
|
|
27
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
28
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
29
|
+
{ no: 2, name: "title", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
30
|
+
{ no: 3, name: "description", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
31
|
+
{ no: 4, name: "image", kind: "scalar", T: 9, opt: true },
|
|
32
|
+
{ no: 5, name: "intro_video_url", kind: "scalar", T: 9, opt: true },
|
|
33
|
+
{ no: 6, name: "total_duration", kind: "scalar", T: 5, opt: true },
|
|
34
|
+
{ no: 7, name: "total_topics", kind: "scalar", T: 5, opt: true },
|
|
35
|
+
{ no: 8, name: "total_sub_topics", kind: "scalar", T: 5, opt: true },
|
|
36
|
+
{ no: 9, name: "language", kind: "scalar", T: 9, opt: true },
|
|
37
|
+
{ no: 10, name: "instructor_id", kind: "scalar", T: 9 },
|
|
38
|
+
{ no: 11, name: "status", kind: "scalar", T: 9 },
|
|
39
|
+
{ no: 12, name: "created_at", kind: "scalar", T: 9 },
|
|
40
|
+
{ no: 13, name: "updated_at", kind: "scalar", T: 9, opt: true },
|
|
41
|
+
{ no: 14, name: "publishedAt", kind: "scalar", T: 9 },
|
|
42
|
+
]);
|
|
43
|
+
static fromBinary(bytes, options) {
|
|
44
|
+
return new EducationDto().fromBinary(bytes, options);
|
|
45
|
+
}
|
|
46
|
+
static fromJson(jsonValue, options) {
|
|
47
|
+
return new EducationDto().fromJson(jsonValue, options);
|
|
48
|
+
}
|
|
49
|
+
static fromJsonString(jsonString, options) {
|
|
50
|
+
return new EducationDto().fromJsonString(jsonString, options);
|
|
51
|
+
}
|
|
52
|
+
static equals(a, b) {
|
|
53
|
+
return protobuf_1.proto3.util.equals(EducationDto, a, b);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.EducationDto = EducationDto;
|
|
57
|
+
class CourseDto extends protobuf_1.Message {
|
|
58
|
+
id = "";
|
|
59
|
+
educationId = "";
|
|
60
|
+
parentId;
|
|
61
|
+
title = {};
|
|
62
|
+
description = {};
|
|
63
|
+
duration;
|
|
64
|
+
videoUrl;
|
|
65
|
+
pdfUrl;
|
|
66
|
+
sortOrder = 0;
|
|
67
|
+
status = "";
|
|
68
|
+
createdAt = "";
|
|
69
|
+
updatedAt;
|
|
70
|
+
children = [];
|
|
71
|
+
lessons = [];
|
|
72
|
+
constructor(data) {
|
|
73
|
+
super();
|
|
74
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
75
|
+
}
|
|
76
|
+
static runtime = protobuf_1.proto3;
|
|
77
|
+
static typeName = "micro.v1.education.CourseDto";
|
|
78
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
79
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
80
|
+
{ no: 2, name: "education_id", kind: "scalar", T: 9 },
|
|
81
|
+
{ no: 3, name: "parent_id", kind: "scalar", T: 9, opt: true },
|
|
82
|
+
{ no: 4, name: "title", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
83
|
+
{ no: 5, name: "description", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
84
|
+
{ no: 6, name: "duration", kind: "scalar", T: 5, opt: true },
|
|
85
|
+
{ no: 7, name: "video_url", kind: "scalar", T: 9, opt: true },
|
|
86
|
+
{ no: 8, name: "pdf_url", kind: "scalar", T: 9, opt: true },
|
|
87
|
+
{ no: 9, name: "sort_order", kind: "scalar", T: 5 },
|
|
88
|
+
{ no: 10, name: "status", kind: "scalar", T: 9 },
|
|
89
|
+
{ no: 11, name: "created_at", kind: "scalar", T: 9 },
|
|
90
|
+
{ no: 12, name: "updated_at", kind: "scalar", T: 9, opt: true },
|
|
91
|
+
{ no: 14, name: "children", kind: "message", T: CourseDto, repeated: true },
|
|
92
|
+
{ no: 15, name: "lessons", kind: "message", T: LessonDto, repeated: true },
|
|
93
|
+
]);
|
|
94
|
+
static fromBinary(bytes, options) {
|
|
95
|
+
return new CourseDto().fromBinary(bytes, options);
|
|
96
|
+
}
|
|
97
|
+
static fromJson(jsonValue, options) {
|
|
98
|
+
return new CourseDto().fromJson(jsonValue, options);
|
|
99
|
+
}
|
|
100
|
+
static fromJsonString(jsonString, options) {
|
|
101
|
+
return new CourseDto().fromJsonString(jsonString, options);
|
|
102
|
+
}
|
|
103
|
+
static equals(a, b) {
|
|
104
|
+
return protobuf_1.proto3.util.equals(CourseDto, a, b);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.CourseDto = CourseDto;
|
|
108
|
+
class LessonDto extends protobuf_1.Message {
|
|
109
|
+
id = "";
|
|
110
|
+
courseId = "";
|
|
111
|
+
title = {};
|
|
112
|
+
description = {};
|
|
113
|
+
duration;
|
|
114
|
+
hasVideo = false;
|
|
115
|
+
hasPdf = false;
|
|
116
|
+
sortOrder = 0;
|
|
117
|
+
status = "";
|
|
118
|
+
createdAt = "";
|
|
119
|
+
updatedAt;
|
|
120
|
+
contents = [];
|
|
121
|
+
constructor(data) {
|
|
122
|
+
super();
|
|
123
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
124
|
+
}
|
|
125
|
+
static runtime = protobuf_1.proto3;
|
|
126
|
+
static typeName = "micro.v1.education.LessonDto";
|
|
127
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
128
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
129
|
+
{ no: 2, name: "course_id", kind: "scalar", T: 9 },
|
|
130
|
+
{ no: 3, name: "title", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
131
|
+
{ no: 4, name: "description", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
132
|
+
{ no: 5, name: "duration", kind: "scalar", T: 5, opt: true },
|
|
133
|
+
{ no: 6, name: "has_video", kind: "scalar", T: 8 },
|
|
134
|
+
{ no: 7, name: "has_pdf", kind: "scalar", T: 8 },
|
|
135
|
+
{ no: 8, name: "sort_order", kind: "scalar", T: 5 },
|
|
136
|
+
{ no: 9, name: "status", kind: "scalar", T: 9 },
|
|
137
|
+
{ no: 10, name: "created_at", kind: "scalar", T: 9 },
|
|
138
|
+
{ no: 11, name: "updated_at", kind: "scalar", T: 9, opt: true },
|
|
139
|
+
{ no: 13, name: "contents", kind: "message", T: ContentDto, repeated: true },
|
|
140
|
+
]);
|
|
141
|
+
static fromBinary(bytes, options) {
|
|
142
|
+
return new LessonDto().fromBinary(bytes, options);
|
|
143
|
+
}
|
|
144
|
+
static fromJson(jsonValue, options) {
|
|
145
|
+
return new LessonDto().fromJson(jsonValue, options);
|
|
146
|
+
}
|
|
147
|
+
static fromJsonString(jsonString, options) {
|
|
148
|
+
return new LessonDto().fromJsonString(jsonString, options);
|
|
149
|
+
}
|
|
150
|
+
static equals(a, b) {
|
|
151
|
+
return protobuf_1.proto3.util.equals(LessonDto, a, b);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
exports.LessonDto = LessonDto;
|
|
155
|
+
class EducationCreateRequest extends protobuf_1.Message {
|
|
156
|
+
title = {};
|
|
157
|
+
description = {};
|
|
158
|
+
image;
|
|
159
|
+
introVideoUrl;
|
|
160
|
+
language;
|
|
161
|
+
instructorId;
|
|
162
|
+
status;
|
|
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.education.EducationCreateRequest";
|
|
169
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
170
|
+
{ no: 1, name: "title", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
171
|
+
{ no: 2, name: "description", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
172
|
+
{ no: 3, name: "image", kind: "scalar", T: 9, opt: true },
|
|
173
|
+
{ no: 4, name: "intro_video_url", kind: "scalar", T: 9, opt: true },
|
|
174
|
+
{ no: 5, name: "language", kind: "scalar", T: 9, opt: true },
|
|
175
|
+
{ no: 6, name: "instructor_id", kind: "scalar", T: 9, opt: true },
|
|
176
|
+
{ no: 7, name: "status", kind: "scalar", T: 9, opt: true },
|
|
177
|
+
]);
|
|
178
|
+
static fromBinary(bytes, options) {
|
|
179
|
+
return new EducationCreateRequest().fromBinary(bytes, options);
|
|
180
|
+
}
|
|
181
|
+
static fromJson(jsonValue, options) {
|
|
182
|
+
return new EducationCreateRequest().fromJson(jsonValue, options);
|
|
183
|
+
}
|
|
184
|
+
static fromJsonString(jsonString, options) {
|
|
185
|
+
return new EducationCreateRequest().fromJsonString(jsonString, options);
|
|
186
|
+
}
|
|
187
|
+
static equals(a, b) {
|
|
188
|
+
return protobuf_1.proto3.util.equals(EducationCreateRequest, a, b);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
exports.EducationCreateRequest = EducationCreateRequest;
|
|
192
|
+
class EducationUpdateRequest extends protobuf_1.Message {
|
|
193
|
+
id = "";
|
|
194
|
+
title = {};
|
|
195
|
+
description = {};
|
|
196
|
+
image;
|
|
197
|
+
introVideoUrl;
|
|
198
|
+
language;
|
|
199
|
+
status;
|
|
200
|
+
constructor(data) {
|
|
201
|
+
super();
|
|
202
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
203
|
+
}
|
|
204
|
+
static runtime = protobuf_1.proto3;
|
|
205
|
+
static typeName = "micro.v1.education.EducationUpdateRequest";
|
|
206
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
207
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
208
|
+
{ no: 2, name: "title", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
209
|
+
{ no: 3, name: "description", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
210
|
+
{ no: 4, name: "image", kind: "scalar", T: 9, opt: true },
|
|
211
|
+
{ no: 5, name: "intro_video_url", kind: "scalar", T: 9, opt: true },
|
|
212
|
+
{ no: 6, name: "language", kind: "scalar", T: 9, opt: true },
|
|
213
|
+
{ no: 7, name: "status", kind: "scalar", T: 9, opt: true },
|
|
214
|
+
]);
|
|
215
|
+
static fromBinary(bytes, options) {
|
|
216
|
+
return new EducationUpdateRequest().fromBinary(bytes, options);
|
|
217
|
+
}
|
|
218
|
+
static fromJson(jsonValue, options) {
|
|
219
|
+
return new EducationUpdateRequest().fromJson(jsonValue, options);
|
|
220
|
+
}
|
|
221
|
+
static fromJsonString(jsonString, options) {
|
|
222
|
+
return new EducationUpdateRequest().fromJsonString(jsonString, options);
|
|
223
|
+
}
|
|
224
|
+
static equals(a, b) {
|
|
225
|
+
return protobuf_1.proto3.util.equals(EducationUpdateRequest, a, b);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
exports.EducationUpdateRequest = EducationUpdateRequest;
|
|
229
|
+
class EducationListRequest extends protobuf_1.Message {
|
|
230
|
+
page;
|
|
231
|
+
perPage;
|
|
232
|
+
instructorId;
|
|
233
|
+
status;
|
|
234
|
+
language;
|
|
235
|
+
search;
|
|
236
|
+
constructor(data) {
|
|
237
|
+
super();
|
|
238
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
239
|
+
}
|
|
240
|
+
static runtime = protobuf_1.proto3;
|
|
241
|
+
static typeName = "micro.v1.education.EducationListRequest";
|
|
242
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
243
|
+
{ no: 1, name: "page", kind: "scalar", T: 5, opt: true },
|
|
244
|
+
{ no: 2, name: "per_page", kind: "scalar", T: 5, opt: true },
|
|
245
|
+
{ no: 3, name: "instructor_id", kind: "scalar", T: 9, opt: true },
|
|
246
|
+
{ no: 4, name: "status", kind: "scalar", T: 9, opt: true },
|
|
247
|
+
{ no: 5, name: "language", kind: "scalar", T: 9, opt: true },
|
|
248
|
+
{ no: 7, name: "search", kind: "scalar", T: 9, opt: true },
|
|
249
|
+
]);
|
|
250
|
+
static fromBinary(bytes, options) {
|
|
251
|
+
return new EducationListRequest().fromBinary(bytes, options);
|
|
252
|
+
}
|
|
253
|
+
static fromJson(jsonValue, options) {
|
|
254
|
+
return new EducationListRequest().fromJson(jsonValue, options);
|
|
255
|
+
}
|
|
256
|
+
static fromJsonString(jsonString, options) {
|
|
257
|
+
return new EducationListRequest().fromJsonString(jsonString, options);
|
|
258
|
+
}
|
|
259
|
+
static equals(a, b) {
|
|
260
|
+
return protobuf_1.proto3.util.equals(EducationListRequest, a, b);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
exports.EducationListRequest = EducationListRequest;
|
|
264
|
+
class EducationSingleResponse extends protobuf_1.Message {
|
|
265
|
+
status;
|
|
266
|
+
data;
|
|
267
|
+
constructor(data) {
|
|
268
|
+
super();
|
|
269
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
270
|
+
}
|
|
271
|
+
static runtime = protobuf_1.proto3;
|
|
272
|
+
static typeName = "micro.v1.education.EducationSingleResponse";
|
|
273
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
274
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
275
|
+
{ no: 2, name: "data", kind: "message", T: EducationDto },
|
|
276
|
+
]);
|
|
277
|
+
static fromBinary(bytes, options) {
|
|
278
|
+
return new EducationSingleResponse().fromBinary(bytes, options);
|
|
279
|
+
}
|
|
280
|
+
static fromJson(jsonValue, options) {
|
|
281
|
+
return new EducationSingleResponse().fromJson(jsonValue, options);
|
|
282
|
+
}
|
|
283
|
+
static fromJsonString(jsonString, options) {
|
|
284
|
+
return new EducationSingleResponse().fromJsonString(jsonString, options);
|
|
285
|
+
}
|
|
286
|
+
static equals(a, b) {
|
|
287
|
+
return protobuf_1.proto3.util.equals(EducationSingleResponse, a, b);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
exports.EducationSingleResponse = EducationSingleResponse;
|
|
291
|
+
class EducationListResponse extends protobuf_1.Message {
|
|
292
|
+
status;
|
|
293
|
+
pagination;
|
|
294
|
+
data = [];
|
|
295
|
+
constructor(data) {
|
|
296
|
+
super();
|
|
297
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
298
|
+
}
|
|
299
|
+
static runtime = protobuf_1.proto3;
|
|
300
|
+
static typeName = "micro.v1.education.EducationListResponse";
|
|
301
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
302
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
303
|
+
{ no: 2, name: "pagination", kind: "message", T: general_pb_js_1.PaginationMetaResult },
|
|
304
|
+
{ no: 3, name: "data", kind: "message", T: EducationDto, repeated: true },
|
|
305
|
+
]);
|
|
306
|
+
static fromBinary(bytes, options) {
|
|
307
|
+
return new EducationListResponse().fromBinary(bytes, options);
|
|
308
|
+
}
|
|
309
|
+
static fromJson(jsonValue, options) {
|
|
310
|
+
return new EducationListResponse().fromJson(jsonValue, options);
|
|
311
|
+
}
|
|
312
|
+
static fromJsonString(jsonString, options) {
|
|
313
|
+
return new EducationListResponse().fromJsonString(jsonString, options);
|
|
314
|
+
}
|
|
315
|
+
static equals(a, b) {
|
|
316
|
+
return protobuf_1.proto3.util.equals(EducationListResponse, a, b);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
exports.EducationListResponse = EducationListResponse;
|
|
320
|
+
class EducationPublishRequest extends protobuf_1.Message {
|
|
321
|
+
id = "";
|
|
322
|
+
status = "";
|
|
323
|
+
constructor(data) {
|
|
324
|
+
super();
|
|
325
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
326
|
+
}
|
|
327
|
+
static runtime = protobuf_1.proto3;
|
|
328
|
+
static typeName = "micro.v1.education.EducationPublishRequest";
|
|
329
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
330
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
331
|
+
{ no: 2, name: "status", kind: "scalar", T: 9 },
|
|
332
|
+
]);
|
|
333
|
+
static fromBinary(bytes, options) {
|
|
334
|
+
return new EducationPublishRequest().fromBinary(bytes, options);
|
|
335
|
+
}
|
|
336
|
+
static fromJson(jsonValue, options) {
|
|
337
|
+
return new EducationPublishRequest().fromJson(jsonValue, options);
|
|
338
|
+
}
|
|
339
|
+
static fromJsonString(jsonString, options) {
|
|
340
|
+
return new EducationPublishRequest().fromJsonString(jsonString, options);
|
|
341
|
+
}
|
|
342
|
+
static equals(a, b) {
|
|
343
|
+
return protobuf_1.proto3.util.equals(EducationPublishRequest, a, b);
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
exports.EducationPublishRequest = EducationPublishRequest;
|
|
347
|
+
class EducationArchiveRequest extends protobuf_1.Message {
|
|
348
|
+
id = "";
|
|
349
|
+
isArchived = false;
|
|
350
|
+
constructor(data) {
|
|
351
|
+
super();
|
|
352
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
353
|
+
}
|
|
354
|
+
static runtime = protobuf_1.proto3;
|
|
355
|
+
static typeName = "micro.v1.education.EducationArchiveRequest";
|
|
356
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
357
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
358
|
+
{ no: 2, name: "is_archived", kind: "scalar", T: 8 },
|
|
359
|
+
]);
|
|
360
|
+
static fromBinary(bytes, options) {
|
|
361
|
+
return new EducationArchiveRequest().fromBinary(bytes, options);
|
|
362
|
+
}
|
|
363
|
+
static fromJson(jsonValue, options) {
|
|
364
|
+
return new EducationArchiveRequest().fromJson(jsonValue, options);
|
|
365
|
+
}
|
|
366
|
+
static fromJsonString(jsonString, options) {
|
|
367
|
+
return new EducationArchiveRequest().fromJsonString(jsonString, options);
|
|
368
|
+
}
|
|
369
|
+
static equals(a, b) {
|
|
370
|
+
return protobuf_1.proto3.util.equals(EducationArchiveRequest, a, b);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
exports.EducationArchiveRequest = EducationArchiveRequest;
|
|
374
|
+
class CourseCreateRequest extends protobuf_1.Message {
|
|
375
|
+
educationId = "";
|
|
376
|
+
title = {};
|
|
377
|
+
description = {};
|
|
378
|
+
duration;
|
|
379
|
+
sortOrder;
|
|
380
|
+
status;
|
|
381
|
+
constructor(data) {
|
|
382
|
+
super();
|
|
383
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
384
|
+
}
|
|
385
|
+
static runtime = protobuf_1.proto3;
|
|
386
|
+
static typeName = "micro.v1.education.CourseCreateRequest";
|
|
387
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
388
|
+
{ no: 1, name: "education_id", kind: "scalar", T: 9 },
|
|
389
|
+
{ no: 2, name: "title", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
390
|
+
{ no: 3, name: "description", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
391
|
+
{ no: 4, name: "duration", kind: "scalar", T: 5, opt: true },
|
|
392
|
+
{ no: 5, name: "sort_order", kind: "scalar", T: 5, opt: true },
|
|
393
|
+
{ no: 6, name: "status", kind: "scalar", T: 9, opt: true },
|
|
394
|
+
]);
|
|
395
|
+
static fromBinary(bytes, options) {
|
|
396
|
+
return new CourseCreateRequest().fromBinary(bytes, options);
|
|
397
|
+
}
|
|
398
|
+
static fromJson(jsonValue, options) {
|
|
399
|
+
return new CourseCreateRequest().fromJson(jsonValue, options);
|
|
400
|
+
}
|
|
401
|
+
static fromJsonString(jsonString, options) {
|
|
402
|
+
return new CourseCreateRequest().fromJsonString(jsonString, options);
|
|
403
|
+
}
|
|
404
|
+
static equals(a, b) {
|
|
405
|
+
return protobuf_1.proto3.util.equals(CourseCreateRequest, a, b);
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
exports.CourseCreateRequest = CourseCreateRequest;
|
|
409
|
+
class CourseUpdateRequest extends protobuf_1.Message {
|
|
410
|
+
id = "";
|
|
411
|
+
title = {};
|
|
412
|
+
description = {};
|
|
413
|
+
duration;
|
|
414
|
+
sortOrder;
|
|
415
|
+
status;
|
|
416
|
+
constructor(data) {
|
|
417
|
+
super();
|
|
418
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
419
|
+
}
|
|
420
|
+
static runtime = protobuf_1.proto3;
|
|
421
|
+
static typeName = "micro.v1.education.CourseUpdateRequest";
|
|
422
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
423
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
424
|
+
{ no: 2, name: "title", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
425
|
+
{ no: 3, name: "description", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
426
|
+
{ no: 4, name: "duration", kind: "scalar", T: 5, opt: true },
|
|
427
|
+
{ no: 5, name: "sort_order", kind: "scalar", T: 5, opt: true },
|
|
428
|
+
{ no: 6, name: "status", kind: "scalar", T: 9, opt: true },
|
|
429
|
+
]);
|
|
430
|
+
static fromBinary(bytes, options) {
|
|
431
|
+
return new CourseUpdateRequest().fromBinary(bytes, options);
|
|
432
|
+
}
|
|
433
|
+
static fromJson(jsonValue, options) {
|
|
434
|
+
return new CourseUpdateRequest().fromJson(jsonValue, options);
|
|
435
|
+
}
|
|
436
|
+
static fromJsonString(jsonString, options) {
|
|
437
|
+
return new CourseUpdateRequest().fromJsonString(jsonString, options);
|
|
438
|
+
}
|
|
439
|
+
static equals(a, b) {
|
|
440
|
+
return protobuf_1.proto3.util.equals(CourseUpdateRequest, a, b);
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
exports.CourseUpdateRequest = CourseUpdateRequest;
|
|
444
|
+
class CourseListRequest extends protobuf_1.Message {
|
|
445
|
+
educationId = "";
|
|
446
|
+
page;
|
|
447
|
+
perPage;
|
|
448
|
+
status;
|
|
449
|
+
search;
|
|
450
|
+
constructor(data) {
|
|
451
|
+
super();
|
|
452
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
453
|
+
}
|
|
454
|
+
static runtime = protobuf_1.proto3;
|
|
455
|
+
static typeName = "micro.v1.education.CourseListRequest";
|
|
456
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
457
|
+
{ no: 1, name: "education_id", kind: "scalar", T: 9 },
|
|
458
|
+
{ no: 2, name: "page", kind: "scalar", T: 5, opt: true },
|
|
459
|
+
{ no: 3, name: "per_page", kind: "scalar", T: 5, opt: true },
|
|
460
|
+
{ no: 4, name: "status", kind: "scalar", T: 9, opt: true },
|
|
461
|
+
{ no: 5, name: "search", kind: "scalar", T: 9, opt: true },
|
|
462
|
+
]);
|
|
463
|
+
static fromBinary(bytes, options) {
|
|
464
|
+
return new CourseListRequest().fromBinary(bytes, options);
|
|
465
|
+
}
|
|
466
|
+
static fromJson(jsonValue, options) {
|
|
467
|
+
return new CourseListRequest().fromJson(jsonValue, options);
|
|
468
|
+
}
|
|
469
|
+
static fromJsonString(jsonString, options) {
|
|
470
|
+
return new CourseListRequest().fromJsonString(jsonString, options);
|
|
471
|
+
}
|
|
472
|
+
static equals(a, b) {
|
|
473
|
+
return protobuf_1.proto3.util.equals(CourseListRequest, a, b);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
exports.CourseListRequest = CourseListRequest;
|
|
477
|
+
class CourseTreeRequest extends protobuf_1.Message {
|
|
478
|
+
educationId = "";
|
|
479
|
+
constructor(data) {
|
|
480
|
+
super();
|
|
481
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
482
|
+
}
|
|
483
|
+
static runtime = protobuf_1.proto3;
|
|
484
|
+
static typeName = "micro.v1.education.CourseTreeRequest";
|
|
485
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
486
|
+
{ no: 1, name: "education_id", kind: "scalar", T: 9 },
|
|
487
|
+
]);
|
|
488
|
+
static fromBinary(bytes, options) {
|
|
489
|
+
return new CourseTreeRequest().fromBinary(bytes, options);
|
|
490
|
+
}
|
|
491
|
+
static fromJson(jsonValue, options) {
|
|
492
|
+
return new CourseTreeRequest().fromJson(jsonValue, options);
|
|
493
|
+
}
|
|
494
|
+
static fromJsonString(jsonString, options) {
|
|
495
|
+
return new CourseTreeRequest().fromJsonString(jsonString, options);
|
|
496
|
+
}
|
|
497
|
+
static equals(a, b) {
|
|
498
|
+
return protobuf_1.proto3.util.equals(CourseTreeRequest, a, b);
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
exports.CourseTreeRequest = CourseTreeRequest;
|
|
502
|
+
class CourseSingleResponse extends protobuf_1.Message {
|
|
503
|
+
status;
|
|
504
|
+
data;
|
|
505
|
+
constructor(data) {
|
|
506
|
+
super();
|
|
507
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
508
|
+
}
|
|
509
|
+
static runtime = protobuf_1.proto3;
|
|
510
|
+
static typeName = "micro.v1.education.CourseSingleResponse";
|
|
511
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
512
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
513
|
+
{ no: 2, name: "data", kind: "message", T: CourseDto },
|
|
514
|
+
]);
|
|
515
|
+
static fromBinary(bytes, options) {
|
|
516
|
+
return new CourseSingleResponse().fromBinary(bytes, options);
|
|
517
|
+
}
|
|
518
|
+
static fromJson(jsonValue, options) {
|
|
519
|
+
return new CourseSingleResponse().fromJson(jsonValue, options);
|
|
520
|
+
}
|
|
521
|
+
static fromJsonString(jsonString, options) {
|
|
522
|
+
return new CourseSingleResponse().fromJsonString(jsonString, options);
|
|
523
|
+
}
|
|
524
|
+
static equals(a, b) {
|
|
525
|
+
return protobuf_1.proto3.util.equals(CourseSingleResponse, a, b);
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
exports.CourseSingleResponse = CourseSingleResponse;
|
|
529
|
+
class CourseListResponse extends protobuf_1.Message {
|
|
530
|
+
status;
|
|
531
|
+
pagination;
|
|
532
|
+
data = [];
|
|
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.education.CourseListResponse";
|
|
539
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
540
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
541
|
+
{ no: 2, name: "pagination", kind: "message", T: general_pb_js_1.PaginationMetaResult },
|
|
542
|
+
{ no: 3, name: "data", kind: "message", T: CourseDto, repeated: true },
|
|
543
|
+
]);
|
|
544
|
+
static fromBinary(bytes, options) {
|
|
545
|
+
return new CourseListResponse().fromBinary(bytes, options);
|
|
546
|
+
}
|
|
547
|
+
static fromJson(jsonValue, options) {
|
|
548
|
+
return new CourseListResponse().fromJson(jsonValue, options);
|
|
549
|
+
}
|
|
550
|
+
static fromJsonString(jsonString, options) {
|
|
551
|
+
return new CourseListResponse().fromJsonString(jsonString, options);
|
|
552
|
+
}
|
|
553
|
+
static equals(a, b) {
|
|
554
|
+
return protobuf_1.proto3.util.equals(CourseListResponse, a, b);
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
exports.CourseListResponse = CourseListResponse;
|
|
558
|
+
class CourseTreeResponse extends protobuf_1.Message {
|
|
559
|
+
status;
|
|
560
|
+
data = [];
|
|
561
|
+
constructor(data) {
|
|
562
|
+
super();
|
|
563
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
564
|
+
}
|
|
565
|
+
static runtime = protobuf_1.proto3;
|
|
566
|
+
static typeName = "micro.v1.education.CourseTreeResponse";
|
|
567
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
568
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
569
|
+
{ no: 2, name: "data", kind: "message", T: CourseDto, repeated: true },
|
|
570
|
+
]);
|
|
571
|
+
static fromBinary(bytes, options) {
|
|
572
|
+
return new CourseTreeResponse().fromBinary(bytes, options);
|
|
573
|
+
}
|
|
574
|
+
static fromJson(jsonValue, options) {
|
|
575
|
+
return new CourseTreeResponse().fromJson(jsonValue, options);
|
|
576
|
+
}
|
|
577
|
+
static fromJsonString(jsonString, options) {
|
|
578
|
+
return new CourseTreeResponse().fromJsonString(jsonString, options);
|
|
579
|
+
}
|
|
580
|
+
static equals(a, b) {
|
|
581
|
+
return protobuf_1.proto3.util.equals(CourseTreeResponse, a, b);
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
exports.CourseTreeResponse = CourseTreeResponse;
|
|
585
|
+
class BulkUpdateCourseOrderRequest extends protobuf_1.Message {
|
|
586
|
+
educationId = "";
|
|
587
|
+
updates = [];
|
|
588
|
+
constructor(data) {
|
|
589
|
+
super();
|
|
590
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
591
|
+
}
|
|
592
|
+
static runtime = protobuf_1.proto3;
|
|
593
|
+
static typeName = "micro.v1.education.BulkUpdateCourseOrderRequest";
|
|
594
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
595
|
+
{ no: 1, name: "education_id", kind: "scalar", T: 9 },
|
|
596
|
+
{ no: 2, name: "updates", kind: "message", T: CourseOrderUpdate, repeated: true },
|
|
597
|
+
]);
|
|
598
|
+
static fromBinary(bytes, options) {
|
|
599
|
+
return new BulkUpdateCourseOrderRequest().fromBinary(bytes, options);
|
|
600
|
+
}
|
|
601
|
+
static fromJson(jsonValue, options) {
|
|
602
|
+
return new BulkUpdateCourseOrderRequest().fromJson(jsonValue, options);
|
|
603
|
+
}
|
|
604
|
+
static fromJsonString(jsonString, options) {
|
|
605
|
+
return new BulkUpdateCourseOrderRequest().fromJsonString(jsonString, options);
|
|
606
|
+
}
|
|
607
|
+
static equals(a, b) {
|
|
608
|
+
return protobuf_1.proto3.util.equals(BulkUpdateCourseOrderRequest, a, b);
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
exports.BulkUpdateCourseOrderRequest = BulkUpdateCourseOrderRequest;
|
|
612
|
+
class CourseOrderUpdate extends protobuf_1.Message {
|
|
613
|
+
id = "";
|
|
614
|
+
sortOrder = 0;
|
|
615
|
+
parentId;
|
|
616
|
+
constructor(data) {
|
|
617
|
+
super();
|
|
618
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
619
|
+
}
|
|
620
|
+
static runtime = protobuf_1.proto3;
|
|
621
|
+
static typeName = "micro.v1.education.CourseOrderUpdate";
|
|
622
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
623
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
624
|
+
{ no: 2, name: "sort_order", kind: "scalar", T: 5 },
|
|
625
|
+
{ no: 3, name: "parent_id", kind: "scalar", T: 9, opt: true },
|
|
626
|
+
]);
|
|
627
|
+
static fromBinary(bytes, options) {
|
|
628
|
+
return new CourseOrderUpdate().fromBinary(bytes, options);
|
|
629
|
+
}
|
|
630
|
+
static fromJson(jsonValue, options) {
|
|
631
|
+
return new CourseOrderUpdate().fromJson(jsonValue, options);
|
|
632
|
+
}
|
|
633
|
+
static fromJsonString(jsonString, options) {
|
|
634
|
+
return new CourseOrderUpdate().fromJsonString(jsonString, options);
|
|
635
|
+
}
|
|
636
|
+
static equals(a, b) {
|
|
637
|
+
return protobuf_1.proto3.util.equals(CourseOrderUpdate, a, b);
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
exports.CourseOrderUpdate = CourseOrderUpdate;
|
|
641
|
+
class LessonCreateRequest extends protobuf_1.Message {
|
|
642
|
+
courseId = "";
|
|
643
|
+
title = {};
|
|
644
|
+
description = {};
|
|
645
|
+
duration;
|
|
646
|
+
sortOrder;
|
|
647
|
+
status;
|
|
648
|
+
constructor(data) {
|
|
649
|
+
super();
|
|
650
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
651
|
+
}
|
|
652
|
+
static runtime = protobuf_1.proto3;
|
|
653
|
+
static typeName = "micro.v1.education.LessonCreateRequest";
|
|
654
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
655
|
+
{ no: 1, name: "course_id", kind: "scalar", T: 9 },
|
|
656
|
+
{ no: 2, name: "title", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
657
|
+
{ no: 3, name: "description", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
658
|
+
{ no: 4, name: "duration", kind: "scalar", T: 5, opt: true },
|
|
659
|
+
{ no: 5, name: "sort_order", kind: "scalar", T: 5, opt: true },
|
|
660
|
+
{ no: 6, name: "status", kind: "scalar", T: 9, opt: true },
|
|
661
|
+
]);
|
|
662
|
+
static fromBinary(bytes, options) {
|
|
663
|
+
return new LessonCreateRequest().fromBinary(bytes, options);
|
|
664
|
+
}
|
|
665
|
+
static fromJson(jsonValue, options) {
|
|
666
|
+
return new LessonCreateRequest().fromJson(jsonValue, options);
|
|
667
|
+
}
|
|
668
|
+
static fromJsonString(jsonString, options) {
|
|
669
|
+
return new LessonCreateRequest().fromJsonString(jsonString, options);
|
|
670
|
+
}
|
|
671
|
+
static equals(a, b) {
|
|
672
|
+
return protobuf_1.proto3.util.equals(LessonCreateRequest, a, b);
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
exports.LessonCreateRequest = LessonCreateRequest;
|
|
676
|
+
class LessonUpdateRequest extends protobuf_1.Message {
|
|
677
|
+
id = "";
|
|
678
|
+
title = {};
|
|
679
|
+
description = {};
|
|
680
|
+
duration;
|
|
681
|
+
sortOrder;
|
|
682
|
+
status;
|
|
683
|
+
constructor(data) {
|
|
684
|
+
super();
|
|
685
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
686
|
+
}
|
|
687
|
+
static runtime = protobuf_1.proto3;
|
|
688
|
+
static typeName = "micro.v1.education.LessonUpdateRequest";
|
|
689
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
690
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
691
|
+
{ no: 2, name: "title", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
692
|
+
{ no: 3, name: "description", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
693
|
+
{ no: 4, name: "duration", kind: "scalar", T: 5, opt: true },
|
|
694
|
+
{ no: 5, name: "sort_order", kind: "scalar", T: 5, opt: true },
|
|
695
|
+
{ no: 6, name: "status", kind: "scalar", T: 9, opt: true },
|
|
696
|
+
]);
|
|
697
|
+
static fromBinary(bytes, options) {
|
|
698
|
+
return new LessonUpdateRequest().fromBinary(bytes, options);
|
|
699
|
+
}
|
|
700
|
+
static fromJson(jsonValue, options) {
|
|
701
|
+
return new LessonUpdateRequest().fromJson(jsonValue, options);
|
|
702
|
+
}
|
|
703
|
+
static fromJsonString(jsonString, options) {
|
|
704
|
+
return new LessonUpdateRequest().fromJsonString(jsonString, options);
|
|
705
|
+
}
|
|
706
|
+
static equals(a, b) {
|
|
707
|
+
return protobuf_1.proto3.util.equals(LessonUpdateRequest, a, b);
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
exports.LessonUpdateRequest = LessonUpdateRequest;
|
|
711
|
+
class LessonListRequest extends protobuf_1.Message {
|
|
712
|
+
courseId = "";
|
|
713
|
+
page;
|
|
714
|
+
perPage;
|
|
715
|
+
status;
|
|
716
|
+
search;
|
|
717
|
+
constructor(data) {
|
|
718
|
+
super();
|
|
719
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
720
|
+
}
|
|
721
|
+
static runtime = protobuf_1.proto3;
|
|
722
|
+
static typeName = "micro.v1.education.LessonListRequest";
|
|
723
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
724
|
+
{ no: 1, name: "course_id", kind: "scalar", T: 9 },
|
|
725
|
+
{ no: 2, name: "page", kind: "scalar", T: 5, opt: true },
|
|
726
|
+
{ no: 3, name: "per_page", kind: "scalar", T: 5, opt: true },
|
|
727
|
+
{ no: 4, name: "status", kind: "scalar", T: 9, opt: true },
|
|
728
|
+
{ no: 5, name: "search", kind: "scalar", T: 9, opt: true },
|
|
729
|
+
]);
|
|
730
|
+
static fromBinary(bytes, options) {
|
|
731
|
+
return new LessonListRequest().fromBinary(bytes, options);
|
|
732
|
+
}
|
|
733
|
+
static fromJson(jsonValue, options) {
|
|
734
|
+
return new LessonListRequest().fromJson(jsonValue, options);
|
|
735
|
+
}
|
|
736
|
+
static fromJsonString(jsonString, options) {
|
|
737
|
+
return new LessonListRequest().fromJsonString(jsonString, options);
|
|
738
|
+
}
|
|
739
|
+
static equals(a, b) {
|
|
740
|
+
return protobuf_1.proto3.util.equals(LessonListRequest, a, b);
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
exports.LessonListRequest = LessonListRequest;
|
|
744
|
+
class LessonSingleResponse extends protobuf_1.Message {
|
|
745
|
+
status;
|
|
746
|
+
data;
|
|
747
|
+
constructor(data) {
|
|
748
|
+
super();
|
|
749
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
750
|
+
}
|
|
751
|
+
static runtime = protobuf_1.proto3;
|
|
752
|
+
static typeName = "micro.v1.education.LessonSingleResponse";
|
|
753
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
754
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
755
|
+
{ no: 2, name: "data", kind: "message", T: LessonDto },
|
|
756
|
+
]);
|
|
757
|
+
static fromBinary(bytes, options) {
|
|
758
|
+
return new LessonSingleResponse().fromBinary(bytes, options);
|
|
759
|
+
}
|
|
760
|
+
static fromJson(jsonValue, options) {
|
|
761
|
+
return new LessonSingleResponse().fromJson(jsonValue, options);
|
|
762
|
+
}
|
|
763
|
+
static fromJsonString(jsonString, options) {
|
|
764
|
+
return new LessonSingleResponse().fromJsonString(jsonString, options);
|
|
765
|
+
}
|
|
766
|
+
static equals(a, b) {
|
|
767
|
+
return protobuf_1.proto3.util.equals(LessonSingleResponse, a, b);
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
exports.LessonSingleResponse = LessonSingleResponse;
|
|
771
|
+
class LessonListResponse extends protobuf_1.Message {
|
|
772
|
+
status;
|
|
773
|
+
pagination;
|
|
774
|
+
data = [];
|
|
775
|
+
constructor(data) {
|
|
776
|
+
super();
|
|
777
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
778
|
+
}
|
|
779
|
+
static runtime = protobuf_1.proto3;
|
|
780
|
+
static typeName = "micro.v1.education.LessonListResponse";
|
|
781
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
782
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
783
|
+
{ no: 2, name: "pagination", kind: "message", T: general_pb_js_1.PaginationMetaResult },
|
|
784
|
+
{ no: 3, name: "data", kind: "message", T: LessonDto, repeated: true },
|
|
785
|
+
]);
|
|
786
|
+
static fromBinary(bytes, options) {
|
|
787
|
+
return new LessonListResponse().fromBinary(bytes, options);
|
|
788
|
+
}
|
|
789
|
+
static fromJson(jsonValue, options) {
|
|
790
|
+
return new LessonListResponse().fromJson(jsonValue, options);
|
|
791
|
+
}
|
|
792
|
+
static fromJsonString(jsonString, options) {
|
|
793
|
+
return new LessonListResponse().fromJsonString(jsonString, options);
|
|
794
|
+
}
|
|
795
|
+
static equals(a, b) {
|
|
796
|
+
return protobuf_1.proto3.util.equals(LessonListResponse, a, b);
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
exports.LessonListResponse = LessonListResponse;
|
|
800
|
+
class BulkUpdateLessonOrderRequest extends protobuf_1.Message {
|
|
801
|
+
courseId = "";
|
|
802
|
+
updates = [];
|
|
803
|
+
constructor(data) {
|
|
804
|
+
super();
|
|
805
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
806
|
+
}
|
|
807
|
+
static runtime = protobuf_1.proto3;
|
|
808
|
+
static typeName = "micro.v1.education.BulkUpdateLessonOrderRequest";
|
|
809
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
810
|
+
{ no: 1, name: "course_id", kind: "scalar", T: 9 },
|
|
811
|
+
{ no: 2, name: "updates", kind: "message", T: LessonOrderUpdate, repeated: true },
|
|
812
|
+
]);
|
|
813
|
+
static fromBinary(bytes, options) {
|
|
814
|
+
return new BulkUpdateLessonOrderRequest().fromBinary(bytes, options);
|
|
815
|
+
}
|
|
816
|
+
static fromJson(jsonValue, options) {
|
|
817
|
+
return new BulkUpdateLessonOrderRequest().fromJson(jsonValue, options);
|
|
818
|
+
}
|
|
819
|
+
static fromJsonString(jsonString, options) {
|
|
820
|
+
return new BulkUpdateLessonOrderRequest().fromJsonString(jsonString, options);
|
|
821
|
+
}
|
|
822
|
+
static equals(a, b) {
|
|
823
|
+
return protobuf_1.proto3.util.equals(BulkUpdateLessonOrderRequest, a, b);
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
exports.BulkUpdateLessonOrderRequest = BulkUpdateLessonOrderRequest;
|
|
827
|
+
class LessonOrderUpdate extends protobuf_1.Message {
|
|
828
|
+
id = "";
|
|
829
|
+
sortOrder = 0;
|
|
830
|
+
constructor(data) {
|
|
831
|
+
super();
|
|
832
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
833
|
+
}
|
|
834
|
+
static runtime = protobuf_1.proto3;
|
|
835
|
+
static typeName = "micro.v1.education.LessonOrderUpdate";
|
|
836
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
837
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
838
|
+
{ no: 2, name: "sort_order", kind: "scalar", T: 5 },
|
|
839
|
+
]);
|
|
840
|
+
static fromBinary(bytes, options) {
|
|
841
|
+
return new LessonOrderUpdate().fromBinary(bytes, options);
|
|
842
|
+
}
|
|
843
|
+
static fromJson(jsonValue, options) {
|
|
844
|
+
return new LessonOrderUpdate().fromJson(jsonValue, options);
|
|
845
|
+
}
|
|
846
|
+
static fromJsonString(jsonString, options) {
|
|
847
|
+
return new LessonOrderUpdate().fromJsonString(jsonString, options);
|
|
848
|
+
}
|
|
849
|
+
static equals(a, b) {
|
|
850
|
+
return protobuf_1.proto3.util.equals(LessonOrderUpdate, a, b);
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
exports.LessonOrderUpdate = LessonOrderUpdate;
|
|
854
|
+
class ContentDto extends protobuf_1.Message {
|
|
855
|
+
id = "";
|
|
856
|
+
lessonId = "";
|
|
857
|
+
contentType = "";
|
|
858
|
+
fileUuid;
|
|
859
|
+
fileUrl;
|
|
860
|
+
thumbnailUrl;
|
|
861
|
+
duration;
|
|
862
|
+
fileSize;
|
|
863
|
+
mimeType;
|
|
864
|
+
sortOrder = 0;
|
|
865
|
+
createdAt = "";
|
|
866
|
+
updatedAt;
|
|
867
|
+
constructor(data) {
|
|
868
|
+
super();
|
|
869
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
870
|
+
}
|
|
871
|
+
static runtime = protobuf_1.proto3;
|
|
872
|
+
static typeName = "micro.v1.education.ContentDto";
|
|
873
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
874
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
875
|
+
{ no: 2, name: "lesson_id", kind: "scalar", T: 9 },
|
|
876
|
+
{ no: 3, name: "content_type", kind: "scalar", T: 9 },
|
|
877
|
+
{ no: 4, name: "file_uuid", kind: "scalar", T: 9, opt: true },
|
|
878
|
+
{ no: 5, name: "file_url", kind: "scalar", T: 9, opt: true },
|
|
879
|
+
{ no: 6, name: "thumbnail_url", kind: "scalar", T: 9, opt: true },
|
|
880
|
+
{ no: 7, name: "duration", kind: "scalar", T: 5, opt: true },
|
|
881
|
+
{ no: 8, name: "file_size", kind: "scalar", T: 3, opt: true },
|
|
882
|
+
{ no: 9, name: "mime_type", kind: "scalar", T: 9, opt: true },
|
|
883
|
+
{ no: 10, name: "sort_order", kind: "scalar", T: 5 },
|
|
884
|
+
{ no: 11, name: "created_at", kind: "scalar", T: 9 },
|
|
885
|
+
{ no: 12, name: "updated_at", kind: "scalar", T: 9, opt: true },
|
|
886
|
+
]);
|
|
887
|
+
static fromBinary(bytes, options) {
|
|
888
|
+
return new ContentDto().fromBinary(bytes, options);
|
|
889
|
+
}
|
|
890
|
+
static fromJson(jsonValue, options) {
|
|
891
|
+
return new ContentDto().fromJson(jsonValue, options);
|
|
892
|
+
}
|
|
893
|
+
static fromJsonString(jsonString, options) {
|
|
894
|
+
return new ContentDto().fromJsonString(jsonString, options);
|
|
895
|
+
}
|
|
896
|
+
static equals(a, b) {
|
|
897
|
+
return protobuf_1.proto3.util.equals(ContentDto, a, b);
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
exports.ContentDto = ContentDto;
|
|
901
|
+
class ContentCreateRequest extends protobuf_1.Message {
|
|
902
|
+
lessonId = "";
|
|
903
|
+
contentType = "";
|
|
904
|
+
fileUuid;
|
|
905
|
+
fileUrl;
|
|
906
|
+
thumbnailUrl;
|
|
907
|
+
duration;
|
|
908
|
+
fileSize;
|
|
909
|
+
mimeType;
|
|
910
|
+
sortOrder;
|
|
911
|
+
constructor(data) {
|
|
912
|
+
super();
|
|
913
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
914
|
+
}
|
|
915
|
+
static runtime = protobuf_1.proto3;
|
|
916
|
+
static typeName = "micro.v1.education.ContentCreateRequest";
|
|
917
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
918
|
+
{ no: 1, name: "lesson_id", kind: "scalar", T: 9 },
|
|
919
|
+
{ no: 2, name: "content_type", kind: "scalar", T: 9 },
|
|
920
|
+
{ no: 3, name: "file_uuid", kind: "scalar", T: 9, opt: true },
|
|
921
|
+
{ no: 4, name: "file_url", kind: "scalar", T: 9, opt: true },
|
|
922
|
+
{ no: 5, name: "thumbnail_url", kind: "scalar", T: 9, opt: true },
|
|
923
|
+
{ no: 6, name: "duration", kind: "scalar", T: 5, opt: true },
|
|
924
|
+
{ no: 7, name: "file_size", kind: "scalar", T: 3, opt: true },
|
|
925
|
+
{ no: 8, name: "mime_type", kind: "scalar", T: 9, opt: true },
|
|
926
|
+
{ no: 9, name: "sort_order", kind: "scalar", T: 5, opt: true },
|
|
927
|
+
]);
|
|
928
|
+
static fromBinary(bytes, options) {
|
|
929
|
+
return new ContentCreateRequest().fromBinary(bytes, options);
|
|
930
|
+
}
|
|
931
|
+
static fromJson(jsonValue, options) {
|
|
932
|
+
return new ContentCreateRequest().fromJson(jsonValue, options);
|
|
933
|
+
}
|
|
934
|
+
static fromJsonString(jsonString, options) {
|
|
935
|
+
return new ContentCreateRequest().fromJsonString(jsonString, options);
|
|
936
|
+
}
|
|
937
|
+
static equals(a, b) {
|
|
938
|
+
return protobuf_1.proto3.util.equals(ContentCreateRequest, a, b);
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
exports.ContentCreateRequest = ContentCreateRequest;
|
|
942
|
+
class ContentUpdateRequest extends protobuf_1.Message {
|
|
943
|
+
id = "";
|
|
944
|
+
contentType;
|
|
945
|
+
fileUuid;
|
|
946
|
+
fileUrl;
|
|
947
|
+
thumbnailUrl;
|
|
948
|
+
duration;
|
|
949
|
+
fileSize;
|
|
950
|
+
mimeType;
|
|
951
|
+
sortOrder;
|
|
952
|
+
constructor(data) {
|
|
953
|
+
super();
|
|
954
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
955
|
+
}
|
|
956
|
+
static runtime = protobuf_1.proto3;
|
|
957
|
+
static typeName = "micro.v1.education.ContentUpdateRequest";
|
|
958
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
959
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
960
|
+
{ no: 2, name: "content_type", kind: "scalar", T: 9, opt: true },
|
|
961
|
+
{ no: 3, name: "file_uuid", kind: "scalar", T: 9, opt: true },
|
|
962
|
+
{ no: 4, name: "file_url", kind: "scalar", T: 9, opt: true },
|
|
963
|
+
{ no: 5, name: "thumbnail_url", kind: "scalar", T: 9, opt: true },
|
|
964
|
+
{ no: 6, name: "duration", kind: "scalar", T: 5, opt: true },
|
|
965
|
+
{ no: 7, name: "file_size", kind: "scalar", T: 3, opt: true },
|
|
966
|
+
{ no: 8, name: "mime_type", kind: "scalar", T: 9, opt: true },
|
|
967
|
+
{ no: 9, name: "sort_order", kind: "scalar", T: 5, opt: true },
|
|
968
|
+
]);
|
|
969
|
+
static fromBinary(bytes, options) {
|
|
970
|
+
return new ContentUpdateRequest().fromBinary(bytes, options);
|
|
971
|
+
}
|
|
972
|
+
static fromJson(jsonValue, options) {
|
|
973
|
+
return new ContentUpdateRequest().fromJson(jsonValue, options);
|
|
974
|
+
}
|
|
975
|
+
static fromJsonString(jsonString, options) {
|
|
976
|
+
return new ContentUpdateRequest().fromJsonString(jsonString, options);
|
|
977
|
+
}
|
|
978
|
+
static equals(a, b) {
|
|
979
|
+
return protobuf_1.proto3.util.equals(ContentUpdateRequest, a, b);
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
exports.ContentUpdateRequest = ContentUpdateRequest;
|
|
983
|
+
class ContentListRequest extends protobuf_1.Message {
|
|
984
|
+
lessonId = "";
|
|
985
|
+
page;
|
|
986
|
+
perPage;
|
|
987
|
+
contentType;
|
|
988
|
+
status;
|
|
989
|
+
search;
|
|
990
|
+
constructor(data) {
|
|
991
|
+
super();
|
|
992
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
993
|
+
}
|
|
994
|
+
static runtime = protobuf_1.proto3;
|
|
995
|
+
static typeName = "micro.v1.education.ContentListRequest";
|
|
996
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
997
|
+
{ no: 1, name: "lesson_id", kind: "scalar", T: 9 },
|
|
998
|
+
{ no: 2, name: "page", kind: "scalar", T: 5, opt: true },
|
|
999
|
+
{ no: 3, name: "per_page", kind: "scalar", T: 5, opt: true },
|
|
1000
|
+
{ no: 4, name: "content_type", kind: "scalar", T: 9, opt: true },
|
|
1001
|
+
{ no: 5, name: "status", kind: "scalar", T: 9, opt: true },
|
|
1002
|
+
{ no: 6, name: "search", kind: "scalar", T: 9, opt: true },
|
|
1003
|
+
]);
|
|
1004
|
+
static fromBinary(bytes, options) {
|
|
1005
|
+
return new ContentListRequest().fromBinary(bytes, options);
|
|
1006
|
+
}
|
|
1007
|
+
static fromJson(jsonValue, options) {
|
|
1008
|
+
return new ContentListRequest().fromJson(jsonValue, options);
|
|
1009
|
+
}
|
|
1010
|
+
static fromJsonString(jsonString, options) {
|
|
1011
|
+
return new ContentListRequest().fromJsonString(jsonString, options);
|
|
1012
|
+
}
|
|
1013
|
+
static equals(a, b) {
|
|
1014
|
+
return protobuf_1.proto3.util.equals(ContentListRequest, a, b);
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
exports.ContentListRequest = ContentListRequest;
|
|
1018
|
+
class ContentSingleResponse extends protobuf_1.Message {
|
|
1019
|
+
status;
|
|
1020
|
+
data;
|
|
1021
|
+
constructor(data) {
|
|
1022
|
+
super();
|
|
1023
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1024
|
+
}
|
|
1025
|
+
static runtime = protobuf_1.proto3;
|
|
1026
|
+
static typeName = "micro.v1.education.ContentSingleResponse";
|
|
1027
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1028
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
1029
|
+
{ no: 2, name: "data", kind: "message", T: ContentDto },
|
|
1030
|
+
]);
|
|
1031
|
+
static fromBinary(bytes, options) {
|
|
1032
|
+
return new ContentSingleResponse().fromBinary(bytes, options);
|
|
1033
|
+
}
|
|
1034
|
+
static fromJson(jsonValue, options) {
|
|
1035
|
+
return new ContentSingleResponse().fromJson(jsonValue, options);
|
|
1036
|
+
}
|
|
1037
|
+
static fromJsonString(jsonString, options) {
|
|
1038
|
+
return new ContentSingleResponse().fromJsonString(jsonString, options);
|
|
1039
|
+
}
|
|
1040
|
+
static equals(a, b) {
|
|
1041
|
+
return protobuf_1.proto3.util.equals(ContentSingleResponse, a, b);
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
exports.ContentSingleResponse = ContentSingleResponse;
|
|
1045
|
+
class ContentListResponse extends protobuf_1.Message {
|
|
1046
|
+
status;
|
|
1047
|
+
pagination;
|
|
1048
|
+
data = [];
|
|
1049
|
+
constructor(data) {
|
|
1050
|
+
super();
|
|
1051
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1052
|
+
}
|
|
1053
|
+
static runtime = protobuf_1.proto3;
|
|
1054
|
+
static typeName = "micro.v1.education.ContentListResponse";
|
|
1055
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1056
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
1057
|
+
{ no: 2, name: "pagination", kind: "message", T: general_pb_js_1.PaginationMetaResult },
|
|
1058
|
+
{ no: 3, name: "data", kind: "message", T: ContentDto, repeated: true },
|
|
1059
|
+
]);
|
|
1060
|
+
static fromBinary(bytes, options) {
|
|
1061
|
+
return new ContentListResponse().fromBinary(bytes, options);
|
|
1062
|
+
}
|
|
1063
|
+
static fromJson(jsonValue, options) {
|
|
1064
|
+
return new ContentListResponse().fromJson(jsonValue, options);
|
|
1065
|
+
}
|
|
1066
|
+
static fromJsonString(jsonString, options) {
|
|
1067
|
+
return new ContentListResponse().fromJsonString(jsonString, options);
|
|
1068
|
+
}
|
|
1069
|
+
static equals(a, b) {
|
|
1070
|
+
return protobuf_1.proto3.util.equals(ContentListResponse, a, b);
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
exports.ContentListResponse = ContentListResponse;
|
|
1074
|
+
class BulkUpdateContentOrderRequest extends protobuf_1.Message {
|
|
1075
|
+
lessonId = "";
|
|
1076
|
+
updates = [];
|
|
1077
|
+
constructor(data) {
|
|
1078
|
+
super();
|
|
1079
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1080
|
+
}
|
|
1081
|
+
static runtime = protobuf_1.proto3;
|
|
1082
|
+
static typeName = "micro.v1.education.BulkUpdateContentOrderRequest";
|
|
1083
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1084
|
+
{ no: 1, name: "lesson_id", kind: "scalar", T: 9 },
|
|
1085
|
+
{ no: 2, name: "updates", kind: "message", T: ContentOrderUpdate, repeated: true },
|
|
1086
|
+
]);
|
|
1087
|
+
static fromBinary(bytes, options) {
|
|
1088
|
+
return new BulkUpdateContentOrderRequest().fromBinary(bytes, options);
|
|
1089
|
+
}
|
|
1090
|
+
static fromJson(jsonValue, options) {
|
|
1091
|
+
return new BulkUpdateContentOrderRequest().fromJson(jsonValue, options);
|
|
1092
|
+
}
|
|
1093
|
+
static fromJsonString(jsonString, options) {
|
|
1094
|
+
return new BulkUpdateContentOrderRequest().fromJsonString(jsonString, options);
|
|
1095
|
+
}
|
|
1096
|
+
static equals(a, b) {
|
|
1097
|
+
return protobuf_1.proto3.util.equals(BulkUpdateContentOrderRequest, a, b);
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
exports.BulkUpdateContentOrderRequest = BulkUpdateContentOrderRequest;
|
|
1101
|
+
class ContentOrderUpdate extends protobuf_1.Message {
|
|
1102
|
+
id = "";
|
|
1103
|
+
sortOrder = 0;
|
|
1104
|
+
constructor(data) {
|
|
1105
|
+
super();
|
|
1106
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1107
|
+
}
|
|
1108
|
+
static runtime = protobuf_1.proto3;
|
|
1109
|
+
static typeName = "micro.v1.education.ContentOrderUpdate";
|
|
1110
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1111
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
1112
|
+
{ no: 2, name: "sort_order", kind: "scalar", T: 5 },
|
|
1113
|
+
]);
|
|
1114
|
+
static fromBinary(bytes, options) {
|
|
1115
|
+
return new ContentOrderUpdate().fromBinary(bytes, options);
|
|
1116
|
+
}
|
|
1117
|
+
static fromJson(jsonValue, options) {
|
|
1118
|
+
return new ContentOrderUpdate().fromJson(jsonValue, options);
|
|
1119
|
+
}
|
|
1120
|
+
static fromJsonString(jsonString, options) {
|
|
1121
|
+
return new ContentOrderUpdate().fromJsonString(jsonString, options);
|
|
1122
|
+
}
|
|
1123
|
+
static equals(a, b) {
|
|
1124
|
+
return protobuf_1.proto3.util.equals(ContentOrderUpdate, a, b);
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
exports.ContentOrderUpdate = ContentOrderUpdate;
|
|
1128
|
+
class ReferralUidRequest extends protobuf_1.Message {
|
|
1129
|
+
userId = "";
|
|
1130
|
+
exchangeName = "";
|
|
1131
|
+
uid = "";
|
|
1132
|
+
constructor(data) {
|
|
1133
|
+
super();
|
|
1134
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1135
|
+
}
|
|
1136
|
+
static runtime = protobuf_1.proto3;
|
|
1137
|
+
static typeName = "micro.v1.education.ReferralUidRequest";
|
|
1138
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1139
|
+
{ no: 1, name: "user_id", kind: "scalar", T: 9 },
|
|
1140
|
+
{ no: 2, name: "exchange_name", kind: "scalar", T: 9 },
|
|
1141
|
+
{ no: 3, name: "uid", kind: "scalar", T: 9 },
|
|
1142
|
+
]);
|
|
1143
|
+
static fromBinary(bytes, options) {
|
|
1144
|
+
return new ReferralUidRequest().fromBinary(bytes, options);
|
|
1145
|
+
}
|
|
1146
|
+
static fromJson(jsonValue, options) {
|
|
1147
|
+
return new ReferralUidRequest().fromJson(jsonValue, options);
|
|
1148
|
+
}
|
|
1149
|
+
static fromJsonString(jsonString, options) {
|
|
1150
|
+
return new ReferralUidRequest().fromJsonString(jsonString, options);
|
|
1151
|
+
}
|
|
1152
|
+
static equals(a, b) {
|
|
1153
|
+
return protobuf_1.proto3.util.equals(ReferralUidRequest, a, b);
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
exports.ReferralUidRequest = ReferralUidRequest;
|
|
1157
|
+
class ReferralUidResponse extends protobuf_1.Message {
|
|
1158
|
+
status;
|
|
1159
|
+
message = "";
|
|
1160
|
+
constructor(data) {
|
|
1161
|
+
super();
|
|
1162
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1163
|
+
}
|
|
1164
|
+
static runtime = protobuf_1.proto3;
|
|
1165
|
+
static typeName = "micro.v1.education.ReferralUidResponse";
|
|
1166
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1167
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
1168
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 },
|
|
1169
|
+
]);
|
|
1170
|
+
static fromBinary(bytes, options) {
|
|
1171
|
+
return new ReferralUidResponse().fromBinary(bytes, options);
|
|
1172
|
+
}
|
|
1173
|
+
static fromJson(jsonValue, options) {
|
|
1174
|
+
return new ReferralUidResponse().fromJson(jsonValue, options);
|
|
1175
|
+
}
|
|
1176
|
+
static fromJsonString(jsonString, options) {
|
|
1177
|
+
return new ReferralUidResponse().fromJsonString(jsonString, options);
|
|
1178
|
+
}
|
|
1179
|
+
static equals(a, b) {
|
|
1180
|
+
return protobuf_1.proto3.util.equals(ReferralUidResponse, a, b);
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
exports.ReferralUidResponse = ReferralUidResponse;
|
|
1184
|
+
class ReferralDetailsResponse extends protobuf_1.Message {
|
|
1185
|
+
status;
|
|
1186
|
+
data;
|
|
1187
|
+
constructor(data) {
|
|
1188
|
+
super();
|
|
1189
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1190
|
+
}
|
|
1191
|
+
static runtime = protobuf_1.proto3;
|
|
1192
|
+
static typeName = "micro.v1.education.ReferralDetailsResponse";
|
|
1193
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1194
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
1195
|
+
{ no: 2, name: "data", kind: "message", T: ReferralDetailsDto },
|
|
1196
|
+
]);
|
|
1197
|
+
static fromBinary(bytes, options) {
|
|
1198
|
+
return new ReferralDetailsResponse().fromBinary(bytes, options);
|
|
1199
|
+
}
|
|
1200
|
+
static fromJson(jsonValue, options) {
|
|
1201
|
+
return new ReferralDetailsResponse().fromJson(jsonValue, options);
|
|
1202
|
+
}
|
|
1203
|
+
static fromJsonString(jsonString, options) {
|
|
1204
|
+
return new ReferralDetailsResponse().fromJsonString(jsonString, options);
|
|
1205
|
+
}
|
|
1206
|
+
static equals(a, b) {
|
|
1207
|
+
return protobuf_1.proto3.util.equals(ReferralDetailsResponse, a, b);
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
exports.ReferralDetailsResponse = ReferralDetailsResponse;
|
|
1211
|
+
class ReferralDetailsDto extends protobuf_1.Message {
|
|
1212
|
+
mexc;
|
|
1213
|
+
bybit;
|
|
1214
|
+
constructor(data) {
|
|
1215
|
+
super();
|
|
1216
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1217
|
+
}
|
|
1218
|
+
static runtime = protobuf_1.proto3;
|
|
1219
|
+
static typeName = "micro.v1.education.ReferralDetailsDto";
|
|
1220
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1221
|
+
{ no: 1, name: "mexc", kind: "message", T: ReferralDetails },
|
|
1222
|
+
{ no: 2, name: "bybit", kind: "message", T: ReferralDetails },
|
|
1223
|
+
]);
|
|
1224
|
+
static fromBinary(bytes, options) {
|
|
1225
|
+
return new ReferralDetailsDto().fromBinary(bytes, options);
|
|
1226
|
+
}
|
|
1227
|
+
static fromJson(jsonValue, options) {
|
|
1228
|
+
return new ReferralDetailsDto().fromJson(jsonValue, options);
|
|
1229
|
+
}
|
|
1230
|
+
static fromJsonString(jsonString, options) {
|
|
1231
|
+
return new ReferralDetailsDto().fromJsonString(jsonString, options);
|
|
1232
|
+
}
|
|
1233
|
+
static equals(a, b) {
|
|
1234
|
+
return protobuf_1.proto3.util.equals(ReferralDetailsDto, a, b);
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
exports.ReferralDetailsDto = ReferralDetailsDto;
|
|
1238
|
+
class ReferralDetails extends protobuf_1.Message {
|
|
1239
|
+
uid = "";
|
|
1240
|
+
status = "";
|
|
1241
|
+
constructor(data) {
|
|
1242
|
+
super();
|
|
1243
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1244
|
+
}
|
|
1245
|
+
static runtime = protobuf_1.proto3;
|
|
1246
|
+
static typeName = "micro.v1.education.ReferralDetails";
|
|
1247
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1248
|
+
{ no: 1, name: "uid", kind: "scalar", T: 9 },
|
|
1249
|
+
{ no: 2, name: "status", kind: "scalar", T: 9 },
|
|
1250
|
+
]);
|
|
1251
|
+
static fromBinary(bytes, options) {
|
|
1252
|
+
return new ReferralDetails().fromBinary(bytes, options);
|
|
1253
|
+
}
|
|
1254
|
+
static fromJson(jsonValue, options) {
|
|
1255
|
+
return new ReferralDetails().fromJson(jsonValue, options);
|
|
1256
|
+
}
|
|
1257
|
+
static fromJsonString(jsonString, options) {
|
|
1258
|
+
return new ReferralDetails().fromJsonString(jsonString, options);
|
|
1259
|
+
}
|
|
1260
|
+
static equals(a, b) {
|
|
1261
|
+
return protobuf_1.proto3.util.equals(ReferralDetails, a, b);
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
exports.ReferralDetails = ReferralDetails;
|