protobuf-platform 1.1.88 → 1.1.89
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 +1 -0
- package/user/user_pb.js +55 -2
package/package.json
CHANGED
package/user/user.proto
CHANGED
@@ -262,6 +262,7 @@ message SegmentResponse {
|
|
262
262
|
optional int32 count_of_users = 6;
|
263
263
|
repeated SegmentPaymentRuleItem payment_rules = 7;
|
264
264
|
repeated SegmentBetRuleItem bet_rules = 8;
|
265
|
+
repeated SegmentSessionRuleItem session_rules = 9;
|
265
266
|
}
|
266
267
|
message SegmentStatusResponse {
|
267
268
|
string status = 1;
|
package/user/user_pb.js
CHANGED
@@ -10573,7 +10573,7 @@ proto.user.GetSegmentRequest.prototype.hasGeo = function() {
|
|
10573
10573
|
* @private {!Array<number>}
|
10574
10574
|
* @const
|
10575
10575
|
*/
|
10576
|
-
proto.user.SegmentResponse.repeatedFields_ = [7,8];
|
10576
|
+
proto.user.SegmentResponse.repeatedFields_ = [7,8,9];
|
10577
10577
|
|
10578
10578
|
|
10579
10579
|
|
@@ -10615,7 +10615,9 @@ proto.user.SegmentResponse.toObject = function(includeInstance, msg) {
|
|
10615
10615
|
paymentRulesList: jspb.Message.toObjectList(msg.getPaymentRulesList(),
|
10616
10616
|
proto.user.SegmentPaymentRuleItem.toObject, includeInstance),
|
10617
10617
|
betRulesList: jspb.Message.toObjectList(msg.getBetRulesList(),
|
10618
|
-
proto.user.SegmentBetRuleItem.toObject, includeInstance)
|
10618
|
+
proto.user.SegmentBetRuleItem.toObject, includeInstance),
|
10619
|
+
sessionRulesList: jspb.Message.toObjectList(msg.getSessionRulesList(),
|
10620
|
+
proto.user.SegmentSessionRuleItem.toObject, includeInstance)
|
10619
10621
|
};
|
10620
10622
|
|
10621
10623
|
if (includeInstance) {
|
@@ -10686,6 +10688,11 @@ proto.user.SegmentResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10686
10688
|
reader.readMessage(value,proto.user.SegmentBetRuleItem.deserializeBinaryFromReader);
|
10687
10689
|
msg.addBetRules(value);
|
10688
10690
|
break;
|
10691
|
+
case 9:
|
10692
|
+
var value = new proto.user.SegmentSessionRuleItem;
|
10693
|
+
reader.readMessage(value,proto.user.SegmentSessionRuleItem.deserializeBinaryFromReader);
|
10694
|
+
msg.addSessionRules(value);
|
10695
|
+
break;
|
10689
10696
|
default:
|
10690
10697
|
reader.skipField();
|
10691
10698
|
break;
|
@@ -10773,6 +10780,14 @@ proto.user.SegmentResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10773
10780
|
proto.user.SegmentBetRuleItem.serializeBinaryToWriter
|
10774
10781
|
);
|
10775
10782
|
}
|
10783
|
+
f = message.getSessionRulesList();
|
10784
|
+
if (f.length > 0) {
|
10785
|
+
writer.writeRepeatedMessage(
|
10786
|
+
9,
|
10787
|
+
f,
|
10788
|
+
proto.user.SegmentSessionRuleItem.serializeBinaryToWriter
|
10789
|
+
);
|
10790
|
+
}
|
10776
10791
|
};
|
10777
10792
|
|
10778
10793
|
|
@@ -11068,6 +11083,44 @@ proto.user.SegmentResponse.prototype.clearBetRulesList = function() {
|
|
11068
11083
|
};
|
11069
11084
|
|
11070
11085
|
|
11086
|
+
/**
|
11087
|
+
* repeated SegmentSessionRuleItem session_rules = 9;
|
11088
|
+
* @return {!Array<!proto.user.SegmentSessionRuleItem>}
|
11089
|
+
*/
|
11090
|
+
proto.user.SegmentResponse.prototype.getSessionRulesList = function() {
|
11091
|
+
return /** @type{!Array<!proto.user.SegmentSessionRuleItem>} */ (
|
11092
|
+
jspb.Message.getRepeatedWrapperField(this, proto.user.SegmentSessionRuleItem, 9));
|
11093
|
+
};
|
11094
|
+
|
11095
|
+
|
11096
|
+
/**
|
11097
|
+
* @param {!Array<!proto.user.SegmentSessionRuleItem>} value
|
11098
|
+
* @return {!proto.user.SegmentResponse} returns this
|
11099
|
+
*/
|
11100
|
+
proto.user.SegmentResponse.prototype.setSessionRulesList = function(value) {
|
11101
|
+
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
11102
|
+
};
|
11103
|
+
|
11104
|
+
|
11105
|
+
/**
|
11106
|
+
* @param {!proto.user.SegmentSessionRuleItem=} opt_value
|
11107
|
+
* @param {number=} opt_index
|
11108
|
+
* @return {!proto.user.SegmentSessionRuleItem}
|
11109
|
+
*/
|
11110
|
+
proto.user.SegmentResponse.prototype.addSessionRules = function(opt_value, opt_index) {
|
11111
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.user.SegmentSessionRuleItem, opt_index);
|
11112
|
+
};
|
11113
|
+
|
11114
|
+
|
11115
|
+
/**
|
11116
|
+
* Clears the list making it empty but non-null.
|
11117
|
+
* @return {!proto.user.SegmentResponse} returns this
|
11118
|
+
*/
|
11119
|
+
proto.user.SegmentResponse.prototype.clearSessionRulesList = function() {
|
11120
|
+
return this.setSessionRulesList([]);
|
11121
|
+
};
|
11122
|
+
|
11123
|
+
|
11071
11124
|
|
11072
11125
|
|
11073
11126
|
|