@sniipwebmaster/loyalty-program-client-grpcweb 25.2.1750 → 25.2.1773
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/dependancies/service_pb.js +62 -2
- package/package.json +1 -1
|
@@ -1319,7 +1319,8 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.toObject = functi
|
|
|
1319
1319
|
amountofpoints: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1320
1320
|
membershipnumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1321
1321
|
loyaltyprogramname: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1322
|
-
loyaltypointslabel: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
1322
|
+
loyaltypointslabel: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1323
|
+
loyaltyprogramcode: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
1323
1324
|
};
|
|
1324
1325
|
|
|
1325
1326
|
if (includeInstance) {
|
|
@@ -1381,6 +1382,10 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.deserializeBinary
|
|
|
1381
1382
|
var value = /** @type {string} */ (reader.readString());
|
|
1382
1383
|
msg.setLoyaltypointslabel(value);
|
|
1383
1384
|
break;
|
|
1385
|
+
case 7:
|
|
1386
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1387
|
+
msg.setLoyaltyprogramcode(value);
|
|
1388
|
+
break;
|
|
1384
1389
|
default:
|
|
1385
1390
|
reader.skipField();
|
|
1386
1391
|
break;
|
|
@@ -1453,6 +1458,13 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.serializeBinaryTo
|
|
|
1453
1458
|
f
|
|
1454
1459
|
);
|
|
1455
1460
|
}
|
|
1461
|
+
f = message.getLoyaltyprogramcode();
|
|
1462
|
+
if (f.length > 0) {
|
|
1463
|
+
writer.writeString(
|
|
1464
|
+
7,
|
|
1465
|
+
f
|
|
1466
|
+
);
|
|
1467
|
+
}
|
|
1456
1468
|
};
|
|
1457
1469
|
|
|
1458
1470
|
|
|
@@ -1583,6 +1595,24 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoya
|
|
|
1583
1595
|
};
|
|
1584
1596
|
|
|
1585
1597
|
|
|
1598
|
+
/**
|
|
1599
|
+
* optional string loyaltyProgramCode = 7;
|
|
1600
|
+
* @return {string}
|
|
1601
|
+
*/
|
|
1602
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramcode = function() {
|
|
1603
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1604
|
+
};
|
|
1605
|
+
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* @param {string} value
|
|
1609
|
+
* @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
|
|
1610
|
+
*/
|
|
1611
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramcode = function(value) {
|
|
1612
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1613
|
+
};
|
|
1614
|
+
|
|
1615
|
+
|
|
1586
1616
|
|
|
1587
1617
|
|
|
1588
1618
|
|
|
@@ -4822,7 +4852,8 @@ proto.loyaltyprogramserviceapi.MembershipDetail.toObject = function(includeInsta
|
|
|
4822
4852
|
dateadded: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
4823
4853
|
datedeleted: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
4824
4854
|
reducefeepercentagebyamount: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
4825
|
-
feediscountmessage: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
4855
|
+
feediscountmessage: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
4856
|
+
programcode: jspb.Message.getFieldWithDefault(msg, 15, "")
|
|
4826
4857
|
};
|
|
4827
4858
|
|
|
4828
4859
|
if (includeInstance) {
|
|
@@ -4915,6 +4946,10 @@ proto.loyaltyprogramserviceapi.MembershipDetail.deserializeBinaryFromReader = fu
|
|
|
4915
4946
|
var value = /** @type {string} */ (reader.readString());
|
|
4916
4947
|
msg.setFeediscountmessage(value);
|
|
4917
4948
|
break;
|
|
4949
|
+
case 15:
|
|
4950
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4951
|
+
msg.setProgramcode(value);
|
|
4952
|
+
break;
|
|
4918
4953
|
default:
|
|
4919
4954
|
reader.skipField();
|
|
4920
4955
|
break;
|
|
@@ -5042,6 +5077,13 @@ proto.loyaltyprogramserviceapi.MembershipDetail.serializeBinaryToWriter = functi
|
|
|
5042
5077
|
f
|
|
5043
5078
|
);
|
|
5044
5079
|
}
|
|
5080
|
+
f = message.getProgramcode();
|
|
5081
|
+
if (f.length > 0) {
|
|
5082
|
+
writer.writeString(
|
|
5083
|
+
15,
|
|
5084
|
+
f
|
|
5085
|
+
);
|
|
5086
|
+
}
|
|
5045
5087
|
};
|
|
5046
5088
|
|
|
5047
5089
|
|
|
@@ -5297,6 +5339,24 @@ proto.loyaltyprogramserviceapi.MembershipDetail.prototype.setFeediscountmessage
|
|
|
5297
5339
|
};
|
|
5298
5340
|
|
|
5299
5341
|
|
|
5342
|
+
/**
|
|
5343
|
+
* optional string programCode = 15;
|
|
5344
|
+
* @return {string}
|
|
5345
|
+
*/
|
|
5346
|
+
proto.loyaltyprogramserviceapi.MembershipDetail.prototype.getProgramcode = function() {
|
|
5347
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
5348
|
+
};
|
|
5349
|
+
|
|
5350
|
+
|
|
5351
|
+
/**
|
|
5352
|
+
* @param {string} value
|
|
5353
|
+
* @return {!proto.loyaltyprogramserviceapi.MembershipDetail} returns this
|
|
5354
|
+
*/
|
|
5355
|
+
proto.loyaltyprogramserviceapi.MembershipDetail.prototype.setProgramcode = function(value) {
|
|
5356
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
5357
|
+
};
|
|
5358
|
+
|
|
5359
|
+
|
|
5300
5360
|
|
|
5301
5361
|
|
|
5302
5362
|
|