protobuf-platform 1.1.79 → 1.1.80
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/package.json +1 -1
- package/user/user.proto +2 -0
- package/user/user_pb.js +115 -2
package/package.json
CHANGED
package/user/user.proto
CHANGED
@@ -258,6 +258,8 @@ message SegmentResponse {
|
|
258
258
|
optional string type = 4;
|
259
259
|
optional bool is_active = 5;
|
260
260
|
optional int32 count_of_users = 6;
|
261
|
+
repeated SegmentPaymentRuleItem payment_rules = 7;
|
262
|
+
repeated SegmentBetRuleItem bet_rules = 8;
|
261
263
|
}
|
262
264
|
message SegmentStatusResponse {
|
263
265
|
string status = 1;
|
package/user/user_pb.js
CHANGED
@@ -552,7 +552,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
552
552
|
* @constructor
|
553
553
|
*/
|
554
554
|
proto.user.SegmentResponse = function(opt_data) {
|
555
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
555
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.SegmentResponse.repeatedFields_, null);
|
556
556
|
};
|
557
557
|
goog.inherits(proto.user.SegmentResponse, jspb.Message);
|
558
558
|
if (goog.DEBUG && !COMPILED) {
|
@@ -10454,6 +10454,13 @@ proto.user.GetSegmentRequest.prototype.hasGeo = function() {
|
|
10454
10454
|
|
10455
10455
|
|
10456
10456
|
|
10457
|
+
/**
|
10458
|
+
* List of repeated fields within this message type.
|
10459
|
+
* @private {!Array<number>}
|
10460
|
+
* @const
|
10461
|
+
*/
|
10462
|
+
proto.user.SegmentResponse.repeatedFields_ = [7,8];
|
10463
|
+
|
10457
10464
|
|
10458
10465
|
|
10459
10466
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
@@ -10490,7 +10497,11 @@ proto.user.SegmentResponse.toObject = function(includeInstance, msg) {
|
|
10490
10497
|
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
10491
10498
|
type: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
10492
10499
|
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
10493
|
-
countOfUsers: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
10500
|
+
countOfUsers: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
10501
|
+
paymentRulesList: jspb.Message.toObjectList(msg.getPaymentRulesList(),
|
10502
|
+
proto.user.SegmentPaymentRuleItem.toObject, includeInstance),
|
10503
|
+
betRulesList: jspb.Message.toObjectList(msg.getBetRulesList(),
|
10504
|
+
proto.user.SegmentBetRuleItem.toObject, includeInstance)
|
10494
10505
|
};
|
10495
10506
|
|
10496
10507
|
if (includeInstance) {
|
@@ -10551,6 +10562,16 @@ proto.user.SegmentResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10551
10562
|
var value = /** @type {number} */ (reader.readInt32());
|
10552
10563
|
msg.setCountOfUsers(value);
|
10553
10564
|
break;
|
10565
|
+
case 7:
|
10566
|
+
var value = new proto.user.SegmentPaymentRuleItem;
|
10567
|
+
reader.readMessage(value,proto.user.SegmentPaymentRuleItem.deserializeBinaryFromReader);
|
10568
|
+
msg.addPaymentRules(value);
|
10569
|
+
break;
|
10570
|
+
case 8:
|
10571
|
+
var value = new proto.user.SegmentBetRuleItem;
|
10572
|
+
reader.readMessage(value,proto.user.SegmentBetRuleItem.deserializeBinaryFromReader);
|
10573
|
+
msg.addBetRules(value);
|
10574
|
+
break;
|
10554
10575
|
default:
|
10555
10576
|
reader.skipField();
|
10556
10577
|
break;
|
@@ -10622,6 +10643,22 @@ proto.user.SegmentResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10622
10643
|
f
|
10623
10644
|
);
|
10624
10645
|
}
|
10646
|
+
f = message.getPaymentRulesList();
|
10647
|
+
if (f.length > 0) {
|
10648
|
+
writer.writeRepeatedMessage(
|
10649
|
+
7,
|
10650
|
+
f,
|
10651
|
+
proto.user.SegmentPaymentRuleItem.serializeBinaryToWriter
|
10652
|
+
);
|
10653
|
+
}
|
10654
|
+
f = message.getBetRulesList();
|
10655
|
+
if (f.length > 0) {
|
10656
|
+
writer.writeRepeatedMessage(
|
10657
|
+
8,
|
10658
|
+
f,
|
10659
|
+
proto.user.SegmentBetRuleItem.serializeBinaryToWriter
|
10660
|
+
);
|
10661
|
+
}
|
10625
10662
|
};
|
10626
10663
|
|
10627
10664
|
|
@@ -10841,6 +10878,82 @@ proto.user.SegmentResponse.prototype.hasCountOfUsers = function() {
|
|
10841
10878
|
};
|
10842
10879
|
|
10843
10880
|
|
10881
|
+
/**
|
10882
|
+
* repeated SegmentPaymentRuleItem payment_rules = 7;
|
10883
|
+
* @return {!Array<!proto.user.SegmentPaymentRuleItem>}
|
10884
|
+
*/
|
10885
|
+
proto.user.SegmentResponse.prototype.getPaymentRulesList = function() {
|
10886
|
+
return /** @type{!Array<!proto.user.SegmentPaymentRuleItem>} */ (
|
10887
|
+
jspb.Message.getRepeatedWrapperField(this, proto.user.SegmentPaymentRuleItem, 7));
|
10888
|
+
};
|
10889
|
+
|
10890
|
+
|
10891
|
+
/**
|
10892
|
+
* @param {!Array<!proto.user.SegmentPaymentRuleItem>} value
|
10893
|
+
* @return {!proto.user.SegmentResponse} returns this
|
10894
|
+
*/
|
10895
|
+
proto.user.SegmentResponse.prototype.setPaymentRulesList = function(value) {
|
10896
|
+
return jspb.Message.setRepeatedWrapperField(this, 7, value);
|
10897
|
+
};
|
10898
|
+
|
10899
|
+
|
10900
|
+
/**
|
10901
|
+
* @param {!proto.user.SegmentPaymentRuleItem=} opt_value
|
10902
|
+
* @param {number=} opt_index
|
10903
|
+
* @return {!proto.user.SegmentPaymentRuleItem}
|
10904
|
+
*/
|
10905
|
+
proto.user.SegmentResponse.prototype.addPaymentRules = function(opt_value, opt_index) {
|
10906
|
+
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.user.SegmentPaymentRuleItem, opt_index);
|
10907
|
+
};
|
10908
|
+
|
10909
|
+
|
10910
|
+
/**
|
10911
|
+
* Clears the list making it empty but non-null.
|
10912
|
+
* @return {!proto.user.SegmentResponse} returns this
|
10913
|
+
*/
|
10914
|
+
proto.user.SegmentResponse.prototype.clearPaymentRulesList = function() {
|
10915
|
+
return this.setPaymentRulesList([]);
|
10916
|
+
};
|
10917
|
+
|
10918
|
+
|
10919
|
+
/**
|
10920
|
+
* repeated SegmentBetRuleItem bet_rules = 8;
|
10921
|
+
* @return {!Array<!proto.user.SegmentBetRuleItem>}
|
10922
|
+
*/
|
10923
|
+
proto.user.SegmentResponse.prototype.getBetRulesList = function() {
|
10924
|
+
return /** @type{!Array<!proto.user.SegmentBetRuleItem>} */ (
|
10925
|
+
jspb.Message.getRepeatedWrapperField(this, proto.user.SegmentBetRuleItem, 8));
|
10926
|
+
};
|
10927
|
+
|
10928
|
+
|
10929
|
+
/**
|
10930
|
+
* @param {!Array<!proto.user.SegmentBetRuleItem>} value
|
10931
|
+
* @return {!proto.user.SegmentResponse} returns this
|
10932
|
+
*/
|
10933
|
+
proto.user.SegmentResponse.prototype.setBetRulesList = function(value) {
|
10934
|
+
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
10935
|
+
};
|
10936
|
+
|
10937
|
+
|
10938
|
+
/**
|
10939
|
+
* @param {!proto.user.SegmentBetRuleItem=} opt_value
|
10940
|
+
* @param {number=} opt_index
|
10941
|
+
* @return {!proto.user.SegmentBetRuleItem}
|
10942
|
+
*/
|
10943
|
+
proto.user.SegmentResponse.prototype.addBetRules = function(opt_value, opt_index) {
|
10944
|
+
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.user.SegmentBetRuleItem, opt_index);
|
10945
|
+
};
|
10946
|
+
|
10947
|
+
|
10948
|
+
/**
|
10949
|
+
* Clears the list making it empty but non-null.
|
10950
|
+
* @return {!proto.user.SegmentResponse} returns this
|
10951
|
+
*/
|
10952
|
+
proto.user.SegmentResponse.prototype.clearBetRulesList = function() {
|
10953
|
+
return this.setBetRulesList([]);
|
10954
|
+
};
|
10955
|
+
|
10956
|
+
|
10844
10957
|
|
10845
10958
|
|
10846
10959
|
|