@sniipwebmaster/biller-service-client-grpcweb 23.17.6486 → 23.17.6497

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.
@@ -3494,6 +3494,67 @@ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.migrateBpayMas
3494
3494
  };
3495
3495
 
3496
3496
 
3497
+ /**
3498
+ * @const
3499
+ * @type {!grpc.web.MethodDescriptor<
3500
+ * !proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest,
3501
+ * !proto.sniipbillerapi.ResponseCode>}
3502
+ */
3503
+ const methodDescriptor_SniipBillerAPIService_NotifyCustomerOfRejectedSmeInvoice = new grpc.web.MethodDescriptor(
3504
+ '/sniipbillerapi.SniipBillerAPIService/NotifyCustomerOfRejectedSmeInvoice',
3505
+ grpc.web.MethodType.UNARY,
3506
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest,
3507
+ proto.sniipbillerapi.ResponseCode,
3508
+ /**
3509
+ * @param {!proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest} request
3510
+ * @return {!Uint8Array}
3511
+ */
3512
+ function(request) {
3513
+ return request.serializeBinary();
3514
+ },
3515
+ proto.sniipbillerapi.ResponseCode.deserializeBinary
3516
+ );
3517
+
3518
+
3519
+ /**
3520
+ * @param {!proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest} request The
3521
+ * request proto
3522
+ * @param {?Object<string, string>} metadata User defined
3523
+ * call metadata
3524
+ * @param {function(?grpc.web.RpcError, ?proto.sniipbillerapi.ResponseCode)}
3525
+ * callback The callback function(error, response)
3526
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillerapi.ResponseCode>|undefined}
3527
+ * The XHR Node Readable Stream
3528
+ */
3529
+ proto.sniipbillerapi.SniipBillerAPIServiceClient.prototype.notifyCustomerOfRejectedSmeInvoice =
3530
+ function(request, metadata, callback) {
3531
+ return this.client_.rpcCall(this.hostname_ +
3532
+ '/sniipbillerapi.SniipBillerAPIService/NotifyCustomerOfRejectedSmeInvoice',
3533
+ request,
3534
+ metadata || {},
3535
+ methodDescriptor_SniipBillerAPIService_NotifyCustomerOfRejectedSmeInvoice,
3536
+ callback);
3537
+ };
3538
+
3539
+
3540
+ /**
3541
+ * @param {!proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest} request The
3542
+ * request proto
3543
+ * @param {?Object<string, string>=} metadata User defined
3544
+ * call metadata
3545
+ * @return {!Promise<!proto.sniipbillerapi.ResponseCode>}
3546
+ * Promise that resolves to the response
3547
+ */
3548
+ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.notifyCustomerOfRejectedSmeInvoice =
3549
+ function(request, metadata) {
3550
+ return this.client_.unaryCall(this.hostname_ +
3551
+ '/sniipbillerapi.SniipBillerAPIService/NotifyCustomerOfRejectedSmeInvoice',
3552
+ request,
3553
+ metadata || {},
3554
+ methodDescriptor_SniipBillerAPIService_NotifyCustomerOfRejectedSmeInvoice);
3555
+ };
3556
+
3557
+
3497
3558
  /**
3498
3559
  * @const
3499
3560
  * @type {!grpc.web.MethodDescriptor<
@@ -135,6 +135,7 @@ goog.exportSymbol('proto.sniipbillerapi.MarkAsBusinessReq.MarkAsBusinessReqMarkP
135
135
  goog.exportSymbol('proto.sniipbillerapi.MarkBillerCodeAndReferenceAsBusinessRequest', null, global);
136
136
  goog.exportSymbol('proto.sniipbillerapi.MaskedCreditCard', null, global);
137
137
  goog.exportSymbol('proto.sniipbillerapi.MultipleBillersRequest', null, global);
138
+ goog.exportSymbol('proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest', null, global);
138
139
  goog.exportSymbol('proto.sniipbillerapi.NotifyCustomersRequest', null, global);
139
140
  goog.exportSymbol('proto.sniipbillerapi.NotifyCustomersWithBillerConfigIdRequest', null, global);
140
141
  goog.exportSymbol('proto.sniipbillerapi.Organisation', null, global);
@@ -2641,6 +2642,27 @@ if (goog.DEBUG && !COMPILED) {
2641
2642
  */
2642
2643
  proto.sniipbillerapi.MultipleBillersRequest.displayName = 'proto.sniipbillerapi.MultipleBillersRequest';
2643
2644
  }
2645
+ /**
2646
+ * Generated by JsPbCodeGenerator.
2647
+ * @param {Array=} opt_data Optional initial data array, typically from a
2648
+ * server response, or constructed directly in Javascript. The array is used
2649
+ * in place and becomes part of the constructed object. It is not cloned.
2650
+ * If no data is provided, the constructed object will be empty, but still
2651
+ * valid.
2652
+ * @extends {jspb.Message}
2653
+ * @constructor
2654
+ */
2655
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest = function(opt_data) {
2656
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2657
+ };
2658
+ goog.inherits(proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest, jspb.Message);
2659
+ if (goog.DEBUG && !COMPILED) {
2660
+ /**
2661
+ * @public
2662
+ * @override
2663
+ */
2664
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.displayName = 'proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest';
2665
+ }
2644
2666
  /**
2645
2667
  * Generated by JsPbCodeGenerator.
2646
2668
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -31954,6 +31976,226 @@ proto.sniipbillerapi.MultipleBillersRequest.prototype.clearBilleridsList = funct
31954
31976
 
31955
31977
 
31956
31978
 
31979
+ if (jspb.Message.GENERATE_TO_OBJECT) {
31980
+ /**
31981
+ * Creates an object representation of this proto.
31982
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
31983
+ * Optional fields that are not set will be set to undefined.
31984
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
31985
+ * For the list of reserved names please see:
31986
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
31987
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
31988
+ * JSPB instance for transitional soy proto support:
31989
+ * http://goto/soy-param-migration
31990
+ * @return {!Object}
31991
+ */
31992
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.prototype.toObject = function(opt_includeInstance) {
31993
+ return proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.toObject(opt_includeInstance, this);
31994
+ };
31995
+
31996
+
31997
+ /**
31998
+ * Static version of the {@see toObject} method.
31999
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
32000
+ * the JSPB instance for transitional soy proto support:
32001
+ * http://goto/soy-param-migration
32002
+ * @param {!proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest} msg The msg instance to transform.
32003
+ * @return {!Object}
32004
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32005
+ */
32006
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.toObject = function(includeInstance, msg) {
32007
+ var f, obj = {
32008
+ billconfigid: jspb.Message.getFieldWithDefault(msg, 1, 0),
32009
+ subject: jspb.Message.getFieldWithDefault(msg, 2, ""),
32010
+ message: jspb.Message.getFieldWithDefault(msg, 3, ""),
32011
+ password: jspb.Message.getFieldWithDefault(msg, 4, "")
32012
+ };
32013
+
32014
+ if (includeInstance) {
32015
+ obj.$jspbMessageInstance = msg;
32016
+ }
32017
+ return obj;
32018
+ };
32019
+ }
32020
+
32021
+
32022
+ /**
32023
+ * Deserializes binary data (in protobuf wire format).
32024
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
32025
+ * @return {!proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest}
32026
+ */
32027
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.deserializeBinary = function(bytes) {
32028
+ var reader = new jspb.BinaryReader(bytes);
32029
+ var msg = new proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest;
32030
+ return proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.deserializeBinaryFromReader(msg, reader);
32031
+ };
32032
+
32033
+
32034
+ /**
32035
+ * Deserializes binary data (in protobuf wire format) from the
32036
+ * given reader into the given message object.
32037
+ * @param {!proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest} msg The message object to deserialize into.
32038
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
32039
+ * @return {!proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest}
32040
+ */
32041
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.deserializeBinaryFromReader = function(msg, reader) {
32042
+ while (reader.nextField()) {
32043
+ if (reader.isEndGroup()) {
32044
+ break;
32045
+ }
32046
+ var field = reader.getFieldNumber();
32047
+ switch (field) {
32048
+ case 1:
32049
+ var value = /** @type {number} */ (reader.readInt64());
32050
+ msg.setBillconfigid(value);
32051
+ break;
32052
+ case 2:
32053
+ var value = /** @type {string} */ (reader.readString());
32054
+ msg.setSubject(value);
32055
+ break;
32056
+ case 3:
32057
+ var value = /** @type {string} */ (reader.readString());
32058
+ msg.setMessage(value);
32059
+ break;
32060
+ case 4:
32061
+ var value = /** @type {string} */ (reader.readString());
32062
+ msg.setPassword(value);
32063
+ break;
32064
+ default:
32065
+ reader.skipField();
32066
+ break;
32067
+ }
32068
+ }
32069
+ return msg;
32070
+ };
32071
+
32072
+
32073
+ /**
32074
+ * Serializes the message to binary data (in protobuf wire format).
32075
+ * @return {!Uint8Array}
32076
+ */
32077
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.prototype.serializeBinary = function() {
32078
+ var writer = new jspb.BinaryWriter();
32079
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.serializeBinaryToWriter(this, writer);
32080
+ return writer.getResultBuffer();
32081
+ };
32082
+
32083
+
32084
+ /**
32085
+ * Serializes the given message to binary data (in protobuf wire
32086
+ * format), writing to the given BinaryWriter.
32087
+ * @param {!proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest} message
32088
+ * @param {!jspb.BinaryWriter} writer
32089
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32090
+ */
32091
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.serializeBinaryToWriter = function(message, writer) {
32092
+ var f = undefined;
32093
+ f = message.getBillconfigid();
32094
+ if (f !== 0) {
32095
+ writer.writeInt64(
32096
+ 1,
32097
+ f
32098
+ );
32099
+ }
32100
+ f = message.getSubject();
32101
+ if (f.length > 0) {
32102
+ writer.writeString(
32103
+ 2,
32104
+ f
32105
+ );
32106
+ }
32107
+ f = message.getMessage();
32108
+ if (f.length > 0) {
32109
+ writer.writeString(
32110
+ 3,
32111
+ f
32112
+ );
32113
+ }
32114
+ f = message.getPassword();
32115
+ if (f.length > 0) {
32116
+ writer.writeString(
32117
+ 4,
32118
+ f
32119
+ );
32120
+ }
32121
+ };
32122
+
32123
+
32124
+ /**
32125
+ * optional int64 billConfigId = 1;
32126
+ * @return {number}
32127
+ */
32128
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.prototype.getBillconfigid = function() {
32129
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
32130
+ };
32131
+
32132
+
32133
+ /**
32134
+ * @param {number} value
32135
+ * @return {!proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest} returns this
32136
+ */
32137
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.prototype.setBillconfigid = function(value) {
32138
+ return jspb.Message.setProto3IntField(this, 1, value);
32139
+ };
32140
+
32141
+
32142
+ /**
32143
+ * optional string subject = 2;
32144
+ * @return {string}
32145
+ */
32146
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.prototype.getSubject = function() {
32147
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
32148
+ };
32149
+
32150
+
32151
+ /**
32152
+ * @param {string} value
32153
+ * @return {!proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest} returns this
32154
+ */
32155
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.prototype.setSubject = function(value) {
32156
+ return jspb.Message.setProto3StringField(this, 2, value);
32157
+ };
32158
+
32159
+
32160
+ /**
32161
+ * optional string message = 3;
32162
+ * @return {string}
32163
+ */
32164
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.prototype.getMessage = function() {
32165
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
32166
+ };
32167
+
32168
+
32169
+ /**
32170
+ * @param {string} value
32171
+ * @return {!proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest} returns this
32172
+ */
32173
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.prototype.setMessage = function(value) {
32174
+ return jspb.Message.setProto3StringField(this, 3, value);
32175
+ };
32176
+
32177
+
32178
+ /**
32179
+ * optional string password = 4;
32180
+ * @return {string}
32181
+ */
32182
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.prototype.getPassword = function() {
32183
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
32184
+ };
32185
+
32186
+
32187
+ /**
32188
+ * @param {string} value
32189
+ * @return {!proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest} returns this
32190
+ */
32191
+ proto.sniipbillerapi.NotifyCustomerOfRejectedSmeInvoiceRequest.prototype.setPassword = function(value) {
32192
+ return jspb.Message.setProto3StringField(this, 4, value);
32193
+ };
32194
+
32195
+
32196
+
32197
+
32198
+
31957
32199
  if (jspb.Message.GENERATE_TO_OBJECT) {
31958
32200
  /**
31959
32201
  * Creates an object representation of this proto.
@@ -34609,9 +34851,7 @@ proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.toObject = function(opt_i
34609
34851
  proto.sniipbillerapi.RejectSmeInvoiceRequest.toObject = function(includeInstance, msg) {
34610
34852
  var f, obj = {
34611
34853
  billconfigid: jspb.Message.getFieldWithDefault(msg, 1, 0),
34612
- subject: jspb.Message.getFieldWithDefault(msg, 2, ""),
34613
- message: jspb.Message.getFieldWithDefault(msg, 3, ""),
34614
- password: jspb.Message.getFieldWithDefault(msg, 4, "")
34854
+ billerconfigid: jspb.Message.getFieldWithDefault(msg, 2, 0)
34615
34855
  };
34616
34856
 
34617
34857
  if (includeInstance) {
@@ -34653,16 +34893,8 @@ proto.sniipbillerapi.RejectSmeInvoiceRequest.deserializeBinaryFromReader = funct
34653
34893
  msg.setBillconfigid(value);
34654
34894
  break;
34655
34895
  case 2:
34656
- var value = /** @type {string} */ (reader.readString());
34657
- msg.setSubject(value);
34658
- break;
34659
- case 3:
34660
- var value = /** @type {string} */ (reader.readString());
34661
- msg.setMessage(value);
34662
- break;
34663
- case 4:
34664
- var value = /** @type {string} */ (reader.readString());
34665
- msg.setPassword(value);
34896
+ var value = /** @type {number} */ (reader.readInt64());
34897
+ msg.setBillerconfigid(value);
34666
34898
  break;
34667
34899
  default:
34668
34900
  reader.skipField();
@@ -34700,27 +34932,13 @@ proto.sniipbillerapi.RejectSmeInvoiceRequest.serializeBinaryToWriter = function(
34700
34932
  f
34701
34933
  );
34702
34934
  }
34703
- f = message.getSubject();
34704
- if (f.length > 0) {
34705
- writer.writeString(
34935
+ f = message.getBillerconfigid();
34936
+ if (f !== 0) {
34937
+ writer.writeInt64(
34706
34938
  2,
34707
34939
  f
34708
34940
  );
34709
34941
  }
34710
- f = message.getMessage();
34711
- if (f.length > 0) {
34712
- writer.writeString(
34713
- 3,
34714
- f
34715
- );
34716
- }
34717
- f = message.getPassword();
34718
- if (f.length > 0) {
34719
- writer.writeString(
34720
- 4,
34721
- f
34722
- );
34723
- }
34724
34942
  };
34725
34943
 
34726
34944
 
@@ -34743,56 +34961,20 @@ proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.setBillconfigid = functio
34743
34961
 
34744
34962
 
34745
34963
  /**
34746
- * optional string subject = 2;
34747
- * @return {string}
34748
- */
34749
- proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.getSubject = function() {
34750
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
34751
- };
34752
-
34753
-
34754
- /**
34755
- * @param {string} value
34756
- * @return {!proto.sniipbillerapi.RejectSmeInvoiceRequest} returns this
34757
- */
34758
- proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.setSubject = function(value) {
34759
- return jspb.Message.setProto3StringField(this, 2, value);
34760
- };
34761
-
34762
-
34763
- /**
34764
- * optional string message = 3;
34765
- * @return {string}
34766
- */
34767
- proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.getMessage = function() {
34768
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
34769
- };
34770
-
34771
-
34772
- /**
34773
- * @param {string} value
34774
- * @return {!proto.sniipbillerapi.RejectSmeInvoiceRequest} returns this
34775
- */
34776
- proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.setMessage = function(value) {
34777
- return jspb.Message.setProto3StringField(this, 3, value);
34778
- };
34779
-
34780
-
34781
- /**
34782
- * optional string password = 4;
34783
- * @return {string}
34964
+ * optional int64 billerConfigId = 2;
34965
+ * @return {number}
34784
34966
  */
34785
- proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.getPassword = function() {
34786
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
34967
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.getBillerconfigid = function() {
34968
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
34787
34969
  };
34788
34970
 
34789
34971
 
34790
34972
  /**
34791
- * @param {string} value
34973
+ * @param {number} value
34792
34974
  * @return {!proto.sniipbillerapi.RejectSmeInvoiceRequest} returns this
34793
34975
  */
34794
- proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.setPassword = function(value) {
34795
- return jspb.Message.setProto3StringField(this, 4, value);
34976
+ proto.sniipbillerapi.RejectSmeInvoiceRequest.prototype.setBillerconfigid = function(value) {
34977
+ return jspb.Message.setProto3IntField(this, 2, value);
34796
34978
  };
34797
34979
 
34798
34980
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/biller-service-client-grpcweb",
3
- "version": "23.17.6486",
3
+ "version": "23.17.6497",
4
4
  "description": "biller-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",