@sniipwebmaster/loyalty-program-client-grpcweb-ts 25.7.2008 → 25.7.2030

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.
@@ -28,6 +28,9 @@ export class CalculatePointsReq extends jspb.Message {
28
28
  clearPaymentamountinfoList(): CalculatePointsReq;
29
29
  addPaymentamountinfo(value?: PaymentAmountInfo, index?: number): PaymentAmountInfo;
30
30
 
31
+ getLoyaltyoptionid(): number;
32
+ setLoyaltyoptionid(value: number): CalculatePointsReq;
33
+
31
34
  serializeBinary(): Uint8Array;
32
35
  toObject(includeInstance?: boolean): CalculatePointsReq.AsObject;
33
36
  static toObject(includeInstance: boolean, msg: CalculatePointsReq): CalculatePointsReq.AsObject;
@@ -45,6 +48,7 @@ export namespace CalculatePointsReq {
45
48
  cardtype: string,
46
49
  cardvariant: string,
47
50
  paymentamountinfoList: Array<PaymentAmountInfo.AsObject>,
51
+ loyaltyoptionid: number,
48
52
  }
49
53
  }
50
54
 
@@ -92,6 +96,9 @@ export class CalculatedLoyaltyPointsResponse extends jspb.Message {
92
96
  getLoyaltyprogramcode(): string;
93
97
  setLoyaltyprogramcode(value: string): CalculatedLoyaltyPointsResponse;
94
98
 
99
+ getLoyaltyoptionid(): number;
100
+ setLoyaltyoptionid(value: number): CalculatedLoyaltyPointsResponse;
101
+
95
102
  serializeBinary(): Uint8Array;
96
103
  toObject(includeInstance?: boolean): CalculatedLoyaltyPointsResponse.AsObject;
97
104
  static toObject(includeInstance: boolean, msg: CalculatedLoyaltyPointsResponse): CalculatedLoyaltyPointsResponse.AsObject;
@@ -109,6 +116,7 @@ export namespace CalculatedLoyaltyPointsResponse {
109
116
  loyaltyprogramname: string,
110
117
  loyaltypointslabel: string,
111
118
  loyaltyprogramcode: string,
119
+ loyaltyoptionid: number,
112
120
  }
113
121
  }
114
122
 
@@ -859,7 +859,8 @@ proto.loyaltyprogramserviceapi.CalculatePointsReq.toObject = function(includeIns
859
859
  cardtype: jspb.Message.getFieldWithDefault(msg, 6, ""),
860
860
  cardvariant: jspb.Message.getFieldWithDefault(msg, 7, ""),
861
861
  paymentamountinfoList: jspb.Message.toObjectList(msg.getPaymentamountinfoList(),
862
- proto.loyaltyprogramserviceapi.PaymentAmountInfo.toObject, includeInstance)
862
+ proto.loyaltyprogramserviceapi.PaymentAmountInfo.toObject, includeInstance),
863
+ loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 9, 0)
863
864
  };
864
865
 
865
866
  if (includeInstance) {
@@ -925,6 +926,10 @@ proto.loyaltyprogramserviceapi.CalculatePointsReq.deserializeBinaryFromReader =
925
926
  reader.readMessage(value,proto.loyaltyprogramserviceapi.PaymentAmountInfo.deserializeBinaryFromReader);
926
927
  msg.addPaymentamountinfo(value);
927
928
  break;
929
+ case 9:
930
+ var value = /** @type {number} */ (reader.readInt64());
931
+ msg.setLoyaltyoptionid(value);
932
+ break;
928
933
  default:
929
934
  reader.skipField();
930
935
  break;
@@ -1004,6 +1009,13 @@ proto.loyaltyprogramserviceapi.CalculatePointsReq.serializeBinaryToWriter = func
1004
1009
  proto.loyaltyprogramserviceapi.PaymentAmountInfo.serializeBinaryToWriter
1005
1010
  );
1006
1011
  }
1012
+ f = message.getLoyaltyoptionid();
1013
+ if (f !== 0) {
1014
+ writer.writeInt64(
1015
+ 9,
1016
+ f
1017
+ );
1018
+ }
1007
1019
  };
1008
1020
 
1009
1021
 
@@ -1153,6 +1165,24 @@ proto.loyaltyprogramserviceapi.CalculatePointsReq.prototype.clearPaymentamountin
1153
1165
  };
1154
1166
 
1155
1167
 
1168
+ /**
1169
+ * optional int64 loyaltyOptionId = 9;
1170
+ * @return {number}
1171
+ */
1172
+ proto.loyaltyprogramserviceapi.CalculatePointsReq.prototype.getLoyaltyoptionid = function() {
1173
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
1174
+ };
1175
+
1176
+
1177
+ /**
1178
+ * @param {number} value
1179
+ * @return {!proto.loyaltyprogramserviceapi.CalculatePointsReq} returns this
1180
+ */
1181
+ proto.loyaltyprogramserviceapi.CalculatePointsReq.prototype.setLoyaltyoptionid = function(value) {
1182
+ return jspb.Message.setProto3IntField(this, 9, value);
1183
+ };
1184
+
1185
+
1156
1186
 
1157
1187
 
1158
1188
 
@@ -1342,7 +1372,8 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.toObject = functi
1342
1372
  membershipnumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
1343
1373
  loyaltyprogramname: jspb.Message.getFieldWithDefault(msg, 5, ""),
1344
1374
  loyaltypointslabel: jspb.Message.getFieldWithDefault(msg, 6, ""),
1345
- loyaltyprogramcode: jspb.Message.getFieldWithDefault(msg, 7, "")
1375
+ loyaltyprogramcode: jspb.Message.getFieldWithDefault(msg, 7, ""),
1376
+ loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 8, 0)
1346
1377
  };
1347
1378
 
1348
1379
  if (includeInstance) {
@@ -1408,6 +1439,10 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.deserializeBinary
1408
1439
  var value = /** @type {string} */ (reader.readString());
1409
1440
  msg.setLoyaltyprogramcode(value);
1410
1441
  break;
1442
+ case 8:
1443
+ var value = /** @type {number} */ (reader.readInt64());
1444
+ msg.setLoyaltyoptionid(value);
1445
+ break;
1411
1446
  default:
1412
1447
  reader.skipField();
1413
1448
  break;
@@ -1487,6 +1522,13 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.serializeBinaryTo
1487
1522
  f
1488
1523
  );
1489
1524
  }
1525
+ f = message.getLoyaltyoptionid();
1526
+ if (f !== 0) {
1527
+ writer.writeInt64(
1528
+ 8,
1529
+ f
1530
+ );
1531
+ }
1490
1532
  };
1491
1533
 
1492
1534
 
@@ -1635,6 +1677,24 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoya
1635
1677
  };
1636
1678
 
1637
1679
 
1680
+ /**
1681
+ * optional int64 loyaltyOptionId = 8;
1682
+ * @return {number}
1683
+ */
1684
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyoptionid = function() {
1685
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
1686
+ };
1687
+
1688
+
1689
+ /**
1690
+ * @param {number} value
1691
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
1692
+ */
1693
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyoptionid = function(value) {
1694
+ return jspb.Message.setProto3IntField(this, 8, value);
1695
+ };
1696
+
1697
+
1638
1698
 
1639
1699
 
1640
1700
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/loyalty-program-client-grpcweb-ts",
3
- "version": "25.7.2008",
3
+ "version": "25.7.2030",
4
4
  "description": "loyalty-program-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",