protobuf-platform 1.0.143 → 1.0.144

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.143",
3
+ "version": "1.0.144",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -96,6 +96,8 @@ message UserDataResponse {
96
96
  optional string balance_type = 17;
97
97
  optional int32 affiliate_id = 18;
98
98
  optional string timezone = 19;
99
+ optional string risk_status = 20;
100
+ optional string category = 21;
99
101
  }
100
102
  message UsersResponse {
101
103
  repeated UserDataResponse items = 1;
package/user/user_pb.js CHANGED
@@ -2818,7 +2818,9 @@ proto.user.UserDataResponse.toObject = function(includeInstance, msg) {
2818
2818
  balanceBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
2819
2819
  balanceType: jspb.Message.getFieldWithDefault(msg, 17, ""),
2820
2820
  affiliateId: jspb.Message.getFieldWithDefault(msg, 18, 0),
2821
- timezone: jspb.Message.getFieldWithDefault(msg, 19, "")
2821
+ timezone: jspb.Message.getFieldWithDefault(msg, 19, ""),
2822
+ riskStatus: jspb.Message.getFieldWithDefault(msg, 20, ""),
2823
+ category: jspb.Message.getFieldWithDefault(msg, 21, "")
2822
2824
  };
2823
2825
 
2824
2826
  if (includeInstance) {
@@ -2931,6 +2933,14 @@ proto.user.UserDataResponse.deserializeBinaryFromReader = function(msg, reader)
2931
2933
  var value = /** @type {string} */ (reader.readString());
2932
2934
  msg.setTimezone(value);
2933
2935
  break;
2936
+ case 20:
2937
+ var value = /** @type {string} */ (reader.readString());
2938
+ msg.setRiskStatus(value);
2939
+ break;
2940
+ case 21:
2941
+ var value = /** @type {string} */ (reader.readString());
2942
+ msg.setCategory(value);
2943
+ break;
2934
2944
  default:
2935
2945
  reader.skipField();
2936
2946
  break;
@@ -3093,6 +3103,20 @@ proto.user.UserDataResponse.serializeBinaryToWriter = function(message, writer)
3093
3103
  f
3094
3104
  );
3095
3105
  }
3106
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
3107
+ if (f != null) {
3108
+ writer.writeString(
3109
+ 20,
3110
+ f
3111
+ );
3112
+ }
3113
+ f = /** @type {string} */ (jspb.Message.getField(message, 21));
3114
+ if (f != null) {
3115
+ writer.writeString(
3116
+ 21,
3117
+ f
3118
+ );
3119
+ }
3096
3120
  };
3097
3121
 
3098
3122
 
@@ -3744,6 +3768,78 @@ proto.user.UserDataResponse.prototype.hasTimezone = function() {
3744
3768
  };
3745
3769
 
3746
3770
 
3771
+ /**
3772
+ * optional string risk_status = 20;
3773
+ * @return {string}
3774
+ */
3775
+ proto.user.UserDataResponse.prototype.getRiskStatus = function() {
3776
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
3777
+ };
3778
+
3779
+
3780
+ /**
3781
+ * @param {string} value
3782
+ * @return {!proto.user.UserDataResponse} returns this
3783
+ */
3784
+ proto.user.UserDataResponse.prototype.setRiskStatus = function(value) {
3785
+ return jspb.Message.setField(this, 20, value);
3786
+ };
3787
+
3788
+
3789
+ /**
3790
+ * Clears the field making it undefined.
3791
+ * @return {!proto.user.UserDataResponse} returns this
3792
+ */
3793
+ proto.user.UserDataResponse.prototype.clearRiskStatus = function() {
3794
+ return jspb.Message.setField(this, 20, undefined);
3795
+ };
3796
+
3797
+
3798
+ /**
3799
+ * Returns whether this field is set.
3800
+ * @return {boolean}
3801
+ */
3802
+ proto.user.UserDataResponse.prototype.hasRiskStatus = function() {
3803
+ return jspb.Message.getField(this, 20) != null;
3804
+ };
3805
+
3806
+
3807
+ /**
3808
+ * optional string category = 21;
3809
+ * @return {string}
3810
+ */
3811
+ proto.user.UserDataResponse.prototype.getCategory = function() {
3812
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
3813
+ };
3814
+
3815
+
3816
+ /**
3817
+ * @param {string} value
3818
+ * @return {!proto.user.UserDataResponse} returns this
3819
+ */
3820
+ proto.user.UserDataResponse.prototype.setCategory = function(value) {
3821
+ return jspb.Message.setField(this, 21, value);
3822
+ };
3823
+
3824
+
3825
+ /**
3826
+ * Clears the field making it undefined.
3827
+ * @return {!proto.user.UserDataResponse} returns this
3828
+ */
3829
+ proto.user.UserDataResponse.prototype.clearCategory = function() {
3830
+ return jspb.Message.setField(this, 21, undefined);
3831
+ };
3832
+
3833
+
3834
+ /**
3835
+ * Returns whether this field is set.
3836
+ * @return {boolean}
3837
+ */
3838
+ proto.user.UserDataResponse.prototype.hasCategory = function() {
3839
+ return jspb.Message.getField(this, 21) != null;
3840
+ };
3841
+
3842
+
3747
3843
 
3748
3844
  /**
3749
3845
  * List of repeated fields within this message type.