@sniipwebmaster/biller-service-client-grpcweb 23.15.6342 → 23.15.6380

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.
@@ -4714,6 +4714,86 @@ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.notifyCustomer
4714
4714
  };
4715
4715
 
4716
4716
 
4717
+ /**
4718
+ * @const
4719
+ * @type {!grpc.web.MethodDescriptor<
4720
+ * !proto.sniipbillerapi.RejectSmeInvoiceRequest,
4721
+ * !proto.sniipbillerapi.ResponseCode>}
4722
+ */
4723
+ const methodDescriptor_SniipBillerAPIService_RejectSmeInvoice = new grpc.web.MethodDescriptor(
4724
+ '/sniipbillerapi.SniipBillerAPIService/RejectSmeInvoice',
4725
+ grpc.web.MethodType.UNARY,
4726
+ proto.sniipbillerapi.RejectSmeInvoiceRequest,
4727
+ proto.sniipbillerapi.ResponseCode,
4728
+ /**
4729
+ * @param {!proto.sniipbillerapi.RejectSmeInvoiceRequest} request
4730
+ * @return {!Uint8Array}
4731
+ */
4732
+ function(request) {
4733
+ return request.serializeBinary();
4734
+ },
4735
+ proto.sniipbillerapi.ResponseCode.deserializeBinary
4736
+ );
4737
+
4738
+
4739
+ /**
4740
+ * @const
4741
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
4742
+ * !proto.sniipbillerapi.RejectSmeInvoiceRequest,
4743
+ * !proto.sniipbillerapi.ResponseCode>}
4744
+ */
4745
+ const methodInfo_SniipBillerAPIService_RejectSmeInvoice = new grpc.web.AbstractClientBase.MethodInfo(
4746
+ proto.sniipbillerapi.ResponseCode,
4747
+ /**
4748
+ * @param {!proto.sniipbillerapi.RejectSmeInvoiceRequest} request
4749
+ * @return {!Uint8Array}
4750
+ */
4751
+ function(request) {
4752
+ return request.serializeBinary();
4753
+ },
4754
+ proto.sniipbillerapi.ResponseCode.deserializeBinary
4755
+ );
4756
+
4757
+
4758
+ /**
4759
+ * @param {!proto.sniipbillerapi.RejectSmeInvoiceRequest} request The
4760
+ * request proto
4761
+ * @param {?Object<string, string>} metadata User defined
4762
+ * call metadata
4763
+ * @param {function(?grpc.web.Error, ?proto.sniipbillerapi.ResponseCode)}
4764
+ * callback The callback function(error, response)
4765
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillerapi.ResponseCode>|undefined}
4766
+ * The XHR Node Readable Stream
4767
+ */
4768
+ proto.sniipbillerapi.SniipBillerAPIServiceClient.prototype.rejectSmeInvoice =
4769
+ function(request, metadata, callback) {
4770
+ return this.client_.rpcCall(this.hostname_ +
4771
+ '/sniipbillerapi.SniipBillerAPIService/RejectSmeInvoice',
4772
+ request,
4773
+ metadata || {},
4774
+ methodDescriptor_SniipBillerAPIService_RejectSmeInvoice,
4775
+ callback);
4776
+ };
4777
+
4778
+
4779
+ /**
4780
+ * @param {!proto.sniipbillerapi.RejectSmeInvoiceRequest} request The
4781
+ * request proto
4782
+ * @param {?Object<string, string>} metadata User defined
4783
+ * call metadata
4784
+ * @return {!Promise<!proto.sniipbillerapi.ResponseCode>}
4785
+ * Promise that resolves to the response
4786
+ */
4787
+ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.rejectSmeInvoice =
4788
+ function(request, metadata) {
4789
+ return this.client_.unaryCall(this.hostname_ +
4790
+ '/sniipbillerapi.SniipBillerAPIService/RejectSmeInvoice',
4791
+ request,
4792
+ metadata || {},
4793
+ methodDescriptor_SniipBillerAPIService_RejectSmeInvoice);
4794
+ };
4795
+
4796
+
4717
4797
  /**
4718
4798
  * @const
4719
4799
  * @type {!grpc.web.MethodDescriptor<
@@ -148,6 +148,7 @@ goog.exportSymbol('proto.sniipbillerapi.PaymentRestrictionInfo', null, global);
148
148
  goog.exportSymbol('proto.sniipbillerapi.ProfileSwitcherBillersResponse', null, global);
149
149
  goog.exportSymbol('proto.sniipbillerapi.QRCodeConfig', null, global);
150
150
  goog.exportSymbol('proto.sniipbillerapi.QRCodeConfigRoot', null, global);
151
+ goog.exportSymbol('proto.sniipbillerapi.RejectSmeInvoiceRequest', null, global);
151
152
  goog.exportSymbol('proto.sniipbillerapi.ReportRecipient', null, global);
152
153
  goog.exportSymbol('proto.sniipbillerapi.ResponseCode', null, global);
153
154
  goog.exportSymbol('proto.sniipbillerapi.RestrictionItemInfo', null, global);
@@ -2892,6 +2893,27 @@ if (goog.DEBUG && !COMPILED) {
2892
2893
  */
2893
2894
  proto.sniipbillerapi.QRCodeConfigRoot.displayName = 'proto.sniipbillerapi.QRCodeConfigRoot';
2894
2895
  }
2896
+ /**
2897
+ * Generated by JsPbCodeGenerator.
2898
+ * @param {Array=} opt_data Optional initial data array, typically from a
2899
+ * server response, or constructed directly in Javascript. The array is used
2900
+ * in place and becomes part of the constructed object. It is not cloned.
2901
+ * If no data is provided, the constructed object will be empty, but still
2902
+ * valid.
2903
+ * @extends {jspb.Message}
2904
+ * @constructor
2905
+ */
2906
+ proto.sniipbillerapi.RejectSmeInvoiceRequest = function(opt_data) {
2907
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2908
+ };
2909
+ goog.inherits(proto.sniipbillerapi.RejectSmeInvoiceRequest, jspb.Message);
2910
+ if (goog.DEBUG && !COMPILED) {
2911
+ /**
2912
+ * @public
2913
+ * @override
2914
+ */
2915
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.displayName = 'proto.sniipbillerapi.RejectSmeInvoiceRequest';
2916
+ }
2895
2917
  /**
2896
2918
  * Generated by JsPbCodeGenerator.
2897
2919
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -34467,6 +34489,226 @@ proto.sniipbillerapi.QRCodeConfigRoot.prototype.hasQrcodeconfig = function() {
34467
34489
 
34468
34490
 
34469
34491
 
34492
+ if (jspb.Message.GENERATE_TO_OBJECT) {
34493
+ /**
34494
+ * Creates an object representation of this proto.
34495
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
34496
+ * Optional fields that are not set will be set to undefined.
34497
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
34498
+ * For the list of reserved names please see:
34499
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
34500
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
34501
+ * JSPB instance for transitional soy proto support:
34502
+ * http://goto/soy-param-migration
34503
+ * @return {!Object}
34504
+ */
34505
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.toObject = function(opt_includeInstance) {
34506
+ return proto.sniipbillerapi.RejectSmeInvoiceRequest.toObject(opt_includeInstance, this);
34507
+ };
34508
+
34509
+
34510
+ /**
34511
+ * Static version of the {@see toObject} method.
34512
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
34513
+ * the JSPB instance for transitional soy proto support:
34514
+ * http://goto/soy-param-migration
34515
+ * @param {!proto.sniipbillerapi.RejectSmeInvoiceRequest} msg The msg instance to transform.
34516
+ * @return {!Object}
34517
+ * @suppress {unusedLocalVariables} f is only used for nested messages
34518
+ */
34519
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.toObject = function(includeInstance, msg) {
34520
+ var f, obj = {
34521
+ billconfigid: jspb.Message.getFieldWithDefault(msg, 1, 0),
34522
+ subject: jspb.Message.getFieldWithDefault(msg, 2, ""),
34523
+ message: jspb.Message.getFieldWithDefault(msg, 3, ""),
34524
+ password: jspb.Message.getFieldWithDefault(msg, 4, "")
34525
+ };
34526
+
34527
+ if (includeInstance) {
34528
+ obj.$jspbMessageInstance = msg;
34529
+ }
34530
+ return obj;
34531
+ };
34532
+ }
34533
+
34534
+
34535
+ /**
34536
+ * Deserializes binary data (in protobuf wire format).
34537
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
34538
+ * @return {!proto.sniipbillerapi.RejectSmeInvoiceRequest}
34539
+ */
34540
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.deserializeBinary = function(bytes) {
34541
+ var reader = new jspb.BinaryReader(bytes);
34542
+ var msg = new proto.sniipbillerapi.RejectSmeInvoiceRequest;
34543
+ return proto.sniipbillerapi.RejectSmeInvoiceRequest.deserializeBinaryFromReader(msg, reader);
34544
+ };
34545
+
34546
+
34547
+ /**
34548
+ * Deserializes binary data (in protobuf wire format) from the
34549
+ * given reader into the given message object.
34550
+ * @param {!proto.sniipbillerapi.RejectSmeInvoiceRequest} msg The message object to deserialize into.
34551
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
34552
+ * @return {!proto.sniipbillerapi.RejectSmeInvoiceRequest}
34553
+ */
34554
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.deserializeBinaryFromReader = function(msg, reader) {
34555
+ while (reader.nextField()) {
34556
+ if (reader.isEndGroup()) {
34557
+ break;
34558
+ }
34559
+ var field = reader.getFieldNumber();
34560
+ switch (field) {
34561
+ case 1:
34562
+ var value = /** @type {number} */ (reader.readInt64());
34563
+ msg.setBillconfigid(value);
34564
+ break;
34565
+ case 2:
34566
+ var value = /** @type {string} */ (reader.readString());
34567
+ msg.setSubject(value);
34568
+ break;
34569
+ case 3:
34570
+ var value = /** @type {string} */ (reader.readString());
34571
+ msg.setMessage(value);
34572
+ break;
34573
+ case 4:
34574
+ var value = /** @type {string} */ (reader.readString());
34575
+ msg.setPassword(value);
34576
+ break;
34577
+ default:
34578
+ reader.skipField();
34579
+ break;
34580
+ }
34581
+ }
34582
+ return msg;
34583
+ };
34584
+
34585
+
34586
+ /**
34587
+ * Serializes the message to binary data (in protobuf wire format).
34588
+ * @return {!Uint8Array}
34589
+ */
34590
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.serializeBinary = function() {
34591
+ var writer = new jspb.BinaryWriter();
34592
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.serializeBinaryToWriter(this, writer);
34593
+ return writer.getResultBuffer();
34594
+ };
34595
+
34596
+
34597
+ /**
34598
+ * Serializes the given message to binary data (in protobuf wire
34599
+ * format), writing to the given BinaryWriter.
34600
+ * @param {!proto.sniipbillerapi.RejectSmeInvoiceRequest} message
34601
+ * @param {!jspb.BinaryWriter} writer
34602
+ * @suppress {unusedLocalVariables} f is only used for nested messages
34603
+ */
34604
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.serializeBinaryToWriter = function(message, writer) {
34605
+ var f = undefined;
34606
+ f = message.getBillconfigid();
34607
+ if (f !== 0) {
34608
+ writer.writeInt64(
34609
+ 1,
34610
+ f
34611
+ );
34612
+ }
34613
+ f = message.getSubject();
34614
+ if (f.length > 0) {
34615
+ writer.writeString(
34616
+ 2,
34617
+ f
34618
+ );
34619
+ }
34620
+ f = message.getMessage();
34621
+ if (f.length > 0) {
34622
+ writer.writeString(
34623
+ 3,
34624
+ f
34625
+ );
34626
+ }
34627
+ f = message.getPassword();
34628
+ if (f.length > 0) {
34629
+ writer.writeString(
34630
+ 4,
34631
+ f
34632
+ );
34633
+ }
34634
+ };
34635
+
34636
+
34637
+ /**
34638
+ * optional int64 billConfigId = 1;
34639
+ * @return {number}
34640
+ */
34641
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.getBillconfigid = function() {
34642
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
34643
+ };
34644
+
34645
+
34646
+ /**
34647
+ * @param {number} value
34648
+ * @return {!proto.sniipbillerapi.RejectSmeInvoiceRequest} returns this
34649
+ */
34650
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.setBillconfigid = function(value) {
34651
+ return jspb.Message.setProto3IntField(this, 1, value);
34652
+ };
34653
+
34654
+
34655
+ /**
34656
+ * optional string subject = 2;
34657
+ * @return {string}
34658
+ */
34659
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.getSubject = function() {
34660
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
34661
+ };
34662
+
34663
+
34664
+ /**
34665
+ * @param {string} value
34666
+ * @return {!proto.sniipbillerapi.RejectSmeInvoiceRequest} returns this
34667
+ */
34668
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.setSubject = function(value) {
34669
+ return jspb.Message.setProto3StringField(this, 2, value);
34670
+ };
34671
+
34672
+
34673
+ /**
34674
+ * optional string message = 3;
34675
+ * @return {string}
34676
+ */
34677
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.getMessage = function() {
34678
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
34679
+ };
34680
+
34681
+
34682
+ /**
34683
+ * @param {string} value
34684
+ * @return {!proto.sniipbillerapi.RejectSmeInvoiceRequest} returns this
34685
+ */
34686
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.setMessage = function(value) {
34687
+ return jspb.Message.setProto3StringField(this, 3, value);
34688
+ };
34689
+
34690
+
34691
+ /**
34692
+ * optional string password = 4;
34693
+ * @return {string}
34694
+ */
34695
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.getPassword = function() {
34696
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
34697
+ };
34698
+
34699
+
34700
+ /**
34701
+ * @param {string} value
34702
+ * @return {!proto.sniipbillerapi.RejectSmeInvoiceRequest} returns this
34703
+ */
34704
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.setPassword = function(value) {
34705
+ return jspb.Message.setProto3StringField(this, 4, value);
34706
+ };
34707
+
34708
+
34709
+
34710
+
34711
+
34470
34712
  if (jspb.Message.GENERATE_TO_OBJECT) {
34471
34713
  /**
34472
34714
  * 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": "23.15.6342",
3
+ "version": "23.15.6380",
4
4
  "description": "biller-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",