protobuf-platform 1.2.672 → 1.2.674
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 +3 -0
- package/analytic/analytic_pb.js +97 -1
- package/package.json +1 -1
- package/payment/payment.proto +1 -0
- package/payment/payment_pb.js +49 -1
package/analytic/analytic.proto
CHANGED
|
@@ -92,6 +92,9 @@ message DashboardResponse {
|
|
|
92
92
|
optional float avg_win_total = 28;
|
|
93
93
|
optional float avg_win_real = 29;
|
|
94
94
|
optional float avg_win_bonus = 30;
|
|
95
|
+
|
|
96
|
+
optional double arppu = 31;
|
|
97
|
+
optional int32 paying_users_count = 32;
|
|
95
98
|
}
|
|
96
99
|
|
|
97
100
|
message MainDashboardResponse {
|
package/analytic/analytic_pb.js
CHANGED
|
@@ -1757,7 +1757,9 @@ proto.analytic.DashboardResponse.toObject = function(includeInstance, msg) {
|
|
|
1757
1757
|
avgBetBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 27, 0.0),
|
|
1758
1758
|
avgWinTotal: jspb.Message.getFloatingPointFieldWithDefault(msg, 28, 0.0),
|
|
1759
1759
|
avgWinReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 29, 0.0),
|
|
1760
|
-
avgWinBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 30, 0.0)
|
|
1760
|
+
avgWinBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 30, 0.0),
|
|
1761
|
+
arppu: jspb.Message.getFloatingPointFieldWithDefault(msg, 31, 0.0),
|
|
1762
|
+
payingUsersCount: jspb.Message.getFieldWithDefault(msg, 32, 0)
|
|
1761
1763
|
};
|
|
1762
1764
|
|
|
1763
1765
|
if (includeInstance) {
|
|
@@ -1914,6 +1916,14 @@ proto.analytic.DashboardResponse.deserializeBinaryFromReader = function(msg, rea
|
|
|
1914
1916
|
var value = /** @type {number} */ (reader.readFloat());
|
|
1915
1917
|
msg.setAvgWinBonus(value);
|
|
1916
1918
|
break;
|
|
1919
|
+
case 31:
|
|
1920
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1921
|
+
msg.setArppu(value);
|
|
1922
|
+
break;
|
|
1923
|
+
case 32:
|
|
1924
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1925
|
+
msg.setPayingUsersCount(value);
|
|
1926
|
+
break;
|
|
1917
1927
|
default:
|
|
1918
1928
|
reader.skipField();
|
|
1919
1929
|
break;
|
|
@@ -2153,6 +2163,20 @@ proto.analytic.DashboardResponse.serializeBinaryToWriter = function(message, wri
|
|
|
2153
2163
|
f
|
|
2154
2164
|
);
|
|
2155
2165
|
}
|
|
2166
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 31));
|
|
2167
|
+
if (f != null) {
|
|
2168
|
+
writer.writeDouble(
|
|
2169
|
+
31,
|
|
2170
|
+
f
|
|
2171
|
+
);
|
|
2172
|
+
}
|
|
2173
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 32));
|
|
2174
|
+
if (f != null) {
|
|
2175
|
+
writer.writeInt32(
|
|
2176
|
+
32,
|
|
2177
|
+
f
|
|
2178
|
+
);
|
|
2179
|
+
}
|
|
2156
2180
|
};
|
|
2157
2181
|
|
|
2158
2182
|
|
|
@@ -3236,6 +3260,78 @@ proto.analytic.DashboardResponse.prototype.hasAvgWinBonus = function() {
|
|
|
3236
3260
|
};
|
|
3237
3261
|
|
|
3238
3262
|
|
|
3263
|
+
/**
|
|
3264
|
+
* optional double arppu = 31;
|
|
3265
|
+
* @return {number}
|
|
3266
|
+
*/
|
|
3267
|
+
proto.analytic.DashboardResponse.prototype.getArppu = function() {
|
|
3268
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 31, 0.0));
|
|
3269
|
+
};
|
|
3270
|
+
|
|
3271
|
+
|
|
3272
|
+
/**
|
|
3273
|
+
* @param {number} value
|
|
3274
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
3275
|
+
*/
|
|
3276
|
+
proto.analytic.DashboardResponse.prototype.setArppu = function(value) {
|
|
3277
|
+
return jspb.Message.setField(this, 31, value);
|
|
3278
|
+
};
|
|
3279
|
+
|
|
3280
|
+
|
|
3281
|
+
/**
|
|
3282
|
+
* Clears the field making it undefined.
|
|
3283
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
3284
|
+
*/
|
|
3285
|
+
proto.analytic.DashboardResponse.prototype.clearArppu = function() {
|
|
3286
|
+
return jspb.Message.setField(this, 31, undefined);
|
|
3287
|
+
};
|
|
3288
|
+
|
|
3289
|
+
|
|
3290
|
+
/**
|
|
3291
|
+
* Returns whether this field is set.
|
|
3292
|
+
* @return {boolean}
|
|
3293
|
+
*/
|
|
3294
|
+
proto.analytic.DashboardResponse.prototype.hasArppu = function() {
|
|
3295
|
+
return jspb.Message.getField(this, 31) != null;
|
|
3296
|
+
};
|
|
3297
|
+
|
|
3298
|
+
|
|
3299
|
+
/**
|
|
3300
|
+
* optional int32 paying_users_count = 32;
|
|
3301
|
+
* @return {number}
|
|
3302
|
+
*/
|
|
3303
|
+
proto.analytic.DashboardResponse.prototype.getPayingUsersCount = function() {
|
|
3304
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 32, 0));
|
|
3305
|
+
};
|
|
3306
|
+
|
|
3307
|
+
|
|
3308
|
+
/**
|
|
3309
|
+
* @param {number} value
|
|
3310
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
3311
|
+
*/
|
|
3312
|
+
proto.analytic.DashboardResponse.prototype.setPayingUsersCount = function(value) {
|
|
3313
|
+
return jspb.Message.setField(this, 32, value);
|
|
3314
|
+
};
|
|
3315
|
+
|
|
3316
|
+
|
|
3317
|
+
/**
|
|
3318
|
+
* Clears the field making it undefined.
|
|
3319
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
3320
|
+
*/
|
|
3321
|
+
proto.analytic.DashboardResponse.prototype.clearPayingUsersCount = function() {
|
|
3322
|
+
return jspb.Message.setField(this, 32, undefined);
|
|
3323
|
+
};
|
|
3324
|
+
|
|
3325
|
+
|
|
3326
|
+
/**
|
|
3327
|
+
* Returns whether this field is set.
|
|
3328
|
+
* @return {boolean}
|
|
3329
|
+
*/
|
|
3330
|
+
proto.analytic.DashboardResponse.prototype.hasPayingUsersCount = function() {
|
|
3331
|
+
return jspb.Message.getField(this, 32) != null;
|
|
3332
|
+
};
|
|
3333
|
+
|
|
3334
|
+
|
|
3239
3335
|
|
|
3240
3336
|
|
|
3241
3337
|
|
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -853,6 +853,7 @@ message UserPaymentMethodItem {
|
|
|
853
853
|
optional int32 is_top = 26;
|
|
854
854
|
optional int32 is_popular = 27;
|
|
855
855
|
optional int32 is_new = 28;
|
|
856
|
+
optional bool allow_zero_amount = 29;
|
|
856
857
|
}
|
|
857
858
|
message UserPaymentMethodsResponse {
|
|
858
859
|
repeated UserPaymentMethodItem items = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -35802,7 +35802,8 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
|
|
|
35802
35802
|
isVip: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
35803
35803
|
isTop: jspb.Message.getFieldWithDefault(msg, 26, 0),
|
|
35804
35804
|
isPopular: jspb.Message.getFieldWithDefault(msg, 27, 0),
|
|
35805
|
-
isNew: jspb.Message.getFieldWithDefault(msg, 28, 0)
|
|
35805
|
+
isNew: jspb.Message.getFieldWithDefault(msg, 28, 0),
|
|
35806
|
+
allowZeroAmount: jspb.Message.getBooleanFieldWithDefault(msg, 29, false)
|
|
35806
35807
|
};
|
|
35807
35808
|
|
|
35808
35809
|
if (includeInstance) {
|
|
@@ -35952,6 +35953,10 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
|
|
|
35952
35953
|
var value = /** @type {number} */ (reader.readInt32());
|
|
35953
35954
|
msg.setIsNew(value);
|
|
35954
35955
|
break;
|
|
35956
|
+
case 29:
|
|
35957
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
35958
|
+
msg.setAllowZeroAmount(value);
|
|
35959
|
+
break;
|
|
35955
35960
|
default:
|
|
35956
35961
|
reader.skipField();
|
|
35957
35962
|
break;
|
|
@@ -36178,6 +36183,13 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
|
|
|
36178
36183
|
f
|
|
36179
36184
|
);
|
|
36180
36185
|
}
|
|
36186
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 29));
|
|
36187
|
+
if (f != null) {
|
|
36188
|
+
writer.writeBool(
|
|
36189
|
+
29,
|
|
36190
|
+
f
|
|
36191
|
+
);
|
|
36192
|
+
}
|
|
36181
36193
|
};
|
|
36182
36194
|
|
|
36183
36195
|
|
|
@@ -37011,6 +37023,42 @@ proto.payment.UserPaymentMethodItem.prototype.hasIsNew = function() {
|
|
|
37011
37023
|
};
|
|
37012
37024
|
|
|
37013
37025
|
|
|
37026
|
+
/**
|
|
37027
|
+
* optional bool allow_zero_amount = 29;
|
|
37028
|
+
* @return {boolean}
|
|
37029
|
+
*/
|
|
37030
|
+
proto.payment.UserPaymentMethodItem.prototype.getAllowZeroAmount = function() {
|
|
37031
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 29, false));
|
|
37032
|
+
};
|
|
37033
|
+
|
|
37034
|
+
|
|
37035
|
+
/**
|
|
37036
|
+
* @param {boolean} value
|
|
37037
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
37038
|
+
*/
|
|
37039
|
+
proto.payment.UserPaymentMethodItem.prototype.setAllowZeroAmount = function(value) {
|
|
37040
|
+
return jspb.Message.setField(this, 29, value);
|
|
37041
|
+
};
|
|
37042
|
+
|
|
37043
|
+
|
|
37044
|
+
/**
|
|
37045
|
+
* Clears the field making it undefined.
|
|
37046
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
37047
|
+
*/
|
|
37048
|
+
proto.payment.UserPaymentMethodItem.prototype.clearAllowZeroAmount = function() {
|
|
37049
|
+
return jspb.Message.setField(this, 29, undefined);
|
|
37050
|
+
};
|
|
37051
|
+
|
|
37052
|
+
|
|
37053
|
+
/**
|
|
37054
|
+
* Returns whether this field is set.
|
|
37055
|
+
* @return {boolean}
|
|
37056
|
+
*/
|
|
37057
|
+
proto.payment.UserPaymentMethodItem.prototype.hasAllowZeroAmount = function() {
|
|
37058
|
+
return jspb.Message.getField(this, 29) != null;
|
|
37059
|
+
};
|
|
37060
|
+
|
|
37061
|
+
|
|
37014
37062
|
|
|
37015
37063
|
/**
|
|
37016
37064
|
* List of repeated fields within this message type.
|