protobuf-platform 1.2.73 → 1.2.74

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.2.73",
3
+ "version": "1.2.74",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -180,6 +180,7 @@ message UserRequest {
180
180
  optional int32 block_deposit = 20;
181
181
  optional int32 block_bet = 21;
182
182
  optional string self_exclusion_date = 22;
183
+ optional string postal_code = 23;
183
184
  }
184
185
  message UserDataResponse {
185
186
  int32 id = 1;
package/user/user_pb.js CHANGED
@@ -6066,7 +6066,8 @@ proto.user.UserRequest.toObject = function(includeInstance, msg) {
6066
6066
  blockUser: jspb.Message.getFieldWithDefault(msg, 19, 0),
6067
6067
  blockDeposit: jspb.Message.getFieldWithDefault(msg, 20, 0),
6068
6068
  blockBet: jspb.Message.getFieldWithDefault(msg, 21, 0),
6069
- selfExclusionDate: jspb.Message.getFieldWithDefault(msg, 22, "")
6069
+ selfExclusionDate: jspb.Message.getFieldWithDefault(msg, 22, ""),
6070
+ postalCode: jspb.Message.getFieldWithDefault(msg, 23, "")
6070
6071
  };
6071
6072
 
6072
6073
  if (includeInstance) {
@@ -6191,6 +6192,10 @@ proto.user.UserRequest.deserializeBinaryFromReader = function(msg, reader) {
6191
6192
  var value = /** @type {string} */ (reader.readString());
6192
6193
  msg.setSelfExclusionDate(value);
6193
6194
  break;
6195
+ case 23:
6196
+ var value = /** @type {string} */ (reader.readString());
6197
+ msg.setPostalCode(value);
6198
+ break;
6194
6199
  default:
6195
6200
  reader.skipField();
6196
6201
  break;
@@ -6374,6 +6379,13 @@ proto.user.UserRequest.serializeBinaryToWriter = function(message, writer) {
6374
6379
  f
6375
6380
  );
6376
6381
  }
6382
+ f = /** @type {string} */ (jspb.Message.getField(message, 23));
6383
+ if (f != null) {
6384
+ writer.writeString(
6385
+ 23,
6386
+ f
6387
+ );
6388
+ }
6377
6389
  };
6378
6390
 
6379
6391
 
@@ -7151,6 +7163,42 @@ proto.user.UserRequest.prototype.hasSelfExclusionDate = function() {
7151
7163
  };
7152
7164
 
7153
7165
 
7166
+ /**
7167
+ * optional string postal_code = 23;
7168
+ * @return {string}
7169
+ */
7170
+ proto.user.UserRequest.prototype.getPostalCode = function() {
7171
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
7172
+ };
7173
+
7174
+
7175
+ /**
7176
+ * @param {string} value
7177
+ * @return {!proto.user.UserRequest} returns this
7178
+ */
7179
+ proto.user.UserRequest.prototype.setPostalCode = function(value) {
7180
+ return jspb.Message.setField(this, 23, value);
7181
+ };
7182
+
7183
+
7184
+ /**
7185
+ * Clears the field making it undefined.
7186
+ * @return {!proto.user.UserRequest} returns this
7187
+ */
7188
+ proto.user.UserRequest.prototype.clearPostalCode = function() {
7189
+ return jspb.Message.setField(this, 23, undefined);
7190
+ };
7191
+
7192
+
7193
+ /**
7194
+ * Returns whether this field is set.
7195
+ * @return {boolean}
7196
+ */
7197
+ proto.user.UserRequest.prototype.hasPostalCode = function() {
7198
+ return jspb.Message.getField(this, 23) != null;
7199
+ };
7200
+
7201
+
7154
7202
 
7155
7203
 
7156
7204