@sniipwebmaster/loyalty-program-client-grpcweb 25.11.2774 → 25.11.2784

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.
@@ -1908,5 +1908,66 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prot
1908
1908
  };
1909
1909
 
1910
1910
 
1911
+ /**
1912
+ * @const
1913
+ * @type {!grpc.web.MethodDescriptor<
1914
+ * !proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest,
1915
+ * !proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse>}
1916
+ */
1917
+ const methodDescriptor_LoyaltyProgramServiceAPIService_CreateRetroactiveLoyaltyTransaction = new grpc.web.MethodDescriptor(
1918
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateRetroactiveLoyaltyTransaction',
1919
+ grpc.web.MethodType.UNARY,
1920
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest,
1921
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse,
1922
+ /**
1923
+ * @param {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest} request
1924
+ * @return {!Uint8Array}
1925
+ */
1926
+ function(request) {
1927
+ return request.serializeBinary();
1928
+ },
1929
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.deserializeBinary
1930
+ );
1931
+
1932
+
1933
+ /**
1934
+ * @param {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest} request The
1935
+ * request proto
1936
+ * @param {?Object<string, string>} metadata User defined
1937
+ * call metadata
1938
+ * @param {function(?grpc.web.RpcError, ?proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse)}
1939
+ * callback The callback function(error, response)
1940
+ * @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse>|undefined}
1941
+ * The XHR Node Readable Stream
1942
+ */
1943
+ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.createRetroactiveLoyaltyTransaction =
1944
+ function(request, metadata, callback) {
1945
+ return this.client_.rpcCall(this.hostname_ +
1946
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateRetroactiveLoyaltyTransaction',
1947
+ request,
1948
+ metadata || {},
1949
+ methodDescriptor_LoyaltyProgramServiceAPIService_CreateRetroactiveLoyaltyTransaction,
1950
+ callback);
1951
+ };
1952
+
1953
+
1954
+ /**
1955
+ * @param {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest} request The
1956
+ * request proto
1957
+ * @param {?Object<string, string>=} metadata User defined
1958
+ * call metadata
1959
+ * @return {!Promise<!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse>}
1960
+ * Promise that resolves to the response
1961
+ */
1962
+ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.createRetroactiveLoyaltyTransaction =
1963
+ function(request, metadata) {
1964
+ return this.client_.unaryCall(this.hostname_ +
1965
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateRetroactiveLoyaltyTransaction',
1966
+ request,
1967
+ metadata || {},
1968
+ methodDescriptor_LoyaltyProgramServiceAPIService_CreateRetroactiveLoyaltyTransaction);
1969
+ };
1970
+
1971
+
1911
1972
  module.exports = proto.loyaltyprogramserviceapi;
1912
1973
 
@@ -29,6 +29,8 @@ goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionForTra
29
29
  goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateLoyaltyTransactionRequest', null, global);
30
30
  goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateProgramRequest', null, global);
31
31
  goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateProgramRequest.CreateProgramRequestMembershipNumberType', null, global);
32
+ goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest', null, global);
33
+ goog.exportSymbol('proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse', null, global);
32
34
  goog.exportSymbol('proto.loyaltyprogramserviceapi.GetActiveUserMembershipRequest', null, global);
33
35
  goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerRequest', null, global);
34
36
  goog.exportSymbol('proto.loyaltyprogramserviceapi.GetLoyaltyEligibilitySettingsForBillerResponse', null, global);
@@ -1143,6 +1145,48 @@ if (goog.DEBUG && !COMPILED) {
1143
1145
  */
1144
1146
  proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.displayName = 'proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest';
1145
1147
  }
1148
+ /**
1149
+ * Generated by JsPbCodeGenerator.
1150
+ * @param {Array=} opt_data Optional initial data array, typically from a
1151
+ * server response, or constructed directly in Javascript. The array is used
1152
+ * in place and becomes part of the constructed object. It is not cloned.
1153
+ * If no data is provided, the constructed object will be empty, but still
1154
+ * valid.
1155
+ * @extends {jspb.Message}
1156
+ * @constructor
1157
+ */
1158
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest = function(opt_data) {
1159
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1160
+ };
1161
+ goog.inherits(proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest, jspb.Message);
1162
+ if (goog.DEBUG && !COMPILED) {
1163
+ /**
1164
+ * @public
1165
+ * @override
1166
+ */
1167
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.displayName = 'proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest';
1168
+ }
1169
+ /**
1170
+ * Generated by JsPbCodeGenerator.
1171
+ * @param {Array=} opt_data Optional initial data array, typically from a
1172
+ * server response, or constructed directly in Javascript. The array is used
1173
+ * in place and becomes part of the constructed object. It is not cloned.
1174
+ * If no data is provided, the constructed object will be empty, but still
1175
+ * valid.
1176
+ * @extends {jspb.Message}
1177
+ * @constructor
1178
+ */
1179
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse = function(opt_data) {
1180
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1181
+ };
1182
+ goog.inherits(proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse, jspb.Message);
1183
+ if (goog.DEBUG && !COMPILED) {
1184
+ /**
1185
+ * @public
1186
+ * @override
1187
+ */
1188
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.displayName = 'proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse';
1189
+ }
1146
1190
 
1147
1191
  /**
1148
1192
  * List of repeated fields within this message type.
@@ -13308,4 +13352,456 @@ proto.loyaltyprogramserviceapi.UpdateStandardEarnMonthlyLimitRequest.prototype.s
13308
13352
  };
13309
13353
 
13310
13354
 
13355
+
13356
+
13357
+
13358
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13359
+ /**
13360
+ * Creates an object representation of this proto.
13361
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13362
+ * Optional fields that are not set will be set to undefined.
13363
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13364
+ * For the list of reserved names please see:
13365
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
13366
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
13367
+ * JSPB instance for transitional soy proto support:
13368
+ * http://goto/soy-param-migration
13369
+ * @return {!Object}
13370
+ */
13371
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.prototype.toObject = function(opt_includeInstance) {
13372
+ return proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.toObject(opt_includeInstance, this);
13373
+ };
13374
+
13375
+
13376
+ /**
13377
+ * Static version of the {@see toObject} method.
13378
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13379
+ * the JSPB instance for transitional soy proto support:
13380
+ * http://goto/soy-param-migration
13381
+ * @param {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest} msg The msg instance to transform.
13382
+ * @return {!Object}
13383
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13384
+ */
13385
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.toObject = function(includeInstance, msg) {
13386
+ var f, obj = {
13387
+ userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
13388
+ membershipid: jspb.Message.getFieldWithDefault(msg, 2, 0),
13389
+ transactionid: jspb.Message.getFieldWithDefault(msg, 3, 0),
13390
+ description: jspb.Message.getFieldWithDefault(msg, 4, ""),
13391
+ awardpoints: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
13392
+ };
13393
+
13394
+ if (includeInstance) {
13395
+ obj.$jspbMessageInstance = msg;
13396
+ }
13397
+ return obj;
13398
+ };
13399
+ }
13400
+
13401
+
13402
+ /**
13403
+ * Deserializes binary data (in protobuf wire format).
13404
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
13405
+ * @return {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest}
13406
+ */
13407
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.deserializeBinary = function(bytes) {
13408
+ var reader = new jspb.BinaryReader(bytes);
13409
+ var msg = new proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest;
13410
+ return proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.deserializeBinaryFromReader(msg, reader);
13411
+ };
13412
+
13413
+
13414
+ /**
13415
+ * Deserializes binary data (in protobuf wire format) from the
13416
+ * given reader into the given message object.
13417
+ * @param {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest} msg The message object to deserialize into.
13418
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13419
+ * @return {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest}
13420
+ */
13421
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.deserializeBinaryFromReader = function(msg, reader) {
13422
+ while (reader.nextField()) {
13423
+ if (reader.isEndGroup()) {
13424
+ break;
13425
+ }
13426
+ var field = reader.getFieldNumber();
13427
+ switch (field) {
13428
+ case 1:
13429
+ var value = /** @type {number} */ (reader.readInt64());
13430
+ msg.setUserid(value);
13431
+ break;
13432
+ case 2:
13433
+ var value = /** @type {number} */ (reader.readInt64());
13434
+ msg.setMembershipid(value);
13435
+ break;
13436
+ case 3:
13437
+ var value = /** @type {number} */ (reader.readInt64());
13438
+ msg.setTransactionid(value);
13439
+ break;
13440
+ case 4:
13441
+ var value = /** @type {string} */ (reader.readString());
13442
+ msg.setDescription(value);
13443
+ break;
13444
+ case 5:
13445
+ var value = /** @type {boolean} */ (reader.readBool());
13446
+ msg.setAwardpoints(value);
13447
+ break;
13448
+ default:
13449
+ reader.skipField();
13450
+ break;
13451
+ }
13452
+ }
13453
+ return msg;
13454
+ };
13455
+
13456
+
13457
+ /**
13458
+ * Serializes the message to binary data (in protobuf wire format).
13459
+ * @return {!Uint8Array}
13460
+ */
13461
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.prototype.serializeBinary = function() {
13462
+ var writer = new jspb.BinaryWriter();
13463
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.serializeBinaryToWriter(this, writer);
13464
+ return writer.getResultBuffer();
13465
+ };
13466
+
13467
+
13468
+ /**
13469
+ * Serializes the given message to binary data (in protobuf wire
13470
+ * format), writing to the given BinaryWriter.
13471
+ * @param {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest} message
13472
+ * @param {!jspb.BinaryWriter} writer
13473
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13474
+ */
13475
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.serializeBinaryToWriter = function(message, writer) {
13476
+ var f = undefined;
13477
+ f = message.getUserid();
13478
+ if (f !== 0) {
13479
+ writer.writeInt64(
13480
+ 1,
13481
+ f
13482
+ );
13483
+ }
13484
+ f = message.getMembershipid();
13485
+ if (f !== 0) {
13486
+ writer.writeInt64(
13487
+ 2,
13488
+ f
13489
+ );
13490
+ }
13491
+ f = message.getTransactionid();
13492
+ if (f !== 0) {
13493
+ writer.writeInt64(
13494
+ 3,
13495
+ f
13496
+ );
13497
+ }
13498
+ f = message.getDescription();
13499
+ if (f.length > 0) {
13500
+ writer.writeString(
13501
+ 4,
13502
+ f
13503
+ );
13504
+ }
13505
+ f = message.getAwardpoints();
13506
+ if (f) {
13507
+ writer.writeBool(
13508
+ 5,
13509
+ f
13510
+ );
13511
+ }
13512
+ };
13513
+
13514
+
13515
+ /**
13516
+ * optional int64 userId = 1;
13517
+ * @return {number}
13518
+ */
13519
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.prototype.getUserid = function() {
13520
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
13521
+ };
13522
+
13523
+
13524
+ /**
13525
+ * @param {number} value
13526
+ * @return {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest} returns this
13527
+ */
13528
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.prototype.setUserid = function(value) {
13529
+ return jspb.Message.setProto3IntField(this, 1, value);
13530
+ };
13531
+
13532
+
13533
+ /**
13534
+ * optional int64 membershipId = 2;
13535
+ * @return {number}
13536
+ */
13537
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.prototype.getMembershipid = function() {
13538
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
13539
+ };
13540
+
13541
+
13542
+ /**
13543
+ * @param {number} value
13544
+ * @return {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest} returns this
13545
+ */
13546
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.prototype.setMembershipid = function(value) {
13547
+ return jspb.Message.setProto3IntField(this, 2, value);
13548
+ };
13549
+
13550
+
13551
+ /**
13552
+ * optional int64 transactionId = 3;
13553
+ * @return {number}
13554
+ */
13555
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.prototype.getTransactionid = function() {
13556
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
13557
+ };
13558
+
13559
+
13560
+ /**
13561
+ * @param {number} value
13562
+ * @return {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest} returns this
13563
+ */
13564
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.prototype.setTransactionid = function(value) {
13565
+ return jspb.Message.setProto3IntField(this, 3, value);
13566
+ };
13567
+
13568
+
13569
+ /**
13570
+ * optional string description = 4;
13571
+ * @return {string}
13572
+ */
13573
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.prototype.getDescription = function() {
13574
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
13575
+ };
13576
+
13577
+
13578
+ /**
13579
+ * @param {string} value
13580
+ * @return {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest} returns this
13581
+ */
13582
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.prototype.setDescription = function(value) {
13583
+ return jspb.Message.setProto3StringField(this, 4, value);
13584
+ };
13585
+
13586
+
13587
+ /**
13588
+ * optional bool awardPoints = 5;
13589
+ * @return {boolean}
13590
+ */
13591
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.prototype.getAwardpoints = function() {
13592
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
13593
+ };
13594
+
13595
+
13596
+ /**
13597
+ * @param {boolean} value
13598
+ * @return {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest} returns this
13599
+ */
13600
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionRequest.prototype.setAwardpoints = function(value) {
13601
+ return jspb.Message.setProto3BooleanField(this, 5, value);
13602
+ };
13603
+
13604
+
13605
+
13606
+
13607
+
13608
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13609
+ /**
13610
+ * Creates an object representation of this proto.
13611
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13612
+ * Optional fields that are not set will be set to undefined.
13613
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13614
+ * For the list of reserved names please see:
13615
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
13616
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
13617
+ * JSPB instance for transitional soy proto support:
13618
+ * http://goto/soy-param-migration
13619
+ * @return {!Object}
13620
+ */
13621
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.prototype.toObject = function(opt_includeInstance) {
13622
+ return proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.toObject(opt_includeInstance, this);
13623
+ };
13624
+
13625
+
13626
+ /**
13627
+ * Static version of the {@see toObject} method.
13628
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13629
+ * the JSPB instance for transitional soy proto support:
13630
+ * http://goto/soy-param-migration
13631
+ * @param {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse} msg The msg instance to transform.
13632
+ * @return {!Object}
13633
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13634
+ */
13635
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.toObject = function(includeInstance, msg) {
13636
+ var f, obj = {
13637
+ responsecode: (f = msg.getResponsecode()) && proto.loyaltyprogramserviceapi.ResponseCode.toObject(includeInstance, f),
13638
+ loyaltytransaction: (f = msg.getLoyaltytransaction()) && proto.loyaltyprogramserviceapi.LoyaltyTransaction.toObject(includeInstance, f)
13639
+ };
13640
+
13641
+ if (includeInstance) {
13642
+ obj.$jspbMessageInstance = msg;
13643
+ }
13644
+ return obj;
13645
+ };
13646
+ }
13647
+
13648
+
13649
+ /**
13650
+ * Deserializes binary data (in protobuf wire format).
13651
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
13652
+ * @return {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse}
13653
+ */
13654
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.deserializeBinary = function(bytes) {
13655
+ var reader = new jspb.BinaryReader(bytes);
13656
+ var msg = new proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse;
13657
+ return proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.deserializeBinaryFromReader(msg, reader);
13658
+ };
13659
+
13660
+
13661
+ /**
13662
+ * Deserializes binary data (in protobuf wire format) from the
13663
+ * given reader into the given message object.
13664
+ * @param {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse} msg The message object to deserialize into.
13665
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13666
+ * @return {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse}
13667
+ */
13668
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.deserializeBinaryFromReader = function(msg, reader) {
13669
+ while (reader.nextField()) {
13670
+ if (reader.isEndGroup()) {
13671
+ break;
13672
+ }
13673
+ var field = reader.getFieldNumber();
13674
+ switch (field) {
13675
+ case 1:
13676
+ var value = new proto.loyaltyprogramserviceapi.ResponseCode;
13677
+ reader.readMessage(value,proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinaryFromReader);
13678
+ msg.setResponsecode(value);
13679
+ break;
13680
+ case 2:
13681
+ var value = new proto.loyaltyprogramserviceapi.LoyaltyTransaction;
13682
+ reader.readMessage(value,proto.loyaltyprogramserviceapi.LoyaltyTransaction.deserializeBinaryFromReader);
13683
+ msg.setLoyaltytransaction(value);
13684
+ break;
13685
+ default:
13686
+ reader.skipField();
13687
+ break;
13688
+ }
13689
+ }
13690
+ return msg;
13691
+ };
13692
+
13693
+
13694
+ /**
13695
+ * Serializes the message to binary data (in protobuf wire format).
13696
+ * @return {!Uint8Array}
13697
+ */
13698
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.prototype.serializeBinary = function() {
13699
+ var writer = new jspb.BinaryWriter();
13700
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.serializeBinaryToWriter(this, writer);
13701
+ return writer.getResultBuffer();
13702
+ };
13703
+
13704
+
13705
+ /**
13706
+ * Serializes the given message to binary data (in protobuf wire
13707
+ * format), writing to the given BinaryWriter.
13708
+ * @param {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse} message
13709
+ * @param {!jspb.BinaryWriter} writer
13710
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13711
+ */
13712
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.serializeBinaryToWriter = function(message, writer) {
13713
+ var f = undefined;
13714
+ f = message.getResponsecode();
13715
+ if (f != null) {
13716
+ writer.writeMessage(
13717
+ 1,
13718
+ f,
13719
+ proto.loyaltyprogramserviceapi.ResponseCode.serializeBinaryToWriter
13720
+ );
13721
+ }
13722
+ f = message.getLoyaltytransaction();
13723
+ if (f != null) {
13724
+ writer.writeMessage(
13725
+ 2,
13726
+ f,
13727
+ proto.loyaltyprogramserviceapi.LoyaltyTransaction.serializeBinaryToWriter
13728
+ );
13729
+ }
13730
+ };
13731
+
13732
+
13733
+ /**
13734
+ * optional ResponseCode responseCode = 1;
13735
+ * @return {?proto.loyaltyprogramserviceapi.ResponseCode}
13736
+ */
13737
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.prototype.getResponsecode = function() {
13738
+ return /** @type{?proto.loyaltyprogramserviceapi.ResponseCode} */ (
13739
+ jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.ResponseCode, 1));
13740
+ };
13741
+
13742
+
13743
+ /**
13744
+ * @param {?proto.loyaltyprogramserviceapi.ResponseCode|undefined} value
13745
+ * @return {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse} returns this
13746
+ */
13747
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.prototype.setResponsecode = function(value) {
13748
+ return jspb.Message.setWrapperField(this, 1, value);
13749
+ };
13750
+
13751
+
13752
+ /**
13753
+ * Clears the message field making it undefined.
13754
+ * @return {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse} returns this
13755
+ */
13756
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.prototype.clearResponsecode = function() {
13757
+ return this.setResponsecode(undefined);
13758
+ };
13759
+
13760
+
13761
+ /**
13762
+ * Returns whether this field is set.
13763
+ * @return {boolean}
13764
+ */
13765
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.prototype.hasResponsecode = function() {
13766
+ return jspb.Message.getField(this, 1) != null;
13767
+ };
13768
+
13769
+
13770
+ /**
13771
+ * optional LoyaltyTransaction loyaltyTransaction = 2;
13772
+ * @return {?proto.loyaltyprogramserviceapi.LoyaltyTransaction}
13773
+ */
13774
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.prototype.getLoyaltytransaction = function() {
13775
+ return /** @type{?proto.loyaltyprogramserviceapi.LoyaltyTransaction} */ (
13776
+ jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.LoyaltyTransaction, 2));
13777
+ };
13778
+
13779
+
13780
+ /**
13781
+ * @param {?proto.loyaltyprogramserviceapi.LoyaltyTransaction|undefined} value
13782
+ * @return {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse} returns this
13783
+ */
13784
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.prototype.setLoyaltytransaction = function(value) {
13785
+ return jspb.Message.setWrapperField(this, 2, value);
13786
+ };
13787
+
13788
+
13789
+ /**
13790
+ * Clears the message field making it undefined.
13791
+ * @return {!proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse} returns this
13792
+ */
13793
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.prototype.clearLoyaltytransaction = function() {
13794
+ return this.setLoyaltytransaction(undefined);
13795
+ };
13796
+
13797
+
13798
+ /**
13799
+ * Returns whether this field is set.
13800
+ * @return {boolean}
13801
+ */
13802
+ proto.loyaltyprogramserviceapi.CreateRetroactiveLoyaltyTransactionResponse.prototype.hasLoyaltytransaction = function() {
13803
+ return jspb.Message.getField(this, 2) != null;
13804
+ };
13805
+
13806
+
13311
13807
  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.2774",
3
+ "version": "25.11.2784",
4
4
  "description": "loyalty-program-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",