@sniipwebmaster/biller-service-client-grpcweb 26.8.9918 → 26.8.9941

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.
@@ -6361,6 +6361,67 @@ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.getSniipToBpay
6361
6361
  };
6362
6362
 
6363
6363
 
6364
+ /**
6365
+ * @const
6366
+ * @type {!grpc.web.MethodDescriptor<
6367
+ * !proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest,
6368
+ * !proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse>}
6369
+ */
6370
+ const methodDescriptor_SniipBillerAPIService_GetBpayToSmeFallbackConfigBatch = new grpc.web.MethodDescriptor(
6371
+ '/sniipbillerapi.SniipBillerAPIService/GetBpayToSmeFallbackConfigBatch',
6372
+ grpc.web.MethodType.UNARY,
6373
+ proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest,
6374
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse,
6375
+ /**
6376
+ * @param {!proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest} request
6377
+ * @return {!Uint8Array}
6378
+ */
6379
+ function(request) {
6380
+ return request.serializeBinary();
6381
+ },
6382
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.deserializeBinary
6383
+ );
6384
+
6385
+
6386
+ /**
6387
+ * @param {!proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest} request The
6388
+ * request proto
6389
+ * @param {?Object<string, string>} metadata User defined
6390
+ * call metadata
6391
+ * @param {function(?grpc.web.RpcError, ?proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse)}
6392
+ * callback The callback function(error, response)
6393
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse>|undefined}
6394
+ * The XHR Node Readable Stream
6395
+ */
6396
+ proto.sniipbillerapi.SniipBillerAPIServiceClient.prototype.getBpayToSmeFallbackConfigBatch =
6397
+ function(request, metadata, callback) {
6398
+ return this.client_.rpcCall(this.hostname_ +
6399
+ '/sniipbillerapi.SniipBillerAPIService/GetBpayToSmeFallbackConfigBatch',
6400
+ request,
6401
+ metadata || {},
6402
+ methodDescriptor_SniipBillerAPIService_GetBpayToSmeFallbackConfigBatch,
6403
+ callback);
6404
+ };
6405
+
6406
+
6407
+ /**
6408
+ * @param {!proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest} request The
6409
+ * request proto
6410
+ * @param {?Object<string, string>=} metadata User defined
6411
+ * call metadata
6412
+ * @return {!Promise<!proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse>}
6413
+ * Promise that resolves to the response
6414
+ */
6415
+ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.getBpayToSmeFallbackConfigBatch =
6416
+ function(request, metadata) {
6417
+ return this.client_.unaryCall(this.hostname_ +
6418
+ '/sniipbillerapi.SniipBillerAPIService/GetBpayToSmeFallbackConfigBatch',
6419
+ request,
6420
+ metadata || {},
6421
+ methodDescriptor_SniipBillerAPIService_GetBpayToSmeFallbackConfigBatch);
6422
+ };
6423
+
6424
+
6364
6425
  /**
6365
6426
  * @const
6366
6427
  * @type {!grpc.web.MethodDescriptor<
@@ -89,6 +89,8 @@ goog.exportSymbol('proto.sniipbillerapi.BillersResponse', null, global);
89
89
  goog.exportSymbol('proto.sniipbillerapi.BillersWithConfigsRequest', null, global);
90
90
  goog.exportSymbol('proto.sniipbillerapi.BillersWithSmeConfigsInReviewResponse', null, global);
91
91
  goog.exportSymbol('proto.sniipbillerapi.BpayOverridingDetails', null, global);
92
+ goog.exportSymbol('proto.sniipbillerapi.BpayToSmeFallbackConfig', null, global);
93
+ goog.exportSymbol('proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse', null, global);
92
94
  goog.exportSymbol('proto.sniipbillerapi.BusinessBillerReference', null, global);
93
95
  goog.exportSymbol('proto.sniipbillerapi.BusinessBillerReference.BusinessBillerReferenceMarkPaymentAs', null, global);
94
96
  goog.exportSymbol('proto.sniipbillerapi.BusinessBillerReferencesByUser', null, global);
@@ -146,6 +148,7 @@ goog.exportSymbol('proto.sniipbillerapi.GetBillersByBillerConfigIdsRequest', nul
146
148
  goog.exportSymbol('proto.sniipbillerapi.GetBillersRequest', null, global);
147
149
  goog.exportSymbol('proto.sniipbillerapi.GetBillersWithConfigsRequest', null, global);
148
150
  goog.exportSymbol('proto.sniipbillerapi.GetBillersWithSmeConfigsInReviewRequest', null, global);
151
+ goog.exportSymbol('proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest', null, global);
149
152
  goog.exportSymbol('proto.sniipbillerapi.GetBusinessBillerReferenceByUserRequest', null, global);
150
153
  goog.exportSymbol('proto.sniipbillerapi.GetBusinessBillerReferencesRequest', null, global);
151
154
  goog.exportSymbol('proto.sniipbillerapi.GetChildBillersRequest', null, global);
@@ -4736,6 +4739,69 @@ if (goog.DEBUG && !COMPILED) {
4736
4739
  */
4737
4740
  proto.sniipbillerapi.SniipToBpayMigrationConfigBatchResponse.displayName = 'proto.sniipbillerapi.SniipToBpayMigrationConfigBatchResponse';
4738
4741
  }
4742
+ /**
4743
+ * Generated by JsPbCodeGenerator.
4744
+ * @param {Array=} opt_data Optional initial data array, typically from a
4745
+ * server response, or constructed directly in Javascript. The array is used
4746
+ * in place and becomes part of the constructed object. It is not cloned.
4747
+ * If no data is provided, the constructed object will be empty, but still
4748
+ * valid.
4749
+ * @extends {jspb.Message}
4750
+ * @constructor
4751
+ */
4752
+ proto.sniipbillerapi.BpayToSmeFallbackConfig = function(opt_data) {
4753
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4754
+ };
4755
+ goog.inherits(proto.sniipbillerapi.BpayToSmeFallbackConfig, jspb.Message);
4756
+ if (goog.DEBUG && !COMPILED) {
4757
+ /**
4758
+ * @public
4759
+ * @override
4760
+ */
4761
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.displayName = 'proto.sniipbillerapi.BpayToSmeFallbackConfig';
4762
+ }
4763
+ /**
4764
+ * Generated by JsPbCodeGenerator.
4765
+ * @param {Array=} opt_data Optional initial data array, typically from a
4766
+ * server response, or constructed directly in Javascript. The array is used
4767
+ * in place and becomes part of the constructed object. It is not cloned.
4768
+ * If no data is provided, the constructed object will be empty, but still
4769
+ * valid.
4770
+ * @extends {jspb.Message}
4771
+ * @constructor
4772
+ */
4773
+ proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest = function(opt_data) {
4774
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest.repeatedFields_, null);
4775
+ };
4776
+ goog.inherits(proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest, jspb.Message);
4777
+ if (goog.DEBUG && !COMPILED) {
4778
+ /**
4779
+ * @public
4780
+ * @override
4781
+ */
4782
+ proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest.displayName = 'proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest';
4783
+ }
4784
+ /**
4785
+ * Generated by JsPbCodeGenerator.
4786
+ * @param {Array=} opt_data Optional initial data array, typically from a
4787
+ * server response, or constructed directly in Javascript. The array is used
4788
+ * in place and becomes part of the constructed object. It is not cloned.
4789
+ * If no data is provided, the constructed object will be empty, but still
4790
+ * valid.
4791
+ * @extends {jspb.Message}
4792
+ * @constructor
4793
+ */
4794
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse = function(opt_data) {
4795
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.repeatedFields_, null);
4796
+ };
4797
+ goog.inherits(proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse, jspb.Message);
4798
+ if (goog.DEBUG && !COMPILED) {
4799
+ /**
4800
+ * @public
4801
+ * @override
4802
+ */
4803
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.displayName = 'proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse';
4804
+ }
4739
4805
  /**
4740
4806
  * Generated by JsPbCodeGenerator.
4741
4807
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -57263,6 +57329,593 @@ proto.sniipbillerapi.SniipToBpayMigrationConfigBatchResponse.prototype.clearMigr
57263
57329
 
57264
57330
 
57265
57331
 
57332
+ if (jspb.Message.GENERATE_TO_OBJECT) {
57333
+ /**
57334
+ * Creates an object representation of this proto.
57335
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
57336
+ * Optional fields that are not set will be set to undefined.
57337
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
57338
+ * For the list of reserved names please see:
57339
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57340
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
57341
+ * JSPB instance for transitional soy proto support:
57342
+ * http://goto/soy-param-migration
57343
+ * @return {!Object}
57344
+ */
57345
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.prototype.toObject = function(opt_includeInstance) {
57346
+ return proto.sniipbillerapi.BpayToSmeFallbackConfig.toObject(opt_includeInstance, this);
57347
+ };
57348
+
57349
+
57350
+ /**
57351
+ * Static version of the {@see toObject} method.
57352
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
57353
+ * the JSPB instance for transitional soy proto support:
57354
+ * http://goto/soy-param-migration
57355
+ * @param {!proto.sniipbillerapi.BpayToSmeFallbackConfig} msg The msg instance to transform.
57356
+ * @return {!Object}
57357
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57358
+ */
57359
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.toObject = function(includeInstance, msg) {
57360
+ var f, obj = {
57361
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
57362
+ bpayBillerCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
57363
+ smeBillerConfigId: jspb.Message.getFieldWithDefault(msg, 3, 0),
57364
+ enabled: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
57365
+ };
57366
+
57367
+ if (includeInstance) {
57368
+ obj.$jspbMessageInstance = msg;
57369
+ }
57370
+ return obj;
57371
+ };
57372
+ }
57373
+
57374
+
57375
+ /**
57376
+ * Deserializes binary data (in protobuf wire format).
57377
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
57378
+ * @return {!proto.sniipbillerapi.BpayToSmeFallbackConfig}
57379
+ */
57380
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.deserializeBinary = function(bytes) {
57381
+ var reader = new jspb.BinaryReader(bytes);
57382
+ var msg = new proto.sniipbillerapi.BpayToSmeFallbackConfig;
57383
+ return proto.sniipbillerapi.BpayToSmeFallbackConfig.deserializeBinaryFromReader(msg, reader);
57384
+ };
57385
+
57386
+
57387
+ /**
57388
+ * Deserializes binary data (in protobuf wire format) from the
57389
+ * given reader into the given message object.
57390
+ * @param {!proto.sniipbillerapi.BpayToSmeFallbackConfig} msg The message object to deserialize into.
57391
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
57392
+ * @return {!proto.sniipbillerapi.BpayToSmeFallbackConfig}
57393
+ */
57394
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.deserializeBinaryFromReader = function(msg, reader) {
57395
+ while (reader.nextField()) {
57396
+ if (reader.isEndGroup()) {
57397
+ break;
57398
+ }
57399
+ var field = reader.getFieldNumber();
57400
+ switch (field) {
57401
+ case 1:
57402
+ var value = /** @type {number} */ (reader.readInt64());
57403
+ msg.setId(value);
57404
+ break;
57405
+ case 2:
57406
+ var value = /** @type {string} */ (reader.readString());
57407
+ msg.setBpayBillerCode(value);
57408
+ break;
57409
+ case 3:
57410
+ var value = /** @type {number} */ (reader.readInt64());
57411
+ msg.setSmeBillerConfigId(value);
57412
+ break;
57413
+ case 4:
57414
+ var value = /** @type {boolean} */ (reader.readBool());
57415
+ msg.setEnabled(value);
57416
+ break;
57417
+ default:
57418
+ reader.skipField();
57419
+ break;
57420
+ }
57421
+ }
57422
+ return msg;
57423
+ };
57424
+
57425
+
57426
+ /**
57427
+ * Serializes the message to binary data (in protobuf wire format).
57428
+ * @return {!Uint8Array}
57429
+ */
57430
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.prototype.serializeBinary = function() {
57431
+ var writer = new jspb.BinaryWriter();
57432
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.serializeBinaryToWriter(this, writer);
57433
+ return writer.getResultBuffer();
57434
+ };
57435
+
57436
+
57437
+ /**
57438
+ * Serializes the given message to binary data (in protobuf wire
57439
+ * format), writing to the given BinaryWriter.
57440
+ * @param {!proto.sniipbillerapi.BpayToSmeFallbackConfig} message
57441
+ * @param {!jspb.BinaryWriter} writer
57442
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57443
+ */
57444
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.serializeBinaryToWriter = function(message, writer) {
57445
+ var f = undefined;
57446
+ f = message.getId();
57447
+ if (f !== 0) {
57448
+ writer.writeInt64(
57449
+ 1,
57450
+ f
57451
+ );
57452
+ }
57453
+ f = message.getBpayBillerCode();
57454
+ if (f.length > 0) {
57455
+ writer.writeString(
57456
+ 2,
57457
+ f
57458
+ );
57459
+ }
57460
+ f = message.getSmeBillerConfigId();
57461
+ if (f !== 0) {
57462
+ writer.writeInt64(
57463
+ 3,
57464
+ f
57465
+ );
57466
+ }
57467
+ f = message.getEnabled();
57468
+ if (f) {
57469
+ writer.writeBool(
57470
+ 4,
57471
+ f
57472
+ );
57473
+ }
57474
+ };
57475
+
57476
+
57477
+ /**
57478
+ * optional int64 id = 1;
57479
+ * @return {number}
57480
+ */
57481
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.prototype.getId = function() {
57482
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
57483
+ };
57484
+
57485
+
57486
+ /**
57487
+ * @param {number} value
57488
+ * @return {!proto.sniipbillerapi.BpayToSmeFallbackConfig} returns this
57489
+ */
57490
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.prototype.setId = function(value) {
57491
+ return jspb.Message.setProto3IntField(this, 1, value);
57492
+ };
57493
+
57494
+
57495
+ /**
57496
+ * optional string bpay_biller_code = 2;
57497
+ * @return {string}
57498
+ */
57499
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.prototype.getBpayBillerCode = function() {
57500
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
57501
+ };
57502
+
57503
+
57504
+ /**
57505
+ * @param {string} value
57506
+ * @return {!proto.sniipbillerapi.BpayToSmeFallbackConfig} returns this
57507
+ */
57508
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.prototype.setBpayBillerCode = function(value) {
57509
+ return jspb.Message.setProto3StringField(this, 2, value);
57510
+ };
57511
+
57512
+
57513
+ /**
57514
+ * optional int64 sme_biller_config_id = 3;
57515
+ * @return {number}
57516
+ */
57517
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.prototype.getSmeBillerConfigId = function() {
57518
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
57519
+ };
57520
+
57521
+
57522
+ /**
57523
+ * @param {number} value
57524
+ * @return {!proto.sniipbillerapi.BpayToSmeFallbackConfig} returns this
57525
+ */
57526
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.prototype.setSmeBillerConfigId = function(value) {
57527
+ return jspb.Message.setProto3IntField(this, 3, value);
57528
+ };
57529
+
57530
+
57531
+ /**
57532
+ * optional bool enabled = 4;
57533
+ * @return {boolean}
57534
+ */
57535
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.prototype.getEnabled = function() {
57536
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
57537
+ };
57538
+
57539
+
57540
+ /**
57541
+ * @param {boolean} value
57542
+ * @return {!proto.sniipbillerapi.BpayToSmeFallbackConfig} returns this
57543
+ */
57544
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.prototype.setEnabled = function(value) {
57545
+ return jspb.Message.setProto3BooleanField(this, 4, value);
57546
+ };
57547
+
57548
+
57549
+
57550
+ /**
57551
+ * List of repeated fields within this message type.
57552
+ * @private {!Array<number>}
57553
+ * @const
57554
+ */
57555
+ proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest.repeatedFields_ = [1];
57556
+
57557
+
57558
+
57559
+ if (jspb.Message.GENERATE_TO_OBJECT) {
57560
+ /**
57561
+ * Creates an object representation of this proto.
57562
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
57563
+ * Optional fields that are not set will be set to undefined.
57564
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
57565
+ * For the list of reserved names please see:
57566
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57567
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
57568
+ * JSPB instance for transitional soy proto support:
57569
+ * http://goto/soy-param-migration
57570
+ * @return {!Object}
57571
+ */
57572
+ proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest.prototype.toObject = function(opt_includeInstance) {
57573
+ return proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest.toObject(opt_includeInstance, this);
57574
+ };
57575
+
57576
+
57577
+ /**
57578
+ * Static version of the {@see toObject} method.
57579
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
57580
+ * the JSPB instance for transitional soy proto support:
57581
+ * http://goto/soy-param-migration
57582
+ * @param {!proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest} msg The msg instance to transform.
57583
+ * @return {!Object}
57584
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57585
+ */
57586
+ proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest.toObject = function(includeInstance, msg) {
57587
+ var f, obj = {
57588
+ bpayBillerCodesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
57589
+ };
57590
+
57591
+ if (includeInstance) {
57592
+ obj.$jspbMessageInstance = msg;
57593
+ }
57594
+ return obj;
57595
+ };
57596
+ }
57597
+
57598
+
57599
+ /**
57600
+ * Deserializes binary data (in protobuf wire format).
57601
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
57602
+ * @return {!proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest}
57603
+ */
57604
+ proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest.deserializeBinary = function(bytes) {
57605
+ var reader = new jspb.BinaryReader(bytes);
57606
+ var msg = new proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest;
57607
+ return proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest.deserializeBinaryFromReader(msg, reader);
57608
+ };
57609
+
57610
+
57611
+ /**
57612
+ * Deserializes binary data (in protobuf wire format) from the
57613
+ * given reader into the given message object.
57614
+ * @param {!proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest} msg The message object to deserialize into.
57615
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
57616
+ * @return {!proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest}
57617
+ */
57618
+ proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest.deserializeBinaryFromReader = function(msg, reader) {
57619
+ while (reader.nextField()) {
57620
+ if (reader.isEndGroup()) {
57621
+ break;
57622
+ }
57623
+ var field = reader.getFieldNumber();
57624
+ switch (field) {
57625
+ case 1:
57626
+ var value = /** @type {string} */ (reader.readString());
57627
+ msg.addBpayBillerCodes(value);
57628
+ break;
57629
+ default:
57630
+ reader.skipField();
57631
+ break;
57632
+ }
57633
+ }
57634
+ return msg;
57635
+ };
57636
+
57637
+
57638
+ /**
57639
+ * Serializes the message to binary data (in protobuf wire format).
57640
+ * @return {!Uint8Array}
57641
+ */
57642
+ proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest.prototype.serializeBinary = function() {
57643
+ var writer = new jspb.BinaryWriter();
57644
+ proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest.serializeBinaryToWriter(this, writer);
57645
+ return writer.getResultBuffer();
57646
+ };
57647
+
57648
+
57649
+ /**
57650
+ * Serializes the given message to binary data (in protobuf wire
57651
+ * format), writing to the given BinaryWriter.
57652
+ * @param {!proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest} message
57653
+ * @param {!jspb.BinaryWriter} writer
57654
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57655
+ */
57656
+ proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest.serializeBinaryToWriter = function(message, writer) {
57657
+ var f = undefined;
57658
+ f = message.getBpayBillerCodesList();
57659
+ if (f.length > 0) {
57660
+ writer.writeRepeatedString(
57661
+ 1,
57662
+ f
57663
+ );
57664
+ }
57665
+ };
57666
+
57667
+
57668
+ /**
57669
+ * repeated string bpay_biller_codes = 1;
57670
+ * @return {!Array<string>}
57671
+ */
57672
+ proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest.prototype.getBpayBillerCodesList = function() {
57673
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
57674
+ };
57675
+
57676
+
57677
+ /**
57678
+ * @param {!Array<string>} value
57679
+ * @return {!proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest} returns this
57680
+ */
57681
+ proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest.prototype.setBpayBillerCodesList = function(value) {
57682
+ return jspb.Message.setField(this, 1, value || []);
57683
+ };
57684
+
57685
+
57686
+ /**
57687
+ * @param {string} value
57688
+ * @param {number=} opt_index
57689
+ * @return {!proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest} returns this
57690
+ */
57691
+ proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest.prototype.addBpayBillerCodes = function(value, opt_index) {
57692
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
57693
+ };
57694
+
57695
+
57696
+ /**
57697
+ * Clears the list making it empty but non-null.
57698
+ * @return {!proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest} returns this
57699
+ */
57700
+ proto.sniipbillerapi.GetBpayToSmeFallbackConfigBatchRequest.prototype.clearBpayBillerCodesList = function() {
57701
+ return this.setBpayBillerCodesList([]);
57702
+ };
57703
+
57704
+
57705
+
57706
+ /**
57707
+ * List of repeated fields within this message type.
57708
+ * @private {!Array<number>}
57709
+ * @const
57710
+ */
57711
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.repeatedFields_ = [2];
57712
+
57713
+
57714
+
57715
+ if (jspb.Message.GENERATE_TO_OBJECT) {
57716
+ /**
57717
+ * Creates an object representation of this proto.
57718
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
57719
+ * Optional fields that are not set will be set to undefined.
57720
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
57721
+ * For the list of reserved names please see:
57722
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57723
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
57724
+ * JSPB instance for transitional soy proto support:
57725
+ * http://goto/soy-param-migration
57726
+ * @return {!Object}
57727
+ */
57728
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.prototype.toObject = function(opt_includeInstance) {
57729
+ return proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.toObject(opt_includeInstance, this);
57730
+ };
57731
+
57732
+
57733
+ /**
57734
+ * Static version of the {@see toObject} method.
57735
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
57736
+ * the JSPB instance for transitional soy proto support:
57737
+ * http://goto/soy-param-migration
57738
+ * @param {!proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse} msg The msg instance to transform.
57739
+ * @return {!Object}
57740
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57741
+ */
57742
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.toObject = function(includeInstance, msg) {
57743
+ var f, obj = {
57744
+ responseCode: (f = msg.getResponseCode()) && proto.sniipbillerapi.ResponseCode.toObject(includeInstance, f),
57745
+ fallbackConfigsList: jspb.Message.toObjectList(msg.getFallbackConfigsList(),
57746
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.toObject, includeInstance)
57747
+ };
57748
+
57749
+ if (includeInstance) {
57750
+ obj.$jspbMessageInstance = msg;
57751
+ }
57752
+ return obj;
57753
+ };
57754
+ }
57755
+
57756
+
57757
+ /**
57758
+ * Deserializes binary data (in protobuf wire format).
57759
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
57760
+ * @return {!proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse}
57761
+ */
57762
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.deserializeBinary = function(bytes) {
57763
+ var reader = new jspb.BinaryReader(bytes);
57764
+ var msg = new proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse;
57765
+ return proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.deserializeBinaryFromReader(msg, reader);
57766
+ };
57767
+
57768
+
57769
+ /**
57770
+ * Deserializes binary data (in protobuf wire format) from the
57771
+ * given reader into the given message object.
57772
+ * @param {!proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse} msg The message object to deserialize into.
57773
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
57774
+ * @return {!proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse}
57775
+ */
57776
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.deserializeBinaryFromReader = function(msg, reader) {
57777
+ while (reader.nextField()) {
57778
+ if (reader.isEndGroup()) {
57779
+ break;
57780
+ }
57781
+ var field = reader.getFieldNumber();
57782
+ switch (field) {
57783
+ case 1:
57784
+ var value = new proto.sniipbillerapi.ResponseCode;
57785
+ reader.readMessage(value,proto.sniipbillerapi.ResponseCode.deserializeBinaryFromReader);
57786
+ msg.setResponseCode(value);
57787
+ break;
57788
+ case 2:
57789
+ var value = new proto.sniipbillerapi.BpayToSmeFallbackConfig;
57790
+ reader.readMessage(value,proto.sniipbillerapi.BpayToSmeFallbackConfig.deserializeBinaryFromReader);
57791
+ msg.addFallbackConfigs(value);
57792
+ break;
57793
+ default:
57794
+ reader.skipField();
57795
+ break;
57796
+ }
57797
+ }
57798
+ return msg;
57799
+ };
57800
+
57801
+
57802
+ /**
57803
+ * Serializes the message to binary data (in protobuf wire format).
57804
+ * @return {!Uint8Array}
57805
+ */
57806
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.prototype.serializeBinary = function() {
57807
+ var writer = new jspb.BinaryWriter();
57808
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.serializeBinaryToWriter(this, writer);
57809
+ return writer.getResultBuffer();
57810
+ };
57811
+
57812
+
57813
+ /**
57814
+ * Serializes the given message to binary data (in protobuf wire
57815
+ * format), writing to the given BinaryWriter.
57816
+ * @param {!proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse} message
57817
+ * @param {!jspb.BinaryWriter} writer
57818
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57819
+ */
57820
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.serializeBinaryToWriter = function(message, writer) {
57821
+ var f = undefined;
57822
+ f = message.getResponseCode();
57823
+ if (f != null) {
57824
+ writer.writeMessage(
57825
+ 1,
57826
+ f,
57827
+ proto.sniipbillerapi.ResponseCode.serializeBinaryToWriter
57828
+ );
57829
+ }
57830
+ f = message.getFallbackConfigsList();
57831
+ if (f.length > 0) {
57832
+ writer.writeRepeatedMessage(
57833
+ 2,
57834
+ f,
57835
+ proto.sniipbillerapi.BpayToSmeFallbackConfig.serializeBinaryToWriter
57836
+ );
57837
+ }
57838
+ };
57839
+
57840
+
57841
+ /**
57842
+ * optional ResponseCode response_code = 1;
57843
+ * @return {?proto.sniipbillerapi.ResponseCode}
57844
+ */
57845
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.prototype.getResponseCode = function() {
57846
+ return /** @type{?proto.sniipbillerapi.ResponseCode} */ (
57847
+ jspb.Message.getWrapperField(this, proto.sniipbillerapi.ResponseCode, 1));
57848
+ };
57849
+
57850
+
57851
+ /**
57852
+ * @param {?proto.sniipbillerapi.ResponseCode|undefined} value
57853
+ * @return {!proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse} returns this
57854
+ */
57855
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.prototype.setResponseCode = function(value) {
57856
+ return jspb.Message.setWrapperField(this, 1, value);
57857
+ };
57858
+
57859
+
57860
+ /**
57861
+ * Clears the message field making it undefined.
57862
+ * @return {!proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse} returns this
57863
+ */
57864
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.prototype.clearResponseCode = function() {
57865
+ return this.setResponseCode(undefined);
57866
+ };
57867
+
57868
+
57869
+ /**
57870
+ * Returns whether this field is set.
57871
+ * @return {boolean}
57872
+ */
57873
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.prototype.hasResponseCode = function() {
57874
+ return jspb.Message.getField(this, 1) != null;
57875
+ };
57876
+
57877
+
57878
+ /**
57879
+ * repeated BpayToSmeFallbackConfig fallback_configs = 2;
57880
+ * @return {!Array<!proto.sniipbillerapi.BpayToSmeFallbackConfig>}
57881
+ */
57882
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.prototype.getFallbackConfigsList = function() {
57883
+ return /** @type{!Array<!proto.sniipbillerapi.BpayToSmeFallbackConfig>} */ (
57884
+ jspb.Message.getRepeatedWrapperField(this, proto.sniipbillerapi.BpayToSmeFallbackConfig, 2));
57885
+ };
57886
+
57887
+
57888
+ /**
57889
+ * @param {!Array<!proto.sniipbillerapi.BpayToSmeFallbackConfig>} value
57890
+ * @return {!proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse} returns this
57891
+ */
57892
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.prototype.setFallbackConfigsList = function(value) {
57893
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
57894
+ };
57895
+
57896
+
57897
+ /**
57898
+ * @param {!proto.sniipbillerapi.BpayToSmeFallbackConfig=} opt_value
57899
+ * @param {number=} opt_index
57900
+ * @return {!proto.sniipbillerapi.BpayToSmeFallbackConfig}
57901
+ */
57902
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.prototype.addFallbackConfigs = function(opt_value, opt_index) {
57903
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.sniipbillerapi.BpayToSmeFallbackConfig, opt_index);
57904
+ };
57905
+
57906
+
57907
+ /**
57908
+ * Clears the list making it empty but non-null.
57909
+ * @return {!proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse} returns this
57910
+ */
57911
+ proto.sniipbillerapi.BpayToSmeFallbackConfigBatchResponse.prototype.clearFallbackConfigsList = function() {
57912
+ return this.setFallbackConfigsList([]);
57913
+ };
57914
+
57915
+
57916
+
57917
+
57918
+
57266
57919
  if (jspb.Message.GENERATE_TO_OBJECT) {
57267
57920
  /**
57268
57921
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/biller-service-client-grpcweb",
3
- "version": "26.8.9918",
3
+ "version": "26.8.9941",
4
4
  "description": "biller-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",