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,202 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
import { PaginationMetaResult, ResponseStatus } from "../general_pb.js";
|
|
4
|
+
export declare enum WatermarkLocation {
|
|
5
|
+
TOP_LEFT = 0,
|
|
6
|
+
TOP_RIGHT = 1,
|
|
7
|
+
BOTTOM_LEFT = 2,
|
|
8
|
+
BOTTOM_RIGHT = 3
|
|
9
|
+
}
|
|
10
|
+
export declare enum FileStatus {
|
|
11
|
+
PENDING = 0,
|
|
12
|
+
PROCESSING = 1,
|
|
13
|
+
COMPLETED = 2,
|
|
14
|
+
FAILED = 3
|
|
15
|
+
}
|
|
16
|
+
export declare class FileStoreRequest extends Message<FileStoreRequest> {
|
|
17
|
+
uuid: string;
|
|
18
|
+
userId: string;
|
|
19
|
+
originalName: string;
|
|
20
|
+
mimetype: string;
|
|
21
|
+
fileSize: number;
|
|
22
|
+
fileType: string;
|
|
23
|
+
platform: string;
|
|
24
|
+
watermark?: WatermarkDto;
|
|
25
|
+
constructor(data?: PartialMessage<FileStoreRequest>);
|
|
26
|
+
static readonly runtime: typeof proto3;
|
|
27
|
+
static readonly typeName = "micro.v1.media.FileStoreRequest";
|
|
28
|
+
static readonly fields: FieldList;
|
|
29
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileStoreRequest;
|
|
30
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileStoreRequest;
|
|
31
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileStoreRequest;
|
|
32
|
+
static equals(a: FileStoreRequest | PlainMessage<FileStoreRequest> | undefined, b: FileStoreRequest | PlainMessage<FileStoreRequest> | undefined): boolean;
|
|
33
|
+
}
|
|
34
|
+
export declare class WatermarkDto extends Message<WatermarkDto> {
|
|
35
|
+
fileName: string;
|
|
36
|
+
watermarkLocation: WatermarkLocation;
|
|
37
|
+
width: number;
|
|
38
|
+
height: number;
|
|
39
|
+
x: number;
|
|
40
|
+
y: number;
|
|
41
|
+
constructor(data?: PartialMessage<WatermarkDto>);
|
|
42
|
+
static readonly runtime: typeof proto3;
|
|
43
|
+
static readonly typeName = "micro.v1.media.WatermarkDto";
|
|
44
|
+
static readonly fields: FieldList;
|
|
45
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WatermarkDto;
|
|
46
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WatermarkDto;
|
|
47
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WatermarkDto;
|
|
48
|
+
static equals(a: WatermarkDto | PlainMessage<WatermarkDto> | undefined, b: WatermarkDto | PlainMessage<WatermarkDto> | undefined): boolean;
|
|
49
|
+
}
|
|
50
|
+
export declare class GetFileStatusResponse extends Message<GetFileStatusResponse> {
|
|
51
|
+
status?: ResponseStatus;
|
|
52
|
+
fileStatus: FileStatus;
|
|
53
|
+
constructor(data?: PartialMessage<GetFileStatusResponse>);
|
|
54
|
+
static readonly runtime: typeof proto3;
|
|
55
|
+
static readonly typeName = "micro.v1.media.GetFileStatusResponse";
|
|
56
|
+
static readonly fields: FieldList;
|
|
57
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetFileStatusResponse;
|
|
58
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetFileStatusResponse;
|
|
59
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetFileStatusResponse;
|
|
60
|
+
static equals(a: GetFileStatusResponse | PlainMessage<GetFileStatusResponse> | undefined, b: GetFileStatusResponse | PlainMessage<GetFileStatusResponse> | undefined): boolean;
|
|
61
|
+
}
|
|
62
|
+
export declare class MediaPaginationDto extends Message<MediaPaginationDto> {
|
|
63
|
+
id: string;
|
|
64
|
+
uuid: string;
|
|
65
|
+
originalName: string;
|
|
66
|
+
originalExt: string;
|
|
67
|
+
mimetype: string;
|
|
68
|
+
fileStatus: FileStatus;
|
|
69
|
+
duration: number;
|
|
70
|
+
watermark?: WatermarkDto;
|
|
71
|
+
createdAt: string;
|
|
72
|
+
updatedAt: string;
|
|
73
|
+
constructor(data?: PartialMessage<MediaPaginationDto>);
|
|
74
|
+
static readonly runtime: typeof proto3;
|
|
75
|
+
static readonly typeName = "micro.v1.media.MediaPaginationDto";
|
|
76
|
+
static readonly fields: FieldList;
|
|
77
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaPaginationDto;
|
|
78
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaPaginationDto;
|
|
79
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaPaginationDto;
|
|
80
|
+
static equals(a: MediaPaginationDto | PlainMessage<MediaPaginationDto> | undefined, b: MediaPaginationDto | PlainMessage<MediaPaginationDto> | undefined): boolean;
|
|
81
|
+
}
|
|
82
|
+
export declare class MediaAdminPaginationResponse extends Message<MediaAdminPaginationResponse> {
|
|
83
|
+
status?: ResponseStatus;
|
|
84
|
+
pagination?: PaginationMetaResult;
|
|
85
|
+
data: MediaPaginationDto[];
|
|
86
|
+
constructor(data?: PartialMessage<MediaAdminPaginationResponse>);
|
|
87
|
+
static readonly runtime: typeof proto3;
|
|
88
|
+
static readonly typeName = "micro.v1.media.MediaAdminPaginationResponse";
|
|
89
|
+
static readonly fields: FieldList;
|
|
90
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaAdminPaginationResponse;
|
|
91
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaAdminPaginationResponse;
|
|
92
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaAdminPaginationResponse;
|
|
93
|
+
static equals(a: MediaAdminPaginationResponse | PlainMessage<MediaAdminPaginationResponse> | undefined, b: MediaAdminPaginationResponse | PlainMessage<MediaAdminPaginationResponse> | undefined): boolean;
|
|
94
|
+
}
|
|
95
|
+
export declare class GetMediaUrlResponse extends Message<GetMediaUrlResponse> {
|
|
96
|
+
status?: ResponseStatus;
|
|
97
|
+
message: string;
|
|
98
|
+
url: string;
|
|
99
|
+
constructor(data?: PartialMessage<GetMediaUrlResponse>);
|
|
100
|
+
static readonly runtime: typeof proto3;
|
|
101
|
+
static readonly typeName = "micro.v1.media.GetMediaUrlResponse";
|
|
102
|
+
static readonly fields: FieldList;
|
|
103
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetMediaUrlResponse;
|
|
104
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetMediaUrlResponse;
|
|
105
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetMediaUrlResponse;
|
|
106
|
+
static equals(a: GetMediaUrlResponse | PlainMessage<GetMediaUrlResponse> | undefined, b: GetMediaUrlResponse | PlainMessage<GetMediaUrlResponse> | undefined): boolean;
|
|
107
|
+
}
|
|
108
|
+
export declare class GetMediaUrlRequest extends Message<GetMediaUrlRequest> {
|
|
109
|
+
fileUuid: string;
|
|
110
|
+
constructor(data?: PartialMessage<GetMediaUrlRequest>);
|
|
111
|
+
static readonly runtime: typeof proto3;
|
|
112
|
+
static readonly typeName = "micro.v1.media.GetMediaUrlRequest";
|
|
113
|
+
static readonly fields: FieldList;
|
|
114
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetMediaUrlRequest;
|
|
115
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetMediaUrlRequest;
|
|
116
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetMediaUrlRequest;
|
|
117
|
+
static equals(a: GetMediaUrlRequest | PlainMessage<GetMediaUrlRequest> | undefined, b: GetMediaUrlRequest | PlainMessage<GetMediaUrlRequest> | undefined): boolean;
|
|
118
|
+
}
|
|
119
|
+
export declare class LogoUrl extends Message<LogoUrl> {
|
|
120
|
+
name: string;
|
|
121
|
+
url: string;
|
|
122
|
+
constructor(data?: PartialMessage<LogoUrl>);
|
|
123
|
+
static readonly runtime: typeof proto3;
|
|
124
|
+
static readonly typeName = "micro.v1.media.LogoUrl";
|
|
125
|
+
static readonly fields: FieldList;
|
|
126
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LogoUrl;
|
|
127
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LogoUrl;
|
|
128
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LogoUrl;
|
|
129
|
+
static equals(a: LogoUrl | PlainMessage<LogoUrl> | undefined, b: LogoUrl | PlainMessage<LogoUrl> | undefined): boolean;
|
|
130
|
+
}
|
|
131
|
+
export declare class GetAllLogoUrlsResponse extends Message<GetAllLogoUrlsResponse> {
|
|
132
|
+
status?: ResponseStatus;
|
|
133
|
+
data: LogoUrl[];
|
|
134
|
+
constructor(data?: PartialMessage<GetAllLogoUrlsResponse>);
|
|
135
|
+
static readonly runtime: typeof proto3;
|
|
136
|
+
static readonly typeName = "micro.v1.media.GetAllLogoUrlsResponse";
|
|
137
|
+
static readonly fields: FieldList;
|
|
138
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAllLogoUrlsResponse;
|
|
139
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAllLogoUrlsResponse;
|
|
140
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAllLogoUrlsResponse;
|
|
141
|
+
static equals(a: GetAllLogoUrlsResponse | PlainMessage<GetAllLogoUrlsResponse> | undefined, b: GetAllLogoUrlsResponse | PlainMessage<GetAllLogoUrlsResponse> | undefined): boolean;
|
|
142
|
+
}
|
|
143
|
+
export declare class StoreVideoLastTimeRequest extends Message<StoreVideoLastTimeRequest> {
|
|
144
|
+
fileUuid: string;
|
|
145
|
+
userId: number;
|
|
146
|
+
lastTime: number;
|
|
147
|
+
constructor(data?: PartialMessage<StoreVideoLastTimeRequest>);
|
|
148
|
+
static readonly runtime: typeof proto3;
|
|
149
|
+
static readonly typeName = "micro.v1.media.StoreVideoLastTimeRequest";
|
|
150
|
+
static readonly fields: FieldList;
|
|
151
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StoreVideoLastTimeRequest;
|
|
152
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StoreVideoLastTimeRequest;
|
|
153
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StoreVideoLastTimeRequest;
|
|
154
|
+
static equals(a: StoreVideoLastTimeRequest | PlainMessage<StoreVideoLastTimeRequest> | undefined, b: StoreVideoLastTimeRequest | PlainMessage<StoreVideoLastTimeRequest> | undefined): boolean;
|
|
155
|
+
}
|
|
156
|
+
export declare class GetVideoLastTimeRequest extends Message<GetVideoLastTimeRequest> {
|
|
157
|
+
fileUuid: string;
|
|
158
|
+
userId: number;
|
|
159
|
+
constructor(data?: PartialMessage<GetVideoLastTimeRequest>);
|
|
160
|
+
static readonly runtime: typeof proto3;
|
|
161
|
+
static readonly typeName = "micro.v1.media.GetVideoLastTimeRequest";
|
|
162
|
+
static readonly fields: FieldList;
|
|
163
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetVideoLastTimeRequest;
|
|
164
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetVideoLastTimeRequest;
|
|
165
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetVideoLastTimeRequest;
|
|
166
|
+
static equals(a: GetVideoLastTimeRequest | PlainMessage<GetVideoLastTimeRequest> | undefined, b: GetVideoLastTimeRequest | PlainMessage<GetVideoLastTimeRequest> | undefined): boolean;
|
|
167
|
+
}
|
|
168
|
+
export declare class GetVideoLastTimeResponse extends Message<GetVideoLastTimeResponse> {
|
|
169
|
+
status?: ResponseStatus;
|
|
170
|
+
lastTime: number;
|
|
171
|
+
constructor(data?: PartialMessage<GetVideoLastTimeResponse>);
|
|
172
|
+
static readonly runtime: typeof proto3;
|
|
173
|
+
static readonly typeName = "micro.v1.media.GetVideoLastTimeResponse";
|
|
174
|
+
static readonly fields: FieldList;
|
|
175
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetVideoLastTimeResponse;
|
|
176
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetVideoLastTimeResponse;
|
|
177
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetVideoLastTimeResponse;
|
|
178
|
+
static equals(a: GetVideoLastTimeResponse | PlainMessage<GetVideoLastTimeResponse> | undefined, b: GetVideoLastTimeResponse | PlainMessage<GetVideoLastTimeResponse> | undefined): boolean;
|
|
179
|
+
}
|
|
180
|
+
export declare class FileStatusRequest extends Message<FileStatusRequest> {
|
|
181
|
+
fileUuid: string;
|
|
182
|
+
constructor(data?: PartialMessage<FileStatusRequest>);
|
|
183
|
+
static readonly runtime: typeof proto3;
|
|
184
|
+
static readonly typeName = "micro.v1.media.FileStatusRequest";
|
|
185
|
+
static readonly fields: FieldList;
|
|
186
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileStatusRequest;
|
|
187
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileStatusRequest;
|
|
188
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileStatusRequest;
|
|
189
|
+
static equals(a: FileStatusRequest | PlainMessage<FileStatusRequest> | undefined, b: FileStatusRequest | PlainMessage<FileStatusRequest> | undefined): boolean;
|
|
190
|
+
}
|
|
191
|
+
export declare class FileStatusResponse extends Message<FileStatusResponse> {
|
|
192
|
+
fileStatus: FileStatus;
|
|
193
|
+
message: string;
|
|
194
|
+
constructor(data?: PartialMessage<FileStatusResponse>);
|
|
195
|
+
static readonly runtime: typeof proto3;
|
|
196
|
+
static readonly typeName = "micro.v1.media.FileStatusResponse";
|
|
197
|
+
static readonly fields: FieldList;
|
|
198
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileStatusResponse;
|
|
199
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileStatusResponse;
|
|
200
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileStatusResponse;
|
|
201
|
+
static equals(a: FileStatusResponse | PlainMessage<FileStatusResponse> | undefined, b: FileStatusResponse | PlainMessage<FileStatusResponse> | undefined): boolean;
|
|
202
|
+
}
|
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FileStatusResponse = exports.FileStatusRequest = exports.GetVideoLastTimeResponse = exports.GetVideoLastTimeRequest = exports.StoreVideoLastTimeRequest = exports.GetAllLogoUrlsResponse = exports.LogoUrl = exports.GetMediaUrlRequest = exports.GetMediaUrlResponse = exports.MediaAdminPaginationResponse = exports.MediaPaginationDto = exports.GetFileStatusResponse = exports.WatermarkDto = exports.FileStoreRequest = exports.FileStatus = exports.WatermarkLocation = void 0;
|
|
4
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
5
|
+
const general_pb_js_1 = require("../general_pb.js");
|
|
6
|
+
var WatermarkLocation;
|
|
7
|
+
(function (WatermarkLocation) {
|
|
8
|
+
WatermarkLocation[WatermarkLocation["TOP_LEFT"] = 0] = "TOP_LEFT";
|
|
9
|
+
WatermarkLocation[WatermarkLocation["TOP_RIGHT"] = 1] = "TOP_RIGHT";
|
|
10
|
+
WatermarkLocation[WatermarkLocation["BOTTOM_LEFT"] = 2] = "BOTTOM_LEFT";
|
|
11
|
+
WatermarkLocation[WatermarkLocation["BOTTOM_RIGHT"] = 3] = "BOTTOM_RIGHT";
|
|
12
|
+
})(WatermarkLocation || (exports.WatermarkLocation = WatermarkLocation = {}));
|
|
13
|
+
protobuf_1.proto3.util.setEnumType(WatermarkLocation, "micro.v1.media.WatermarkLocation", [
|
|
14
|
+
{ no: 0, name: "TOP_LEFT" },
|
|
15
|
+
{ no: 1, name: "TOP_RIGHT" },
|
|
16
|
+
{ no: 2, name: "BOTTOM_LEFT" },
|
|
17
|
+
{ no: 3, name: "BOTTOM_RIGHT" },
|
|
18
|
+
]);
|
|
19
|
+
var FileStatus;
|
|
20
|
+
(function (FileStatus) {
|
|
21
|
+
FileStatus[FileStatus["PENDING"] = 0] = "PENDING";
|
|
22
|
+
FileStatus[FileStatus["PROCESSING"] = 1] = "PROCESSING";
|
|
23
|
+
FileStatus[FileStatus["COMPLETED"] = 2] = "COMPLETED";
|
|
24
|
+
FileStatus[FileStatus["FAILED"] = 3] = "FAILED";
|
|
25
|
+
})(FileStatus || (exports.FileStatus = FileStatus = {}));
|
|
26
|
+
protobuf_1.proto3.util.setEnumType(FileStatus, "micro.v1.media.FileStatus", [
|
|
27
|
+
{ no: 0, name: "PENDING" },
|
|
28
|
+
{ no: 1, name: "PROCESSING" },
|
|
29
|
+
{ no: 2, name: "COMPLETED" },
|
|
30
|
+
{ no: 3, name: "FAILED" },
|
|
31
|
+
]);
|
|
32
|
+
class FileStoreRequest extends protobuf_1.Message {
|
|
33
|
+
uuid = "";
|
|
34
|
+
userId = "";
|
|
35
|
+
originalName = "";
|
|
36
|
+
mimetype = "";
|
|
37
|
+
fileSize = 0;
|
|
38
|
+
fileType = "";
|
|
39
|
+
platform = "";
|
|
40
|
+
watermark;
|
|
41
|
+
constructor(data) {
|
|
42
|
+
super();
|
|
43
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
44
|
+
}
|
|
45
|
+
static runtime = protobuf_1.proto3;
|
|
46
|
+
static typeName = "micro.v1.media.FileStoreRequest";
|
|
47
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
48
|
+
{ no: 1, name: "uuid", kind: "scalar", T: 9 },
|
|
49
|
+
{ no: 2, name: "user_id", kind: "scalar", T: 9 },
|
|
50
|
+
{ no: 3, name: "original_name", kind: "scalar", T: 9 },
|
|
51
|
+
{ no: 4, name: "mimetype", kind: "scalar", T: 9 },
|
|
52
|
+
{ no: 5, name: "file_size", kind: "scalar", T: 5 },
|
|
53
|
+
{ no: 6, name: "file_type", kind: "scalar", T: 9 },
|
|
54
|
+
{ no: 7, name: "platform", kind: "scalar", T: 9 },
|
|
55
|
+
{ no: 8, name: "watermark", kind: "message", T: WatermarkDto, opt: true },
|
|
56
|
+
]);
|
|
57
|
+
static fromBinary(bytes, options) {
|
|
58
|
+
return new FileStoreRequest().fromBinary(bytes, options);
|
|
59
|
+
}
|
|
60
|
+
static fromJson(jsonValue, options) {
|
|
61
|
+
return new FileStoreRequest().fromJson(jsonValue, options);
|
|
62
|
+
}
|
|
63
|
+
static fromJsonString(jsonString, options) {
|
|
64
|
+
return new FileStoreRequest().fromJsonString(jsonString, options);
|
|
65
|
+
}
|
|
66
|
+
static equals(a, b) {
|
|
67
|
+
return protobuf_1.proto3.util.equals(FileStoreRequest, a, b);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.FileStoreRequest = FileStoreRequest;
|
|
71
|
+
class WatermarkDto extends protobuf_1.Message {
|
|
72
|
+
fileName = "";
|
|
73
|
+
watermarkLocation = WatermarkLocation.TOP_LEFT;
|
|
74
|
+
width = 0;
|
|
75
|
+
height = 0;
|
|
76
|
+
x = 0;
|
|
77
|
+
y = 0;
|
|
78
|
+
constructor(data) {
|
|
79
|
+
super();
|
|
80
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
81
|
+
}
|
|
82
|
+
static runtime = protobuf_1.proto3;
|
|
83
|
+
static typeName = "micro.v1.media.WatermarkDto";
|
|
84
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
85
|
+
{ no: 1, name: "file_name", kind: "scalar", T: 9 },
|
|
86
|
+
{ no: 2, name: "watermark_location", kind: "enum", T: protobuf_1.proto3.getEnumType(WatermarkLocation) },
|
|
87
|
+
{ no: 3, name: "width", kind: "scalar", T: 5 },
|
|
88
|
+
{ no: 4, name: "height", kind: "scalar", T: 5 },
|
|
89
|
+
{ no: 5, name: "x", kind: "scalar", T: 5 },
|
|
90
|
+
{ no: 6, name: "y", kind: "scalar", T: 5 },
|
|
91
|
+
]);
|
|
92
|
+
static fromBinary(bytes, options) {
|
|
93
|
+
return new WatermarkDto().fromBinary(bytes, options);
|
|
94
|
+
}
|
|
95
|
+
static fromJson(jsonValue, options) {
|
|
96
|
+
return new WatermarkDto().fromJson(jsonValue, options);
|
|
97
|
+
}
|
|
98
|
+
static fromJsonString(jsonString, options) {
|
|
99
|
+
return new WatermarkDto().fromJsonString(jsonString, options);
|
|
100
|
+
}
|
|
101
|
+
static equals(a, b) {
|
|
102
|
+
return protobuf_1.proto3.util.equals(WatermarkDto, a, b);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.WatermarkDto = WatermarkDto;
|
|
106
|
+
class GetFileStatusResponse extends protobuf_1.Message {
|
|
107
|
+
status;
|
|
108
|
+
fileStatus = FileStatus.PENDING;
|
|
109
|
+
constructor(data) {
|
|
110
|
+
super();
|
|
111
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
112
|
+
}
|
|
113
|
+
static runtime = protobuf_1.proto3;
|
|
114
|
+
static typeName = "micro.v1.media.GetFileStatusResponse";
|
|
115
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
116
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
117
|
+
{ no: 2, name: "file_status", kind: "enum", T: protobuf_1.proto3.getEnumType(FileStatus) },
|
|
118
|
+
]);
|
|
119
|
+
static fromBinary(bytes, options) {
|
|
120
|
+
return new GetFileStatusResponse().fromBinary(bytes, options);
|
|
121
|
+
}
|
|
122
|
+
static fromJson(jsonValue, options) {
|
|
123
|
+
return new GetFileStatusResponse().fromJson(jsonValue, options);
|
|
124
|
+
}
|
|
125
|
+
static fromJsonString(jsonString, options) {
|
|
126
|
+
return new GetFileStatusResponse().fromJsonString(jsonString, options);
|
|
127
|
+
}
|
|
128
|
+
static equals(a, b) {
|
|
129
|
+
return protobuf_1.proto3.util.equals(GetFileStatusResponse, a, b);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
exports.GetFileStatusResponse = GetFileStatusResponse;
|
|
133
|
+
class MediaPaginationDto extends protobuf_1.Message {
|
|
134
|
+
id = "";
|
|
135
|
+
uuid = "";
|
|
136
|
+
originalName = "";
|
|
137
|
+
originalExt = "";
|
|
138
|
+
mimetype = "";
|
|
139
|
+
fileStatus = FileStatus.PENDING;
|
|
140
|
+
duration = 0;
|
|
141
|
+
watermark;
|
|
142
|
+
createdAt = "";
|
|
143
|
+
updatedAt = "";
|
|
144
|
+
constructor(data) {
|
|
145
|
+
super();
|
|
146
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
147
|
+
}
|
|
148
|
+
static runtime = protobuf_1.proto3;
|
|
149
|
+
static typeName = "micro.v1.media.MediaPaginationDto";
|
|
150
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
151
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
152
|
+
{ no: 2, name: "uuid", kind: "scalar", T: 9 },
|
|
153
|
+
{ no: 3, name: "original_name", kind: "scalar", T: 9 },
|
|
154
|
+
{ no: 4, name: "original_ext", kind: "scalar", T: 9 },
|
|
155
|
+
{ no: 5, name: "mimetype", kind: "scalar", T: 9 },
|
|
156
|
+
{ no: 6, name: "file_status", kind: "enum", T: protobuf_1.proto3.getEnumType(FileStatus) },
|
|
157
|
+
{ no: 7, name: "duration", kind: "scalar", T: 5 },
|
|
158
|
+
{ no: 8, name: "watermark", kind: "message", T: WatermarkDto },
|
|
159
|
+
{ no: 9, name: "created_at", kind: "scalar", T: 9 },
|
|
160
|
+
{ no: 10, name: "updated_at", kind: "scalar", T: 9 },
|
|
161
|
+
]);
|
|
162
|
+
static fromBinary(bytes, options) {
|
|
163
|
+
return new MediaPaginationDto().fromBinary(bytes, options);
|
|
164
|
+
}
|
|
165
|
+
static fromJson(jsonValue, options) {
|
|
166
|
+
return new MediaPaginationDto().fromJson(jsonValue, options);
|
|
167
|
+
}
|
|
168
|
+
static fromJsonString(jsonString, options) {
|
|
169
|
+
return new MediaPaginationDto().fromJsonString(jsonString, options);
|
|
170
|
+
}
|
|
171
|
+
static equals(a, b) {
|
|
172
|
+
return protobuf_1.proto3.util.equals(MediaPaginationDto, a, b);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
exports.MediaPaginationDto = MediaPaginationDto;
|
|
176
|
+
class MediaAdminPaginationResponse extends protobuf_1.Message {
|
|
177
|
+
status;
|
|
178
|
+
pagination;
|
|
179
|
+
data = [];
|
|
180
|
+
constructor(data) {
|
|
181
|
+
super();
|
|
182
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
183
|
+
}
|
|
184
|
+
static runtime = protobuf_1.proto3;
|
|
185
|
+
static typeName = "micro.v1.media.MediaAdminPaginationResponse";
|
|
186
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
187
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
188
|
+
{ no: 2, name: "pagination", kind: "message", T: general_pb_js_1.PaginationMetaResult },
|
|
189
|
+
{ no: 3, name: "data", kind: "message", T: MediaPaginationDto, repeated: true },
|
|
190
|
+
]);
|
|
191
|
+
static fromBinary(bytes, options) {
|
|
192
|
+
return new MediaAdminPaginationResponse().fromBinary(bytes, options);
|
|
193
|
+
}
|
|
194
|
+
static fromJson(jsonValue, options) {
|
|
195
|
+
return new MediaAdminPaginationResponse().fromJson(jsonValue, options);
|
|
196
|
+
}
|
|
197
|
+
static fromJsonString(jsonString, options) {
|
|
198
|
+
return new MediaAdminPaginationResponse().fromJsonString(jsonString, options);
|
|
199
|
+
}
|
|
200
|
+
static equals(a, b) {
|
|
201
|
+
return protobuf_1.proto3.util.equals(MediaAdminPaginationResponse, a, b);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
exports.MediaAdminPaginationResponse = MediaAdminPaginationResponse;
|
|
205
|
+
class GetMediaUrlResponse extends protobuf_1.Message {
|
|
206
|
+
status;
|
|
207
|
+
message = "";
|
|
208
|
+
url = "";
|
|
209
|
+
constructor(data) {
|
|
210
|
+
super();
|
|
211
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
212
|
+
}
|
|
213
|
+
static runtime = protobuf_1.proto3;
|
|
214
|
+
static typeName = "micro.v1.media.GetMediaUrlResponse";
|
|
215
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
216
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
217
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 },
|
|
218
|
+
{ no: 3, name: "url", kind: "scalar", T: 9 },
|
|
219
|
+
]);
|
|
220
|
+
static fromBinary(bytes, options) {
|
|
221
|
+
return new GetMediaUrlResponse().fromBinary(bytes, options);
|
|
222
|
+
}
|
|
223
|
+
static fromJson(jsonValue, options) {
|
|
224
|
+
return new GetMediaUrlResponse().fromJson(jsonValue, options);
|
|
225
|
+
}
|
|
226
|
+
static fromJsonString(jsonString, options) {
|
|
227
|
+
return new GetMediaUrlResponse().fromJsonString(jsonString, options);
|
|
228
|
+
}
|
|
229
|
+
static equals(a, b) {
|
|
230
|
+
return protobuf_1.proto3.util.equals(GetMediaUrlResponse, a, b);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
exports.GetMediaUrlResponse = GetMediaUrlResponse;
|
|
234
|
+
class GetMediaUrlRequest extends protobuf_1.Message {
|
|
235
|
+
fileUuid = "";
|
|
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.media.GetMediaUrlRequest";
|
|
242
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
243
|
+
{ no: 1, name: "file_uuid", kind: "scalar", T: 9 },
|
|
244
|
+
]);
|
|
245
|
+
static fromBinary(bytes, options) {
|
|
246
|
+
return new GetMediaUrlRequest().fromBinary(bytes, options);
|
|
247
|
+
}
|
|
248
|
+
static fromJson(jsonValue, options) {
|
|
249
|
+
return new GetMediaUrlRequest().fromJson(jsonValue, options);
|
|
250
|
+
}
|
|
251
|
+
static fromJsonString(jsonString, options) {
|
|
252
|
+
return new GetMediaUrlRequest().fromJsonString(jsonString, options);
|
|
253
|
+
}
|
|
254
|
+
static equals(a, b) {
|
|
255
|
+
return protobuf_1.proto3.util.equals(GetMediaUrlRequest, a, b);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
exports.GetMediaUrlRequest = GetMediaUrlRequest;
|
|
259
|
+
class LogoUrl extends protobuf_1.Message {
|
|
260
|
+
name = "";
|
|
261
|
+
url = "";
|
|
262
|
+
constructor(data) {
|
|
263
|
+
super();
|
|
264
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
265
|
+
}
|
|
266
|
+
static runtime = protobuf_1.proto3;
|
|
267
|
+
static typeName = "micro.v1.media.LogoUrl";
|
|
268
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
269
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 },
|
|
270
|
+
{ no: 2, name: "url", kind: "scalar", T: 9 },
|
|
271
|
+
]);
|
|
272
|
+
static fromBinary(bytes, options) {
|
|
273
|
+
return new LogoUrl().fromBinary(bytes, options);
|
|
274
|
+
}
|
|
275
|
+
static fromJson(jsonValue, options) {
|
|
276
|
+
return new LogoUrl().fromJson(jsonValue, options);
|
|
277
|
+
}
|
|
278
|
+
static fromJsonString(jsonString, options) {
|
|
279
|
+
return new LogoUrl().fromJsonString(jsonString, options);
|
|
280
|
+
}
|
|
281
|
+
static equals(a, b) {
|
|
282
|
+
return protobuf_1.proto3.util.equals(LogoUrl, a, b);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
exports.LogoUrl = LogoUrl;
|
|
286
|
+
class GetAllLogoUrlsResponse extends protobuf_1.Message {
|
|
287
|
+
status;
|
|
288
|
+
data = [];
|
|
289
|
+
constructor(data) {
|
|
290
|
+
super();
|
|
291
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
292
|
+
}
|
|
293
|
+
static runtime = protobuf_1.proto3;
|
|
294
|
+
static typeName = "micro.v1.media.GetAllLogoUrlsResponse";
|
|
295
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
296
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
297
|
+
{ no: 2, name: "data", kind: "message", T: LogoUrl, repeated: true },
|
|
298
|
+
]);
|
|
299
|
+
static fromBinary(bytes, options) {
|
|
300
|
+
return new GetAllLogoUrlsResponse().fromBinary(bytes, options);
|
|
301
|
+
}
|
|
302
|
+
static fromJson(jsonValue, options) {
|
|
303
|
+
return new GetAllLogoUrlsResponse().fromJson(jsonValue, options);
|
|
304
|
+
}
|
|
305
|
+
static fromJsonString(jsonString, options) {
|
|
306
|
+
return new GetAllLogoUrlsResponse().fromJsonString(jsonString, options);
|
|
307
|
+
}
|
|
308
|
+
static equals(a, b) {
|
|
309
|
+
return protobuf_1.proto3.util.equals(GetAllLogoUrlsResponse, a, b);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
exports.GetAllLogoUrlsResponse = GetAllLogoUrlsResponse;
|
|
313
|
+
class StoreVideoLastTimeRequest extends protobuf_1.Message {
|
|
314
|
+
fileUuid = "";
|
|
315
|
+
userId = 0;
|
|
316
|
+
lastTime = 0;
|
|
317
|
+
constructor(data) {
|
|
318
|
+
super();
|
|
319
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
320
|
+
}
|
|
321
|
+
static runtime = protobuf_1.proto3;
|
|
322
|
+
static typeName = "micro.v1.media.StoreVideoLastTimeRequest";
|
|
323
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
324
|
+
{ no: 1, name: "file_uuid", kind: "scalar", T: 9 },
|
|
325
|
+
{ no: 2, name: "user_id", kind: "scalar", T: 5 },
|
|
326
|
+
{ no: 3, name: "last_time", kind: "scalar", T: 5 },
|
|
327
|
+
]);
|
|
328
|
+
static fromBinary(bytes, options) {
|
|
329
|
+
return new StoreVideoLastTimeRequest().fromBinary(bytes, options);
|
|
330
|
+
}
|
|
331
|
+
static fromJson(jsonValue, options) {
|
|
332
|
+
return new StoreVideoLastTimeRequest().fromJson(jsonValue, options);
|
|
333
|
+
}
|
|
334
|
+
static fromJsonString(jsonString, options) {
|
|
335
|
+
return new StoreVideoLastTimeRequest().fromJsonString(jsonString, options);
|
|
336
|
+
}
|
|
337
|
+
static equals(a, b) {
|
|
338
|
+
return protobuf_1.proto3.util.equals(StoreVideoLastTimeRequest, a, b);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
exports.StoreVideoLastTimeRequest = StoreVideoLastTimeRequest;
|
|
342
|
+
class GetVideoLastTimeRequest extends protobuf_1.Message {
|
|
343
|
+
fileUuid = "";
|
|
344
|
+
userId = 0;
|
|
345
|
+
constructor(data) {
|
|
346
|
+
super();
|
|
347
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
348
|
+
}
|
|
349
|
+
static runtime = protobuf_1.proto3;
|
|
350
|
+
static typeName = "micro.v1.media.GetVideoLastTimeRequest";
|
|
351
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
352
|
+
{ no: 1, name: "file_uuid", kind: "scalar", T: 9 },
|
|
353
|
+
{ no: 2, name: "user_id", kind: "scalar", T: 5 },
|
|
354
|
+
]);
|
|
355
|
+
static fromBinary(bytes, options) {
|
|
356
|
+
return new GetVideoLastTimeRequest().fromBinary(bytes, options);
|
|
357
|
+
}
|
|
358
|
+
static fromJson(jsonValue, options) {
|
|
359
|
+
return new GetVideoLastTimeRequest().fromJson(jsonValue, options);
|
|
360
|
+
}
|
|
361
|
+
static fromJsonString(jsonString, options) {
|
|
362
|
+
return new GetVideoLastTimeRequest().fromJsonString(jsonString, options);
|
|
363
|
+
}
|
|
364
|
+
static equals(a, b) {
|
|
365
|
+
return protobuf_1.proto3.util.equals(GetVideoLastTimeRequest, a, b);
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
exports.GetVideoLastTimeRequest = GetVideoLastTimeRequest;
|
|
369
|
+
class GetVideoLastTimeResponse extends protobuf_1.Message {
|
|
370
|
+
status;
|
|
371
|
+
lastTime = 0;
|
|
372
|
+
constructor(data) {
|
|
373
|
+
super();
|
|
374
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
375
|
+
}
|
|
376
|
+
static runtime = protobuf_1.proto3;
|
|
377
|
+
static typeName = "micro.v1.media.GetVideoLastTimeResponse";
|
|
378
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
379
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
380
|
+
{ no: 2, name: "last_time", kind: "scalar", T: 5 },
|
|
381
|
+
]);
|
|
382
|
+
static fromBinary(bytes, options) {
|
|
383
|
+
return new GetVideoLastTimeResponse().fromBinary(bytes, options);
|
|
384
|
+
}
|
|
385
|
+
static fromJson(jsonValue, options) {
|
|
386
|
+
return new GetVideoLastTimeResponse().fromJson(jsonValue, options);
|
|
387
|
+
}
|
|
388
|
+
static fromJsonString(jsonString, options) {
|
|
389
|
+
return new GetVideoLastTimeResponse().fromJsonString(jsonString, options);
|
|
390
|
+
}
|
|
391
|
+
static equals(a, b) {
|
|
392
|
+
return protobuf_1.proto3.util.equals(GetVideoLastTimeResponse, a, b);
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
exports.GetVideoLastTimeResponse = GetVideoLastTimeResponse;
|
|
396
|
+
class FileStatusRequest extends protobuf_1.Message {
|
|
397
|
+
fileUuid = "";
|
|
398
|
+
constructor(data) {
|
|
399
|
+
super();
|
|
400
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
401
|
+
}
|
|
402
|
+
static runtime = protobuf_1.proto3;
|
|
403
|
+
static typeName = "micro.v1.media.FileStatusRequest";
|
|
404
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
405
|
+
{ no: 1, name: "file_uuid", kind: "scalar", T: 9 },
|
|
406
|
+
]);
|
|
407
|
+
static fromBinary(bytes, options) {
|
|
408
|
+
return new FileStatusRequest().fromBinary(bytes, options);
|
|
409
|
+
}
|
|
410
|
+
static fromJson(jsonValue, options) {
|
|
411
|
+
return new FileStatusRequest().fromJson(jsonValue, options);
|
|
412
|
+
}
|
|
413
|
+
static fromJsonString(jsonString, options) {
|
|
414
|
+
return new FileStatusRequest().fromJsonString(jsonString, options);
|
|
415
|
+
}
|
|
416
|
+
static equals(a, b) {
|
|
417
|
+
return protobuf_1.proto3.util.equals(FileStatusRequest, a, b);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
exports.FileStatusRequest = FileStatusRequest;
|
|
421
|
+
class FileStatusResponse extends protobuf_1.Message {
|
|
422
|
+
fileStatus = FileStatus.PENDING;
|
|
423
|
+
message = "";
|
|
424
|
+
constructor(data) {
|
|
425
|
+
super();
|
|
426
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
427
|
+
}
|
|
428
|
+
static runtime = protobuf_1.proto3;
|
|
429
|
+
static typeName = "micro.v1.media.FileStatusResponse";
|
|
430
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
431
|
+
{ no: 1, name: "file_status", kind: "enum", T: protobuf_1.proto3.getEnumType(FileStatus) },
|
|
432
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 },
|
|
433
|
+
]);
|
|
434
|
+
static fromBinary(bytes, options) {
|
|
435
|
+
return new FileStatusResponse().fromBinary(bytes, options);
|
|
436
|
+
}
|
|
437
|
+
static fromJson(jsonValue, options) {
|
|
438
|
+
return new FileStatusResponse().fromJson(jsonValue, options);
|
|
439
|
+
}
|
|
440
|
+
static fromJsonString(jsonString, options) {
|
|
441
|
+
return new FileStatusResponse().fromJsonString(jsonString, options);
|
|
442
|
+
}
|
|
443
|
+
static equals(a, b) {
|
|
444
|
+
return protobuf_1.proto3.util.equals(FileStatusResponse, a, b);
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
exports.FileStatusResponse = FileStatusResponse;
|