protobuf-platform 1.2.408 → 1.2.410
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/promocode/promocode.proto +1 -0
- package/promocode/promocode_pb.js +49 -1
- package/user/user.proto +1 -0
- package/user/user_pb.js +49 -1
package/package.json
CHANGED
|
@@ -1511,7 +1511,8 @@ proto.promocode.SearchRequest.toObject = function(includeInstance, msg) {
|
|
|
1511
1511
|
isActive: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1512
1512
|
activationArea: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1513
1513
|
targetDomain: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1514
|
-
applicationMode: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
1514
|
+
applicationMode: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1515
|
+
type: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
1515
1516
|
};
|
|
1516
1517
|
|
|
1517
1518
|
if (includeInstance) {
|
|
@@ -1572,6 +1573,10 @@ proto.promocode.SearchRequest.deserializeBinaryFromReader = function(msg, reader
|
|
|
1572
1573
|
var value = /** @type {string} */ (reader.readString());
|
|
1573
1574
|
msg.setApplicationMode(value);
|
|
1574
1575
|
break;
|
|
1576
|
+
case 7:
|
|
1577
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1578
|
+
msg.setType(value);
|
|
1579
|
+
break;
|
|
1575
1580
|
default:
|
|
1576
1581
|
reader.skipField();
|
|
1577
1582
|
break;
|
|
@@ -1643,6 +1648,13 @@ proto.promocode.SearchRequest.serializeBinaryToWriter = function(message, writer
|
|
|
1643
1648
|
f
|
|
1644
1649
|
);
|
|
1645
1650
|
}
|
|
1651
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
1652
|
+
if (f != null) {
|
|
1653
|
+
writer.writeString(
|
|
1654
|
+
7,
|
|
1655
|
+
f
|
|
1656
|
+
);
|
|
1657
|
+
}
|
|
1646
1658
|
};
|
|
1647
1659
|
|
|
1648
1660
|
|
|
@@ -1862,6 +1874,42 @@ proto.promocode.SearchRequest.prototype.hasApplicationMode = function() {
|
|
|
1862
1874
|
};
|
|
1863
1875
|
|
|
1864
1876
|
|
|
1877
|
+
/**
|
|
1878
|
+
* optional string type = 7;
|
|
1879
|
+
* @return {string}
|
|
1880
|
+
*/
|
|
1881
|
+
proto.promocode.SearchRequest.prototype.getType = function() {
|
|
1882
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1883
|
+
};
|
|
1884
|
+
|
|
1885
|
+
|
|
1886
|
+
/**
|
|
1887
|
+
* @param {string} value
|
|
1888
|
+
* @return {!proto.promocode.SearchRequest} returns this
|
|
1889
|
+
*/
|
|
1890
|
+
proto.promocode.SearchRequest.prototype.setType = function(value) {
|
|
1891
|
+
return jspb.Message.setField(this, 7, value);
|
|
1892
|
+
};
|
|
1893
|
+
|
|
1894
|
+
|
|
1895
|
+
/**
|
|
1896
|
+
* Clears the field making it undefined.
|
|
1897
|
+
* @return {!proto.promocode.SearchRequest} returns this
|
|
1898
|
+
*/
|
|
1899
|
+
proto.promocode.SearchRequest.prototype.clearType = function() {
|
|
1900
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
1901
|
+
};
|
|
1902
|
+
|
|
1903
|
+
|
|
1904
|
+
/**
|
|
1905
|
+
* Returns whether this field is set.
|
|
1906
|
+
* @return {boolean}
|
|
1907
|
+
*/
|
|
1908
|
+
proto.promocode.SearchRequest.prototype.hasType = function() {
|
|
1909
|
+
return jspb.Message.getField(this, 7) != null;
|
|
1910
|
+
};
|
|
1911
|
+
|
|
1912
|
+
|
|
1865
1913
|
|
|
1866
1914
|
/**
|
|
1867
1915
|
* List of repeated fields within this message type.
|
package/user/user.proto
CHANGED
package/user/user_pb.js
CHANGED
|
@@ -5761,7 +5761,8 @@ proto.user.RegistrationRequest.toObject = function(includeInstance, msg) {
|
|
|
5761
5761
|
affiliateInfo: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
5762
5762
|
seonSession: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
5763
5763
|
presetCode: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
5764
|
-
antifraudSession: jspb.Message.getFieldWithDefault(msg, 26, "")
|
|
5764
|
+
antifraudSession: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
5765
|
+
fraudneticToken: jspb.Message.getFieldWithDefault(msg, 27, "")
|
|
5765
5766
|
};
|
|
5766
5767
|
|
|
5767
5768
|
if (includeInstance) {
|
|
@@ -5902,6 +5903,10 @@ proto.user.RegistrationRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
5902
5903
|
var value = /** @type {string} */ (reader.readString());
|
|
5903
5904
|
msg.setAntifraudSession(value);
|
|
5904
5905
|
break;
|
|
5906
|
+
case 27:
|
|
5907
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5908
|
+
msg.setFraudneticToken(value);
|
|
5909
|
+
break;
|
|
5905
5910
|
default:
|
|
5906
5911
|
reader.skipField();
|
|
5907
5912
|
break;
|
|
@@ -6113,6 +6118,13 @@ proto.user.RegistrationRequest.serializeBinaryToWriter = function(message, write
|
|
|
6113
6118
|
f
|
|
6114
6119
|
);
|
|
6115
6120
|
}
|
|
6121
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 27));
|
|
6122
|
+
if (f != null) {
|
|
6123
|
+
writer.writeString(
|
|
6124
|
+
27,
|
|
6125
|
+
f
|
|
6126
|
+
);
|
|
6127
|
+
}
|
|
6116
6128
|
};
|
|
6117
6129
|
|
|
6118
6130
|
|
|
@@ -6998,6 +7010,42 @@ proto.user.RegistrationRequest.prototype.hasAntifraudSession = function() {
|
|
|
6998
7010
|
};
|
|
6999
7011
|
|
|
7000
7012
|
|
|
7013
|
+
/**
|
|
7014
|
+
* optional string fraudnetic_token = 27;
|
|
7015
|
+
* @return {string}
|
|
7016
|
+
*/
|
|
7017
|
+
proto.user.RegistrationRequest.prototype.getFraudneticToken = function() {
|
|
7018
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
|
|
7019
|
+
};
|
|
7020
|
+
|
|
7021
|
+
|
|
7022
|
+
/**
|
|
7023
|
+
* @param {string} value
|
|
7024
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
|
7025
|
+
*/
|
|
7026
|
+
proto.user.RegistrationRequest.prototype.setFraudneticToken = function(value) {
|
|
7027
|
+
return jspb.Message.setField(this, 27, value);
|
|
7028
|
+
};
|
|
7029
|
+
|
|
7030
|
+
|
|
7031
|
+
/**
|
|
7032
|
+
* Clears the field making it undefined.
|
|
7033
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
|
7034
|
+
*/
|
|
7035
|
+
proto.user.RegistrationRequest.prototype.clearFraudneticToken = function() {
|
|
7036
|
+
return jspb.Message.setField(this, 27, undefined);
|
|
7037
|
+
};
|
|
7038
|
+
|
|
7039
|
+
|
|
7040
|
+
/**
|
|
7041
|
+
* Returns whether this field is set.
|
|
7042
|
+
* @return {boolean}
|
|
7043
|
+
*/
|
|
7044
|
+
proto.user.RegistrationRequest.prototype.hasFraudneticToken = function() {
|
|
7045
|
+
return jspb.Message.getField(this, 27) != null;
|
|
7046
|
+
};
|
|
7047
|
+
|
|
7048
|
+
|
|
7001
7049
|
|
|
7002
7050
|
|
|
7003
7051
|
|