protobuf-platform 1.2.73 → 1.2.75
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 +98 -2
package/package.json
CHANGED
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;
|
|
@@ -217,6 +218,7 @@ message UserDataResponse {
|
|
|
217
218
|
optional int32 coins = 33;
|
|
218
219
|
optional string nickname = 34;
|
|
219
220
|
optional string cookies = 35;
|
|
221
|
+
optional string postal_code = 36;
|
|
220
222
|
}
|
|
221
223
|
message UsersResponse {
|
|
222
224
|
repeated UserDataResponse items = 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
|
|
|
@@ -7217,7 +7265,8 @@ proto.user.UserDataResponse.toObject = function(includeInstance, msg) {
|
|
|
7217
7265
|
rankingPoints: jspb.Message.getFieldWithDefault(msg, 32, 0),
|
|
7218
7266
|
coins: jspb.Message.getFieldWithDefault(msg, 33, 0),
|
|
7219
7267
|
nickname: jspb.Message.getFieldWithDefault(msg, 34, ""),
|
|
7220
|
-
cookies: jspb.Message.getFieldWithDefault(msg, 35, "")
|
|
7268
|
+
cookies: jspb.Message.getFieldWithDefault(msg, 35, ""),
|
|
7269
|
+
postalCode: jspb.Message.getFieldWithDefault(msg, 36, "")
|
|
7221
7270
|
};
|
|
7222
7271
|
|
|
7223
7272
|
if (includeInstance) {
|
|
@@ -7395,6 +7444,10 @@ proto.user.UserDataResponse.deserializeBinaryFromReader = function(msg, reader)
|
|
|
7395
7444
|
var value = /** @type {string} */ (reader.readString());
|
|
7396
7445
|
msg.setCookies(value);
|
|
7397
7446
|
break;
|
|
7447
|
+
case 36:
|
|
7448
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7449
|
+
msg.setPostalCode(value);
|
|
7450
|
+
break;
|
|
7398
7451
|
default:
|
|
7399
7452
|
reader.skipField();
|
|
7400
7453
|
break;
|
|
@@ -7670,6 +7723,13 @@ proto.user.UserDataResponse.serializeBinaryToWriter = function(message, writer)
|
|
|
7670
7723
|
f
|
|
7671
7724
|
);
|
|
7672
7725
|
}
|
|
7726
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 36));
|
|
7727
|
+
if (f != null) {
|
|
7728
|
+
writer.writeString(
|
|
7729
|
+
36,
|
|
7730
|
+
f
|
|
7731
|
+
);
|
|
7732
|
+
}
|
|
7673
7733
|
};
|
|
7674
7734
|
|
|
7675
7735
|
|
|
@@ -8898,6 +8958,42 @@ proto.user.UserDataResponse.prototype.hasCookies = function() {
|
|
|
8898
8958
|
};
|
|
8899
8959
|
|
|
8900
8960
|
|
|
8961
|
+
/**
|
|
8962
|
+
* optional string postal_code = 36;
|
|
8963
|
+
* @return {string}
|
|
8964
|
+
*/
|
|
8965
|
+
proto.user.UserDataResponse.prototype.getPostalCode = function() {
|
|
8966
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, ""));
|
|
8967
|
+
};
|
|
8968
|
+
|
|
8969
|
+
|
|
8970
|
+
/**
|
|
8971
|
+
* @param {string} value
|
|
8972
|
+
* @return {!proto.user.UserDataResponse} returns this
|
|
8973
|
+
*/
|
|
8974
|
+
proto.user.UserDataResponse.prototype.setPostalCode = function(value) {
|
|
8975
|
+
return jspb.Message.setField(this, 36, value);
|
|
8976
|
+
};
|
|
8977
|
+
|
|
8978
|
+
|
|
8979
|
+
/**
|
|
8980
|
+
* Clears the field making it undefined.
|
|
8981
|
+
* @return {!proto.user.UserDataResponse} returns this
|
|
8982
|
+
*/
|
|
8983
|
+
proto.user.UserDataResponse.prototype.clearPostalCode = function() {
|
|
8984
|
+
return jspb.Message.setField(this, 36, undefined);
|
|
8985
|
+
};
|
|
8986
|
+
|
|
8987
|
+
|
|
8988
|
+
/**
|
|
8989
|
+
* Returns whether this field is set.
|
|
8990
|
+
* @return {boolean}
|
|
8991
|
+
*/
|
|
8992
|
+
proto.user.UserDataResponse.prototype.hasPostalCode = function() {
|
|
8993
|
+
return jspb.Message.getField(this, 36) != null;
|
|
8994
|
+
};
|
|
8995
|
+
|
|
8996
|
+
|
|
8901
8997
|
|
|
8902
8998
|
/**
|
|
8903
8999
|
* List of repeated fields within this message type.
|