jr-common-micro 1.1.36 → 1.1.38

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.
@@ -305,6 +305,7 @@ export interface CurrenciesNewDto {
305
305
  coinmarketcap_id: string;
306
306
  coinglass_spot_id: string;
307
307
  coinglass_futures_id: string;
308
+ url_id: string;
308
309
  }
309
310
  export interface CurrenciesNewResponse {
310
311
  status: ResponseStatus | undefined;
@@ -601,6 +601,7 @@ export declare class CurrenciesNewDto extends Message<CurrenciesNewDto> {
601
601
  coinmarketcapId: string;
602
602
  coinglassSpotId: string;
603
603
  coinglassFuturesId: string;
604
+ urlId: string;
604
605
  constructor(data?: PartialMessage<CurrenciesNewDto>);
605
606
  static readonly runtime: typeof proto3;
606
607
  static readonly typeName = "micro.v1.coin.CurrenciesNewDto";
@@ -1289,6 +1289,7 @@ class CurrenciesNewDto extends protobuf_1.Message {
1289
1289
  coinmarketcapId = "";
1290
1290
  coinglassSpotId = "";
1291
1291
  coinglassFuturesId = "";
1292
+ urlId = "";
1292
1293
  constructor(data) {
1293
1294
  super();
1294
1295
  protobuf_1.proto3.util.initPartial(data, this);
@@ -1311,6 +1312,7 @@ class CurrenciesNewDto extends protobuf_1.Message {
1311
1312
  { no: 13, name: "coinmarketcap_id", kind: "scalar", T: 9 },
1312
1313
  { no: 14, name: "coinglass_spot_id", kind: "scalar", T: 9 },
1313
1314
  { no: 15, name: "coinglass_futures_id", kind: "scalar", T: 9 },
1315
+ { no: 16, name: "url_id", kind: "scalar", T: 9 },
1314
1316
  ]);
1315
1317
  static fromBinary(bytes, options) {
1316
1318
  return new CurrenciesNewDto().fromBinary(bytes, options);
@@ -0,0 +1,21 @@
1
+ import { ResponseStatus } from "../general_nest";
2
+ export declare const protobufPackage = "micro.v1.data";
3
+ export interface CoinPerformanceDto {
4
+ symbol: string;
5
+ price: number;
6
+ percent_change_90d: number;
7
+ }
8
+ export interface AltcoinSeasonIndexDto {
9
+ timestamp: number;
10
+ altcoin_index: number;
11
+ altcoin_marketcap: number;
12
+ }
13
+ export interface AltcoinSeasonIndeCoinPerformanceDto {
14
+ coin_performance: CoinPerformanceDto[];
15
+ altcoin_season_index: AltcoinSeasonIndexDto[];
16
+ }
17
+ export interface AltcoinSeasonIndexResponse {
18
+ status: ResponseStatus | undefined;
19
+ data: AltcoinSeasonIndeCoinPerformanceDto | undefined;
20
+ }
21
+ export declare const MICRO_V1_DATA_PACKAGE_NAME = "micro.v1.data";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MICRO_V1_DATA_PACKAGE_NAME = exports.protobufPackage = void 0;
4
+ exports.protobufPackage = "micro.v1.data";
5
+ exports.MICRO_V1_DATA_PACKAGE_NAME = "micro.v1.data";
@@ -0,0 +1,53 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3 } from "@bufbuild/protobuf";
3
+ import { ResponseStatus } from "../general_pb.js";
4
+ export declare class CoinPerformanceDto extends Message<CoinPerformanceDto> {
5
+ symbol: string;
6
+ price: number;
7
+ percentChange90d: number;
8
+ constructor(data?: PartialMessage<CoinPerformanceDto>);
9
+ static readonly runtime: typeof proto3;
10
+ static readonly typeName = "micro.v1.data.CoinPerformanceDto";
11
+ static readonly fields: FieldList;
12
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinPerformanceDto;
13
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinPerformanceDto;
14
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinPerformanceDto;
15
+ static equals(a: CoinPerformanceDto | PlainMessage<CoinPerformanceDto> | undefined, b: CoinPerformanceDto | PlainMessage<CoinPerformanceDto> | undefined): boolean;
16
+ }
17
+ export declare class AltcoinSeasonIndexDto extends Message<AltcoinSeasonIndexDto> {
18
+ timestamp: bigint;
19
+ altcoinIndex: number;
20
+ altcoinMarketcap: number;
21
+ constructor(data?: PartialMessage<AltcoinSeasonIndexDto>);
22
+ static readonly runtime: typeof proto3;
23
+ static readonly typeName = "micro.v1.data.AltcoinSeasonIndexDto";
24
+ static readonly fields: FieldList;
25
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AltcoinSeasonIndexDto;
26
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AltcoinSeasonIndexDto;
27
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AltcoinSeasonIndexDto;
28
+ static equals(a: AltcoinSeasonIndexDto | PlainMessage<AltcoinSeasonIndexDto> | undefined, b: AltcoinSeasonIndexDto | PlainMessage<AltcoinSeasonIndexDto> | undefined): boolean;
29
+ }
30
+ export declare class AltcoinSeasonIndeCoinPerformanceDto extends Message<AltcoinSeasonIndeCoinPerformanceDto> {
31
+ coinPerformance: CoinPerformanceDto[];
32
+ altcoinSeasonIndex: AltcoinSeasonIndexDto[];
33
+ constructor(data?: PartialMessage<AltcoinSeasonIndeCoinPerformanceDto>);
34
+ static readonly runtime: typeof proto3;
35
+ static readonly typeName = "micro.v1.data.AltcoinSeasonIndeCoinPerformanceDto";
36
+ static readonly fields: FieldList;
37
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AltcoinSeasonIndeCoinPerformanceDto;
38
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AltcoinSeasonIndeCoinPerformanceDto;
39
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AltcoinSeasonIndeCoinPerformanceDto;
40
+ static equals(a: AltcoinSeasonIndeCoinPerformanceDto | PlainMessage<AltcoinSeasonIndeCoinPerformanceDto> | undefined, b: AltcoinSeasonIndeCoinPerformanceDto | PlainMessage<AltcoinSeasonIndeCoinPerformanceDto> | undefined): boolean;
41
+ }
42
+ export declare class AltcoinSeasonIndexResponse extends Message<AltcoinSeasonIndexResponse> {
43
+ status?: ResponseStatus;
44
+ data?: AltcoinSeasonIndeCoinPerformanceDto;
45
+ constructor(data?: PartialMessage<AltcoinSeasonIndexResponse>);
46
+ static readonly runtime: typeof proto3;
47
+ static readonly typeName = "micro.v1.data.AltcoinSeasonIndexResponse";
48
+ static readonly fields: FieldList;
49
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AltcoinSeasonIndexResponse;
50
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AltcoinSeasonIndexResponse;
51
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AltcoinSeasonIndexResponse;
52
+ static equals(a: AltcoinSeasonIndexResponse | PlainMessage<AltcoinSeasonIndexResponse> | undefined, b: AltcoinSeasonIndexResponse | PlainMessage<AltcoinSeasonIndexResponse> | undefined): boolean;
53
+ }
@@ -0,0 +1,117 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AltcoinSeasonIndexResponse = exports.AltcoinSeasonIndeCoinPerformanceDto = exports.AltcoinSeasonIndexDto = exports.CoinPerformanceDto = void 0;
4
+ const protobuf_1 = require("@bufbuild/protobuf");
5
+ const general_pb_js_1 = require("../general_pb.js");
6
+ class CoinPerformanceDto extends protobuf_1.Message {
7
+ symbol = "";
8
+ price = 0;
9
+ percentChange90d = 0;
10
+ constructor(data) {
11
+ super();
12
+ protobuf_1.proto3.util.initPartial(data, this);
13
+ }
14
+ static runtime = protobuf_1.proto3;
15
+ static typeName = "micro.v1.data.CoinPerformanceDto";
16
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
17
+ { no: 1, name: "symbol", kind: "scalar", T: 9 },
18
+ { no: 2, name: "price", kind: "scalar", T: 1 },
19
+ { no: 3, name: "percent_change_90d", kind: "scalar", T: 1 },
20
+ ]);
21
+ static fromBinary(bytes, options) {
22
+ return new CoinPerformanceDto().fromBinary(bytes, options);
23
+ }
24
+ static fromJson(jsonValue, options) {
25
+ return new CoinPerformanceDto().fromJson(jsonValue, options);
26
+ }
27
+ static fromJsonString(jsonString, options) {
28
+ return new CoinPerformanceDto().fromJsonString(jsonString, options);
29
+ }
30
+ static equals(a, b) {
31
+ return protobuf_1.proto3.util.equals(CoinPerformanceDto, a, b);
32
+ }
33
+ }
34
+ exports.CoinPerformanceDto = CoinPerformanceDto;
35
+ class AltcoinSeasonIndexDto extends protobuf_1.Message {
36
+ timestamp = protobuf_1.protoInt64.zero;
37
+ altcoinIndex = 0;
38
+ altcoinMarketcap = 0;
39
+ constructor(data) {
40
+ super();
41
+ protobuf_1.proto3.util.initPartial(data, this);
42
+ }
43
+ static runtime = protobuf_1.proto3;
44
+ static typeName = "micro.v1.data.AltcoinSeasonIndexDto";
45
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
46
+ { no: 1, name: "timestamp", kind: "scalar", T: 3 },
47
+ { no: 2, name: "altcoin_index", kind: "scalar", T: 1 },
48
+ { no: 3, name: "altcoin_marketcap", kind: "scalar", T: 1 },
49
+ ]);
50
+ static fromBinary(bytes, options) {
51
+ return new AltcoinSeasonIndexDto().fromBinary(bytes, options);
52
+ }
53
+ static fromJson(jsonValue, options) {
54
+ return new AltcoinSeasonIndexDto().fromJson(jsonValue, options);
55
+ }
56
+ static fromJsonString(jsonString, options) {
57
+ return new AltcoinSeasonIndexDto().fromJsonString(jsonString, options);
58
+ }
59
+ static equals(a, b) {
60
+ return protobuf_1.proto3.util.equals(AltcoinSeasonIndexDto, a, b);
61
+ }
62
+ }
63
+ exports.AltcoinSeasonIndexDto = AltcoinSeasonIndexDto;
64
+ class AltcoinSeasonIndeCoinPerformanceDto extends protobuf_1.Message {
65
+ coinPerformance = [];
66
+ altcoinSeasonIndex = [];
67
+ constructor(data) {
68
+ super();
69
+ protobuf_1.proto3.util.initPartial(data, this);
70
+ }
71
+ static runtime = protobuf_1.proto3;
72
+ static typeName = "micro.v1.data.AltcoinSeasonIndeCoinPerformanceDto";
73
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
74
+ { no: 1, name: "coin_performance", kind: "message", T: CoinPerformanceDto, repeated: true },
75
+ { no: 2, name: "altcoin_season_index", kind: "message", T: AltcoinSeasonIndexDto, repeated: true },
76
+ ]);
77
+ static fromBinary(bytes, options) {
78
+ return new AltcoinSeasonIndeCoinPerformanceDto().fromBinary(bytes, options);
79
+ }
80
+ static fromJson(jsonValue, options) {
81
+ return new AltcoinSeasonIndeCoinPerformanceDto().fromJson(jsonValue, options);
82
+ }
83
+ static fromJsonString(jsonString, options) {
84
+ return new AltcoinSeasonIndeCoinPerformanceDto().fromJsonString(jsonString, options);
85
+ }
86
+ static equals(a, b) {
87
+ return protobuf_1.proto3.util.equals(AltcoinSeasonIndeCoinPerformanceDto, a, b);
88
+ }
89
+ }
90
+ exports.AltcoinSeasonIndeCoinPerformanceDto = AltcoinSeasonIndeCoinPerformanceDto;
91
+ class AltcoinSeasonIndexResponse extends protobuf_1.Message {
92
+ status;
93
+ data;
94
+ constructor(data) {
95
+ super();
96
+ protobuf_1.proto3.util.initPartial(data, this);
97
+ }
98
+ static runtime = protobuf_1.proto3;
99
+ static typeName = "micro.v1.data.AltcoinSeasonIndexResponse";
100
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
101
+ { no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
102
+ { no: 2, name: "data", kind: "message", T: AltcoinSeasonIndeCoinPerformanceDto },
103
+ ]);
104
+ static fromBinary(bytes, options) {
105
+ return new AltcoinSeasonIndexResponse().fromBinary(bytes, options);
106
+ }
107
+ static fromJson(jsonValue, options) {
108
+ return new AltcoinSeasonIndexResponse().fromJson(jsonValue, options);
109
+ }
110
+ static fromJsonString(jsonString, options) {
111
+ return new AltcoinSeasonIndexResponse().fromJsonString(jsonString, options);
112
+ }
113
+ static equals(a, b) {
114
+ return protobuf_1.proto3.util.equals(AltcoinSeasonIndexResponse, a, b);
115
+ }
116
+ }
117
+ exports.AltcoinSeasonIndexResponse = AltcoinSeasonIndexResponse;
@@ -1,3 +1,4 @@
1
+ export * as altcoin_season_index_nest from './altcoin_season_index_nest';
1
2
  export * as daily_market_data_messages_nest from './daily_market_data_messages_nest';
2
3
  export * as dominance_messages_nest from './dominance_messages_nest';
3
4
  export * as exchanges_messages_nest from './exchanges_messages_nest';
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.two_year_ma_multipler_messages_nest = exports.two_hundred_week_moving_average_messages_nest = exports.token_unlocks_nest = exports.token_unlocks_connect = exports.services_nest = exports.services_connect = exports.scrape_treasuries_messages_nest = exports.scrape_assets_messages_nest = exports.rsi_list_messages_nest = exports.rainbow_messages_nest = exports.puppeteer_messages_nest = exports.puell_multiple_messages_nest = exports.mvrvz_score_messages_nest = exports.liquidation_v1_messages_nest = exports.liquidation_heat_map_m2_messages_nest = exports.inflow_outflow_messages_nest = exports.homepage_messages_nest = exports.global_stats_messages_nest = exports.funding_rate_messages_nest = exports.exchanges_messages_nest = exports.dominance_messages_nest = exports.daily_market_data_messages_nest = void 0;
3
+ exports.two_year_ma_multipler_messages_nest = exports.two_hundred_week_moving_average_messages_nest = exports.token_unlocks_nest = exports.token_unlocks_connect = exports.services_nest = exports.services_connect = exports.scrape_treasuries_messages_nest = exports.scrape_assets_messages_nest = exports.rsi_list_messages_nest = exports.rainbow_messages_nest = exports.puppeteer_messages_nest = exports.puell_multiple_messages_nest = exports.mvrvz_score_messages_nest = exports.liquidation_v1_messages_nest = exports.liquidation_heat_map_m2_messages_nest = exports.inflow_outflow_messages_nest = exports.homepage_messages_nest = exports.global_stats_messages_nest = exports.funding_rate_messages_nest = exports.exchanges_messages_nest = exports.dominance_messages_nest = exports.daily_market_data_messages_nest = exports.altcoin_season_index_nest = void 0;
4
4
  const tslib_1 = require("tslib");
5
+ exports.altcoin_season_index_nest = tslib_1.__importStar(require("./altcoin_season_index_nest"));
5
6
  exports.daily_market_data_messages_nest = tslib_1.__importStar(require("./daily_market_data_messages_nest"));
6
7
  exports.dominance_messages_nest = tslib_1.__importStar(require("./dominance_messages_nest"));
7
8
  exports.exchanges_messages_nest = tslib_1.__importStar(require("./exchanges_messages_nest"));
@@ -18,6 +18,7 @@ import { ScrapeAssetsResponse } from "./scrape_assets_messages_pb.js";
18
18
  import { ScrapeTreasuriesResponse } from "./scrape_treasuries_messages_pb.js";
19
19
  import { LiquidationV1CoinListResponse, LiquidationV1ExchangeRequest, LiquidationV1ExchangeResponse, LiquidationV1RektResponse } from "./liquidation_v1_messages_pb.js";
20
20
  import { DailyMarketDataRequest, DailyMarketDataResponse } from "./daily_market_data_messages_pb.js";
21
+ import { AltcoinSeasonIndexResponse } from "./altcoin_season_index_pb.js";
21
22
  export declare const PFundingRateService: {
22
23
  readonly typeName: "micro.v1.data.PFundingRateService";
23
24
  readonly methods: {
@@ -323,3 +324,14 @@ export declare const PDailyMarketDataAdminService: {
323
324
  };
324
325
  };
325
326
  };
327
+ export declare const PAltcoinSeasonIndexService: {
328
+ readonly typeName: "micro.v1.data.PAltcoinSeasonIndexService";
329
+ readonly methods: {
330
+ readonly getAltcoinSeasonIndex: {
331
+ readonly name: "GetAltcoinSeasonIndex";
332
+ readonly I: typeof EmptyRequest;
333
+ readonly O: typeof AltcoinSeasonIndexResponse;
334
+ readonly kind: MethodKind.ServerStreaming;
335
+ };
336
+ };
337
+ };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PDailyMarketDataAdminService = exports.PLiquidationV1Service = exports.PScrapeTreasuriesService = exports.PScrapeAssetsService = exports.PTrendCoinChangeAdminService = exports.PTwoHundredWeekMovingAverageService = exports.PPuppeteerMicroservice = exports.PRsiListService = exports.PTwoYearMaMultiplerService = exports.PRainbowService = exports.PInflowOutflowService = exports.PLiquidationHeatMapM2Service = exports.PMvrvzScoreService = exports.PGlobalStatsService = exports.PPuellMultipleService = exports.PDominanceService = exports.PExchangesService = exports.PHomepageService = exports.PFundingRateService = void 0;
3
+ exports.PAltcoinSeasonIndexService = exports.PDailyMarketDataAdminService = exports.PLiquidationV1Service = exports.PScrapeTreasuriesService = exports.PScrapeAssetsService = exports.PTrendCoinChangeAdminService = exports.PTwoHundredWeekMovingAverageService = exports.PPuppeteerMicroservice = exports.PRsiListService = exports.PTwoYearMaMultiplerService = exports.PRainbowService = exports.PInflowOutflowService = exports.PLiquidationHeatMapM2Service = exports.PMvrvzScoreService = exports.PGlobalStatsService = exports.PPuellMultipleService = exports.PDominanceService = exports.PExchangesService = exports.PHomepageService = exports.PFundingRateService = void 0;
4
4
  const general_pb_js_1 = require("../general_pb.js");
5
5
  const funding_rate_messages_pb_js_1 = require("./funding_rate_messages_pb.js");
6
6
  const protobuf_1 = require("@bufbuild/protobuf");
@@ -21,6 +21,7 @@ const scrape_assets_messages_pb_js_1 = require("./scrape_assets_messages_pb.js")
21
21
  const scrape_treasuries_messages_pb_js_1 = require("./scrape_treasuries_messages_pb.js");
22
22
  const liquidation_v1_messages_pb_js_1 = require("./liquidation_v1_messages_pb.js");
23
23
  const daily_market_data_messages_pb_js_1 = require("./daily_market_data_messages_pb.js");
24
+ const altcoin_season_index_pb_js_1 = require("./altcoin_season_index_pb.js");
24
25
  exports.PFundingRateService = {
25
26
  typeName: "micro.v1.data.PFundingRateService",
26
27
  methods: {
@@ -326,3 +327,14 @@ exports.PDailyMarketDataAdminService = {
326
327
  },
327
328
  }
328
329
  };
330
+ exports.PAltcoinSeasonIndexService = {
331
+ typeName: "micro.v1.data.PAltcoinSeasonIndexService",
332
+ methods: {
333
+ getAltcoinSeasonIndex: {
334
+ name: "GetAltcoinSeasonIndex",
335
+ I: general_pb_js_1.EmptyRequest,
336
+ O: altcoin_season_index_pb_js_1.AltcoinSeasonIndexResponse,
337
+ kind: protobuf_1.MethodKind.ServerStreaming,
338
+ },
339
+ }
340
+ };
@@ -1,6 +1,7 @@
1
1
  import type { Metadata } from "@grpc/grpc-js";
2
2
  import { Observable } from "rxjs";
3
3
  import { ByIdRequest, EmptyRequest, EmptyResponse, PaginateRequest } from "../general_nest";
4
+ import { AltcoinSeasonIndexResponse } from "./altcoin_season_index_nest";
4
5
  import { DailyMarketDataRequest, DailyMarketDataResponse } from "./daily_market_data_messages_nest";
5
6
  import { DominanceHistoryRequest, DominanceHistoryResponse, DominanceResponse } from "./dominance_messages_nest";
6
7
  import { AnalyticsExchangeCoinsResponse, CryptoExchangeDetailsResponse, CryptoExchangesResponse, DecentralizedExchangeDetailsResponse, DecentralizedExchangesResponse, ExchangeCoinsResponse } from "./exchanges_messages_nest";
@@ -205,3 +206,11 @@ export interface PDailyMarketDataAdminServiceController {
205
206
  }
206
207
  export declare function PDailyMarketDataAdminServiceControllerMethods(): (constructor: Function) => void;
207
208
  export declare const P_DAILY_MARKET_DATA_ADMIN_SERVICE_NAME = "PDailyMarketDataAdminService";
209
+ export interface PAltcoinSeasonIndexServiceClient {
210
+ getAltcoinSeasonIndex(request: EmptyRequest, metadata?: Metadata): Observable<AltcoinSeasonIndexResponse>;
211
+ }
212
+ export interface PAltcoinSeasonIndexServiceController {
213
+ getAltcoinSeasonIndex(request: EmptyRequest, metadata?: Metadata): Observable<AltcoinSeasonIndexResponse>;
214
+ }
215
+ export declare function PAltcoinSeasonIndexServiceControllerMethods(): (constructor: Function) => void;
216
+ export declare const P_ALTCOIN_SEASON_INDEX_SERVICE_NAME = "PAltcoinSeasonIndexService";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.P_DAILY_MARKET_DATA_ADMIN_SERVICE_NAME = exports.P_LIQUIDATION_V1_SERVICE_NAME = exports.P_SCRAPE_TREASURIES_SERVICE_NAME = exports.P_SCRAPE_ASSETS_SERVICE_NAME = exports.P_TREND_COIN_CHANGE_ADMIN_SERVICE_NAME = exports.P_TWO_HUNDRED_WEEK_MOVING_AVERAGE_SERVICE_NAME = exports.P_PUPPETEER_MICROSERVICE_NAME = exports.P_RSI_LIST_SERVICE_NAME = exports.P_TWO_YEAR_MA_MULTIPLER_SERVICE_NAME = exports.P_RAINBOW_SERVICE_NAME = exports.P_INFLOW_OUTFLOW_SERVICE_NAME = exports.P_LIQUIDATION_HEAT_MAP_M2_SERVICE_NAME = exports.P_MVRVZ_SCORE_SERVICE_NAME = exports.P_GLOBAL_STATS_SERVICE_NAME = exports.P_PUELL_MULTIPLE_SERVICE_NAME = exports.P_DOMINANCE_SERVICE_NAME = exports.P_EXCHANGES_SERVICE_NAME = exports.P_HOMEPAGE_SERVICE_NAME = exports.P_FUNDING_RATE_SERVICE_NAME = exports.MICRO_V1_DATA_PACKAGE_NAME = exports.protobufPackage = void 0;
3
+ exports.P_ALTCOIN_SEASON_INDEX_SERVICE_NAME = exports.P_DAILY_MARKET_DATA_ADMIN_SERVICE_NAME = exports.P_LIQUIDATION_V1_SERVICE_NAME = exports.P_SCRAPE_TREASURIES_SERVICE_NAME = exports.P_SCRAPE_ASSETS_SERVICE_NAME = exports.P_TREND_COIN_CHANGE_ADMIN_SERVICE_NAME = exports.P_TWO_HUNDRED_WEEK_MOVING_AVERAGE_SERVICE_NAME = exports.P_PUPPETEER_MICROSERVICE_NAME = exports.P_RSI_LIST_SERVICE_NAME = exports.P_TWO_YEAR_MA_MULTIPLER_SERVICE_NAME = exports.P_RAINBOW_SERVICE_NAME = exports.P_INFLOW_OUTFLOW_SERVICE_NAME = exports.P_LIQUIDATION_HEAT_MAP_M2_SERVICE_NAME = exports.P_MVRVZ_SCORE_SERVICE_NAME = exports.P_GLOBAL_STATS_SERVICE_NAME = exports.P_PUELL_MULTIPLE_SERVICE_NAME = exports.P_DOMINANCE_SERVICE_NAME = exports.P_EXCHANGES_SERVICE_NAME = exports.P_HOMEPAGE_SERVICE_NAME = exports.P_FUNDING_RATE_SERVICE_NAME = exports.MICRO_V1_DATA_PACKAGE_NAME = exports.protobufPackage = void 0;
4
4
  exports.PFundingRateServiceControllerMethods = PFundingRateServiceControllerMethods;
5
5
  exports.PHomepageServiceControllerMethods = PHomepageServiceControllerMethods;
6
6
  exports.PExchangesServiceControllerMethods = PExchangesServiceControllerMethods;
@@ -20,6 +20,7 @@ exports.PScrapeAssetsServiceControllerMethods = PScrapeAssetsServiceControllerMe
20
20
  exports.PScrapeTreasuriesServiceControllerMethods = PScrapeTreasuriesServiceControllerMethods;
21
21
  exports.PLiquidationV1ServiceControllerMethods = PLiquidationV1ServiceControllerMethods;
22
22
  exports.PDailyMarketDataAdminServiceControllerMethods = PDailyMarketDataAdminServiceControllerMethods;
23
+ exports.PAltcoinSeasonIndexServiceControllerMethods = PAltcoinSeasonIndexServiceControllerMethods;
23
24
  const microservices_1 = require("@nestjs/microservices");
24
25
  exports.protobufPackage = "micro.v1.data";
25
26
  exports.MICRO_V1_DATA_PACKAGE_NAME = "micro.v1.data";
@@ -324,3 +325,18 @@ function PDailyMarketDataAdminServiceControllerMethods() {
324
325
  };
325
326
  }
326
327
  exports.P_DAILY_MARKET_DATA_ADMIN_SERVICE_NAME = "PDailyMarketDataAdminService";
328
+ function PAltcoinSeasonIndexServiceControllerMethods() {
329
+ return function (constructor) {
330
+ const grpcMethods = ["getAltcoinSeasonIndex"];
331
+ for (const method of grpcMethods) {
332
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
333
+ (0, microservices_1.GrpcMethod)("PAltcoinSeasonIndexService", method)(constructor.prototype[method], method, descriptor);
334
+ }
335
+ const grpcStreamMethods = [];
336
+ for (const method of grpcStreamMethods) {
337
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
338
+ (0, microservices_1.GrpcStreamMethod)("PAltcoinSeasonIndexService", method)(constructor.prototype[method], method, descriptor);
339
+ }
340
+ };
341
+ }
342
+ exports.P_ALTCOIN_SEASON_INDEX_SERVICE_NAME = "PAltcoinSeasonIndexService";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jr-common-micro",
3
- "version": "1.1.36",
3
+ "version": "1.1.38",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -340,6 +340,7 @@ message CurrenciesNewDto {
340
340
  string coinmarketcap_id = 13;
341
341
  string coinglass_spot_id = 14;
342
342
  string coinglass_futures_id = 15;
343
+ string url_id = 16;
343
344
  }
344
345
 
345
346
  message CurrenciesNewResponse {
@@ -0,0 +1,27 @@
1
+ syntax = "proto3";
2
+
3
+ package micro.v1.data;
4
+
5
+ import "micro/v1/general.proto";
6
+
7
+ message CoinPerformanceDto {
8
+ string symbol = 1;
9
+ double price = 2;
10
+ double percent_change_90d = 3;
11
+ }
12
+
13
+ message AltcoinSeasonIndexDto {
14
+ int64 timestamp = 1;
15
+ double altcoin_index = 2;
16
+ double altcoin_marketcap = 3;
17
+ }
18
+
19
+ message AltcoinSeasonIndeCoinPerformanceDto {
20
+ repeated CoinPerformanceDto coin_performance = 1;
21
+ repeated AltcoinSeasonIndexDto altcoin_season_index = 2;
22
+ }
23
+
24
+ message AltcoinSeasonIndexResponse {
25
+ ResponseStatus status = 1;
26
+ AltcoinSeasonIndeCoinPerformanceDto data = 2;
27
+ }
@@ -21,6 +21,7 @@ import "micro/v1/data/puppeteer_messages.proto";
21
21
  import "micro/v1/data/scrape_assets_messages.proto";
22
22
  import "micro/v1/data/scrape_treasuries_messages.proto";
23
23
  import "micro/v1/data/liquidation_v1_messages.proto";
24
+ import "micro/v1/data/altcoin_season_index.proto";
24
25
 
25
26
  service PFundingRateService {
26
27
  rpc FundingRateTable(EmptyRequest) returns(stream FundingRateTableResponse) {}
@@ -112,4 +113,8 @@ service PDailyMarketDataAdminService {
112
113
  rpc ChangeDailyMarketDataAdmin(DailyMarketDataRequest) returns(stream DailyMarketDataResponse) {}
113
114
  rpc GetDailyMarketDataAdmin(EmptyRequest) returns(stream DailyMarketDataResponse) {}
114
115
  rpc DeleteDailyMarketDataAdmin(DailyMarketDataRequest) returns(stream EmptyResponse) {}
116
+ }
117
+
118
+ service PAltcoinSeasonIndexService {
119
+ rpc GetAltcoinSeasonIndex(EmptyRequest) returns(stream AltcoinSeasonIndexResponse) {}
115
120
  }