@sniipwebmaster/loyalty-program-client-grpcweb-ts 26.11.4515 → 26.11.4529
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.
|
@@ -130,6 +130,11 @@ export class CalculatedLoyaltyPointsResponse extends jspb.Message {
|
|
|
130
130
|
getWasmembershipfallbackapplied(): boolean;
|
|
131
131
|
setWasmembershipfallbackapplied(value: boolean): CalculatedLoyaltyPointsResponse;
|
|
132
132
|
|
|
133
|
+
getPointsperpaymentamountinfoList(): Array<number>;
|
|
134
|
+
setPointsperpaymentamountinfoList(value: Array<number>): CalculatedLoyaltyPointsResponse;
|
|
135
|
+
clearPointsperpaymentamountinfoList(): CalculatedLoyaltyPointsResponse;
|
|
136
|
+
addPointsperpaymentamountinfo(value: number, index?: number): CalculatedLoyaltyPointsResponse;
|
|
137
|
+
|
|
133
138
|
serializeBinary(): Uint8Array;
|
|
134
139
|
toObject(includeInstance?: boolean): CalculatedLoyaltyPointsResponse.AsObject;
|
|
135
140
|
static toObject(includeInstance: boolean, msg: CalculatedLoyaltyPointsResponse): CalculatedLoyaltyPointsResponse.AsObject;
|
|
@@ -159,6 +164,7 @@ export namespace CalculatedLoyaltyPointsResponse {
|
|
|
159
164
|
hypotheticalprogramearn?: HypotheticalProgramEarn.AsObject,
|
|
160
165
|
disclaimertext: string,
|
|
161
166
|
wasmembershipfallbackapplied: boolean,
|
|
167
|
+
pointsperpaymentamountinfoList: Array<number>,
|
|
162
168
|
}
|
|
163
169
|
}
|
|
164
170
|
|
|
@@ -138,7 +138,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
138
138
|
* @constructor
|
|
139
139
|
*/
|
|
140
140
|
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse = function(opt_data) {
|
|
141
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
141
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.repeatedFields_, null);
|
|
142
142
|
};
|
|
143
143
|
goog.inherits(proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse, jspb.Message);
|
|
144
144
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1900,6 +1900,13 @@ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.hasData = functi
|
|
|
1900
1900
|
|
|
1901
1901
|
|
|
1902
1902
|
|
|
1903
|
+
/**
|
|
1904
|
+
* List of repeated fields within this message type.
|
|
1905
|
+
* @private {!Array<number>}
|
|
1906
|
+
* @const
|
|
1907
|
+
*/
|
|
1908
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.repeatedFields_ = [20];
|
|
1909
|
+
|
|
1903
1910
|
|
|
1904
1911
|
|
|
1905
1912
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1949,7 +1956,8 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.toObject = functi
|
|
|
1949
1956
|
eligibleforbiller: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
|
|
1950
1957
|
hypotheticalprogramearn: (f = msg.getHypotheticalprogramearn()) && proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.toObject(includeInstance, f),
|
|
1951
1958
|
disclaimertext: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
1952
|
-
wasmembershipfallbackapplied: jspb.Message.getBooleanFieldWithDefault(msg, 19, false)
|
|
1959
|
+
wasmembershipfallbackapplied: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
|
|
1960
|
+
pointsperpaymentamountinfoList: (f = jspb.Message.getRepeatedField(msg, 20)) == null ? undefined : f
|
|
1953
1961
|
};
|
|
1954
1962
|
|
|
1955
1963
|
if (includeInstance) {
|
|
@@ -2064,6 +2072,12 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.deserializeBinary
|
|
|
2064
2072
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2065
2073
|
msg.setWasmembershipfallbackapplied(value);
|
|
2066
2074
|
break;
|
|
2075
|
+
case 20:
|
|
2076
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
2077
|
+
for (var i = 0; i < values.length; i++) {
|
|
2078
|
+
msg.addPointsperpaymentamountinfo(values[i]);
|
|
2079
|
+
}
|
|
2080
|
+
break;
|
|
2067
2081
|
default:
|
|
2068
2082
|
reader.skipField();
|
|
2069
2083
|
break;
|
|
@@ -2228,6 +2242,13 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.serializeBinaryTo
|
|
|
2228
2242
|
f
|
|
2229
2243
|
);
|
|
2230
2244
|
}
|
|
2245
|
+
f = message.getPointsperpaymentamountinfoList();
|
|
2246
|
+
if (f.length > 0) {
|
|
2247
|
+
writer.writePackedInt32(
|
|
2248
|
+
20,
|
|
2249
|
+
f
|
|
2250
|
+
);
|
|
2251
|
+
}
|
|
2231
2252
|
};
|
|
2232
2253
|
|
|
2233
2254
|
|
|
@@ -2611,6 +2632,43 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setWasm
|
|
|
2611
2632
|
};
|
|
2612
2633
|
|
|
2613
2634
|
|
|
2635
|
+
/**
|
|
2636
|
+
* repeated int32 pointsPerPaymentAmountInfo = 20;
|
|
2637
|
+
* @return {!Array<number>}
|
|
2638
|
+
*/
|
|
2639
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getPointsperpaymentamountinfoList = function() {
|
|
2640
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 20));
|
|
2641
|
+
};
|
|
2642
|
+
|
|
2643
|
+
|
|
2644
|
+
/**
|
|
2645
|
+
* @param {!Array<number>} value
|
|
2646
|
+
* @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
|
|
2647
|
+
*/
|
|
2648
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setPointsperpaymentamountinfoList = function(value) {
|
|
2649
|
+
return jspb.Message.setField(this, 20, value || []);
|
|
2650
|
+
};
|
|
2651
|
+
|
|
2652
|
+
|
|
2653
|
+
/**
|
|
2654
|
+
* @param {number} value
|
|
2655
|
+
* @param {number=} opt_index
|
|
2656
|
+
* @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
|
|
2657
|
+
*/
|
|
2658
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.addPointsperpaymentamountinfo = function(value, opt_index) {
|
|
2659
|
+
return jspb.Message.addToRepeatedField(this, 20, value, opt_index);
|
|
2660
|
+
};
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
/**
|
|
2664
|
+
* Clears the list making it empty but non-null.
|
|
2665
|
+
* @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
|
|
2666
|
+
*/
|
|
2667
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.clearPointsperpaymentamountinfoList = function() {
|
|
2668
|
+
return this.setPointsperpaymentamountinfoList([]);
|
|
2669
|
+
};
|
|
2670
|
+
|
|
2671
|
+
|
|
2614
2672
|
|
|
2615
2673
|
|
|
2616
2674
|
|