protobuf-platform 1.1.88 → 1.1.90
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 +104 -3
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;
|
@@ -380,6 +381,7 @@ message SegmentSessionRuleItem {
|
|
380
381
|
optional int32 hours_after_registration_min = 5;
|
381
382
|
optional int32 hours_after_registration_max = 6;
|
382
383
|
optional int32 is_active = 7;
|
384
|
+
optional int32 segment_id = 8;
|
383
385
|
}
|
384
386
|
//Statuses
|
385
387
|
message RiskStatus {
|
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
|
|
@@ -16284,7 +16337,8 @@ proto.user.SegmentSessionRuleItem.toObject = function(includeInstance, msg) {
|
|
16284
16337
|
sessionCountMax: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
16285
16338
|
hoursAfterRegistrationMin: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
16286
16339
|
hoursAfterRegistrationMax: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
16287
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
16340
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
16341
|
+
segmentId: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
16288
16342
|
};
|
16289
16343
|
|
16290
16344
|
if (includeInstance) {
|
@@ -16349,6 +16403,10 @@ proto.user.SegmentSessionRuleItem.deserializeBinaryFromReader = function(msg, re
|
|
16349
16403
|
var value = /** @type {number} */ (reader.readInt32());
|
16350
16404
|
msg.setIsActive(value);
|
16351
16405
|
break;
|
16406
|
+
case 8:
|
16407
|
+
var value = /** @type {number} */ (reader.readInt32());
|
16408
|
+
msg.setSegmentId(value);
|
16409
|
+
break;
|
16352
16410
|
default:
|
16353
16411
|
reader.skipField();
|
16354
16412
|
break;
|
@@ -16427,6 +16485,13 @@ proto.user.SegmentSessionRuleItem.serializeBinaryToWriter = function(message, wr
|
|
16427
16485
|
f
|
16428
16486
|
);
|
16429
16487
|
}
|
16488
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
16489
|
+
if (f != null) {
|
16490
|
+
writer.writeInt32(
|
16491
|
+
8,
|
16492
|
+
f
|
16493
|
+
);
|
16494
|
+
}
|
16430
16495
|
};
|
16431
16496
|
|
16432
16497
|
|
@@ -16682,6 +16747,42 @@ proto.user.SegmentSessionRuleItem.prototype.hasIsActive = function() {
|
|
16682
16747
|
};
|
16683
16748
|
|
16684
16749
|
|
16750
|
+
/**
|
16751
|
+
* optional int32 segment_id = 8;
|
16752
|
+
* @return {number}
|
16753
|
+
*/
|
16754
|
+
proto.user.SegmentSessionRuleItem.prototype.getSegmentId = function() {
|
16755
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
16756
|
+
};
|
16757
|
+
|
16758
|
+
|
16759
|
+
/**
|
16760
|
+
* @param {number} value
|
16761
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16762
|
+
*/
|
16763
|
+
proto.user.SegmentSessionRuleItem.prototype.setSegmentId = function(value) {
|
16764
|
+
return jspb.Message.setField(this, 8, value);
|
16765
|
+
};
|
16766
|
+
|
16767
|
+
|
16768
|
+
/**
|
16769
|
+
* Clears the field making it undefined.
|
16770
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16771
|
+
*/
|
16772
|
+
proto.user.SegmentSessionRuleItem.prototype.clearSegmentId = function() {
|
16773
|
+
return jspb.Message.setField(this, 8, undefined);
|
16774
|
+
};
|
16775
|
+
|
16776
|
+
|
16777
|
+
/**
|
16778
|
+
* Returns whether this field is set.
|
16779
|
+
* @return {boolean}
|
16780
|
+
*/
|
16781
|
+
proto.user.SegmentSessionRuleItem.prototype.hasSegmentId = function() {
|
16782
|
+
return jspb.Message.getField(this, 8) != null;
|
16783
|
+
};
|
16784
|
+
|
16785
|
+
|
16685
16786
|
|
16686
16787
|
|
16687
16788
|
|