@sniipwebmaster/biller-service-client-grpcweb 21.6.3569 → 21.6.3589

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.
@@ -2125,6 +2125,61 @@ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.getTimezones =
2125
2125
  };
2126
2126
 
2127
2127
 
2128
+ /**
2129
+ * @const
2130
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
2131
+ * !proto.sniipbillerapi.NotifyCustomersRequest,
2132
+ * !proto.sniipbillerapi.ResponseCode>}
2133
+ */
2134
+ const methodInfo_SniipBillerAPIService_NotifyCustomers = new grpc.web.AbstractClientBase.MethodInfo(
2135
+ proto.sniipbillerapi.ResponseCode,
2136
+ /** @param {!proto.sniipbillerapi.NotifyCustomersRequest} request */
2137
+ function(request) {
2138
+ return request.serializeBinary();
2139
+ },
2140
+ proto.sniipbillerapi.ResponseCode.deserializeBinary
2141
+ );
2142
+
2143
+
2144
+ /**
2145
+ * @param {!proto.sniipbillerapi.NotifyCustomersRequest} request The
2146
+ * request proto
2147
+ * @param {?Object<string, string>} metadata User defined
2148
+ * call metadata
2149
+ * @param {function(?grpc.web.Error, ?proto.sniipbillerapi.ResponseCode)}
2150
+ * callback The callback function(error, response)
2151
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillerapi.ResponseCode>|undefined}
2152
+ * The XHR Node Readable Stream
2153
+ */
2154
+ proto.sniipbillerapi.SniipBillerAPIServiceClient.prototype.notifyCustomers =
2155
+ function(request, metadata, callback) {
2156
+ return this.client_.rpcCall(this.hostname_ +
2157
+ '/sniipbillerapi.SniipBillerAPIService/NotifyCustomers',
2158
+ request,
2159
+ metadata || {},
2160
+ methodInfo_SniipBillerAPIService_NotifyCustomers,
2161
+ callback);
2162
+ };
2163
+
2164
+
2165
+ /**
2166
+ * @param {!proto.sniipbillerapi.NotifyCustomersRequest} request The
2167
+ * request proto
2168
+ * @param {?Object<string, string>} metadata User defined
2169
+ * call metadata
2170
+ * @return {!Promise<!proto.sniipbillerapi.ResponseCode>}
2171
+ * A native promise that resolves to the response
2172
+ */
2173
+ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.notifyCustomers =
2174
+ function(request, metadata) {
2175
+ return this.client_.unaryCall(this.hostname_ +
2176
+ '/sniipbillerapi.SniipBillerAPIService/NotifyCustomers',
2177
+ request,
2178
+ metadata || {},
2179
+ methodInfo_SniipBillerAPIService_NotifyCustomers);
2180
+ };
2181
+
2182
+
2128
2183
  /**
2129
2184
  * @const
2130
2185
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -53,6 +53,7 @@ goog.exportSymbol('proto.sniipbillerapi.Country', null, global);
53
53
  goog.exportSymbol('proto.sniipbillerapi.CreateBillerRequest', null, global);
54
54
  goog.exportSymbol('proto.sniipbillerapi.CreateBillerResponse', null, global);
55
55
  goog.exportSymbol('proto.sniipbillerapi.CreateBillerResponse.RolesMessage', null, global);
56
+ goog.exportSymbol('proto.sniipbillerapi.CustomersNotifyRequest', null, global);
56
57
  goog.exportSymbol('proto.sniipbillerapi.DeleteBillerLogoRequest', null, global);
57
58
  goog.exportSymbol('proto.sniipbillerapi.DeleteBillerNotificationRecipientRequest', null, global);
58
59
  goog.exportSymbol('proto.sniipbillerapi.DeleteBillerRequest', null, global);
@@ -87,6 +88,7 @@ goog.exportSymbol('proto.sniipbillerapi.GetProfileSwitcherBillersRequest', null,
87
88
  goog.exportSymbol('proto.sniipbillerapi.GetRelatedBillerConfigsRequest', null, global);
88
89
  goog.exportSymbol('proto.sniipbillerapi.MaskedCreditCard', null, global);
89
90
  goog.exportSymbol('proto.sniipbillerapi.MultipleBillersRequest', null, global);
91
+ goog.exportSymbol('proto.sniipbillerapi.NotifyCustomersRequest', null, global);
90
92
  goog.exportSymbol('proto.sniipbillerapi.Organisation', null, global);
91
93
  goog.exportSymbol('proto.sniipbillerapi.OrganisationDetails', null, global);
92
94
  goog.exportSymbol('proto.sniipbillerapi.OrganisationsResponse', null, global);
@@ -12031,6 +12033,246 @@ proto.sniipbillerapi.CreateBillerResponse.RolesMessage.prototype.setRole = funct
12031
12033
 
12032
12034
 
12033
12035
 
12036
+ /**
12037
+ * Generated by JsPbCodeGenerator.
12038
+ * @param {Array=} opt_data Optional initial data array, typically from a
12039
+ * server response, or constructed directly in Javascript. The array is used
12040
+ * in place and becomes part of the constructed object. It is not cloned.
12041
+ * If no data is provided, the constructed object will be empty, but still
12042
+ * valid.
12043
+ * @extends {jspb.Message}
12044
+ * @constructor
12045
+ */
12046
+ proto.sniipbillerapi.CustomersNotifyRequest = function(opt_data) {
12047
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
12048
+ };
12049
+ goog.inherits(proto.sniipbillerapi.CustomersNotifyRequest, jspb.Message);
12050
+ if (goog.DEBUG && !COMPILED) {
12051
+ proto.sniipbillerapi.CustomersNotifyRequest.displayName = 'proto.sniipbillerapi.CustomersNotifyRequest';
12052
+ }
12053
+
12054
+
12055
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12056
+ /**
12057
+ * Creates an object representation of this proto suitable for use in Soy templates.
12058
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12059
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12060
+ * For the list of reserved names please see:
12061
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
12062
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
12063
+ * for transitional soy proto support: http://goto/soy-param-migration
12064
+ * @return {!Object}
12065
+ */
12066
+ proto.sniipbillerapi.CustomersNotifyRequest.prototype.toObject = function(opt_includeInstance) {
12067
+ return proto.sniipbillerapi.CustomersNotifyRequest.toObject(opt_includeInstance, this);
12068
+ };
12069
+
12070
+
12071
+ /**
12072
+ * Static version of the {@see toObject} method.
12073
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
12074
+ * instance for transitional soy proto support:
12075
+ * http://goto/soy-param-migration
12076
+ * @param {!proto.sniipbillerapi.CustomersNotifyRequest} msg The msg instance to transform.
12077
+ * @return {!Object}
12078
+ */
12079
+ proto.sniipbillerapi.CustomersNotifyRequest.toObject = function(includeInstance, msg) {
12080
+ var f, obj = {
12081
+ billerid: msg.getBillerid(),
12082
+ subject: msg.getSubject(),
12083
+ message: msg.getMessage(),
12084
+ password: msg.getPassword()
12085
+ };
12086
+
12087
+ if (includeInstance) {
12088
+ obj.$jspbMessageInstance = msg;
12089
+ }
12090
+ return obj;
12091
+ };
12092
+ }
12093
+
12094
+
12095
+ /**
12096
+ * Deserializes binary data (in protobuf wire format).
12097
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12098
+ * @return {!proto.sniipbillerapi.CustomersNotifyRequest}
12099
+ */
12100
+ proto.sniipbillerapi.CustomersNotifyRequest.deserializeBinary = function(bytes) {
12101
+ var reader = new jspb.BinaryReader(bytes);
12102
+ var msg = new proto.sniipbillerapi.CustomersNotifyRequest;
12103
+ return proto.sniipbillerapi.CustomersNotifyRequest.deserializeBinaryFromReader(msg, reader);
12104
+ };
12105
+
12106
+
12107
+ /**
12108
+ * Deserializes binary data (in protobuf wire format) from the
12109
+ * given reader into the given message object.
12110
+ * @param {!proto.sniipbillerapi.CustomersNotifyRequest} msg The message object to deserialize into.
12111
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12112
+ * @return {!proto.sniipbillerapi.CustomersNotifyRequest}
12113
+ */
12114
+ proto.sniipbillerapi.CustomersNotifyRequest.deserializeBinaryFromReader = function(msg, reader) {
12115
+ while (reader.nextField()) {
12116
+ if (reader.isEndGroup()) {
12117
+ break;
12118
+ }
12119
+ var field = reader.getFieldNumber();
12120
+ switch (field) {
12121
+ case 1:
12122
+ var value = /** @type {number} */ (reader.readInt64());
12123
+ msg.setBillerid(value);
12124
+ break;
12125
+ case 2:
12126
+ var value = /** @type {string} */ (reader.readString());
12127
+ msg.setSubject(value);
12128
+ break;
12129
+ case 3:
12130
+ var value = /** @type {string} */ (reader.readString());
12131
+ msg.setMessage(value);
12132
+ break;
12133
+ case 4:
12134
+ var value = /** @type {string} */ (reader.readString());
12135
+ msg.setPassword(value);
12136
+ break;
12137
+ default:
12138
+ reader.skipField();
12139
+ break;
12140
+ }
12141
+ }
12142
+ return msg;
12143
+ };
12144
+
12145
+
12146
+ /**
12147
+ * Class method variant: serializes the given message to binary data
12148
+ * (in protobuf wire format), writing to the given BinaryWriter.
12149
+ * @param {!proto.sniipbillerapi.CustomersNotifyRequest} message
12150
+ * @param {!jspb.BinaryWriter} writer
12151
+ */
12152
+ proto.sniipbillerapi.CustomersNotifyRequest.serializeBinaryToWriter = function(message, writer) {
12153
+ message.serializeBinaryToWriter(writer);
12154
+ };
12155
+
12156
+
12157
+ /**
12158
+ * Serializes the message to binary data (in protobuf wire format).
12159
+ * @return {!Uint8Array}
12160
+ */
12161
+ proto.sniipbillerapi.CustomersNotifyRequest.prototype.serializeBinary = function() {
12162
+ var writer = new jspb.BinaryWriter();
12163
+ this.serializeBinaryToWriter(writer);
12164
+ return writer.getResultBuffer();
12165
+ };
12166
+
12167
+
12168
+ /**
12169
+ * Serializes the message to binary data (in protobuf wire format),
12170
+ * writing to the given BinaryWriter.
12171
+ * @param {!jspb.BinaryWriter} writer
12172
+ */
12173
+ proto.sniipbillerapi.CustomersNotifyRequest.prototype.serializeBinaryToWriter = function (writer) {
12174
+ var f = undefined;
12175
+ f = this.getBillerid();
12176
+ if (f !== 0) {
12177
+ writer.writeInt64(
12178
+ 1,
12179
+ f
12180
+ );
12181
+ }
12182
+ f = this.getSubject();
12183
+ if (f.length > 0) {
12184
+ writer.writeString(
12185
+ 2,
12186
+ f
12187
+ );
12188
+ }
12189
+ f = this.getMessage();
12190
+ if (f.length > 0) {
12191
+ writer.writeString(
12192
+ 3,
12193
+ f
12194
+ );
12195
+ }
12196
+ f = this.getPassword();
12197
+ if (f.length > 0) {
12198
+ writer.writeString(
12199
+ 4,
12200
+ f
12201
+ );
12202
+ }
12203
+ };
12204
+
12205
+
12206
+ /**
12207
+ * Creates a deep clone of this proto. No data is shared with the original.
12208
+ * @return {!proto.sniipbillerapi.CustomersNotifyRequest} The clone.
12209
+ */
12210
+ proto.sniipbillerapi.CustomersNotifyRequest.prototype.cloneMessage = function() {
12211
+ return /** @type {!proto.sniipbillerapi.CustomersNotifyRequest} */ (jspb.Message.cloneMessage(this));
12212
+ };
12213
+
12214
+
12215
+ /**
12216
+ * optional int64 billerId = 1;
12217
+ * @return {number}
12218
+ */
12219
+ proto.sniipbillerapi.CustomersNotifyRequest.prototype.getBillerid = function() {
12220
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
12221
+ };
12222
+
12223
+
12224
+ /** @param {number} value */
12225
+ proto.sniipbillerapi.CustomersNotifyRequest.prototype.setBillerid = function(value) {
12226
+ jspb.Message.setField(this, 1, value);
12227
+ };
12228
+
12229
+
12230
+ /**
12231
+ * optional string subject = 2;
12232
+ * @return {string}
12233
+ */
12234
+ proto.sniipbillerapi.CustomersNotifyRequest.prototype.getSubject = function() {
12235
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
12236
+ };
12237
+
12238
+
12239
+ /** @param {string} value */
12240
+ proto.sniipbillerapi.CustomersNotifyRequest.prototype.setSubject = function(value) {
12241
+ jspb.Message.setField(this, 2, value);
12242
+ };
12243
+
12244
+
12245
+ /**
12246
+ * optional string message = 3;
12247
+ * @return {string}
12248
+ */
12249
+ proto.sniipbillerapi.CustomersNotifyRequest.prototype.getMessage = function() {
12250
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
12251
+ };
12252
+
12253
+
12254
+ /** @param {string} value */
12255
+ proto.sniipbillerapi.CustomersNotifyRequest.prototype.setMessage = function(value) {
12256
+ jspb.Message.setField(this, 3, value);
12257
+ };
12258
+
12259
+
12260
+ /**
12261
+ * optional string password = 4;
12262
+ * @return {string}
12263
+ */
12264
+ proto.sniipbillerapi.CustomersNotifyRequest.prototype.getPassword = function() {
12265
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
12266
+ };
12267
+
12268
+
12269
+ /** @param {string} value */
12270
+ proto.sniipbillerapi.CustomersNotifyRequest.prototype.setPassword = function(value) {
12271
+ jspb.Message.setField(this, 4, value);
12272
+ };
12273
+
12274
+
12275
+
12034
12276
  /**
12035
12277
  * Generated by JsPbCodeGenerator.
12036
12278
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -18312,6 +18554,182 @@ proto.sniipbillerapi.MultipleBillersRequest.prototype.clearBilleridsList = funct
18312
18554
 
18313
18555
 
18314
18556
 
18557
+ /**
18558
+ * Generated by JsPbCodeGenerator.
18559
+ * @param {Array=} opt_data Optional initial data array, typically from a
18560
+ * server response, or constructed directly in Javascript. The array is used
18561
+ * in place and becomes part of the constructed object. It is not cloned.
18562
+ * If no data is provided, the constructed object will be empty, but still
18563
+ * valid.
18564
+ * @extends {jspb.Message}
18565
+ * @constructor
18566
+ */
18567
+ proto.sniipbillerapi.NotifyCustomersRequest = function(opt_data) {
18568
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
18569
+ };
18570
+ goog.inherits(proto.sniipbillerapi.NotifyCustomersRequest, jspb.Message);
18571
+ if (goog.DEBUG && !COMPILED) {
18572
+ proto.sniipbillerapi.NotifyCustomersRequest.displayName = 'proto.sniipbillerapi.NotifyCustomersRequest';
18573
+ }
18574
+
18575
+
18576
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18577
+ /**
18578
+ * Creates an object representation of this proto suitable for use in Soy templates.
18579
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18580
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18581
+ * For the list of reserved names please see:
18582
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
18583
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
18584
+ * for transitional soy proto support: http://goto/soy-param-migration
18585
+ * @return {!Object}
18586
+ */
18587
+ proto.sniipbillerapi.NotifyCustomersRequest.prototype.toObject = function(opt_includeInstance) {
18588
+ return proto.sniipbillerapi.NotifyCustomersRequest.toObject(opt_includeInstance, this);
18589
+ };
18590
+
18591
+
18592
+ /**
18593
+ * Static version of the {@see toObject} method.
18594
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
18595
+ * instance for transitional soy proto support:
18596
+ * http://goto/soy-param-migration
18597
+ * @param {!proto.sniipbillerapi.NotifyCustomersRequest} msg The msg instance to transform.
18598
+ * @return {!Object}
18599
+ */
18600
+ proto.sniipbillerapi.NotifyCustomersRequest.toObject = function(includeInstance, msg) {
18601
+ var f, obj = {
18602
+ data: (f = msg.getData()) && proto.sniipbillerapi.CustomersNotifyRequest.toObject(includeInstance, f)
18603
+ };
18604
+
18605
+ if (includeInstance) {
18606
+ obj.$jspbMessageInstance = msg;
18607
+ }
18608
+ return obj;
18609
+ };
18610
+ }
18611
+
18612
+
18613
+ /**
18614
+ * Deserializes binary data (in protobuf wire format).
18615
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18616
+ * @return {!proto.sniipbillerapi.NotifyCustomersRequest}
18617
+ */
18618
+ proto.sniipbillerapi.NotifyCustomersRequest.deserializeBinary = function(bytes) {
18619
+ var reader = new jspb.BinaryReader(bytes);
18620
+ var msg = new proto.sniipbillerapi.NotifyCustomersRequest;
18621
+ return proto.sniipbillerapi.NotifyCustomersRequest.deserializeBinaryFromReader(msg, reader);
18622
+ };
18623
+
18624
+
18625
+ /**
18626
+ * Deserializes binary data (in protobuf wire format) from the
18627
+ * given reader into the given message object.
18628
+ * @param {!proto.sniipbillerapi.NotifyCustomersRequest} msg The message object to deserialize into.
18629
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18630
+ * @return {!proto.sniipbillerapi.NotifyCustomersRequest}
18631
+ */
18632
+ proto.sniipbillerapi.NotifyCustomersRequest.deserializeBinaryFromReader = function(msg, reader) {
18633
+ while (reader.nextField()) {
18634
+ if (reader.isEndGroup()) {
18635
+ break;
18636
+ }
18637
+ var field = reader.getFieldNumber();
18638
+ switch (field) {
18639
+ case 1:
18640
+ var value = new proto.sniipbillerapi.CustomersNotifyRequest;
18641
+ reader.readMessage(value,proto.sniipbillerapi.CustomersNotifyRequest.deserializeBinaryFromReader);
18642
+ msg.setData(value);
18643
+ break;
18644
+ default:
18645
+ reader.skipField();
18646
+ break;
18647
+ }
18648
+ }
18649
+ return msg;
18650
+ };
18651
+
18652
+
18653
+ /**
18654
+ * Class method variant: serializes the given message to binary data
18655
+ * (in protobuf wire format), writing to the given BinaryWriter.
18656
+ * @param {!proto.sniipbillerapi.NotifyCustomersRequest} message
18657
+ * @param {!jspb.BinaryWriter} writer
18658
+ */
18659
+ proto.sniipbillerapi.NotifyCustomersRequest.serializeBinaryToWriter = function(message, writer) {
18660
+ message.serializeBinaryToWriter(writer);
18661
+ };
18662
+
18663
+
18664
+ /**
18665
+ * Serializes the message to binary data (in protobuf wire format).
18666
+ * @return {!Uint8Array}
18667
+ */
18668
+ proto.sniipbillerapi.NotifyCustomersRequest.prototype.serializeBinary = function() {
18669
+ var writer = new jspb.BinaryWriter();
18670
+ this.serializeBinaryToWriter(writer);
18671
+ return writer.getResultBuffer();
18672
+ };
18673
+
18674
+
18675
+ /**
18676
+ * Serializes the message to binary data (in protobuf wire format),
18677
+ * writing to the given BinaryWriter.
18678
+ * @param {!jspb.BinaryWriter} writer
18679
+ */
18680
+ proto.sniipbillerapi.NotifyCustomersRequest.prototype.serializeBinaryToWriter = function (writer) {
18681
+ var f = undefined;
18682
+ f = this.getData();
18683
+ if (f != null) {
18684
+ writer.writeMessage(
18685
+ 1,
18686
+ f,
18687
+ proto.sniipbillerapi.CustomersNotifyRequest.serializeBinaryToWriter
18688
+ );
18689
+ }
18690
+ };
18691
+
18692
+
18693
+ /**
18694
+ * Creates a deep clone of this proto. No data is shared with the original.
18695
+ * @return {!proto.sniipbillerapi.NotifyCustomersRequest} The clone.
18696
+ */
18697
+ proto.sniipbillerapi.NotifyCustomersRequest.prototype.cloneMessage = function() {
18698
+ return /** @type {!proto.sniipbillerapi.NotifyCustomersRequest} */ (jspb.Message.cloneMessage(this));
18699
+ };
18700
+
18701
+
18702
+ /**
18703
+ * optional CustomersNotifyRequest data = 1;
18704
+ * @return {proto.sniipbillerapi.CustomersNotifyRequest}
18705
+ */
18706
+ proto.sniipbillerapi.NotifyCustomersRequest.prototype.getData = function() {
18707
+ return /** @type{proto.sniipbillerapi.CustomersNotifyRequest} */ (
18708
+ jspb.Message.getWrapperField(this, proto.sniipbillerapi.CustomersNotifyRequest, 1));
18709
+ };
18710
+
18711
+
18712
+ /** @param {proto.sniipbillerapi.CustomersNotifyRequest|undefined} value */
18713
+ proto.sniipbillerapi.NotifyCustomersRequest.prototype.setData = function(value) {
18714
+ jspb.Message.setWrapperField(this, 1, value);
18715
+ };
18716
+
18717
+
18718
+ proto.sniipbillerapi.NotifyCustomersRequest.prototype.clearData = function() {
18719
+ this.setData(undefined);
18720
+ };
18721
+
18722
+
18723
+ /**
18724
+ * Returns whether this field is set.
18725
+ * @return{!boolean}
18726
+ */
18727
+ proto.sniipbillerapi.NotifyCustomersRequest.prototype.hasData = function() {
18728
+ return jspb.Message.getField(this, 1) != null;
18729
+ };
18730
+
18731
+
18732
+
18315
18733
  /**
18316
18734
  * Generated by JsPbCodeGenerator.
18317
18735
  * @param {Array=} opt_data Optional initial data array, typically from a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/biller-service-client-grpcweb",
3
- "version": "21.6.3569",
3
+ "version": "21.6.3589",
4
4
  "description": "biller-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",