protobuf-platform 1.0.106 → 1.0.107

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.106",
3
+ "version": "1.0.107",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -69,11 +69,12 @@ message UserDataResponse {
69
69
  optional string locale = 11;
70
70
  optional string permissions = 12;
71
71
  optional string role_name = 13;
72
- optional string verification_name = 14;
72
+ optional string verification_status = 14;
73
73
  optional float balance_real = 15;
74
74
  optional float balance_bonus = 16;
75
75
  optional string balance_type = 17;
76
76
  optional int32 affiliate_id = 18;
77
+ optional string timezone = 19;
77
78
  }
78
79
  message UsersResponse {
79
80
  repeated UserDataResponse items = 1;
package/user/user_pb.js CHANGED
@@ -2242,11 +2242,12 @@ proto.user.UserDataResponse.toObject = function(includeInstance, msg) {
2242
2242
  locale: jspb.Message.getFieldWithDefault(msg, 11, ""),
2243
2243
  permissions: jspb.Message.getFieldWithDefault(msg, 12, ""),
2244
2244
  roleName: jspb.Message.getFieldWithDefault(msg, 13, ""),
2245
- verificationName: jspb.Message.getFieldWithDefault(msg, 14, ""),
2245
+ verificationStatus: jspb.Message.getFieldWithDefault(msg, 14, ""),
2246
2246
  balanceReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
2247
2247
  balanceBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
2248
2248
  balanceType: jspb.Message.getFieldWithDefault(msg, 17, ""),
2249
- affiliateId: jspb.Message.getFieldWithDefault(msg, 18, 0)
2249
+ affiliateId: jspb.Message.getFieldWithDefault(msg, 18, 0),
2250
+ timezone: jspb.Message.getFieldWithDefault(msg, 19, "")
2250
2251
  };
2251
2252
 
2252
2253
  if (includeInstance) {
@@ -2337,7 +2338,7 @@ proto.user.UserDataResponse.deserializeBinaryFromReader = function(msg, reader)
2337
2338
  break;
2338
2339
  case 14:
2339
2340
  var value = /** @type {string} */ (reader.readString());
2340
- msg.setVerificationName(value);
2341
+ msg.setVerificationStatus(value);
2341
2342
  break;
2342
2343
  case 15:
2343
2344
  var value = /** @type {number} */ (reader.readFloat());
@@ -2355,6 +2356,10 @@ proto.user.UserDataResponse.deserializeBinaryFromReader = function(msg, reader)
2355
2356
  var value = /** @type {number} */ (reader.readInt32());
2356
2357
  msg.setAffiliateId(value);
2357
2358
  break;
2359
+ case 19:
2360
+ var value = /** @type {string} */ (reader.readString());
2361
+ msg.setTimezone(value);
2362
+ break;
2358
2363
  default:
2359
2364
  reader.skipField();
2360
2365
  break;
@@ -2510,6 +2515,13 @@ proto.user.UserDataResponse.serializeBinaryToWriter = function(message, writer)
2510
2515
  f
2511
2516
  );
2512
2517
  }
2518
+ f = /** @type {string} */ (jspb.Message.getField(message, 19));
2519
+ if (f != null) {
2520
+ writer.writeString(
2521
+ 19,
2522
+ f
2523
+ );
2524
+ }
2513
2525
  };
2514
2526
 
2515
2527
 
@@ -2946,10 +2958,10 @@ proto.user.UserDataResponse.prototype.hasRoleName = function() {
2946
2958
 
2947
2959
 
2948
2960
  /**
2949
- * optional string verification_name = 14;
2961
+ * optional string verification_status = 14;
2950
2962
  * @return {string}
2951
2963
  */
2952
- proto.user.UserDataResponse.prototype.getVerificationName = function() {
2964
+ proto.user.UserDataResponse.prototype.getVerificationStatus = function() {
2953
2965
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
2954
2966
  };
2955
2967
 
@@ -2958,7 +2970,7 @@ proto.user.UserDataResponse.prototype.getVerificationName = function() {
2958
2970
  * @param {string} value
2959
2971
  * @return {!proto.user.UserDataResponse} returns this
2960
2972
  */
2961
- proto.user.UserDataResponse.prototype.setVerificationName = function(value) {
2973
+ proto.user.UserDataResponse.prototype.setVerificationStatus = function(value) {
2962
2974
  return jspb.Message.setField(this, 14, value);
2963
2975
  };
2964
2976
 
@@ -2967,7 +2979,7 @@ proto.user.UserDataResponse.prototype.setVerificationName = function(value) {
2967
2979
  * Clears the field making it undefined.
2968
2980
  * @return {!proto.user.UserDataResponse} returns this
2969
2981
  */
2970
- proto.user.UserDataResponse.prototype.clearVerificationName = function() {
2982
+ proto.user.UserDataResponse.prototype.clearVerificationStatus = function() {
2971
2983
  return jspb.Message.setField(this, 14, undefined);
2972
2984
  };
2973
2985
 
@@ -2976,7 +2988,7 @@ proto.user.UserDataResponse.prototype.clearVerificationName = function() {
2976
2988
  * Returns whether this field is set.
2977
2989
  * @return {boolean}
2978
2990
  */
2979
- proto.user.UserDataResponse.prototype.hasVerificationName = function() {
2991
+ proto.user.UserDataResponse.prototype.hasVerificationStatus = function() {
2980
2992
  return jspb.Message.getField(this, 14) != null;
2981
2993
  };
2982
2994
 
@@ -3125,6 +3137,42 @@ proto.user.UserDataResponse.prototype.hasAffiliateId = function() {
3125
3137
  };
3126
3138
 
3127
3139
 
3140
+ /**
3141
+ * optional string timezone = 19;
3142
+ * @return {string}
3143
+ */
3144
+ proto.user.UserDataResponse.prototype.getTimezone = function() {
3145
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
3146
+ };
3147
+
3148
+
3149
+ /**
3150
+ * @param {string} value
3151
+ * @return {!proto.user.UserDataResponse} returns this
3152
+ */
3153
+ proto.user.UserDataResponse.prototype.setTimezone = function(value) {
3154
+ return jspb.Message.setField(this, 19, value);
3155
+ };
3156
+
3157
+
3158
+ /**
3159
+ * Clears the field making it undefined.
3160
+ * @return {!proto.user.UserDataResponse} returns this
3161
+ */
3162
+ proto.user.UserDataResponse.prototype.clearTimezone = function() {
3163
+ return jspb.Message.setField(this, 19, undefined);
3164
+ };
3165
+
3166
+
3167
+ /**
3168
+ * Returns whether this field is set.
3169
+ * @return {boolean}
3170
+ */
3171
+ proto.user.UserDataResponse.prototype.hasTimezone = function() {
3172
+ return jspb.Message.getField(this, 19) != null;
3173
+ };
3174
+
3175
+
3128
3176
 
3129
3177
  /**
3130
3178
  * List of repeated fields within this message type.