protobuf-platform 1.0.147 → 1.0.149
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/bonus/bonus.proto +2 -0
- package/bonus/bonus_pb.js +97 -1
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
@@ -157,6 +157,8 @@ message GetUserBonusRequest {
|
|
157
157
|
optional string currency = 5;
|
158
158
|
optional string country = 6;
|
159
159
|
optional string locale = 7;
|
160
|
+
optional string user_public_id = 8;
|
161
|
+
optional string user_name = 9;
|
160
162
|
}
|
161
163
|
message UserBonusItemsResponse {
|
162
164
|
repeated UserBonusItem items = 1;
|
package/bonus/bonus_pb.js
CHANGED
@@ -6905,7 +6905,9 @@ proto.bonus.GetUserBonusRequest.toObject = function(includeInstance, msg) {
|
|
6905
6905
|
type: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
6906
6906
|
currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
6907
6907
|
country: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
6908
|
-
locale: jspb.Message.getFieldWithDefault(msg, 7, "")
|
6908
|
+
locale: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
6909
|
+
userPublicId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
6910
|
+
userName: jspb.Message.getFieldWithDefault(msg, 9, "")
|
6909
6911
|
};
|
6910
6912
|
|
6911
6913
|
if (includeInstance) {
|
@@ -6970,6 +6972,14 @@ proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader = function(msg, read
|
|
6970
6972
|
var value = /** @type {string} */ (reader.readString());
|
6971
6973
|
msg.setLocale(value);
|
6972
6974
|
break;
|
6975
|
+
case 8:
|
6976
|
+
var value = /** @type {string} */ (reader.readString());
|
6977
|
+
msg.setUserPublicId(value);
|
6978
|
+
break;
|
6979
|
+
case 9:
|
6980
|
+
var value = /** @type {string} */ (reader.readString());
|
6981
|
+
msg.setUserName(value);
|
6982
|
+
break;
|
6973
6983
|
default:
|
6974
6984
|
reader.skipField();
|
6975
6985
|
break;
|
@@ -7048,6 +7058,20 @@ proto.bonus.GetUserBonusRequest.serializeBinaryToWriter = function(message, writ
|
|
7048
7058
|
f
|
7049
7059
|
);
|
7050
7060
|
}
|
7061
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
7062
|
+
if (f != null) {
|
7063
|
+
writer.writeString(
|
7064
|
+
8,
|
7065
|
+
f
|
7066
|
+
);
|
7067
|
+
}
|
7068
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
7069
|
+
if (f != null) {
|
7070
|
+
writer.writeString(
|
7071
|
+
9,
|
7072
|
+
f
|
7073
|
+
);
|
7074
|
+
}
|
7051
7075
|
};
|
7052
7076
|
|
7053
7077
|
|
@@ -7285,6 +7309,78 @@ proto.bonus.GetUserBonusRequest.prototype.hasLocale = function() {
|
|
7285
7309
|
};
|
7286
7310
|
|
7287
7311
|
|
7312
|
+
/**
|
7313
|
+
* optional string user_public_id = 8;
|
7314
|
+
* @return {string}
|
7315
|
+
*/
|
7316
|
+
proto.bonus.GetUserBonusRequest.prototype.getUserPublicId = function() {
|
7317
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
7318
|
+
};
|
7319
|
+
|
7320
|
+
|
7321
|
+
/**
|
7322
|
+
* @param {string} value
|
7323
|
+
* @return {!proto.bonus.GetUserBonusRequest} returns this
|
7324
|
+
*/
|
7325
|
+
proto.bonus.GetUserBonusRequest.prototype.setUserPublicId = function(value) {
|
7326
|
+
return jspb.Message.setField(this, 8, value);
|
7327
|
+
};
|
7328
|
+
|
7329
|
+
|
7330
|
+
/**
|
7331
|
+
* Clears the field making it undefined.
|
7332
|
+
* @return {!proto.bonus.GetUserBonusRequest} returns this
|
7333
|
+
*/
|
7334
|
+
proto.bonus.GetUserBonusRequest.prototype.clearUserPublicId = function() {
|
7335
|
+
return jspb.Message.setField(this, 8, undefined);
|
7336
|
+
};
|
7337
|
+
|
7338
|
+
|
7339
|
+
/**
|
7340
|
+
* Returns whether this field is set.
|
7341
|
+
* @return {boolean}
|
7342
|
+
*/
|
7343
|
+
proto.bonus.GetUserBonusRequest.prototype.hasUserPublicId = function() {
|
7344
|
+
return jspb.Message.getField(this, 8) != null;
|
7345
|
+
};
|
7346
|
+
|
7347
|
+
|
7348
|
+
/**
|
7349
|
+
* optional string user_name = 9;
|
7350
|
+
* @return {string}
|
7351
|
+
*/
|
7352
|
+
proto.bonus.GetUserBonusRequest.prototype.getUserName = function() {
|
7353
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
7354
|
+
};
|
7355
|
+
|
7356
|
+
|
7357
|
+
/**
|
7358
|
+
* @param {string} value
|
7359
|
+
* @return {!proto.bonus.GetUserBonusRequest} returns this
|
7360
|
+
*/
|
7361
|
+
proto.bonus.GetUserBonusRequest.prototype.setUserName = function(value) {
|
7362
|
+
return jspb.Message.setField(this, 9, value);
|
7363
|
+
};
|
7364
|
+
|
7365
|
+
|
7366
|
+
/**
|
7367
|
+
* Clears the field making it undefined.
|
7368
|
+
* @return {!proto.bonus.GetUserBonusRequest} returns this
|
7369
|
+
*/
|
7370
|
+
proto.bonus.GetUserBonusRequest.prototype.clearUserName = function() {
|
7371
|
+
return jspb.Message.setField(this, 9, undefined);
|
7372
|
+
};
|
7373
|
+
|
7374
|
+
|
7375
|
+
/**
|
7376
|
+
* Returns whether this field is set.
|
7377
|
+
* @return {boolean}
|
7378
|
+
*/
|
7379
|
+
proto.bonus.GetUserBonusRequest.prototype.hasUserName = function() {
|
7380
|
+
return jspb.Message.getField(this, 9) != null;
|
7381
|
+
};
|
7382
|
+
|
7383
|
+
|
7288
7384
|
|
7289
7385
|
/**
|
7290
7386
|
* List of repeated fields within this message type.
|