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,460 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ScrapeStringRequest = exports.ScrapeGeneralResponse = exports.CoinData = exports.Sort = exports.Filter = exports.PaginationMetaResult = exports.PaginateFromRequest = exports.PaginateRequest = exports.EmptyRequest = exports.ByIdRequest = exports.EmptyResponse = exports.ResponseStatus = exports.Error = exports.IntervalEnum = exports.ActivePassiveEnum = exports.SortDirection = exports.FilterOperator = void 0;
|
|
4
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
5
|
+
var FilterOperator;
|
|
6
|
+
(function (FilterOperator) {
|
|
7
|
+
FilterOperator[FilterOperator["equals"] = 0] = "equals";
|
|
8
|
+
FilterOperator[FilterOperator["startsWith"] = 1] = "startsWith";
|
|
9
|
+
FilterOperator[FilterOperator["endsWith"] = 2] = "endsWith";
|
|
10
|
+
FilterOperator[FilterOperator["contains"] = 3] = "contains";
|
|
11
|
+
FilterOperator[FilterOperator["gt"] = 4] = "gt";
|
|
12
|
+
FilterOperator[FilterOperator["gte"] = 5] = "gte";
|
|
13
|
+
FilterOperator[FilterOperator["lt"] = 6] = "lt";
|
|
14
|
+
FilterOperator[FilterOperator["lte"] = 7] = "lte";
|
|
15
|
+
FilterOperator[FilterOperator["not"] = 8] = "not";
|
|
16
|
+
FilterOperator[FilterOperator["in"] = 9] = "in";
|
|
17
|
+
FilterOperator[FilterOperator["notIn"] = 10] = "notIn";
|
|
18
|
+
FilterOperator[FilterOperator["isNull"] = 11] = "isNull";
|
|
19
|
+
FilterOperator[FilterOperator["isNotNull"] = 12] = "isNotNull";
|
|
20
|
+
})(FilterOperator || (exports.FilterOperator = FilterOperator = {}));
|
|
21
|
+
protobuf_1.proto3.util.setEnumType(FilterOperator, "micro.v1.FilterOperator", [
|
|
22
|
+
{ no: 0, name: "equals" },
|
|
23
|
+
{ no: 1, name: "startsWith" },
|
|
24
|
+
{ no: 2, name: "endsWith" },
|
|
25
|
+
{ no: 3, name: "contains" },
|
|
26
|
+
{ no: 4, name: "gt" },
|
|
27
|
+
{ no: 5, name: "gte" },
|
|
28
|
+
{ no: 6, name: "lt" },
|
|
29
|
+
{ no: 7, name: "lte" },
|
|
30
|
+
{ no: 8, name: "not" },
|
|
31
|
+
{ no: 9, name: "in" },
|
|
32
|
+
{ no: 10, name: "notIn" },
|
|
33
|
+
{ no: 11, name: "isNull" },
|
|
34
|
+
{ no: 12, name: "isNotNull" },
|
|
35
|
+
]);
|
|
36
|
+
var SortDirection;
|
|
37
|
+
(function (SortDirection) {
|
|
38
|
+
SortDirection[SortDirection["asc"] = 0] = "asc";
|
|
39
|
+
SortDirection[SortDirection["desc"] = 1] = "desc";
|
|
40
|
+
})(SortDirection || (exports.SortDirection = SortDirection = {}));
|
|
41
|
+
protobuf_1.proto3.util.setEnumType(SortDirection, "micro.v1.SortDirection", [
|
|
42
|
+
{ no: 0, name: "asc" },
|
|
43
|
+
{ no: 1, name: "desc" },
|
|
44
|
+
]);
|
|
45
|
+
var ActivePassiveEnum;
|
|
46
|
+
(function (ActivePassiveEnum) {
|
|
47
|
+
ActivePassiveEnum[ActivePassiveEnum["active"] = 0] = "active";
|
|
48
|
+
ActivePassiveEnum[ActivePassiveEnum["passive"] = 1] = "passive";
|
|
49
|
+
})(ActivePassiveEnum || (exports.ActivePassiveEnum = ActivePassiveEnum = {}));
|
|
50
|
+
protobuf_1.proto3.util.setEnumType(ActivePassiveEnum, "micro.v1.ActivePassiveEnum", [
|
|
51
|
+
{ no: 0, name: "active" },
|
|
52
|
+
{ no: 1, name: "passive" },
|
|
53
|
+
]);
|
|
54
|
+
var IntervalEnum;
|
|
55
|
+
(function (IntervalEnum) {
|
|
56
|
+
IntervalEnum[IntervalEnum["m1"] = 0] = "m1";
|
|
57
|
+
IntervalEnum[IntervalEnum["m3"] = 1] = "m3";
|
|
58
|
+
IntervalEnum[IntervalEnum["m5"] = 2] = "m5";
|
|
59
|
+
IntervalEnum[IntervalEnum["m15"] = 3] = "m15";
|
|
60
|
+
IntervalEnum[IntervalEnum["m30"] = 4] = "m30";
|
|
61
|
+
IntervalEnum[IntervalEnum["h1"] = 5] = "h1";
|
|
62
|
+
IntervalEnum[IntervalEnum["h4"] = 6] = "h4";
|
|
63
|
+
IntervalEnum[IntervalEnum["h6"] = 7] = "h6";
|
|
64
|
+
IntervalEnum[IntervalEnum["h8"] = 8] = "h8";
|
|
65
|
+
IntervalEnum[IntervalEnum["h12"] = 9] = "h12";
|
|
66
|
+
IntervalEnum[IntervalEnum["h24"] = 10] = "h24";
|
|
67
|
+
IntervalEnum[IntervalEnum["d1"] = 11] = "d1";
|
|
68
|
+
IntervalEnum[IntervalEnum["w1"] = 12] = "w1";
|
|
69
|
+
})(IntervalEnum || (exports.IntervalEnum = IntervalEnum = {}));
|
|
70
|
+
protobuf_1.proto3.util.setEnumType(IntervalEnum, "micro.v1.IntervalEnum", [
|
|
71
|
+
{ no: 0, name: "m1" },
|
|
72
|
+
{ no: 1, name: "m3" },
|
|
73
|
+
{ no: 2, name: "m5" },
|
|
74
|
+
{ no: 3, name: "m15" },
|
|
75
|
+
{ no: 4, name: "m30" },
|
|
76
|
+
{ no: 5, name: "h1" },
|
|
77
|
+
{ no: 6, name: "h4" },
|
|
78
|
+
{ no: 7, name: "h6" },
|
|
79
|
+
{ no: 8, name: "h8" },
|
|
80
|
+
{ no: 9, name: "h12" },
|
|
81
|
+
{ no: 10, name: "h24" },
|
|
82
|
+
{ no: 11, name: "d1" },
|
|
83
|
+
{ no: 12, name: "w1" },
|
|
84
|
+
]);
|
|
85
|
+
class Error extends protobuf_1.Message {
|
|
86
|
+
errors = [];
|
|
87
|
+
inputs = {};
|
|
88
|
+
constructor(data) {
|
|
89
|
+
super();
|
|
90
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
91
|
+
}
|
|
92
|
+
static runtime = protobuf_1.proto3;
|
|
93
|
+
static typeName = "micro.v1.Error";
|
|
94
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
95
|
+
{ no: 1, name: "errors", kind: "scalar", T: 9, repeated: true },
|
|
96
|
+
{ no: 2, name: "inputs", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
97
|
+
]);
|
|
98
|
+
static fromBinary(bytes, options) {
|
|
99
|
+
return new Error().fromBinary(bytes, options);
|
|
100
|
+
}
|
|
101
|
+
static fromJson(jsonValue, options) {
|
|
102
|
+
return new Error().fromJson(jsonValue, options);
|
|
103
|
+
}
|
|
104
|
+
static fromJsonString(jsonString, options) {
|
|
105
|
+
return new Error().fromJsonString(jsonString, options);
|
|
106
|
+
}
|
|
107
|
+
static equals(a, b) {
|
|
108
|
+
return protobuf_1.proto3.util.equals(Error, a, b);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.Error = Error;
|
|
112
|
+
class ResponseStatus extends protobuf_1.Message {
|
|
113
|
+
code = 0;
|
|
114
|
+
error;
|
|
115
|
+
constructor(data) {
|
|
116
|
+
super();
|
|
117
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
118
|
+
}
|
|
119
|
+
static runtime = protobuf_1.proto3;
|
|
120
|
+
static typeName = "micro.v1.ResponseStatus";
|
|
121
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
122
|
+
{ no: 1, name: "code", kind: "scalar", T: 5 },
|
|
123
|
+
{ no: 2, name: "error", kind: "message", T: Error, opt: true },
|
|
124
|
+
]);
|
|
125
|
+
static fromBinary(bytes, options) {
|
|
126
|
+
return new ResponseStatus().fromBinary(bytes, options);
|
|
127
|
+
}
|
|
128
|
+
static fromJson(jsonValue, options) {
|
|
129
|
+
return new ResponseStatus().fromJson(jsonValue, options);
|
|
130
|
+
}
|
|
131
|
+
static fromJsonString(jsonString, options) {
|
|
132
|
+
return new ResponseStatus().fromJsonString(jsonString, options);
|
|
133
|
+
}
|
|
134
|
+
static equals(a, b) {
|
|
135
|
+
return protobuf_1.proto3.util.equals(ResponseStatus, a, b);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
exports.ResponseStatus = ResponseStatus;
|
|
139
|
+
class EmptyResponse extends protobuf_1.Message {
|
|
140
|
+
status;
|
|
141
|
+
constructor(data) {
|
|
142
|
+
super();
|
|
143
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
144
|
+
}
|
|
145
|
+
static runtime = protobuf_1.proto3;
|
|
146
|
+
static typeName = "micro.v1.EmptyResponse";
|
|
147
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
148
|
+
{ no: 1, name: "status", kind: "message", T: ResponseStatus },
|
|
149
|
+
]);
|
|
150
|
+
static fromBinary(bytes, options) {
|
|
151
|
+
return new EmptyResponse().fromBinary(bytes, options);
|
|
152
|
+
}
|
|
153
|
+
static fromJson(jsonValue, options) {
|
|
154
|
+
return new EmptyResponse().fromJson(jsonValue, options);
|
|
155
|
+
}
|
|
156
|
+
static fromJsonString(jsonString, options) {
|
|
157
|
+
return new EmptyResponse().fromJsonString(jsonString, options);
|
|
158
|
+
}
|
|
159
|
+
static equals(a, b) {
|
|
160
|
+
return protobuf_1.proto3.util.equals(EmptyResponse, a, b);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
exports.EmptyResponse = EmptyResponse;
|
|
164
|
+
class ByIdRequest extends protobuf_1.Message {
|
|
165
|
+
id = "";
|
|
166
|
+
constructor(data) {
|
|
167
|
+
super();
|
|
168
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
169
|
+
}
|
|
170
|
+
static runtime = protobuf_1.proto3;
|
|
171
|
+
static typeName = "micro.v1.ByIdRequest";
|
|
172
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
173
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
174
|
+
]);
|
|
175
|
+
static fromBinary(bytes, options) {
|
|
176
|
+
return new ByIdRequest().fromBinary(bytes, options);
|
|
177
|
+
}
|
|
178
|
+
static fromJson(jsonValue, options) {
|
|
179
|
+
return new ByIdRequest().fromJson(jsonValue, options);
|
|
180
|
+
}
|
|
181
|
+
static fromJsonString(jsonString, options) {
|
|
182
|
+
return new ByIdRequest().fromJsonString(jsonString, options);
|
|
183
|
+
}
|
|
184
|
+
static equals(a, b) {
|
|
185
|
+
return protobuf_1.proto3.util.equals(ByIdRequest, a, b);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
exports.ByIdRequest = ByIdRequest;
|
|
189
|
+
class EmptyRequest extends protobuf_1.Message {
|
|
190
|
+
constructor(data) {
|
|
191
|
+
super();
|
|
192
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
193
|
+
}
|
|
194
|
+
static runtime = protobuf_1.proto3;
|
|
195
|
+
static typeName = "micro.v1.EmptyRequest";
|
|
196
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => []);
|
|
197
|
+
static fromBinary(bytes, options) {
|
|
198
|
+
return new EmptyRequest().fromBinary(bytes, options);
|
|
199
|
+
}
|
|
200
|
+
static fromJson(jsonValue, options) {
|
|
201
|
+
return new EmptyRequest().fromJson(jsonValue, options);
|
|
202
|
+
}
|
|
203
|
+
static fromJsonString(jsonString, options) {
|
|
204
|
+
return new EmptyRequest().fromJsonString(jsonString, options);
|
|
205
|
+
}
|
|
206
|
+
static equals(a, b) {
|
|
207
|
+
return protobuf_1.proto3.util.equals(EmptyRequest, a, b);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
exports.EmptyRequest = EmptyRequest;
|
|
211
|
+
class PaginateRequest extends protobuf_1.Message {
|
|
212
|
+
page = 0;
|
|
213
|
+
perPage = 0;
|
|
214
|
+
draw;
|
|
215
|
+
filters = [];
|
|
216
|
+
sort = [];
|
|
217
|
+
columns = [];
|
|
218
|
+
fulltextSearch;
|
|
219
|
+
constructor(data) {
|
|
220
|
+
super();
|
|
221
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
222
|
+
}
|
|
223
|
+
static runtime = protobuf_1.proto3;
|
|
224
|
+
static typeName = "micro.v1.PaginateRequest";
|
|
225
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
226
|
+
{ no: 1, name: "page", kind: "scalar", T: 5 },
|
|
227
|
+
{ no: 2, name: "per_page", kind: "scalar", T: 5 },
|
|
228
|
+
{ no: 3, name: "draw", kind: "scalar", T: 5, opt: true },
|
|
229
|
+
{ no: 4, name: "filters", kind: "message", T: Filter, repeated: true },
|
|
230
|
+
{ no: 5, name: "sort", kind: "message", T: Sort, repeated: true },
|
|
231
|
+
{ no: 6, name: "columns", kind: "scalar", T: 9, repeated: true },
|
|
232
|
+
{ no: 7, name: "fulltextSearch", kind: "scalar", T: 9, opt: true },
|
|
233
|
+
]);
|
|
234
|
+
static fromBinary(bytes, options) {
|
|
235
|
+
return new PaginateRequest().fromBinary(bytes, options);
|
|
236
|
+
}
|
|
237
|
+
static fromJson(jsonValue, options) {
|
|
238
|
+
return new PaginateRequest().fromJson(jsonValue, options);
|
|
239
|
+
}
|
|
240
|
+
static fromJsonString(jsonString, options) {
|
|
241
|
+
return new PaginateRequest().fromJsonString(jsonString, options);
|
|
242
|
+
}
|
|
243
|
+
static equals(a, b) {
|
|
244
|
+
return protobuf_1.proto3.util.equals(PaginateRequest, a, b);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
exports.PaginateRequest = PaginateRequest;
|
|
248
|
+
class PaginateFromRequest extends protobuf_1.Message {
|
|
249
|
+
id = "";
|
|
250
|
+
perPage = 0;
|
|
251
|
+
draw;
|
|
252
|
+
filters = [];
|
|
253
|
+
sort = [];
|
|
254
|
+
columns = [];
|
|
255
|
+
constructor(data) {
|
|
256
|
+
super();
|
|
257
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
258
|
+
}
|
|
259
|
+
static runtime = protobuf_1.proto3;
|
|
260
|
+
static typeName = "micro.v1.PaginateFromRequest";
|
|
261
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
262
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
263
|
+
{ no: 2, name: "per_page", kind: "scalar", T: 5 },
|
|
264
|
+
{ no: 3, name: "draw", kind: "scalar", T: 5, opt: true },
|
|
265
|
+
{ no: 4, name: "filters", kind: "message", T: Filter, repeated: true },
|
|
266
|
+
{ no: 5, name: "sort", kind: "message", T: Sort, repeated: true },
|
|
267
|
+
{ no: 6, name: "columns", kind: "scalar", T: 9, repeated: true },
|
|
268
|
+
]);
|
|
269
|
+
static fromBinary(bytes, options) {
|
|
270
|
+
return new PaginateFromRequest().fromBinary(bytes, options);
|
|
271
|
+
}
|
|
272
|
+
static fromJson(jsonValue, options) {
|
|
273
|
+
return new PaginateFromRequest().fromJson(jsonValue, options);
|
|
274
|
+
}
|
|
275
|
+
static fromJsonString(jsonString, options) {
|
|
276
|
+
return new PaginateFromRequest().fromJsonString(jsonString, options);
|
|
277
|
+
}
|
|
278
|
+
static equals(a, b) {
|
|
279
|
+
return protobuf_1.proto3.util.equals(PaginateFromRequest, a, b);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
exports.PaginateFromRequest = PaginateFromRequest;
|
|
283
|
+
class PaginationMetaResult extends protobuf_1.Message {
|
|
284
|
+
recordsTotal = 0;
|
|
285
|
+
recordsFiltered = 0;
|
|
286
|
+
draw = 0;
|
|
287
|
+
constructor(data) {
|
|
288
|
+
super();
|
|
289
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
290
|
+
}
|
|
291
|
+
static runtime = protobuf_1.proto3;
|
|
292
|
+
static typeName = "micro.v1.PaginationMetaResult";
|
|
293
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
294
|
+
{ no: 1, name: "records_total", kind: "scalar", T: 5 },
|
|
295
|
+
{ no: 2, name: "records_filtered", kind: "scalar", T: 5 },
|
|
296
|
+
{ no: 3, name: "draw", kind: "scalar", T: 5 },
|
|
297
|
+
]);
|
|
298
|
+
static fromBinary(bytes, options) {
|
|
299
|
+
return new PaginationMetaResult().fromBinary(bytes, options);
|
|
300
|
+
}
|
|
301
|
+
static fromJson(jsonValue, options) {
|
|
302
|
+
return new PaginationMetaResult().fromJson(jsonValue, options);
|
|
303
|
+
}
|
|
304
|
+
static fromJsonString(jsonString, options) {
|
|
305
|
+
return new PaginationMetaResult().fromJsonString(jsonString, options);
|
|
306
|
+
}
|
|
307
|
+
static equals(a, b) {
|
|
308
|
+
return protobuf_1.proto3.util.equals(PaginationMetaResult, a, b);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
exports.PaginationMetaResult = PaginationMetaResult;
|
|
312
|
+
class Filter extends protobuf_1.Message {
|
|
313
|
+
name = "";
|
|
314
|
+
operator = FilterOperator.equals;
|
|
315
|
+
value;
|
|
316
|
+
valueInt;
|
|
317
|
+
valueFloat;
|
|
318
|
+
valueBool;
|
|
319
|
+
constructor(data) {
|
|
320
|
+
super();
|
|
321
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
322
|
+
}
|
|
323
|
+
static runtime = protobuf_1.proto3;
|
|
324
|
+
static typeName = "micro.v1.Filter";
|
|
325
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
326
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 },
|
|
327
|
+
{ no: 2, name: "operator", kind: "enum", T: protobuf_1.proto3.getEnumType(FilterOperator) },
|
|
328
|
+
{ no: 3, name: "value", kind: "scalar", T: 9, opt: true },
|
|
329
|
+
{ no: 4, name: "value_int", kind: "scalar", T: 3, opt: true },
|
|
330
|
+
{ no: 5, name: "value_float", kind: "scalar", T: 2, opt: true },
|
|
331
|
+
{ no: 6, name: "value_bool", kind: "scalar", T: 8, opt: true },
|
|
332
|
+
]);
|
|
333
|
+
static fromBinary(bytes, options) {
|
|
334
|
+
return new Filter().fromBinary(bytes, options);
|
|
335
|
+
}
|
|
336
|
+
static fromJson(jsonValue, options) {
|
|
337
|
+
return new Filter().fromJson(jsonValue, options);
|
|
338
|
+
}
|
|
339
|
+
static fromJsonString(jsonString, options) {
|
|
340
|
+
return new Filter().fromJsonString(jsonString, options);
|
|
341
|
+
}
|
|
342
|
+
static equals(a, b) {
|
|
343
|
+
return protobuf_1.proto3.util.equals(Filter, a, b);
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
exports.Filter = Filter;
|
|
347
|
+
class Sort extends protobuf_1.Message {
|
|
348
|
+
name = "";
|
|
349
|
+
direction = SortDirection.asc;
|
|
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.Sort";
|
|
356
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
357
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 },
|
|
358
|
+
{ no: 2, name: "direction", kind: "enum", T: protobuf_1.proto3.getEnumType(SortDirection) },
|
|
359
|
+
]);
|
|
360
|
+
static fromBinary(bytes, options) {
|
|
361
|
+
return new Sort().fromBinary(bytes, options);
|
|
362
|
+
}
|
|
363
|
+
static fromJson(jsonValue, options) {
|
|
364
|
+
return new Sort().fromJson(jsonValue, options);
|
|
365
|
+
}
|
|
366
|
+
static fromJsonString(jsonString, options) {
|
|
367
|
+
return new Sort().fromJsonString(jsonString, options);
|
|
368
|
+
}
|
|
369
|
+
static equals(a, b) {
|
|
370
|
+
return protobuf_1.proto3.util.equals(Sort, a, b);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
exports.Sort = Sort;
|
|
374
|
+
class CoinData extends protobuf_1.Message {
|
|
375
|
+
id = "";
|
|
376
|
+
symbol = "";
|
|
377
|
+
name = "";
|
|
378
|
+
status = ActivePassiveEnum.active;
|
|
379
|
+
sequenceNo = 0;
|
|
380
|
+
createdAt = "";
|
|
381
|
+
updatedAt = "";
|
|
382
|
+
constructor(data) {
|
|
383
|
+
super();
|
|
384
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
385
|
+
}
|
|
386
|
+
static runtime = protobuf_1.proto3;
|
|
387
|
+
static typeName = "micro.v1.CoinData";
|
|
388
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
389
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
390
|
+
{ no: 2, name: "symbol", kind: "scalar", T: 9 },
|
|
391
|
+
{ no: 3, name: "name", kind: "scalar", T: 9 },
|
|
392
|
+
{ no: 4, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(ActivePassiveEnum) },
|
|
393
|
+
{ no: 5, name: "sequence_no", kind: "scalar", T: 5 },
|
|
394
|
+
{ no: 6, name: "created_at", kind: "scalar", T: 9 },
|
|
395
|
+
{ no: 7, name: "updated_at", kind: "scalar", T: 9 },
|
|
396
|
+
]);
|
|
397
|
+
static fromBinary(bytes, options) {
|
|
398
|
+
return new CoinData().fromBinary(bytes, options);
|
|
399
|
+
}
|
|
400
|
+
static fromJson(jsonValue, options) {
|
|
401
|
+
return new CoinData().fromJson(jsonValue, options);
|
|
402
|
+
}
|
|
403
|
+
static fromJsonString(jsonString, options) {
|
|
404
|
+
return new CoinData().fromJsonString(jsonString, options);
|
|
405
|
+
}
|
|
406
|
+
static equals(a, b) {
|
|
407
|
+
return protobuf_1.proto3.util.equals(CoinData, a, b);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
exports.CoinData = CoinData;
|
|
411
|
+
class ScrapeGeneralResponse extends protobuf_1.Message {
|
|
412
|
+
data = "";
|
|
413
|
+
constructor(data) {
|
|
414
|
+
super();
|
|
415
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
416
|
+
}
|
|
417
|
+
static runtime = protobuf_1.proto3;
|
|
418
|
+
static typeName = "micro.v1.ScrapeGeneralResponse";
|
|
419
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
420
|
+
{ no: 1, name: "data", kind: "scalar", T: 9 },
|
|
421
|
+
]);
|
|
422
|
+
static fromBinary(bytes, options) {
|
|
423
|
+
return new ScrapeGeneralResponse().fromBinary(bytes, options);
|
|
424
|
+
}
|
|
425
|
+
static fromJson(jsonValue, options) {
|
|
426
|
+
return new ScrapeGeneralResponse().fromJson(jsonValue, options);
|
|
427
|
+
}
|
|
428
|
+
static fromJsonString(jsonString, options) {
|
|
429
|
+
return new ScrapeGeneralResponse().fromJsonString(jsonString, options);
|
|
430
|
+
}
|
|
431
|
+
static equals(a, b) {
|
|
432
|
+
return protobuf_1.proto3.util.equals(ScrapeGeneralResponse, a, b);
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
exports.ScrapeGeneralResponse = ScrapeGeneralResponse;
|
|
436
|
+
class ScrapeStringRequest extends protobuf_1.Message {
|
|
437
|
+
data = "";
|
|
438
|
+
constructor(data) {
|
|
439
|
+
super();
|
|
440
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
441
|
+
}
|
|
442
|
+
static runtime = protobuf_1.proto3;
|
|
443
|
+
static typeName = "micro.v1.ScrapeStringRequest";
|
|
444
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
445
|
+
{ no: 1, name: "data", kind: "scalar", T: 9 },
|
|
446
|
+
]);
|
|
447
|
+
static fromBinary(bytes, options) {
|
|
448
|
+
return new ScrapeStringRequest().fromBinary(bytes, options);
|
|
449
|
+
}
|
|
450
|
+
static fromJson(jsonValue, options) {
|
|
451
|
+
return new ScrapeStringRequest().fromJson(jsonValue, options);
|
|
452
|
+
}
|
|
453
|
+
static fromJsonString(jsonString, options) {
|
|
454
|
+
return new ScrapeStringRequest().fromJsonString(jsonString, options);
|
|
455
|
+
}
|
|
456
|
+
static equals(a, b) {
|
|
457
|
+
return protobuf_1.proto3.util.equals(ScrapeStringRequest, a, b);
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
exports.ScrapeStringRequest = ScrapeStringRequest;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * as coin from './coin';
|
|
2
|
+
export * as data from './data';
|
|
3
|
+
export * as education from './education';
|
|
4
|
+
export * as general_nest from './general_nest';
|
|
5
|
+
export * as media from './media';
|
|
6
|
+
export * as news from './news';
|
|
7
|
+
export * as notification from './notification';
|
|
8
|
+
export * as portfolio from './portfolio';
|
|
9
|
+
export * as puppeteer from './puppeteer';
|
|
10
|
+
export * as user from './user';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.user = exports.puppeteer = exports.portfolio = exports.notification = exports.news = exports.media = exports.general_nest = exports.education = exports.data = exports.coin = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
exports.coin = tslib_1.__importStar(require("./coin"));
|
|
6
|
+
exports.data = tslib_1.__importStar(require("./data"));
|
|
7
|
+
exports.education = tslib_1.__importStar(require("./education"));
|
|
8
|
+
exports.general_nest = tslib_1.__importStar(require("./general_nest"));
|
|
9
|
+
exports.media = tslib_1.__importStar(require("./media"));
|
|
10
|
+
exports.news = tslib_1.__importStar(require("./news"));
|
|
11
|
+
exports.notification = tslib_1.__importStar(require("./notification"));
|
|
12
|
+
exports.portfolio = tslib_1.__importStar(require("./portfolio"));
|
|
13
|
+
exports.puppeteer = tslib_1.__importStar(require("./puppeteer"));
|
|
14
|
+
exports.user = tslib_1.__importStar(require("./user"));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.services_nest = exports.services_connect = exports.media_messages_nest = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
exports.media_messages_nest = tslib_1.__importStar(require("./media_messages_nest"));
|
|
6
|
+
exports.services_connect = tslib_1.__importStar(require("./services_connect"));
|
|
7
|
+
exports.services_nest = tslib_1.__importStar(require("./services_nest"));
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { PaginationMetaResult, ResponseStatus } from "../general_nest";
|
|
2
|
+
export declare const protobufPackage = "micro.v1.media";
|
|
3
|
+
export declare enum WatermarkLocation {
|
|
4
|
+
TOP_LEFT = "TOP_LEFT",
|
|
5
|
+
TOP_RIGHT = "TOP_RIGHT",
|
|
6
|
+
BOTTOM_LEFT = "BOTTOM_LEFT",
|
|
7
|
+
BOTTOM_RIGHT = "BOTTOM_RIGHT",
|
|
8
|
+
UNRECOGNIZED = "UNRECOGNIZED"
|
|
9
|
+
}
|
|
10
|
+
export declare enum FileStatus {
|
|
11
|
+
PENDING = "PENDING",
|
|
12
|
+
PROCESSING = "PROCESSING",
|
|
13
|
+
COMPLETED = "COMPLETED",
|
|
14
|
+
FAILED = "FAILED",
|
|
15
|
+
UNRECOGNIZED = "UNRECOGNIZED"
|
|
16
|
+
}
|
|
17
|
+
export interface FileStoreRequest {
|
|
18
|
+
uuid: string;
|
|
19
|
+
user_id: string;
|
|
20
|
+
original_name: string;
|
|
21
|
+
mimetype: string;
|
|
22
|
+
file_size: number;
|
|
23
|
+
file_type: string;
|
|
24
|
+
platform: string;
|
|
25
|
+
watermark?: WatermarkDto | undefined;
|
|
26
|
+
}
|
|
27
|
+
export interface WatermarkDto {
|
|
28
|
+
file_name: string;
|
|
29
|
+
watermark_location: WatermarkLocation;
|
|
30
|
+
width: number;
|
|
31
|
+
height: number;
|
|
32
|
+
x: number;
|
|
33
|
+
y: number;
|
|
34
|
+
}
|
|
35
|
+
export interface GetFileStatusResponse {
|
|
36
|
+
status: ResponseStatus | undefined;
|
|
37
|
+
file_status: FileStatus;
|
|
38
|
+
}
|
|
39
|
+
export interface MediaPaginationDto {
|
|
40
|
+
id: string;
|
|
41
|
+
uuid: string;
|
|
42
|
+
original_name: string;
|
|
43
|
+
original_ext: string;
|
|
44
|
+
mimetype: string;
|
|
45
|
+
file_status: FileStatus;
|
|
46
|
+
duration: number;
|
|
47
|
+
watermark: WatermarkDto | undefined;
|
|
48
|
+
created_at: string;
|
|
49
|
+
updated_at: string;
|
|
50
|
+
}
|
|
51
|
+
export interface MediaAdminPaginationResponse {
|
|
52
|
+
status: ResponseStatus | undefined;
|
|
53
|
+
pagination: PaginationMetaResult | undefined;
|
|
54
|
+
data: MediaPaginationDto[];
|
|
55
|
+
}
|
|
56
|
+
export interface GetMediaUrlResponse {
|
|
57
|
+
status: ResponseStatus | undefined;
|
|
58
|
+
message: string;
|
|
59
|
+
url: string;
|
|
60
|
+
}
|
|
61
|
+
export interface GetMediaUrlRequest {
|
|
62
|
+
file_uuid: string;
|
|
63
|
+
}
|
|
64
|
+
export interface LogoUrl {
|
|
65
|
+
name: string;
|
|
66
|
+
url: string;
|
|
67
|
+
}
|
|
68
|
+
export interface GetAllLogoUrlsResponse {
|
|
69
|
+
status: ResponseStatus | undefined;
|
|
70
|
+
data: LogoUrl[];
|
|
71
|
+
}
|
|
72
|
+
export interface StoreVideoLastTimeRequest {
|
|
73
|
+
file_uuid: string;
|
|
74
|
+
user_id: number;
|
|
75
|
+
last_time: number;
|
|
76
|
+
}
|
|
77
|
+
export interface GetVideoLastTimeRequest {
|
|
78
|
+
file_uuid: string;
|
|
79
|
+
user_id: number;
|
|
80
|
+
}
|
|
81
|
+
export interface GetVideoLastTimeResponse {
|
|
82
|
+
status: ResponseStatus | undefined;
|
|
83
|
+
last_time: number;
|
|
84
|
+
}
|
|
85
|
+
export interface FileStatusRequest {
|
|
86
|
+
file_uuid: string;
|
|
87
|
+
}
|
|
88
|
+
export interface FileStatusResponse {
|
|
89
|
+
file_status: FileStatus;
|
|
90
|
+
message: string;
|
|
91
|
+
}
|
|
92
|
+
export declare const MICRO_V1_MEDIA_PACKAGE_NAME = "micro.v1.media";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MICRO_V1_MEDIA_PACKAGE_NAME = exports.FileStatus = exports.WatermarkLocation = exports.protobufPackage = void 0;
|
|
4
|
+
exports.protobufPackage = "micro.v1.media";
|
|
5
|
+
var WatermarkLocation;
|
|
6
|
+
(function (WatermarkLocation) {
|
|
7
|
+
WatermarkLocation["TOP_LEFT"] = "TOP_LEFT";
|
|
8
|
+
WatermarkLocation["TOP_RIGHT"] = "TOP_RIGHT";
|
|
9
|
+
WatermarkLocation["BOTTOM_LEFT"] = "BOTTOM_LEFT";
|
|
10
|
+
WatermarkLocation["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
11
|
+
WatermarkLocation["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
12
|
+
})(WatermarkLocation || (exports.WatermarkLocation = WatermarkLocation = {}));
|
|
13
|
+
var FileStatus;
|
|
14
|
+
(function (FileStatus) {
|
|
15
|
+
FileStatus["PENDING"] = "PENDING";
|
|
16
|
+
FileStatus["PROCESSING"] = "PROCESSING";
|
|
17
|
+
FileStatus["COMPLETED"] = "COMPLETED";
|
|
18
|
+
FileStatus["FAILED"] = "FAILED";
|
|
19
|
+
FileStatus["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
20
|
+
})(FileStatus || (exports.FileStatus = FileStatus = {}));
|
|
21
|
+
exports.MICRO_V1_MEDIA_PACKAGE_NAME = "micro.v1.media";
|