@sniipwebmaster/loyalty-program-client-grpcweb 25.11.2591 → 25.11.2614

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.
@@ -1786,5 +1786,66 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prot
1786
1786
  };
1787
1787
 
1788
1788
 
1789
+ /**
1790
+ * @const
1791
+ * @type {!grpc.web.MethodDescriptor<
1792
+ * !proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest,
1793
+ * !proto.loyaltyprogramserviceapi.ResponseCode>}
1794
+ */
1795
+ const methodDescriptor_LoyaltyProgramServiceAPIService_UpdateStandardEarnMonthlyLimit = new grpc.web.MethodDescriptor(
1796
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/UpdateStandardEarnMonthlyLimit',
1797
+ grpc.web.MethodType.UNARY,
1798
+ proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest,
1799
+ proto.loyaltyprogramserviceapi.ResponseCode,
1800
+ /**
1801
+ * @param {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest} request
1802
+ * @return {!Uint8Array}
1803
+ */
1804
+ function(request) {
1805
+ return request.serializeBinary();
1806
+ },
1807
+ proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
1808
+ );
1809
+
1810
+
1811
+ /**
1812
+ * @param {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest} request The
1813
+ * request proto
1814
+ * @param {?Object<string, string>} metadata User defined
1815
+ * call metadata
1816
+ * @param {function(?grpc.web.RpcError, ?proto.loyaltyprogramserviceapi.ResponseCode)}
1817
+ * callback The callback function(error, response)
1818
+ * @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ResponseCode>|undefined}
1819
+ * The XHR Node Readable Stream
1820
+ */
1821
+ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.updateStandardEarnMonthlyLimit =
1822
+ function(request, metadata, callback) {
1823
+ return this.client_.rpcCall(this.hostname_ +
1824
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/UpdateStandardEarnMonthlyLimit',
1825
+ request,
1826
+ metadata || {},
1827
+ methodDescriptor_LoyaltyProgramServiceAPIService_UpdateStandardEarnMonthlyLimit,
1828
+ callback);
1829
+ };
1830
+
1831
+
1832
+ /**
1833
+ * @param {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest} request The
1834
+ * request proto
1835
+ * @param {?Object<string, string>=} metadata User defined
1836
+ * call metadata
1837
+ * @return {!Promise<!proto.loyaltyprogramserviceapi.ResponseCode>}
1838
+ * Promise that resolves to the response
1839
+ */
1840
+ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.updateStandardEarnMonthlyLimit =
1841
+ function(request, metadata) {
1842
+ return this.client_.unaryCall(this.hostname_ +
1843
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/UpdateStandardEarnMonthlyLimit',
1844
+ request,
1845
+ metadata || {},
1846
+ methodDescriptor_LoyaltyProgramServiceAPIService_UpdateStandardEarnMonthlyLimit);
1847
+ };
1848
+
1849
+
1789
1850
  module.exports = proto.loyaltyprogramserviceapi;
1790
1851
 
@@ -69,6 +69,7 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest',
69
69
  goog.exportSymbol('proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest', null, global);
70
70
  goog.exportSymbol('proto.loyaltyprogramserviceapi.SetUserFeeDiscountRequest', null, global);
71
71
  goog.exportSymbol('proto.loyaltyprogramserviceapi.UnLinkMembershipRequest', null, global);
72
+ goog.exportSymbol('proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest', null, global);
72
73
  goog.exportSymbol('proto.loyaltyprogramserviceapi.ValidateMembershipRequest', null, global);
73
74
  goog.exportSymbol('proto.loyaltyprogramserviceapi.ValidateMembershipResponse', null, global);
74
75
  /**
@@ -1121,6 +1122,27 @@ if (goog.DEBUG && !COMPILED) {
1121
1122
  */
1122
1123
  proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.displayName = 'proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest';
1123
1124
  }
1125
+ /**
1126
+ * Generated by JsPbCodeGenerator.
1127
+ * @param {Array=} opt_data Optional initial data array, typically from a
1128
+ * server response, or constructed directly in Javascript. The array is used
1129
+ * in place and becomes part of the constructed object. It is not cloned.
1130
+ * If no data is provided, the constructed object will be empty, but still
1131
+ * valid.
1132
+ * @extends {jspb.Message}
1133
+ * @constructor
1134
+ */
1135
+ proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest = function(opt_data) {
1136
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1137
+ };
1138
+ goog.inherits(proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest, jspb.Message);
1139
+ if (goog.DEBUG && !COMPILED) {
1140
+ /**
1141
+ * @public
1142
+ * @override
1143
+ */
1144
+ proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.displayName = 'proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest';
1145
+ }
1124
1146
 
1125
1147
  /**
1126
1148
  * List of repeated fields within this message type.
@@ -1651,7 +1673,8 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.toObject = functi
1651
1673
  loyaltyprogramname: jspb.Message.getFieldWithDefault(msg, 5, ""),
1652
1674
  loyaltypointslabel: jspb.Message.getFieldWithDefault(msg, 6, ""),
1653
1675
  loyaltyprogramcode: jspb.Message.getFieldWithDefault(msg, 7, ""),
1654
- loyaltyprogramlogourl: jspb.Message.getFieldWithDefault(msg, 8, "")
1676
+ loyaltyprogramlogourl: jspb.Message.getFieldWithDefault(msg, 8, ""),
1677
+ adjustedformonthlylimit: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
1655
1678
  };
1656
1679
 
1657
1680
  if (includeInstance) {
@@ -1721,6 +1744,10 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.deserializeBinary
1721
1744
  var value = /** @type {string} */ (reader.readString());
1722
1745
  msg.setLoyaltyprogramlogourl(value);
1723
1746
  break;
1747
+ case 9:
1748
+ var value = /** @type {boolean} */ (reader.readBool());
1749
+ msg.setAdjustedformonthlylimit(value);
1750
+ break;
1724
1751
  default:
1725
1752
  reader.skipField();
1726
1753
  break;
@@ -1807,6 +1834,13 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.serializeBinaryTo
1807
1834
  f
1808
1835
  );
1809
1836
  }
1837
+ f = message.getAdjustedformonthlylimit();
1838
+ if (f) {
1839
+ writer.writeBool(
1840
+ 9,
1841
+ f
1842
+ );
1843
+ }
1810
1844
  };
1811
1845
 
1812
1846
 
@@ -1973,6 +2007,24 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoya
1973
2007
  };
1974
2008
 
1975
2009
 
2010
+ /**
2011
+ * optional bool adjustedForMonthlyLimit = 9;
2012
+ * @return {boolean}
2013
+ */
2014
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getAdjustedformonthlylimit = function() {
2015
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
2016
+ };
2017
+
2018
+
2019
+ /**
2020
+ * @param {boolean} value
2021
+ * @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
2022
+ */
2023
+ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setAdjustedformonthlylimit = function(value) {
2024
+ return jspb.Message.setProto3BooleanField(this, 9, value);
2025
+ };
2026
+
2027
+
1976
2028
 
1977
2029
 
1978
2030
 
@@ -4297,7 +4349,8 @@ proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.toObject = function(o
4297
4349
  proto.loyaltyprogramserviceapi.LoyaltyTierDetail.toObject = function(includeInstance, msg) {
4298
4350
  var f, obj = {
4299
4351
  loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
4300
- points: jspb.Message.getFieldWithDefault(msg, 2, 0)
4352
+ points: jspb.Message.getFieldWithDefault(msg, 2, 0),
4353
+ adjustedformonthlylimit: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
4301
4354
  };
4302
4355
 
4303
4356
  if (includeInstance) {
@@ -4342,6 +4395,10 @@ proto.loyaltyprogramserviceapi.LoyaltyTierDetail.deserializeBinaryFromReader = f
4342
4395
  var value = /** @type {number} */ (reader.readInt32());
4343
4396
  msg.setPoints(value);
4344
4397
  break;
4398
+ case 3:
4399
+ var value = /** @type {boolean} */ (reader.readBool());
4400
+ msg.setAdjustedformonthlylimit(value);
4401
+ break;
4345
4402
  default:
4346
4403
  reader.skipField();
4347
4404
  break;
@@ -4385,6 +4442,13 @@ proto.loyaltyprogramserviceapi.LoyaltyTierDetail.serializeBinaryToWriter = funct
4385
4442
  f
4386
4443
  );
4387
4444
  }
4445
+ f = message.getAdjustedformonthlylimit();
4446
+ if (f) {
4447
+ writer.writeBool(
4448
+ 3,
4449
+ f
4450
+ );
4451
+ }
4388
4452
  };
4389
4453
 
4390
4454
 
@@ -4424,6 +4488,24 @@ proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.setPoints = function(
4424
4488
  };
4425
4489
 
4426
4490
 
4491
+ /**
4492
+ * optional bool adjustedForMonthlyLimit = 3;
4493
+ * @return {boolean}
4494
+ */
4495
+ proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.getAdjustedformonthlylimit = function() {
4496
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
4497
+ };
4498
+
4499
+
4500
+ /**
4501
+ * @param {boolean} value
4502
+ * @return {!proto.loyaltyprogramserviceapi.LoyaltyTierDetail} returns this
4503
+ */
4504
+ proto.loyaltyprogramserviceapi.LoyaltyTierDetail.prototype.setAdjustedformonthlylimit = function(value) {
4505
+ return jspb.Message.setProto3BooleanField(this, 3, value);
4506
+ };
4507
+
4508
+
4427
4509
 
4428
4510
 
4429
4511
 
@@ -9467,7 +9549,8 @@ proto.loyaltyprogramserviceapi.ProgramDetail.toObject = function(includeInstance
9467
9549
  issurnamevalidation: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
9468
9550
  loyaltyoptionsList: jspb.Message.toObjectList(msg.getLoyaltyoptionsList(),
9469
9551
  proto.loyaltyprogramserviceapi.LoyaltyProgramOption.toObject, includeInstance),
9470
- appaccounttype: jspb.Message.getFieldWithDefault(msg, 19, "")
9552
+ appaccounttype: jspb.Message.getFieldWithDefault(msg, 19, ""),
9553
+ standardearnmonthlylimit: jspb.Message.getFieldWithDefault(msg, 20, 0)
9471
9554
  };
9472
9555
 
9473
9556
  if (includeInstance) {
@@ -9581,6 +9664,10 @@ proto.loyaltyprogramserviceapi.ProgramDetail.deserializeBinaryFromReader = funct
9581
9664
  var value = /** @type {string} */ (reader.readString());
9582
9665
  msg.setAppaccounttype(value);
9583
9666
  break;
9667
+ case 20:
9668
+ var value = /** @type {number} */ (reader.readInt32());
9669
+ msg.setStandardearnmonthlylimit(value);
9670
+ break;
9584
9671
  default:
9585
9672
  reader.skipField();
9586
9673
  break;
@@ -9744,6 +9831,13 @@ proto.loyaltyprogramserviceapi.ProgramDetail.serializeBinaryToWriter = function(
9744
9831
  f
9745
9832
  );
9746
9833
  }
9834
+ f = message.getStandardearnmonthlylimit();
9835
+ if (f !== 0) {
9836
+ writer.writeInt32(
9837
+ 20,
9838
+ f
9839
+ );
9840
+ }
9747
9841
  };
9748
9842
 
9749
9843
 
@@ -10119,6 +10213,24 @@ proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setAppaccounttype = funct
10119
10213
  };
10120
10214
 
10121
10215
 
10216
+ /**
10217
+ * optional int32 standardEarnMonthlyLimit = 20;
10218
+ * @return {number}
10219
+ */
10220
+ proto.loyaltyprogramserviceapi.ProgramDetail.prototype.getStandardearnmonthlylimit = function() {
10221
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
10222
+ };
10223
+
10224
+
10225
+ /**
10226
+ * @param {number} value
10227
+ * @return {!proto.loyaltyprogramserviceapi.ProgramDetail} returns this
10228
+ */
10229
+ proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setStandardearnmonthlylimit = function(value) {
10230
+ return jspb.Message.setProto3IntField(this, 20, value);
10231
+ };
10232
+
10233
+
10122
10234
 
10123
10235
 
10124
10236
 
@@ -13006,4 +13118,164 @@ proto.loyaltyprogramserviceapi.SetLoyaltyEligibilitySettingForBillerRequest.prot
13006
13118
  };
13007
13119
 
13008
13120
 
13121
+
13122
+
13123
+
13124
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13125
+ /**
13126
+ * Creates an object representation of this proto.
13127
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13128
+ * Optional fields that are not set will be set to undefined.
13129
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13130
+ * For the list of reserved names please see:
13131
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
13132
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
13133
+ * JSPB instance for transitional soy proto support:
13134
+ * http://goto/soy-param-migration
13135
+ * @return {!Object}
13136
+ */
13137
+ proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.prototype.toObject = function(opt_includeInstance) {
13138
+ return proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.toObject(opt_includeInstance, this);
13139
+ };
13140
+
13141
+
13142
+ /**
13143
+ * Static version of the {@see toObject} method.
13144
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13145
+ * the JSPB instance for transitional soy proto support:
13146
+ * http://goto/soy-param-migration
13147
+ * @param {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest} msg The msg instance to transform.
13148
+ * @return {!Object}
13149
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13150
+ */
13151
+ proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.toObject = function(includeInstance, msg) {
13152
+ var f, obj = {
13153
+ loyaltyprogramid: jspb.Message.getFieldWithDefault(msg, 1, 0),
13154
+ standardearnmonthlylimit: jspb.Message.getFieldWithDefault(msg, 2, 0)
13155
+ };
13156
+
13157
+ if (includeInstance) {
13158
+ obj.$jspbMessageInstance = msg;
13159
+ }
13160
+ return obj;
13161
+ };
13162
+ }
13163
+
13164
+
13165
+ /**
13166
+ * Deserializes binary data (in protobuf wire format).
13167
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
13168
+ * @return {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest}
13169
+ */
13170
+ proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.deserializeBinary = function(bytes) {
13171
+ var reader = new jspb.BinaryReader(bytes);
13172
+ var msg = new proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest;
13173
+ return proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.deserializeBinaryFromReader(msg, reader);
13174
+ };
13175
+
13176
+
13177
+ /**
13178
+ * Deserializes binary data (in protobuf wire format) from the
13179
+ * given reader into the given message object.
13180
+ * @param {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest} msg The message object to deserialize into.
13181
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13182
+ * @return {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest}
13183
+ */
13184
+ proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.deserializeBinaryFromReader = function(msg, reader) {
13185
+ while (reader.nextField()) {
13186
+ if (reader.isEndGroup()) {
13187
+ break;
13188
+ }
13189
+ var field = reader.getFieldNumber();
13190
+ switch (field) {
13191
+ case 1:
13192
+ var value = /** @type {number} */ (reader.readInt64());
13193
+ msg.setLoyaltyprogramid(value);
13194
+ break;
13195
+ case 2:
13196
+ var value = /** @type {number} */ (reader.readInt32());
13197
+ msg.setStandardearnmonthlylimit(value);
13198
+ break;
13199
+ default:
13200
+ reader.skipField();
13201
+ break;
13202
+ }
13203
+ }
13204
+ return msg;
13205
+ };
13206
+
13207
+
13208
+ /**
13209
+ * Serializes the message to binary data (in protobuf wire format).
13210
+ * @return {!Uint8Array}
13211
+ */
13212
+ proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.prototype.serializeBinary = function() {
13213
+ var writer = new jspb.BinaryWriter();
13214
+ proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.serializeBinaryToWriter(this, writer);
13215
+ return writer.getResultBuffer();
13216
+ };
13217
+
13218
+
13219
+ /**
13220
+ * Serializes the given message to binary data (in protobuf wire
13221
+ * format), writing to the given BinaryWriter.
13222
+ * @param {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest} message
13223
+ * @param {!jspb.BinaryWriter} writer
13224
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13225
+ */
13226
+ proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.serializeBinaryToWriter = function(message, writer) {
13227
+ var f = undefined;
13228
+ f = message.getLoyaltyprogramid();
13229
+ if (f !== 0) {
13230
+ writer.writeInt64(
13231
+ 1,
13232
+ f
13233
+ );
13234
+ }
13235
+ f = message.getStandardearnmonthlylimit();
13236
+ if (f !== 0) {
13237
+ writer.writeInt32(
13238
+ 2,
13239
+ f
13240
+ );
13241
+ }
13242
+ };
13243
+
13244
+
13245
+ /**
13246
+ * optional int64 loyaltyProgramId = 1;
13247
+ * @return {number}
13248
+ */
13249
+ proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.prototype.getLoyaltyprogramid = function() {
13250
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
13251
+ };
13252
+
13253
+
13254
+ /**
13255
+ * @param {number} value
13256
+ * @return {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest} returns this
13257
+ */
13258
+ proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.prototype.setLoyaltyprogramid = function(value) {
13259
+ return jspb.Message.setProto3IntField(this, 1, value);
13260
+ };
13261
+
13262
+
13263
+ /**
13264
+ * optional int32 standardEarnMonthlyLimit = 2;
13265
+ * @return {number}
13266
+ */
13267
+ proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.prototype.getStandardearnmonthlylimit = function() {
13268
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
13269
+ };
13270
+
13271
+
13272
+ /**
13273
+ * @param {number} value
13274
+ * @return {!proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest} returns this
13275
+ */
13276
+ proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.prototype.setStandardearnmonthlylimit = function(value) {
13277
+ return jspb.Message.setProto3IntField(this, 2, value);
13278
+ };
13279
+
13280
+
13009
13281
  goog.object.extend(exports, proto.loyaltyprogramserviceapi);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/loyalty-program-client-grpcweb",
3
- "version": "25.11.2591",
3
+ "version": "25.11.2614",
4
4
  "description": "loyalty-program-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",