protobuf-platform 1.2.50 → 1.2.52
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 +29 -0
- package/bonus/bonus_grpc_pb.js +55 -0
- package/bonus/bonus_pb.js +1371 -2
- package/loyalty/loyalty.proto +1 -0
- package/loyalty/loyalty_pb.js +49 -1
- package/package.json +1 -1
package/loyalty/loyalty.proto
CHANGED
package/loyalty/loyalty_pb.js
CHANGED
|
@@ -4365,7 +4365,8 @@ proto.loyalty.LevelTranslationResponse.toObject = function(includeInstance, msg)
|
|
|
4365
4365
|
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4366
4366
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4367
4367
|
content: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4368
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
4368
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
4369
|
+
locale: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
4369
4370
|
};
|
|
4370
4371
|
|
|
4371
4372
|
if (includeInstance) {
|
|
@@ -4418,6 +4419,10 @@ proto.loyalty.LevelTranslationResponse.deserializeBinaryFromReader = function(ms
|
|
|
4418
4419
|
var value = /** @type {number} */ (reader.readInt32());
|
|
4419
4420
|
msg.setIsActive(value);
|
|
4420
4421
|
break;
|
|
4422
|
+
case 5:
|
|
4423
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4424
|
+
msg.setLocale(value);
|
|
4425
|
+
break;
|
|
4421
4426
|
default:
|
|
4422
4427
|
reader.skipField();
|
|
4423
4428
|
break;
|
|
@@ -4475,6 +4480,13 @@ proto.loyalty.LevelTranslationResponse.serializeBinaryToWriter = function(messag
|
|
|
4475
4480
|
f
|
|
4476
4481
|
);
|
|
4477
4482
|
}
|
|
4483
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
4484
|
+
if (f != null) {
|
|
4485
|
+
writer.writeString(
|
|
4486
|
+
5,
|
|
4487
|
+
f
|
|
4488
|
+
);
|
|
4489
|
+
}
|
|
4478
4490
|
};
|
|
4479
4491
|
|
|
4480
4492
|
|
|
@@ -4622,6 +4634,42 @@ proto.loyalty.LevelTranslationResponse.prototype.hasIsActive = function() {
|
|
|
4622
4634
|
};
|
|
4623
4635
|
|
|
4624
4636
|
|
|
4637
|
+
/**
|
|
4638
|
+
* optional string locale = 5;
|
|
4639
|
+
* @return {string}
|
|
4640
|
+
*/
|
|
4641
|
+
proto.loyalty.LevelTranslationResponse.prototype.getLocale = function() {
|
|
4642
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4643
|
+
};
|
|
4644
|
+
|
|
4645
|
+
|
|
4646
|
+
/**
|
|
4647
|
+
* @param {string} value
|
|
4648
|
+
* @return {!proto.loyalty.LevelTranslationResponse} returns this
|
|
4649
|
+
*/
|
|
4650
|
+
proto.loyalty.LevelTranslationResponse.prototype.setLocale = function(value) {
|
|
4651
|
+
return jspb.Message.setField(this, 5, value);
|
|
4652
|
+
};
|
|
4653
|
+
|
|
4654
|
+
|
|
4655
|
+
/**
|
|
4656
|
+
* Clears the field making it undefined.
|
|
4657
|
+
* @return {!proto.loyalty.LevelTranslationResponse} returns this
|
|
4658
|
+
*/
|
|
4659
|
+
proto.loyalty.LevelTranslationResponse.prototype.clearLocale = function() {
|
|
4660
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
4661
|
+
};
|
|
4662
|
+
|
|
4663
|
+
|
|
4664
|
+
/**
|
|
4665
|
+
* Returns whether this field is set.
|
|
4666
|
+
* @return {boolean}
|
|
4667
|
+
*/
|
|
4668
|
+
proto.loyalty.LevelTranslationResponse.prototype.hasLocale = function() {
|
|
4669
|
+
return jspb.Message.getField(this, 5) != null;
|
|
4670
|
+
};
|
|
4671
|
+
|
|
4672
|
+
|
|
4625
4673
|
|
|
4626
4674
|
|
|
4627
4675
|
|