jr-common-micro 1.1.45 → 1.1.47
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/dist/proto/micro/v1/coin/analytics_messages_nest.d.ts +2 -19
- package/dist/proto/micro/v1/coin/analytics_messages_pb.d.ts +2 -51
- package/dist/proto/micro/v1/coin/analytics_messages_pb.js +4 -115
- package/dist/proto/micro/v1/coin/services_connect.d.ts +2 -2
- package/dist/proto/micro/v1/coin/services_connect.js +1 -1
- package/dist/proto/micro/v1/coin/services_nest.d.ts +3 -3
- package/package.json +1 -1
- package/proto/micro/v1/coin/analytics_messages.proto +2 -23
- package/proto/micro/v1/coin/services.proto +1 -1
|
@@ -342,30 +342,13 @@ export interface PaginateRequestCurrency {
|
|
|
342
342
|
first500?: boolean | undefined;
|
|
343
343
|
optimization?: boolean | undefined;
|
|
344
344
|
}
|
|
345
|
-
export interface PassiveCurrenciesRequest {
|
|
346
|
-
page: number;
|
|
347
|
-
per_page: number;
|
|
348
|
-
draw: number;
|
|
349
|
-
}
|
|
350
345
|
export interface PassiveCurrencyItem {
|
|
351
346
|
url_id: string;
|
|
352
347
|
name: string;
|
|
353
348
|
coinmarketcap_id: string;
|
|
354
349
|
}
|
|
355
350
|
export interface PassiveCurrenciesResponse {
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
status: PassiveCurrenciesResponse_Status | undefined;
|
|
359
|
-
}
|
|
360
|
-
export interface PassiveCurrenciesResponse_Data {
|
|
361
|
-
items: PassiveCurrencyItem[];
|
|
362
|
-
}
|
|
363
|
-
export interface PassiveCurrenciesResponse_Pagination {
|
|
364
|
-
draw: number;
|
|
365
|
-
records_filtered: number;
|
|
366
|
-
records_total: number;
|
|
367
|
-
}
|
|
368
|
-
export interface PassiveCurrenciesResponse_Status {
|
|
369
|
-
code: number;
|
|
351
|
+
status: ResponseStatus | undefined;
|
|
352
|
+
data: PassiveCurrencyItem[];
|
|
370
353
|
}
|
|
371
354
|
export declare const MICRO_V1_COIN_PACKAGE_NAME = "micro.v1.coin";
|
|
@@ -694,19 +694,6 @@ export declare class PaginateRequestCurrency extends Message<PaginateRequestCurr
|
|
|
694
694
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PaginateRequestCurrency;
|
|
695
695
|
static equals(a: PaginateRequestCurrency | PlainMessage<PaginateRequestCurrency> | undefined, b: PaginateRequestCurrency | PlainMessage<PaginateRequestCurrency> | undefined): boolean;
|
|
696
696
|
}
|
|
697
|
-
export declare class PassiveCurrenciesRequest extends Message<PassiveCurrenciesRequest> {
|
|
698
|
-
page: number;
|
|
699
|
-
perPage: number;
|
|
700
|
-
draw: number;
|
|
701
|
-
constructor(data?: PartialMessage<PassiveCurrenciesRequest>);
|
|
702
|
-
static readonly runtime: typeof proto3;
|
|
703
|
-
static readonly typeName = "micro.v1.coin.PassiveCurrenciesRequest";
|
|
704
|
-
static readonly fields: FieldList;
|
|
705
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PassiveCurrenciesRequest;
|
|
706
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PassiveCurrenciesRequest;
|
|
707
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PassiveCurrenciesRequest;
|
|
708
|
-
static equals(a: PassiveCurrenciesRequest | PlainMessage<PassiveCurrenciesRequest> | undefined, b: PassiveCurrenciesRequest | PlainMessage<PassiveCurrenciesRequest> | undefined): boolean;
|
|
709
|
-
}
|
|
710
697
|
export declare class PassiveCurrencyItem extends Message<PassiveCurrencyItem> {
|
|
711
698
|
urlId: string;
|
|
712
699
|
name: string;
|
|
@@ -721,9 +708,8 @@ export declare class PassiveCurrencyItem extends Message<PassiveCurrencyItem> {
|
|
|
721
708
|
static equals(a: PassiveCurrencyItem | PlainMessage<PassiveCurrencyItem> | undefined, b: PassiveCurrencyItem | PlainMessage<PassiveCurrencyItem> | undefined): boolean;
|
|
722
709
|
}
|
|
723
710
|
export declare class PassiveCurrenciesResponse extends Message<PassiveCurrenciesResponse> {
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
status?: PassiveCurrenciesResponse_Status;
|
|
711
|
+
status?: ResponseStatus;
|
|
712
|
+
data: PassiveCurrencyItem[];
|
|
727
713
|
constructor(data?: PartialMessage<PassiveCurrenciesResponse>);
|
|
728
714
|
static readonly runtime: typeof proto3;
|
|
729
715
|
static readonly typeName = "micro.v1.coin.PassiveCurrenciesResponse";
|
|
@@ -733,38 +719,3 @@ export declare class PassiveCurrenciesResponse extends Message<PassiveCurrencies
|
|
|
733
719
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse;
|
|
734
720
|
static equals(a: PassiveCurrenciesResponse | PlainMessage<PassiveCurrenciesResponse> | undefined, b: PassiveCurrenciesResponse | PlainMessage<PassiveCurrenciesResponse> | undefined): boolean;
|
|
735
721
|
}
|
|
736
|
-
export declare class PassiveCurrenciesResponse_Data extends Message<PassiveCurrenciesResponse_Data> {
|
|
737
|
-
items: PassiveCurrencyItem[];
|
|
738
|
-
constructor(data?: PartialMessage<PassiveCurrenciesResponse_Data>);
|
|
739
|
-
static readonly runtime: typeof proto3;
|
|
740
|
-
static readonly typeName = "micro.v1.coin.PassiveCurrenciesResponse.Data";
|
|
741
|
-
static readonly fields: FieldList;
|
|
742
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PassiveCurrenciesResponse_Data;
|
|
743
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse_Data;
|
|
744
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse_Data;
|
|
745
|
-
static equals(a: PassiveCurrenciesResponse_Data | PlainMessage<PassiveCurrenciesResponse_Data> | undefined, b: PassiveCurrenciesResponse_Data | PlainMessage<PassiveCurrenciesResponse_Data> | undefined): boolean;
|
|
746
|
-
}
|
|
747
|
-
export declare class PassiveCurrenciesResponse_Pagination extends Message<PassiveCurrenciesResponse_Pagination> {
|
|
748
|
-
draw: number;
|
|
749
|
-
recordsFiltered: number;
|
|
750
|
-
recordsTotal: number;
|
|
751
|
-
constructor(data?: PartialMessage<PassiveCurrenciesResponse_Pagination>);
|
|
752
|
-
static readonly runtime: typeof proto3;
|
|
753
|
-
static readonly typeName = "micro.v1.coin.PassiveCurrenciesResponse.Pagination";
|
|
754
|
-
static readonly fields: FieldList;
|
|
755
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PassiveCurrenciesResponse_Pagination;
|
|
756
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse_Pagination;
|
|
757
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse_Pagination;
|
|
758
|
-
static equals(a: PassiveCurrenciesResponse_Pagination | PlainMessage<PassiveCurrenciesResponse_Pagination> | undefined, b: PassiveCurrenciesResponse_Pagination | PlainMessage<PassiveCurrenciesResponse_Pagination> | undefined): boolean;
|
|
759
|
-
}
|
|
760
|
-
export declare class PassiveCurrenciesResponse_Status extends Message<PassiveCurrenciesResponse_Status> {
|
|
761
|
-
code: number;
|
|
762
|
-
constructor(data?: PartialMessage<PassiveCurrenciesResponse_Status>);
|
|
763
|
-
static readonly runtime: typeof proto3;
|
|
764
|
-
static readonly typeName = "micro.v1.coin.PassiveCurrenciesResponse.Status";
|
|
765
|
-
static readonly fields: FieldList;
|
|
766
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PassiveCurrenciesResponse_Status;
|
|
767
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse_Status;
|
|
768
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse_Status;
|
|
769
|
-
static equals(a: PassiveCurrenciesResponse_Status | PlainMessage<PassiveCurrenciesResponse_Status> | undefined, b: PassiveCurrenciesResponse_Status | PlainMessage<PassiveCurrenciesResponse_Status> | undefined): boolean;
|
|
770
|
-
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PassiveCurrenciesResponse = exports.PassiveCurrencyItem = exports.
|
|
4
|
-
exports.PassiveCurrenciesResponse_Status = exports.PassiveCurrenciesResponse_Pagination = exports.PassiveCurrenciesResponse_Data = void 0;
|
|
3
|
+
exports.PassiveCurrenciesResponse = exports.PassiveCurrencyItem = exports.PaginateRequestCurrency = exports.CurrenciesNewsChangeResponse = exports.CurrenciesNewsChangeRequest = exports.CurrenciesNewsChangeRequestData = exports.CurrenciesNewsChangeDto = exports.CurrenciesNewResponse = exports.CurrenciesNewDto = exports.CurrenciesByChainRequest = exports.CurrenciesByCategoryRequest = exports.NavbarDataResponse = exports.NavbarDataDto = exports.AnalyticsCoinsWeeklyDataBulkResponse = exports.CoinsWeeklyDataBulkRequest = exports.AnalyticsCoinWeeklyDataResponse = exports.CoinWeeklyDataDto = exports.AnalyticsExchangeResponse = exports.AnalyticsExchangeDto = exports.AnalyticsHighlightsResponse = exports.AnalyticsHighlightsResponseData = exports.AnalyticsHighlightsDto = exports.HighlightsItem = exports.BlockchainGlobalDataResponse = exports.BlockchainGlobalDataResponseData = exports.AnalyticsCategoriesResponse = exports.CurrenciesByCategoryResponse = exports.CurrenciesByCategoryResponseData = exports.AnalyticsChainsResponse = exports.AnalyticsChainsResponseData = exports.ChainDto = exports.CurrenciesByChainResponse = exports.CurrenciesByChainResponseData = exports.AnalyticsCurrenciesResponse = exports.AnalyticsCurrenciesResponseData = exports.AnalyticsCurrencyItem = exports.CategoriesArr = exports.About = exports.Title = exports.Contract = exports.Info = exports.CoinDetailDto_Converter = exports.CoinDetailDto_Categories = exports.CoinDetailDto_Links = exports.CoinDetailDto_UrlItem = exports.CoinDetailDto_Range = exports.CoinDetailDto_AllTimePrice = exports.CoinDetailDto = exports.AnalyticsHighlightTypeEnum = void 0;
|
|
5
4
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
6
5
|
const general_pb_js_1 = require("../general_pb.js");
|
|
7
6
|
var AnalyticsHighlightTypeEnum;
|
|
@@ -1513,35 +1512,6 @@ class PaginateRequestCurrency extends protobuf_1.Message {
|
|
|
1513
1512
|
}
|
|
1514
1513
|
}
|
|
1515
1514
|
exports.PaginateRequestCurrency = PaginateRequestCurrency;
|
|
1516
|
-
class PassiveCurrenciesRequest extends protobuf_1.Message {
|
|
1517
|
-
page = 0;
|
|
1518
|
-
perPage = 0;
|
|
1519
|
-
draw = 0;
|
|
1520
|
-
constructor(data) {
|
|
1521
|
-
super();
|
|
1522
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
1523
|
-
}
|
|
1524
|
-
static runtime = protobuf_1.proto3;
|
|
1525
|
-
static typeName = "micro.v1.coin.PassiveCurrenciesRequest";
|
|
1526
|
-
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1527
|
-
{ no: 1, name: "page", kind: "scalar", T: 5 },
|
|
1528
|
-
{ no: 2, name: "per_page", kind: "scalar", T: 5 },
|
|
1529
|
-
{ no: 3, name: "draw", kind: "scalar", T: 5 },
|
|
1530
|
-
]);
|
|
1531
|
-
static fromBinary(bytes, options) {
|
|
1532
|
-
return new PassiveCurrenciesRequest().fromBinary(bytes, options);
|
|
1533
|
-
}
|
|
1534
|
-
static fromJson(jsonValue, options) {
|
|
1535
|
-
return new PassiveCurrenciesRequest().fromJson(jsonValue, options);
|
|
1536
|
-
}
|
|
1537
|
-
static fromJsonString(jsonString, options) {
|
|
1538
|
-
return new PassiveCurrenciesRequest().fromJsonString(jsonString, options);
|
|
1539
|
-
}
|
|
1540
|
-
static equals(a, b) {
|
|
1541
|
-
return protobuf_1.proto3.util.equals(PassiveCurrenciesRequest, a, b);
|
|
1542
|
-
}
|
|
1543
|
-
}
|
|
1544
|
-
exports.PassiveCurrenciesRequest = PassiveCurrenciesRequest;
|
|
1545
1515
|
class PassiveCurrencyItem extends protobuf_1.Message {
|
|
1546
1516
|
urlId = "";
|
|
1547
1517
|
name = "";
|
|
@@ -1572,9 +1542,8 @@ class PassiveCurrencyItem extends protobuf_1.Message {
|
|
|
1572
1542
|
}
|
|
1573
1543
|
exports.PassiveCurrencyItem = PassiveCurrencyItem;
|
|
1574
1544
|
class PassiveCurrenciesResponse extends protobuf_1.Message {
|
|
1575
|
-
data;
|
|
1576
|
-
pagination;
|
|
1577
1545
|
status;
|
|
1546
|
+
data = [];
|
|
1578
1547
|
constructor(data) {
|
|
1579
1548
|
super();
|
|
1580
1549
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1582,9 +1551,8 @@ class PassiveCurrenciesResponse extends protobuf_1.Message {
|
|
|
1582
1551
|
static runtime = protobuf_1.proto3;
|
|
1583
1552
|
static typeName = "micro.v1.coin.PassiveCurrenciesResponse";
|
|
1584
1553
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1585
|
-
{ no: 1, name: "
|
|
1586
|
-
{ no: 2, name: "
|
|
1587
|
-
{ no: 3, name: "status", kind: "message", T: PassiveCurrenciesResponse_Status },
|
|
1554
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
1555
|
+
{ no: 2, name: "data", kind: "message", T: PassiveCurrencyItem, repeated: true },
|
|
1588
1556
|
]);
|
|
1589
1557
|
static fromBinary(bytes, options) {
|
|
1590
1558
|
return new PassiveCurrenciesResponse().fromBinary(bytes, options);
|
|
@@ -1600,82 +1568,3 @@ class PassiveCurrenciesResponse extends protobuf_1.Message {
|
|
|
1600
1568
|
}
|
|
1601
1569
|
}
|
|
1602
1570
|
exports.PassiveCurrenciesResponse = PassiveCurrenciesResponse;
|
|
1603
|
-
class PassiveCurrenciesResponse_Data extends protobuf_1.Message {
|
|
1604
|
-
items = [];
|
|
1605
|
-
constructor(data) {
|
|
1606
|
-
super();
|
|
1607
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
1608
|
-
}
|
|
1609
|
-
static runtime = protobuf_1.proto3;
|
|
1610
|
-
static typeName = "micro.v1.coin.PassiveCurrenciesResponse.Data";
|
|
1611
|
-
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1612
|
-
{ no: 1, name: "items", kind: "message", T: PassiveCurrencyItem, repeated: true },
|
|
1613
|
-
]);
|
|
1614
|
-
static fromBinary(bytes, options) {
|
|
1615
|
-
return new PassiveCurrenciesResponse_Data().fromBinary(bytes, options);
|
|
1616
|
-
}
|
|
1617
|
-
static fromJson(jsonValue, options) {
|
|
1618
|
-
return new PassiveCurrenciesResponse_Data().fromJson(jsonValue, options);
|
|
1619
|
-
}
|
|
1620
|
-
static fromJsonString(jsonString, options) {
|
|
1621
|
-
return new PassiveCurrenciesResponse_Data().fromJsonString(jsonString, options);
|
|
1622
|
-
}
|
|
1623
|
-
static equals(a, b) {
|
|
1624
|
-
return protobuf_1.proto3.util.equals(PassiveCurrenciesResponse_Data, a, b);
|
|
1625
|
-
}
|
|
1626
|
-
}
|
|
1627
|
-
exports.PassiveCurrenciesResponse_Data = PassiveCurrenciesResponse_Data;
|
|
1628
|
-
class PassiveCurrenciesResponse_Pagination extends protobuf_1.Message {
|
|
1629
|
-
draw = 0;
|
|
1630
|
-
recordsFiltered = 0;
|
|
1631
|
-
recordsTotal = 0;
|
|
1632
|
-
constructor(data) {
|
|
1633
|
-
super();
|
|
1634
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
1635
|
-
}
|
|
1636
|
-
static runtime = protobuf_1.proto3;
|
|
1637
|
-
static typeName = "micro.v1.coin.PassiveCurrenciesResponse.Pagination";
|
|
1638
|
-
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1639
|
-
{ no: 1, name: "draw", kind: "scalar", T: 5 },
|
|
1640
|
-
{ no: 2, name: "records_filtered", kind: "scalar", T: 5 },
|
|
1641
|
-
{ no: 3, name: "records_total", kind: "scalar", T: 5 },
|
|
1642
|
-
]);
|
|
1643
|
-
static fromBinary(bytes, options) {
|
|
1644
|
-
return new PassiveCurrenciesResponse_Pagination().fromBinary(bytes, options);
|
|
1645
|
-
}
|
|
1646
|
-
static fromJson(jsonValue, options) {
|
|
1647
|
-
return new PassiveCurrenciesResponse_Pagination().fromJson(jsonValue, options);
|
|
1648
|
-
}
|
|
1649
|
-
static fromJsonString(jsonString, options) {
|
|
1650
|
-
return new PassiveCurrenciesResponse_Pagination().fromJsonString(jsonString, options);
|
|
1651
|
-
}
|
|
1652
|
-
static equals(a, b) {
|
|
1653
|
-
return protobuf_1.proto3.util.equals(PassiveCurrenciesResponse_Pagination, a, b);
|
|
1654
|
-
}
|
|
1655
|
-
}
|
|
1656
|
-
exports.PassiveCurrenciesResponse_Pagination = PassiveCurrenciesResponse_Pagination;
|
|
1657
|
-
class PassiveCurrenciesResponse_Status extends protobuf_1.Message {
|
|
1658
|
-
code = 0;
|
|
1659
|
-
constructor(data) {
|
|
1660
|
-
super();
|
|
1661
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
1662
|
-
}
|
|
1663
|
-
static runtime = protobuf_1.proto3;
|
|
1664
|
-
static typeName = "micro.v1.coin.PassiveCurrenciesResponse.Status";
|
|
1665
|
-
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1666
|
-
{ no: 1, name: "code", kind: "scalar", T: 5 },
|
|
1667
|
-
]);
|
|
1668
|
-
static fromBinary(bytes, options) {
|
|
1669
|
-
return new PassiveCurrenciesResponse_Status().fromBinary(bytes, options);
|
|
1670
|
-
}
|
|
1671
|
-
static fromJson(jsonValue, options) {
|
|
1672
|
-
return new PassiveCurrenciesResponse_Status().fromJson(jsonValue, options);
|
|
1673
|
-
}
|
|
1674
|
-
static fromJsonString(jsonString, options) {
|
|
1675
|
-
return new PassiveCurrenciesResponse_Status().fromJsonString(jsonString, options);
|
|
1676
|
-
}
|
|
1677
|
-
static equals(a, b) {
|
|
1678
|
-
return protobuf_1.proto3.util.equals(PassiveCurrenciesResponse_Status, a, b);
|
|
1679
|
-
}
|
|
1680
|
-
}
|
|
1681
|
-
exports.PassiveCurrenciesResponse_Status = PassiveCurrenciesResponse_Status;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ByIdRequest, EmptyRequest, EmptyResponse, PaginateFromRequest, PaginateRequest } from "../general_pb.js";
|
|
2
2
|
import { CoinAdminStoreRequest, CoinAdminUpdateRequest, CoinPaginationResponse, CoinPriceAlertPaginationResponse, CoinSingleResponse, CoinSingleResponseWithCoinGeckoId, GetFavoriteCoinsResponse, GetFearGreedHistoryRequest, GetFearGreedHistoryResponse, GetFearGreedIndexResponse, IsFavoriteCoinRequest, IsFavoriteCoinResponse, SaveCoinPriceAlertRequest } from "./coin_messages_pb.js";
|
|
3
3
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
4
|
-
import { AnalyticsCategoriesResponse, AnalyticsChainsResponse, AnalyticsCoinsWeeklyDataBulkResponse, AnalyticsCoinWeeklyDataResponse, AnalyticsCurrenciesResponse, AnalyticsExchangeResponse, AnalyticsHighlightsResponse, BlockchainGlobalDataResponse, CoinsWeeklyDataBulkRequest, CurrenciesByCategoryRequest, CurrenciesByCategoryResponse, CurrenciesByChainRequest, CurrenciesByChainResponse, CurrenciesNewResponse, CurrenciesNewsChangeRequest, CurrenciesNewsChangeResponse, NavbarDataResponse, PaginateRequestCurrency,
|
|
4
|
+
import { AnalyticsCategoriesResponse, AnalyticsChainsResponse, AnalyticsCoinsWeeklyDataBulkResponse, AnalyticsCoinWeeklyDataResponse, AnalyticsCurrenciesResponse, AnalyticsExchangeResponse, AnalyticsHighlightsResponse, BlockchainGlobalDataResponse, CoinsWeeklyDataBulkRequest, CurrenciesByCategoryRequest, CurrenciesByCategoryResponse, CurrenciesByChainRequest, CurrenciesByChainResponse, CurrenciesNewResponse, CurrenciesNewsChangeRequest, CurrenciesNewsChangeResponse, NavbarDataResponse, PaginateRequestCurrency, PassiveCurrenciesResponse } from "./analytics_messages_pb.js";
|
|
5
5
|
import { LiveCoinRequest, LiveCoinResponse } from "./coin_websocket_messages_pb.js";
|
|
6
6
|
import { LongShortRatioRequest, LongShortRatioResponse, LongShortRatiosRequest, LongShortRatiosResponse } from "./long_short_ratio_messages_pb.js";
|
|
7
7
|
import { RsiPaginationResponse, RsiStatsRequest, RsiStatsResponse } from "./rsi_messages_pb.js";
|
|
@@ -326,7 +326,7 @@ export declare const PAnalyticsService: {
|
|
|
326
326
|
};
|
|
327
327
|
readonly passiveCurrencies: {
|
|
328
328
|
readonly name: "PassiveCurrencies";
|
|
329
|
-
readonly I: typeof
|
|
329
|
+
readonly I: typeof EmptyRequest;
|
|
330
330
|
readonly O: typeof PassiveCurrenciesResponse;
|
|
331
331
|
readonly kind: MethodKind.Unary;
|
|
332
332
|
};
|
|
@@ -329,7 +329,7 @@ exports.PAnalyticsService = {
|
|
|
329
329
|
},
|
|
330
330
|
passiveCurrencies: {
|
|
331
331
|
name: "PassiveCurrencies",
|
|
332
|
-
I:
|
|
332
|
+
I: general_pb_js_1.EmptyRequest,
|
|
333
333
|
O: analytics_messages_pb_js_1.PassiveCurrenciesResponse,
|
|
334
334
|
kind: protobuf_1.MethodKind.Unary,
|
|
335
335
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Metadata } from "@grpc/grpc-js";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { ByIdRequest, EmptyRequest, EmptyResponse, PaginateFromRequest, PaginateRequest } from "../general_nest";
|
|
4
|
-
import { AnalyticsCategoriesResponse, AnalyticsChainsResponse, AnalyticsCoinsWeeklyDataBulkResponse, AnalyticsCoinWeeklyDataResponse, AnalyticsCurrenciesResponse, AnalyticsExchangeResponse, AnalyticsHighlightsResponse, BlockchainGlobalDataResponse, CoinsWeeklyDataBulkRequest, CurrenciesByCategoryRequest, CurrenciesByCategoryResponse, CurrenciesByChainRequest, CurrenciesByChainResponse, CurrenciesNewResponse, CurrenciesNewsChangeRequest, CurrenciesNewsChangeResponse, NavbarDataResponse, PaginateRequestCurrency,
|
|
4
|
+
import { AnalyticsCategoriesResponse, AnalyticsChainsResponse, AnalyticsCoinsWeeklyDataBulkResponse, AnalyticsCoinWeeklyDataResponse, AnalyticsCurrenciesResponse, AnalyticsExchangeResponse, AnalyticsHighlightsResponse, BlockchainGlobalDataResponse, CoinsWeeklyDataBulkRequest, CurrenciesByCategoryRequest, CurrenciesByCategoryResponse, CurrenciesByChainRequest, CurrenciesByChainResponse, CurrenciesNewResponse, CurrenciesNewsChangeRequest, CurrenciesNewsChangeResponse, NavbarDataResponse, PaginateRequestCurrency, PassiveCurrenciesResponse } from "./analytics_messages_nest";
|
|
5
5
|
import { CoinAdminStoreRequest, CoinAdminUpdateRequest, CoinPaginationResponse, CoinPriceAlertPaginationResponse, CoinSingleResponse, CoinSingleResponseWithCoinGeckoId, GetFavoriteCoinsResponse, GetFearGreedHistoryRequest, GetFearGreedHistoryResponse, GetFearGreedIndexResponse, IsFavoriteCoinRequest, IsFavoriteCoinResponse, SaveCoinPriceAlertRequest } from "./coin_messages_nest";
|
|
6
6
|
import { LiveCoinRequest, LiveCoinResponse } from "./coin_websocket_messages_nest";
|
|
7
7
|
import { CoinBalanceRequest, CoinExchangeBalanceFlowResponse, CoinExchangeBalanceResponse, ExchangesAssetsTransparencyResponse } from "./data_general_messages_nest";
|
|
@@ -129,7 +129,7 @@ export interface PAnalyticsServiceClient {
|
|
|
129
129
|
currenciesNew(request: PaginateRequest, metadata?: Metadata): Observable<CurrenciesNewResponse>;
|
|
130
130
|
currenciesNewsChanges(request: CurrenciesNewsChangeRequest, metadata?: Metadata): Observable<CurrenciesNewsChangeResponse>;
|
|
131
131
|
paginateCurrency(request: PaginateRequestCurrency, metadata?: Metadata): Observable<CurrenciesNewResponse>;
|
|
132
|
-
passiveCurrencies(request:
|
|
132
|
+
passiveCurrencies(request: EmptyRequest, metadata?: Metadata): Observable<PassiveCurrenciesResponse>;
|
|
133
133
|
}
|
|
134
134
|
export interface PAnalyticsServiceController {
|
|
135
135
|
currencies(request: PaginateRequest, metadata?: Metadata): Observable<AnalyticsCurrenciesResponse>;
|
|
@@ -146,7 +146,7 @@ export interface PAnalyticsServiceController {
|
|
|
146
146
|
currenciesNew(request: PaginateRequest, metadata?: Metadata): Observable<CurrenciesNewResponse>;
|
|
147
147
|
currenciesNewsChanges(request: CurrenciesNewsChangeRequest, metadata?: Metadata): Observable<CurrenciesNewsChangeResponse>;
|
|
148
148
|
paginateCurrency(request: PaginateRequestCurrency, metadata?: Metadata): Observable<CurrenciesNewResponse>;
|
|
149
|
-
passiveCurrencies(request:
|
|
149
|
+
passiveCurrencies(request: EmptyRequest, metadata?: Metadata): Promise<PassiveCurrenciesResponse> | Observable<PassiveCurrenciesResponse> | PassiveCurrenciesResponse;
|
|
150
150
|
}
|
|
151
151
|
export declare function PAnalyticsServiceControllerMethods(): (constructor: Function) => void;
|
|
152
152
|
export declare const P_ANALYTICS_SERVICE_NAME = "PAnalyticsService";
|
package/package.json
CHANGED
|
@@ -384,12 +384,6 @@ message PaginateRequestCurrency {
|
|
|
384
384
|
optional bool optimization = 14;
|
|
385
385
|
}
|
|
386
386
|
|
|
387
|
-
message PassiveCurrenciesRequest {
|
|
388
|
-
int32 page = 1;
|
|
389
|
-
int32 per_page = 2;
|
|
390
|
-
int32 draw = 3;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
387
|
message PassiveCurrencyItem {
|
|
394
388
|
string url_id = 1;
|
|
395
389
|
string name = 2;
|
|
@@ -397,21 +391,6 @@ message PassiveCurrencyItem {
|
|
|
397
391
|
}
|
|
398
392
|
|
|
399
393
|
message PassiveCurrenciesResponse {
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
message Pagination {
|
|
405
|
-
int32 draw = 1;
|
|
406
|
-
int32 records_filtered = 2;
|
|
407
|
-
int32 records_total = 3;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
message Status {
|
|
411
|
-
int32 code = 1;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
Data data = 1;
|
|
415
|
-
Pagination pagination = 2;
|
|
416
|
-
Status status = 3;
|
|
394
|
+
ResponseStatus status = 1;
|
|
395
|
+
repeated PassiveCurrencyItem data = 2;
|
|
417
396
|
}
|
|
@@ -79,7 +79,7 @@ service PAnalyticsService {
|
|
|
79
79
|
rpc CurrenciesNew(PaginateRequest) returns(stream CurrenciesNewResponse) {}
|
|
80
80
|
rpc CurrenciesNewsChanges(CurrenciesNewsChangeRequest) returns(stream CurrenciesNewsChangeResponse) {}
|
|
81
81
|
rpc PaginateCurrency(PaginateRequestCurrency) returns(stream CurrenciesNewResponse) {}
|
|
82
|
-
rpc PassiveCurrencies(
|
|
82
|
+
rpc PassiveCurrencies(EmptyRequest) returns (PassiveCurrenciesResponse) {}
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
// ---> Admin <---
|