@sniipwebmaster/biller-service-client-grpcweb 26.11.10708 → 26.11.10731

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.
@@ -8618,6 +8618,67 @@ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.authoriseSelfS
8618
8618
  };
8619
8619
 
8620
8620
 
8621
+ /**
8622
+ * @const
8623
+ * @type {!grpc.web.MethodDescriptor<
8624
+ * !proto.sniipbillerapi.AddSelfServiceBillerConfigRequest,
8625
+ * !proto.sniipbillerapi.SelfServiceBillerResponse>}
8626
+ */
8627
+ const methodDescriptor_SniipBillerAPIService_AddSelfServiceBillerConfig = new grpc.web.MethodDescriptor(
8628
+ '/sniipbillerapi.SniipBillerAPIService/AddSelfServiceBillerConfig',
8629
+ grpc.web.MethodType.UNARY,
8630
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest,
8631
+ proto.sniipbillerapi.SelfServiceBillerResponse,
8632
+ /**
8633
+ * @param {!proto.sniipbillerapi.AddSelfServiceBillerConfigRequest} request
8634
+ * @return {!Uint8Array}
8635
+ */
8636
+ function(request) {
8637
+ return request.serializeBinary();
8638
+ },
8639
+ proto.sniipbillerapi.SelfServiceBillerResponse.deserializeBinary
8640
+ );
8641
+
8642
+
8643
+ /**
8644
+ * @param {!proto.sniipbillerapi.AddSelfServiceBillerConfigRequest} request The
8645
+ * request proto
8646
+ * @param {?Object<string, string>} metadata User defined
8647
+ * call metadata
8648
+ * @param {function(?grpc.web.RpcError, ?proto.sniipbillerapi.SelfServiceBillerResponse)}
8649
+ * callback The callback function(error, response)
8650
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillerapi.SelfServiceBillerResponse>|undefined}
8651
+ * The XHR Node Readable Stream
8652
+ */
8653
+ proto.sniipbillerapi.SniipBillerAPIServiceClient.prototype.addSelfServiceBillerConfig =
8654
+ function(request, metadata, callback) {
8655
+ return this.client_.rpcCall(this.hostname_ +
8656
+ '/sniipbillerapi.SniipBillerAPIService/AddSelfServiceBillerConfig',
8657
+ request,
8658
+ metadata || {},
8659
+ methodDescriptor_SniipBillerAPIService_AddSelfServiceBillerConfig,
8660
+ callback);
8661
+ };
8662
+
8663
+
8664
+ /**
8665
+ * @param {!proto.sniipbillerapi.AddSelfServiceBillerConfigRequest} request The
8666
+ * request proto
8667
+ * @param {?Object<string, string>=} metadata User defined
8668
+ * call metadata
8669
+ * @return {!Promise<!proto.sniipbillerapi.SelfServiceBillerResponse>}
8670
+ * Promise that resolves to the response
8671
+ */
8672
+ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.addSelfServiceBillerConfig =
8673
+ function(request, metadata) {
8674
+ return this.client_.unaryCall(this.hostname_ +
8675
+ '/sniipbillerapi.SniipBillerAPIService/AddSelfServiceBillerConfig',
8676
+ request,
8677
+ metadata || {},
8678
+ methodDescriptor_SniipBillerAPIService_AddSelfServiceBillerConfig);
8679
+ };
8680
+
8681
+
8621
8682
  /**
8622
8683
  * @const
8623
8684
  * @type {!grpc.web.MethodDescriptor<
@@ -36,6 +36,7 @@ goog.exportSymbol('proto.sniipbillerapi.AddBillerNotificationRecipientRequest',
36
36
  goog.exportSymbol('proto.sniipbillerapi.AddOrUpdateBankAccountForSniipPaymentGatewayRequest', null, global);
37
37
  goog.exportSymbol('proto.sniipbillerapi.AddOrUpdateBillerNotificationRecipientRequest', null, global);
38
38
  goog.exportSymbol('proto.sniipbillerapi.AddPaymentDetailsRequest', null, global);
39
+ goog.exportSymbol('proto.sniipbillerapi.AddSelfServiceBillerConfigRequest', null, global);
39
40
  goog.exportSymbol('proto.sniipbillerapi.AddressRequest', null, global);
40
41
  goog.exportSymbol('proto.sniipbillerapi.AddressResponse', null, global);
41
42
  goog.exportSymbol('proto.sniipbillerapi.Age', null, global);
@@ -6406,6 +6407,27 @@ if (goog.DEBUG && !COMPILED) {
6406
6407
  */
6407
6408
  proto.sniipbillerapi.AuthoriseSelfServiceRegistrantRequest.displayName = 'proto.sniipbillerapi.AuthoriseSelfServiceRegistrantRequest';
6408
6409
  }
6410
+ /**
6411
+ * Generated by JsPbCodeGenerator.
6412
+ * @param {Array=} opt_data Optional initial data array, typically from a
6413
+ * server response, or constructed directly in Javascript. The array is used
6414
+ * in place and becomes part of the constructed object. It is not cloned.
6415
+ * If no data is provided, the constructed object will be empty, but still
6416
+ * valid.
6417
+ * @extends {jspb.Message}
6418
+ * @constructor
6419
+ */
6420
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest = function(opt_data) {
6421
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
6422
+ };
6423
+ goog.inherits(proto.sniipbillerapi.AddSelfServiceBillerConfigRequest, jspb.Message);
6424
+ if (goog.DEBUG && !COMPILED) {
6425
+ /**
6426
+ * @public
6427
+ * @override
6428
+ */
6429
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.displayName = 'proto.sniipbillerapi.AddSelfServiceBillerConfigRequest';
6430
+ }
6409
6431
  /**
6410
6432
  * Generated by JsPbCodeGenerator.
6411
6433
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -79089,6 +79111,286 @@ proto.sniipbillerapi.AuthoriseSelfServiceRegistrantRequest.prototype.setReason =
79089
79111
 
79090
79112
 
79091
79113
 
79114
+ if (jspb.Message.GENERATE_TO_OBJECT) {
79115
+ /**
79116
+ * Creates an object representation of this proto.
79117
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
79118
+ * Optional fields that are not set will be set to undefined.
79119
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
79120
+ * For the list of reserved names please see:
79121
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
79122
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
79123
+ * JSPB instance for transitional soy proto support:
79124
+ * http://goto/soy-param-migration
79125
+ * @return {!Object}
79126
+ */
79127
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.prototype.toObject = function(opt_includeInstance) {
79128
+ return proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.toObject(opt_includeInstance, this);
79129
+ };
79130
+
79131
+
79132
+ /**
79133
+ * Static version of the {@see toObject} method.
79134
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
79135
+ * the JSPB instance for transitional soy proto support:
79136
+ * http://goto/soy-param-migration
79137
+ * @param {!proto.sniipbillerapi.AddSelfServiceBillerConfigRequest} msg The msg instance to transform.
79138
+ * @return {!Object}
79139
+ * @suppress {unusedLocalVariables} f is only used for nested messages
79140
+ */
79141
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.toObject = function(includeInstance, msg) {
79142
+ var f, obj = {
79143
+ billerid: jspb.Message.getFieldWithDefault(msg, 1, 0),
79144
+ registrantuserid: jspb.Message.getFieldWithDefault(msg, 2, 0),
79145
+ bsb: jspb.Message.getFieldWithDefault(msg, 3, ""),
79146
+ accountnumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
79147
+ bankaccountname: jspb.Message.getFieldWithDefault(msg, 5, ""),
79148
+ requestreference: jspb.Message.getFieldWithDefault(msg, 6, "")
79149
+ };
79150
+
79151
+ if (includeInstance) {
79152
+ obj.$jspbMessageInstance = msg;
79153
+ }
79154
+ return obj;
79155
+ };
79156
+ }
79157
+
79158
+
79159
+ /**
79160
+ * Deserializes binary data (in protobuf wire format).
79161
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
79162
+ * @return {!proto.sniipbillerapi.AddSelfServiceBillerConfigRequest}
79163
+ */
79164
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.deserializeBinary = function(bytes) {
79165
+ var reader = new jspb.BinaryReader(bytes);
79166
+ var msg = new proto.sniipbillerapi.AddSelfServiceBillerConfigRequest;
79167
+ return proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.deserializeBinaryFromReader(msg, reader);
79168
+ };
79169
+
79170
+
79171
+ /**
79172
+ * Deserializes binary data (in protobuf wire format) from the
79173
+ * given reader into the given message object.
79174
+ * @param {!proto.sniipbillerapi.AddSelfServiceBillerConfigRequest} msg The message object to deserialize into.
79175
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
79176
+ * @return {!proto.sniipbillerapi.AddSelfServiceBillerConfigRequest}
79177
+ */
79178
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
79179
+ while (reader.nextField()) {
79180
+ if (reader.isEndGroup()) {
79181
+ break;
79182
+ }
79183
+ var field = reader.getFieldNumber();
79184
+ switch (field) {
79185
+ case 1:
79186
+ var value = /** @type {number} */ (reader.readInt64());
79187
+ msg.setBillerid(value);
79188
+ break;
79189
+ case 2:
79190
+ var value = /** @type {number} */ (reader.readInt64());
79191
+ msg.setRegistrantuserid(value);
79192
+ break;
79193
+ case 3:
79194
+ var value = /** @type {string} */ (reader.readString());
79195
+ msg.setBsb(value);
79196
+ break;
79197
+ case 4:
79198
+ var value = /** @type {string} */ (reader.readString());
79199
+ msg.setAccountnumber(value);
79200
+ break;
79201
+ case 5:
79202
+ var value = /** @type {string} */ (reader.readString());
79203
+ msg.setBankaccountname(value);
79204
+ break;
79205
+ case 6:
79206
+ var value = /** @type {string} */ (reader.readString());
79207
+ msg.setRequestreference(value);
79208
+ break;
79209
+ default:
79210
+ reader.skipField();
79211
+ break;
79212
+ }
79213
+ }
79214
+ return msg;
79215
+ };
79216
+
79217
+
79218
+ /**
79219
+ * Serializes the message to binary data (in protobuf wire format).
79220
+ * @return {!Uint8Array}
79221
+ */
79222
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.prototype.serializeBinary = function() {
79223
+ var writer = new jspb.BinaryWriter();
79224
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.serializeBinaryToWriter(this, writer);
79225
+ return writer.getResultBuffer();
79226
+ };
79227
+
79228
+
79229
+ /**
79230
+ * Serializes the given message to binary data (in protobuf wire
79231
+ * format), writing to the given BinaryWriter.
79232
+ * @param {!proto.sniipbillerapi.AddSelfServiceBillerConfigRequest} message
79233
+ * @param {!jspb.BinaryWriter} writer
79234
+ * @suppress {unusedLocalVariables} f is only used for nested messages
79235
+ */
79236
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.serializeBinaryToWriter = function(message, writer) {
79237
+ var f = undefined;
79238
+ f = message.getBillerid();
79239
+ if (f !== 0) {
79240
+ writer.writeInt64(
79241
+ 1,
79242
+ f
79243
+ );
79244
+ }
79245
+ f = message.getRegistrantuserid();
79246
+ if (f !== 0) {
79247
+ writer.writeInt64(
79248
+ 2,
79249
+ f
79250
+ );
79251
+ }
79252
+ f = message.getBsb();
79253
+ if (f.length > 0) {
79254
+ writer.writeString(
79255
+ 3,
79256
+ f
79257
+ );
79258
+ }
79259
+ f = message.getAccountnumber();
79260
+ if (f.length > 0) {
79261
+ writer.writeString(
79262
+ 4,
79263
+ f
79264
+ );
79265
+ }
79266
+ f = message.getBankaccountname();
79267
+ if (f.length > 0) {
79268
+ writer.writeString(
79269
+ 5,
79270
+ f
79271
+ );
79272
+ }
79273
+ f = message.getRequestreference();
79274
+ if (f.length > 0) {
79275
+ writer.writeString(
79276
+ 6,
79277
+ f
79278
+ );
79279
+ }
79280
+ };
79281
+
79282
+
79283
+ /**
79284
+ * optional int64 billerId = 1;
79285
+ * @return {number}
79286
+ */
79287
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.prototype.getBillerid = function() {
79288
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
79289
+ };
79290
+
79291
+
79292
+ /**
79293
+ * @param {number} value
79294
+ * @return {!proto.sniipbillerapi.AddSelfServiceBillerConfigRequest} returns this
79295
+ */
79296
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.prototype.setBillerid = function(value) {
79297
+ return jspb.Message.setProto3IntField(this, 1, value);
79298
+ };
79299
+
79300
+
79301
+ /**
79302
+ * optional int64 registrantUserId = 2;
79303
+ * @return {number}
79304
+ */
79305
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.prototype.getRegistrantuserid = function() {
79306
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
79307
+ };
79308
+
79309
+
79310
+ /**
79311
+ * @param {number} value
79312
+ * @return {!proto.sniipbillerapi.AddSelfServiceBillerConfigRequest} returns this
79313
+ */
79314
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.prototype.setRegistrantuserid = function(value) {
79315
+ return jspb.Message.setProto3IntField(this, 2, value);
79316
+ };
79317
+
79318
+
79319
+ /**
79320
+ * optional string bsb = 3;
79321
+ * @return {string}
79322
+ */
79323
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.prototype.getBsb = function() {
79324
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
79325
+ };
79326
+
79327
+
79328
+ /**
79329
+ * @param {string} value
79330
+ * @return {!proto.sniipbillerapi.AddSelfServiceBillerConfigRequest} returns this
79331
+ */
79332
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.prototype.setBsb = function(value) {
79333
+ return jspb.Message.setProto3StringField(this, 3, value);
79334
+ };
79335
+
79336
+
79337
+ /**
79338
+ * optional string accountNumber = 4;
79339
+ * @return {string}
79340
+ */
79341
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.prototype.getAccountnumber = function() {
79342
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
79343
+ };
79344
+
79345
+
79346
+ /**
79347
+ * @param {string} value
79348
+ * @return {!proto.sniipbillerapi.AddSelfServiceBillerConfigRequest} returns this
79349
+ */
79350
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.prototype.setAccountnumber = function(value) {
79351
+ return jspb.Message.setProto3StringField(this, 4, value);
79352
+ };
79353
+
79354
+
79355
+ /**
79356
+ * optional string bankAccountName = 5;
79357
+ * @return {string}
79358
+ */
79359
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.prototype.getBankaccountname = function() {
79360
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
79361
+ };
79362
+
79363
+
79364
+ /**
79365
+ * @param {string} value
79366
+ * @return {!proto.sniipbillerapi.AddSelfServiceBillerConfigRequest} returns this
79367
+ */
79368
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.prototype.setBankaccountname = function(value) {
79369
+ return jspb.Message.setProto3StringField(this, 5, value);
79370
+ };
79371
+
79372
+
79373
+ /**
79374
+ * optional string requestReference = 6;
79375
+ * @return {string}
79376
+ */
79377
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.prototype.getRequestreference = function() {
79378
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
79379
+ };
79380
+
79381
+
79382
+ /**
79383
+ * @param {string} value
79384
+ * @return {!proto.sniipbillerapi.AddSelfServiceBillerConfigRequest} returns this
79385
+ */
79386
+ proto.sniipbillerapi.AddSelfServiceBillerConfigRequest.prototype.setRequestreference = function(value) {
79387
+ return jspb.Message.setProto3StringField(this, 6, value);
79388
+ };
79389
+
79390
+
79391
+
79392
+
79393
+
79092
79394
  if (jspb.Message.GENERATE_TO_OBJECT) {
79093
79395
  /**
79094
79396
  * 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.11.10708",
3
+ "version": "26.11.10731",
4
4
  "description": "biller-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",