jr-common-micro 1.1.43 → 1.1.45
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 +26 -0
- package/dist/proto/micro/v1/coin/analytics_messages_pb.d.ts +74 -0
- package/dist/proto/micro/v1/coin/analytics_messages_pb.js +168 -1
- package/dist/proto/micro/v1/coin/services_connect.d.ts +7 -1
- package/dist/proto/micro/v1/coin/services_connect.js +6 -0
- package/dist/proto/micro/v1/coin/services_nest.d.ts +3 -1
- package/dist/proto/micro/v1/coin/services_nest.js +1 -0
- package/dist/proto/micro/v1/education/education_messages_nest.d.ts +3 -0
- package/dist/proto/micro/v1/education/education_messages_pb.d.ts +3 -0
- package/dist/proto/micro/v1/education/education_messages_pb.js +6 -0
- package/package.json +1 -1
- package/proto/micro/v1/coin/analytics_messages.proto +42 -10
- package/proto/micro/v1/coin/services.proto +1 -0
|
@@ -342,4 +342,30 @@ 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
|
+
export interface PassiveCurrencyItem {
|
|
351
|
+
url_id: string;
|
|
352
|
+
name: string;
|
|
353
|
+
coinmarketcap_id: string;
|
|
354
|
+
}
|
|
355
|
+
export interface PassiveCurrenciesResponse {
|
|
356
|
+
data: PassiveCurrenciesResponse_Data | undefined;
|
|
357
|
+
pagination: PassiveCurrenciesResponse_Pagination | undefined;
|
|
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;
|
|
370
|
+
}
|
|
345
371
|
export declare const MICRO_V1_COIN_PACKAGE_NAME = "micro.v1.coin";
|
|
@@ -694,3 +694,77 @@ 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
|
+
export declare class PassiveCurrencyItem extends Message<PassiveCurrencyItem> {
|
|
711
|
+
urlId: string;
|
|
712
|
+
name: string;
|
|
713
|
+
coinmarketcapId: string;
|
|
714
|
+
constructor(data?: PartialMessage<PassiveCurrencyItem>);
|
|
715
|
+
static readonly runtime: typeof proto3;
|
|
716
|
+
static readonly typeName = "micro.v1.coin.PassiveCurrencyItem";
|
|
717
|
+
static readonly fields: FieldList;
|
|
718
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PassiveCurrencyItem;
|
|
719
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PassiveCurrencyItem;
|
|
720
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PassiveCurrencyItem;
|
|
721
|
+
static equals(a: PassiveCurrencyItem | PlainMessage<PassiveCurrencyItem> | undefined, b: PassiveCurrencyItem | PlainMessage<PassiveCurrencyItem> | undefined): boolean;
|
|
722
|
+
}
|
|
723
|
+
export declare class PassiveCurrenciesResponse extends Message<PassiveCurrenciesResponse> {
|
|
724
|
+
data?: PassiveCurrenciesResponse_Data;
|
|
725
|
+
pagination?: PassiveCurrenciesResponse_Pagination;
|
|
726
|
+
status?: PassiveCurrenciesResponse_Status;
|
|
727
|
+
constructor(data?: PartialMessage<PassiveCurrenciesResponse>);
|
|
728
|
+
static readonly runtime: typeof proto3;
|
|
729
|
+
static readonly typeName = "micro.v1.coin.PassiveCurrenciesResponse";
|
|
730
|
+
static readonly fields: FieldList;
|
|
731
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PassiveCurrenciesResponse;
|
|
732
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse;
|
|
733
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse;
|
|
734
|
+
static equals(a: PassiveCurrenciesResponse | PlainMessage<PassiveCurrenciesResponse> | undefined, b: PassiveCurrenciesResponse | PlainMessage<PassiveCurrenciesResponse> | undefined): boolean;
|
|
735
|
+
}
|
|
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,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
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;
|
|
3
|
+
exports.PassiveCurrenciesResponse = exports.PassiveCurrencyItem = exports.PassiveCurrenciesRequest = 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;
|
|
4
|
+
exports.PassiveCurrenciesResponse_Status = exports.PassiveCurrenciesResponse_Pagination = exports.PassiveCurrenciesResponse_Data = void 0;
|
|
4
5
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
5
6
|
const general_pb_js_1 = require("../general_pb.js");
|
|
6
7
|
var AnalyticsHighlightTypeEnum;
|
|
@@ -1512,3 +1513,169 @@ class PaginateRequestCurrency extends protobuf_1.Message {
|
|
|
1512
1513
|
}
|
|
1513
1514
|
}
|
|
1514
1515
|
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
|
+
class PassiveCurrencyItem extends protobuf_1.Message {
|
|
1546
|
+
urlId = "";
|
|
1547
|
+
name = "";
|
|
1548
|
+
coinmarketcapId = "";
|
|
1549
|
+
constructor(data) {
|
|
1550
|
+
super();
|
|
1551
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1552
|
+
}
|
|
1553
|
+
static runtime = protobuf_1.proto3;
|
|
1554
|
+
static typeName = "micro.v1.coin.PassiveCurrencyItem";
|
|
1555
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1556
|
+
{ no: 1, name: "url_id", kind: "scalar", T: 9 },
|
|
1557
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 },
|
|
1558
|
+
{ no: 3, name: "coinmarketcap_id", kind: "scalar", T: 9 },
|
|
1559
|
+
]);
|
|
1560
|
+
static fromBinary(bytes, options) {
|
|
1561
|
+
return new PassiveCurrencyItem().fromBinary(bytes, options);
|
|
1562
|
+
}
|
|
1563
|
+
static fromJson(jsonValue, options) {
|
|
1564
|
+
return new PassiveCurrencyItem().fromJson(jsonValue, options);
|
|
1565
|
+
}
|
|
1566
|
+
static fromJsonString(jsonString, options) {
|
|
1567
|
+
return new PassiveCurrencyItem().fromJsonString(jsonString, options);
|
|
1568
|
+
}
|
|
1569
|
+
static equals(a, b) {
|
|
1570
|
+
return protobuf_1.proto3.util.equals(PassiveCurrencyItem, a, b);
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
exports.PassiveCurrencyItem = PassiveCurrencyItem;
|
|
1574
|
+
class PassiveCurrenciesResponse extends protobuf_1.Message {
|
|
1575
|
+
data;
|
|
1576
|
+
pagination;
|
|
1577
|
+
status;
|
|
1578
|
+
constructor(data) {
|
|
1579
|
+
super();
|
|
1580
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1581
|
+
}
|
|
1582
|
+
static runtime = protobuf_1.proto3;
|
|
1583
|
+
static typeName = "micro.v1.coin.PassiveCurrenciesResponse";
|
|
1584
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1585
|
+
{ no: 1, name: "data", kind: "message", T: PassiveCurrenciesResponse_Data },
|
|
1586
|
+
{ no: 2, name: "pagination", kind: "message", T: PassiveCurrenciesResponse_Pagination },
|
|
1587
|
+
{ no: 3, name: "status", kind: "message", T: PassiveCurrenciesResponse_Status },
|
|
1588
|
+
]);
|
|
1589
|
+
static fromBinary(bytes, options) {
|
|
1590
|
+
return new PassiveCurrenciesResponse().fromBinary(bytes, options);
|
|
1591
|
+
}
|
|
1592
|
+
static fromJson(jsonValue, options) {
|
|
1593
|
+
return new PassiveCurrenciesResponse().fromJson(jsonValue, options);
|
|
1594
|
+
}
|
|
1595
|
+
static fromJsonString(jsonString, options) {
|
|
1596
|
+
return new PassiveCurrenciesResponse().fromJsonString(jsonString, options);
|
|
1597
|
+
}
|
|
1598
|
+
static equals(a, b) {
|
|
1599
|
+
return protobuf_1.proto3.util.equals(PassiveCurrenciesResponse, a, b);
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1602
|
+
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 } from "./analytics_messages_pb.js";
|
|
4
|
+
import { AnalyticsCategoriesResponse, AnalyticsChainsResponse, AnalyticsCoinsWeeklyDataBulkResponse, AnalyticsCoinWeeklyDataResponse, AnalyticsCurrenciesResponse, AnalyticsExchangeResponse, AnalyticsHighlightsResponse, BlockchainGlobalDataResponse, CoinsWeeklyDataBulkRequest, CurrenciesByCategoryRequest, CurrenciesByCategoryResponse, CurrenciesByChainRequest, CurrenciesByChainResponse, CurrenciesNewResponse, CurrenciesNewsChangeRequest, CurrenciesNewsChangeResponse, NavbarDataResponse, PaginateRequestCurrency, PassiveCurrenciesRequest, 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";
|
|
@@ -324,6 +324,12 @@ export declare const PAnalyticsService: {
|
|
|
324
324
|
readonly O: typeof CurrenciesNewResponse;
|
|
325
325
|
readonly kind: MethodKind.ServerStreaming;
|
|
326
326
|
};
|
|
327
|
+
readonly passiveCurrencies: {
|
|
328
|
+
readonly name: "PassiveCurrencies";
|
|
329
|
+
readonly I: typeof PassiveCurrenciesRequest;
|
|
330
|
+
readonly O: typeof PassiveCurrenciesResponse;
|
|
331
|
+
readonly kind: MethodKind.Unary;
|
|
332
|
+
};
|
|
327
333
|
};
|
|
328
334
|
};
|
|
329
335
|
export declare const PCoinAdminService: {
|
|
@@ -327,6 +327,12 @@ exports.PAnalyticsService = {
|
|
|
327
327
|
O: analytics_messages_pb_js_1.CurrenciesNewResponse,
|
|
328
328
|
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
329
329
|
},
|
|
330
|
+
passiveCurrencies: {
|
|
331
|
+
name: "PassiveCurrencies",
|
|
332
|
+
I: analytics_messages_pb_js_1.PassiveCurrenciesRequest,
|
|
333
|
+
O: analytics_messages_pb_js_1.PassiveCurrenciesResponse,
|
|
334
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
335
|
+
},
|
|
330
336
|
}
|
|
331
337
|
};
|
|
332
338
|
exports.PCoinAdminService = {
|
|
@@ -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 } from "./analytics_messages_nest";
|
|
4
|
+
import { AnalyticsCategoriesResponse, AnalyticsChainsResponse, AnalyticsCoinsWeeklyDataBulkResponse, AnalyticsCoinWeeklyDataResponse, AnalyticsCurrenciesResponse, AnalyticsExchangeResponse, AnalyticsHighlightsResponse, BlockchainGlobalDataResponse, CoinsWeeklyDataBulkRequest, CurrenciesByCategoryRequest, CurrenciesByCategoryResponse, CurrenciesByChainRequest, CurrenciesByChainResponse, CurrenciesNewResponse, CurrenciesNewsChangeRequest, CurrenciesNewsChangeResponse, NavbarDataResponse, PaginateRequestCurrency, PassiveCurrenciesRequest, 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,6 +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: PassiveCurrenciesRequest, metadata?: Metadata): Observable<PassiveCurrenciesResponse>;
|
|
132
133
|
}
|
|
133
134
|
export interface PAnalyticsServiceController {
|
|
134
135
|
currencies(request: PaginateRequest, metadata?: Metadata): Observable<AnalyticsCurrenciesResponse>;
|
|
@@ -145,6 +146,7 @@ export interface PAnalyticsServiceController {
|
|
|
145
146
|
currenciesNew(request: PaginateRequest, metadata?: Metadata): Observable<CurrenciesNewResponse>;
|
|
146
147
|
currenciesNewsChanges(request: CurrenciesNewsChangeRequest, metadata?: Metadata): Observable<CurrenciesNewsChangeResponse>;
|
|
147
148
|
paginateCurrency(request: PaginateRequestCurrency, metadata?: Metadata): Observable<CurrenciesNewResponse>;
|
|
149
|
+
passiveCurrencies(request: PassiveCurrenciesRequest, metadata?: Metadata): Promise<PassiveCurrenciesResponse> | Observable<PassiveCurrenciesResponse> | PassiveCurrenciesResponse;
|
|
148
150
|
}
|
|
149
151
|
export declare function PAnalyticsServiceControllerMethods(): (constructor: Function) => void;
|
|
150
152
|
export declare const P_ANALYTICS_SERVICE_NAME = "PAnalyticsService";
|
|
@@ -155,6 +155,7 @@ function PAnalyticsServiceControllerMethods() {
|
|
|
155
155
|
"currenciesNew",
|
|
156
156
|
"currenciesNewsChanges",
|
|
157
157
|
"paginateCurrency",
|
|
158
|
+
"passiveCurrencies",
|
|
158
159
|
];
|
|
159
160
|
for (const method of grpcMethods) {
|
|
160
161
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
@@ -353,6 +353,7 @@ export interface ReferralDetailsResponse {
|
|
|
353
353
|
export interface ReferralDetailsDto {
|
|
354
354
|
mexc: ReferralDetails | undefined;
|
|
355
355
|
bybit: ReferralDetails | undefined;
|
|
356
|
+
okx?: ReferralDetails | undefined;
|
|
356
357
|
}
|
|
357
358
|
export interface ReferralDetails {
|
|
358
359
|
uid: string;
|
|
@@ -384,6 +385,7 @@ export interface UserVipFormDto {
|
|
|
384
385
|
job: string;
|
|
385
386
|
education: string;
|
|
386
387
|
gender: string;
|
|
388
|
+
okx_uid?: string | undefined;
|
|
387
389
|
}
|
|
388
390
|
export interface UserVipFormRequest {
|
|
389
391
|
email: string;
|
|
@@ -395,6 +397,7 @@ export interface UserVipFormRequest {
|
|
|
395
397
|
job: string;
|
|
396
398
|
education: string;
|
|
397
399
|
gender: string;
|
|
400
|
+
okx_uid?: string | undefined;
|
|
398
401
|
}
|
|
399
402
|
export interface VipUserAdminDto {
|
|
400
403
|
id: string;
|
|
@@ -578,6 +578,7 @@ export declare class ReferralDetailsResponse extends Message<ReferralDetailsResp
|
|
|
578
578
|
export declare class ReferralDetailsDto extends Message<ReferralDetailsDto> {
|
|
579
579
|
mexc?: ReferralDetails;
|
|
580
580
|
bybit?: ReferralDetails;
|
|
581
|
+
okx?: ReferralDetails;
|
|
581
582
|
constructor(data?: PartialMessage<ReferralDetailsDto>);
|
|
582
583
|
static readonly runtime: typeof proto3;
|
|
583
584
|
static readonly typeName = "micro.v1.education.ReferralDetailsDto";
|
|
@@ -657,6 +658,7 @@ export declare class UserVipFormDto extends Message<UserVipFormDto> {
|
|
|
657
658
|
job: string;
|
|
658
659
|
education: string;
|
|
659
660
|
gender: string;
|
|
661
|
+
okxUid?: string;
|
|
660
662
|
constructor(data?: PartialMessage<UserVipFormDto>);
|
|
661
663
|
static readonly runtime: typeof proto3;
|
|
662
664
|
static readonly typeName = "micro.v1.education.UserVipFormDto";
|
|
@@ -676,6 +678,7 @@ export declare class UserVipFormRequest extends Message<UserVipFormRequest> {
|
|
|
676
678
|
job: string;
|
|
677
679
|
education: string;
|
|
678
680
|
gender: string;
|
|
681
|
+
okxUid?: string;
|
|
679
682
|
constructor(data?: PartialMessage<UserVipFormRequest>);
|
|
680
683
|
static readonly runtime: typeof proto3;
|
|
681
684
|
static readonly typeName = "micro.v1.education.UserVipFormRequest";
|
|
@@ -1194,6 +1194,7 @@ exports.ReferralDetailsResponse = ReferralDetailsResponse;
|
|
|
1194
1194
|
class ReferralDetailsDto extends protobuf_1.Message {
|
|
1195
1195
|
mexc;
|
|
1196
1196
|
bybit;
|
|
1197
|
+
okx;
|
|
1197
1198
|
constructor(data) {
|
|
1198
1199
|
super();
|
|
1199
1200
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1203,6 +1204,7 @@ class ReferralDetailsDto extends protobuf_1.Message {
|
|
|
1203
1204
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1204
1205
|
{ no: 1, name: "mexc", kind: "message", T: ReferralDetails },
|
|
1205
1206
|
{ no: 2, name: "bybit", kind: "message", T: ReferralDetails },
|
|
1207
|
+
{ no: 3, name: "okx", kind: "message", T: ReferralDetails, opt: true },
|
|
1206
1208
|
]);
|
|
1207
1209
|
static fromBinary(bytes, options) {
|
|
1208
1210
|
return new ReferralDetailsDto().fromBinary(bytes, options);
|
|
@@ -1363,6 +1365,7 @@ class UserVipFormDto extends protobuf_1.Message {
|
|
|
1363
1365
|
job = "";
|
|
1364
1366
|
education = "";
|
|
1365
1367
|
gender = "";
|
|
1368
|
+
okxUid;
|
|
1366
1369
|
constructor(data) {
|
|
1367
1370
|
super();
|
|
1368
1371
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1379,6 +1382,7 @@ class UserVipFormDto extends protobuf_1.Message {
|
|
|
1379
1382
|
{ no: 7, name: "job", kind: "scalar", T: 9 },
|
|
1380
1383
|
{ no: 8, name: "education", kind: "scalar", T: 9 },
|
|
1381
1384
|
{ no: 9, name: "gender", kind: "scalar", T: 9 },
|
|
1385
|
+
{ no: 10, name: "okx_uid", kind: "scalar", T: 9, opt: true },
|
|
1382
1386
|
]);
|
|
1383
1387
|
static fromBinary(bytes, options) {
|
|
1384
1388
|
return new UserVipFormDto().fromBinary(bytes, options);
|
|
@@ -1404,6 +1408,7 @@ class UserVipFormRequest extends protobuf_1.Message {
|
|
|
1404
1408
|
job = "";
|
|
1405
1409
|
education = "";
|
|
1406
1410
|
gender = "";
|
|
1411
|
+
okxUid;
|
|
1407
1412
|
constructor(data) {
|
|
1408
1413
|
super();
|
|
1409
1414
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1420,6 +1425,7 @@ class UserVipFormRequest extends protobuf_1.Message {
|
|
|
1420
1425
|
{ no: 7, name: "job", kind: "scalar", T: 9 },
|
|
1421
1426
|
{ no: 8, name: "education", kind: "scalar", T: 9 },
|
|
1422
1427
|
{ no: 9, name: "gender", kind: "scalar", T: 9 },
|
|
1428
|
+
{ no: 10, name: "okx_uid", kind: "scalar", T: 9, opt: true },
|
|
1423
1429
|
]);
|
|
1424
1430
|
static fromBinary(bytes, options) {
|
|
1425
1431
|
return new UserVipFormRequest().fromBinary(bytes, options);
|
package/package.json
CHANGED
|
@@ -223,15 +223,15 @@ message BlockchainGlobalDataResponse {
|
|
|
223
223
|
//// Highlights
|
|
224
224
|
|
|
225
225
|
enum AnalyticsHighlightTypeEnum {
|
|
226
|
-
trending_coins = 0;
|
|
227
|
-
top_gainers = 1;
|
|
228
|
-
top_losers = 2;
|
|
229
|
-
new_coins = 3;
|
|
230
|
-
most_viewed = 4;
|
|
231
|
-
highest_volume = 5;
|
|
232
|
-
price_change = 6;
|
|
233
|
-
most_voted = 7;
|
|
234
|
-
upcoming_coins = 8;
|
|
226
|
+
trending_coins = 0; //
|
|
227
|
+
top_gainers = 1; //
|
|
228
|
+
top_losers = 2; //
|
|
229
|
+
new_coins = 3; //
|
|
230
|
+
most_viewed = 4; //
|
|
231
|
+
highest_volume = 5; //
|
|
232
|
+
price_change = 6; //
|
|
233
|
+
most_voted = 7; //
|
|
234
|
+
upcoming_coins = 8; //
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
message HighlightsItem {
|
|
@@ -382,4 +382,36 @@ message PaginateRequestCurrency {
|
|
|
382
382
|
optional bool first300 = 12;
|
|
383
383
|
optional bool first500 = 13;
|
|
384
384
|
optional bool optimization = 14;
|
|
385
|
-
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
message PassiveCurrenciesRequest {
|
|
388
|
+
int32 page = 1;
|
|
389
|
+
int32 per_page = 2;
|
|
390
|
+
int32 draw = 3;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
message PassiveCurrencyItem {
|
|
394
|
+
string url_id = 1;
|
|
395
|
+
string name = 2;
|
|
396
|
+
string coinmarketcap_id = 3;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
message PassiveCurrenciesResponse {
|
|
400
|
+
message Data {
|
|
401
|
+
repeated PassiveCurrencyItem items = 1;
|
|
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;
|
|
417
|
+
}
|
|
@@ -79,6 +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(PassiveCurrenciesRequest) returns (PassiveCurrenciesResponse) {}
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
// ---> Admin <---
|