protobuf-platform 1.1.27 → 1.1.29
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/analytic/analytic.proto +32 -0
- package/analytic/analytic_grpc_pb.js +23 -0
- package/analytic/analytic_pb.js +1438 -0
- package/package.json +1 -1
package/analytic/analytic.proto
CHANGED
@@ -9,6 +9,8 @@ service Analytic {
|
|
9
9
|
//Payment
|
10
10
|
rpc getPaymentProvidersStats(PaginationRequest) returns (PaymentProvidersResponse);
|
11
11
|
rpc getDepositsStats(PaginationRequest) returns (DepositsResponse);
|
12
|
+
//Games
|
13
|
+
rpc getGamesStats(PaginationRequest) returns (GamesResponse);
|
12
14
|
}
|
13
15
|
//Technical
|
14
16
|
message PingRequest { string ping = 1; }
|
@@ -90,4 +92,34 @@ message DepositsResponse {
|
|
90
92
|
repeated DepositItem items = 1;
|
91
93
|
optional int32 total_pages = 2;
|
92
94
|
optional int32 total_items = 3;
|
95
|
+
}
|
96
|
+
//Games
|
97
|
+
message GameItem {
|
98
|
+
string date = 1;
|
99
|
+
optional string game_title = 2;
|
100
|
+
optional string game_slug = 3;
|
101
|
+
optional string provider_title = 4;
|
102
|
+
optional string provider_slug = 5;
|
103
|
+
optional int32 users_count = 6;
|
104
|
+
optional int32 bet_count_real = 7;
|
105
|
+
optional float bet_sum_real = 8;
|
106
|
+
optional int32 bet_count_bonus = 9;
|
107
|
+
optional float bet_sum_bonus = 10;
|
108
|
+
optional int32 win_count_real = 11;
|
109
|
+
optional float win_sum_real = 12;
|
110
|
+
optional int32 win_count_bonus = 13;
|
111
|
+
optional float win_sum_bonus = 14;
|
112
|
+
optional float turnover_bonus = 15;
|
113
|
+
optional float turnover_real = 16;
|
114
|
+
optional float turnover_total = 17;
|
115
|
+
optional float ggr_bonus = 18;
|
116
|
+
optional float ggr_real = 19;
|
117
|
+
optional float ggr_total = 20;
|
118
|
+
optional string game_image = 21;
|
119
|
+
optional string provider_image = 22;
|
120
|
+
}
|
121
|
+
message GamesResponse {
|
122
|
+
repeated GameItem items = 1;
|
123
|
+
optional int32 total_pages = 2;
|
124
|
+
optional int32 total_items = 3;
|
93
125
|
}
|
@@ -15,6 +15,17 @@ function deserialize_analytic_DepositsResponse(buffer_arg) {
|
|
15
15
|
return analytic_pb.DepositsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
16
16
|
}
|
17
17
|
|
18
|
+
function serialize_analytic_GamesResponse(arg) {
|
19
|
+
if (!(arg instanceof analytic_pb.GamesResponse)) {
|
20
|
+
throw new Error('Expected argument of type analytic.GamesResponse');
|
21
|
+
}
|
22
|
+
return Buffer.from(arg.serializeBinary());
|
23
|
+
}
|
24
|
+
|
25
|
+
function deserialize_analytic_GamesResponse(buffer_arg) {
|
26
|
+
return analytic_pb.GamesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
27
|
+
}
|
28
|
+
|
18
29
|
function serialize_analytic_GlobalCasinoResponse(arg) {
|
19
30
|
if (!(arg instanceof analytic_pb.GlobalCasinoResponse)) {
|
20
31
|
throw new Error('Expected argument of type analytic.GlobalCasinoResponse');
|
@@ -118,6 +129,18 @@ getPaymentProvidersStats: {
|
|
118
129
|
responseSerialize: serialize_analytic_DepositsResponse,
|
119
130
|
responseDeserialize: deserialize_analytic_DepositsResponse,
|
120
131
|
},
|
132
|
+
// Games
|
133
|
+
getGamesStats: {
|
134
|
+
path: '/analytic.Analytic/getGamesStats',
|
135
|
+
requestStream: false,
|
136
|
+
responseStream: false,
|
137
|
+
requestType: analytic_pb.PaginationRequest,
|
138
|
+
responseType: analytic_pb.GamesResponse,
|
139
|
+
requestSerialize: serialize_analytic_PaginationRequest,
|
140
|
+
requestDeserialize: deserialize_analytic_PaginationRequest,
|
141
|
+
responseSerialize: serialize_analytic_GamesResponse,
|
142
|
+
responseDeserialize: deserialize_analytic_GamesResponse,
|
143
|
+
},
|
121
144
|
};
|
122
145
|
|
123
146
|
exports.AnalyticClient = grpc.makeGenericClientConstructor(AnalyticService);
|