@sniipwebmaster/biller-service-client-grpcweb 26.4.9641 → 26.5.9665

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.
@@ -6239,5 +6239,66 @@ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.getSniipToBpay
6239
6239
  };
6240
6240
 
6241
6241
 
6242
+ /**
6243
+ * @const
6244
+ * @type {!grpc.web.MethodDescriptor<
6245
+ * !proto.sniipbillerapi.GetBillerValidationStatusRequest,
6246
+ * !proto.sniipbillerapi.BillerValidationStatus>}
6247
+ */
6248
+ const methodDescriptor_SniipBillerAPIService_GetBillerValidationStatus = new grpc.web.MethodDescriptor(
6249
+ '/sniipbillerapi.SniipBillerAPIService/GetBillerValidationStatus',
6250
+ grpc.web.MethodType.UNARY,
6251
+ proto.sniipbillerapi.GetBillerValidationStatusRequest,
6252
+ proto.sniipbillerapi.BillerValidationStatus,
6253
+ /**
6254
+ * @param {!proto.sniipbillerapi.GetBillerValidationStatusRequest} request
6255
+ * @return {!Uint8Array}
6256
+ */
6257
+ function(request) {
6258
+ return request.serializeBinary();
6259
+ },
6260
+ proto.sniipbillerapi.BillerValidationStatus.deserializeBinary
6261
+ );
6262
+
6263
+
6264
+ /**
6265
+ * @param {!proto.sniipbillerapi.GetBillerValidationStatusRequest} request The
6266
+ * request proto
6267
+ * @param {?Object<string, string>} metadata User defined
6268
+ * call metadata
6269
+ * @param {function(?grpc.web.RpcError, ?proto.sniipbillerapi.BillerValidationStatus)}
6270
+ * callback The callback function(error, response)
6271
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillerapi.BillerValidationStatus>|undefined}
6272
+ * The XHR Node Readable Stream
6273
+ */
6274
+ proto.sniipbillerapi.SniipBillerAPIServiceClient.prototype.getBillerValidationStatus =
6275
+ function(request, metadata, callback) {
6276
+ return this.client_.rpcCall(this.hostname_ +
6277
+ '/sniipbillerapi.SniipBillerAPIService/GetBillerValidationStatus',
6278
+ request,
6279
+ metadata || {},
6280
+ methodDescriptor_SniipBillerAPIService_GetBillerValidationStatus,
6281
+ callback);
6282
+ };
6283
+
6284
+
6285
+ /**
6286
+ * @param {!proto.sniipbillerapi.GetBillerValidationStatusRequest} request The
6287
+ * request proto
6288
+ * @param {?Object<string, string>=} metadata User defined
6289
+ * call metadata
6290
+ * @return {!Promise<!proto.sniipbillerapi.BillerValidationStatus>}
6291
+ * Promise that resolves to the response
6292
+ */
6293
+ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.getBillerValidationStatus =
6294
+ function(request, metadata) {
6295
+ return this.client_.unaryCall(this.hostname_ +
6296
+ '/sniipbillerapi.SniipBillerAPIService/GetBillerValidationStatus',
6297
+ request,
6298
+ metadata || {},
6299
+ methodDescriptor_SniipBillerAPIService_GetBillerValidationStatus);
6300
+ };
6301
+
6302
+
6242
6303
  module.exports = proto.sniipbillerapi;
6243
6304
 
@@ -79,6 +79,7 @@ goog.exportSymbol('proto.sniipbillerapi.BillerReviewResponse', null, global);
79
79
  goog.exportSymbol('proto.sniipbillerapi.BillerRevision', null, global);
80
80
  goog.exportSymbol('proto.sniipbillerapi.BillerRevisionGetResponse', null, global);
81
81
  goog.exportSymbol('proto.sniipbillerapi.BillerSmeConfigForPortal', null, global);
82
+ goog.exportSymbol('proto.sniipbillerapi.BillerValidationStatus', null, global);
82
83
  goog.exportSymbol('proto.sniipbillerapi.BillerWithConfig', null, global);
83
84
  goog.exportSymbol('proto.sniipbillerapi.BillerWithSmeConfigsInReviewResponse', null, global);
84
85
  goog.exportSymbol('proto.sniipbillerapi.BillerWithSmeConfigsInReviewResponse.BillerWithSmeConfigsInReviewResponseLastModifiedCategory', null, global);
@@ -94,6 +95,7 @@ goog.exportSymbol('proto.sniipbillerapi.BusinessBillerReferencesByUserResponse',
94
95
  goog.exportSymbol('proto.sniipbillerapi.BusinessBillerReferencesResponse', null, global);
95
96
  goog.exportSymbol('proto.sniipbillerapi.BusinessBillerReferencesResponse.DataMessage', null, global);
96
97
  goog.exportSymbol('proto.sniipbillerapi.BusinessBillersReferencesByUsersRequest', null, global);
98
+ goog.exportSymbol('proto.sniipbillerapi.CheckResult', null, global);
97
99
  goog.exportSymbol('proto.sniipbillerapi.CountriesResponse', null, global);
98
100
  goog.exportSymbol('proto.sniipbillerapi.Country', null, global);
99
101
  goog.exportSymbol('proto.sniipbillerapi.CreateBillerFromRevisionRequest', null, global);
@@ -133,6 +135,7 @@ goog.exportSymbol('proto.sniipbillerapi.GetBillerRequest', null, global);
133
135
  goog.exportSymbol('proto.sniipbillerapi.GetBillerRevisionsRequest', null, global);
134
136
  goog.exportSymbol('proto.sniipbillerapi.GetBillerSmeDetailsRequest', null, global);
135
137
  goog.exportSymbol('proto.sniipbillerapi.GetBillerSmeDetailsResponse', null, global);
138
+ goog.exportSymbol('proto.sniipbillerapi.GetBillerValidationStatusRequest', null, global);
136
139
  goog.exportSymbol('proto.sniipbillerapi.GetBillerWithCodeRequest', null, global);
137
140
  goog.exportSymbol('proto.sniipbillerapi.GetBillerWithConfigRequest', null, global);
138
141
  goog.exportSymbol('proto.sniipbillerapi.GetBillerWithQrCodeIdentifierRequest', null, global);
@@ -4578,6 +4581,69 @@ if (goog.DEBUG && !COMPILED) {
4578
4581
  */
4579
4582
  proto.sniipbillerapi.SniipToBpayMigrationConfigBatchResponse.displayName = 'proto.sniipbillerapi.SniipToBpayMigrationConfigBatchResponse';
4580
4583
  }
4584
+ /**
4585
+ * Generated by JsPbCodeGenerator.
4586
+ * @param {Array=} opt_data Optional initial data array, typically from a
4587
+ * server response, or constructed directly in Javascript. The array is used
4588
+ * in place and becomes part of the constructed object. It is not cloned.
4589
+ * If no data is provided, the constructed object will be empty, but still
4590
+ * valid.
4591
+ * @extends {jspb.Message}
4592
+ * @constructor
4593
+ */
4594
+ proto.sniipbillerapi.GetBillerValidationStatusRequest = function(opt_data) {
4595
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4596
+ };
4597
+ goog.inherits(proto.sniipbillerapi.GetBillerValidationStatusRequest, jspb.Message);
4598
+ if (goog.DEBUG && !COMPILED) {
4599
+ /**
4600
+ * @public
4601
+ * @override
4602
+ */
4603
+ proto.sniipbillerapi.GetBillerValidationStatusRequest.displayName = 'proto.sniipbillerapi.GetBillerValidationStatusRequest';
4604
+ }
4605
+ /**
4606
+ * Generated by JsPbCodeGenerator.
4607
+ * @param {Array=} opt_data Optional initial data array, typically from a
4608
+ * server response, or constructed directly in Javascript. The array is used
4609
+ * in place and becomes part of the constructed object. It is not cloned.
4610
+ * If no data is provided, the constructed object will be empty, but still
4611
+ * valid.
4612
+ * @extends {jspb.Message}
4613
+ * @constructor
4614
+ */
4615
+ proto.sniipbillerapi.CheckResult = function(opt_data) {
4616
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4617
+ };
4618
+ goog.inherits(proto.sniipbillerapi.CheckResult, jspb.Message);
4619
+ if (goog.DEBUG && !COMPILED) {
4620
+ /**
4621
+ * @public
4622
+ * @override
4623
+ */
4624
+ proto.sniipbillerapi.CheckResult.displayName = 'proto.sniipbillerapi.CheckResult';
4625
+ }
4626
+ /**
4627
+ * Generated by JsPbCodeGenerator.
4628
+ * @param {Array=} opt_data Optional initial data array, typically from a
4629
+ * server response, or constructed directly in Javascript. The array is used
4630
+ * in place and becomes part of the constructed object. It is not cloned.
4631
+ * If no data is provided, the constructed object will be empty, but still
4632
+ * valid.
4633
+ * @extends {jspb.Message}
4634
+ * @constructor
4635
+ */
4636
+ proto.sniipbillerapi.BillerValidationStatus = function(opt_data) {
4637
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4638
+ };
4639
+ goog.inherits(proto.sniipbillerapi.BillerValidationStatus, jspb.Message);
4640
+ if (goog.DEBUG && !COMPILED) {
4641
+ /**
4642
+ * @public
4643
+ * @override
4644
+ */
4645
+ proto.sniipbillerapi.BillerValidationStatus.displayName = 'proto.sniipbillerapi.BillerValidationStatus';
4646
+ }
4581
4647
 
4582
4648
 
4583
4649
 
@@ -55134,6 +55200,579 @@ proto.sniipbillerapi.SniipToBpayMigrationConfigBatchResponse.prototype.clearMigr
55134
55200
  };
55135
55201
 
55136
55202
 
55203
+
55204
+
55205
+
55206
+ if (jspb.Message.GENERATE_TO_OBJECT) {
55207
+ /**
55208
+ * Creates an object representation of this proto.
55209
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
55210
+ * Optional fields that are not set will be set to undefined.
55211
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55212
+ * For the list of reserved names please see:
55213
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
55214
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
55215
+ * JSPB instance for transitional soy proto support:
55216
+ * http://goto/soy-param-migration
55217
+ * @return {!Object}
55218
+ */
55219
+ proto.sniipbillerapi.GetBillerValidationStatusRequest.prototype.toObject = function(opt_includeInstance) {
55220
+ return proto.sniipbillerapi.GetBillerValidationStatusRequest.toObject(opt_includeInstance, this);
55221
+ };
55222
+
55223
+
55224
+ /**
55225
+ * Static version of the {@see toObject} method.
55226
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
55227
+ * the JSPB instance for transitional soy proto support:
55228
+ * http://goto/soy-param-migration
55229
+ * @param {!proto.sniipbillerapi.GetBillerValidationStatusRequest} msg The msg instance to transform.
55230
+ * @return {!Object}
55231
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55232
+ */
55233
+ proto.sniipbillerapi.GetBillerValidationStatusRequest.toObject = function(includeInstance, msg) {
55234
+ var f, obj = {
55235
+ abn: jspb.Message.getFieldWithDefault(msg, 1, "")
55236
+ };
55237
+
55238
+ if (includeInstance) {
55239
+ obj.$jspbMessageInstance = msg;
55240
+ }
55241
+ return obj;
55242
+ };
55243
+ }
55244
+
55245
+
55246
+ /**
55247
+ * Deserializes binary data (in protobuf wire format).
55248
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
55249
+ * @return {!proto.sniipbillerapi.GetBillerValidationStatusRequest}
55250
+ */
55251
+ proto.sniipbillerapi.GetBillerValidationStatusRequest.deserializeBinary = function(bytes) {
55252
+ var reader = new jspb.BinaryReader(bytes);
55253
+ var msg = new proto.sniipbillerapi.GetBillerValidationStatusRequest;
55254
+ return proto.sniipbillerapi.GetBillerValidationStatusRequest.deserializeBinaryFromReader(msg, reader);
55255
+ };
55256
+
55257
+
55258
+ /**
55259
+ * Deserializes binary data (in protobuf wire format) from the
55260
+ * given reader into the given message object.
55261
+ * @param {!proto.sniipbillerapi.GetBillerValidationStatusRequest} msg The message object to deserialize into.
55262
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
55263
+ * @return {!proto.sniipbillerapi.GetBillerValidationStatusRequest}
55264
+ */
55265
+ proto.sniipbillerapi.GetBillerValidationStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
55266
+ while (reader.nextField()) {
55267
+ if (reader.isEndGroup()) {
55268
+ break;
55269
+ }
55270
+ var field = reader.getFieldNumber();
55271
+ switch (field) {
55272
+ case 1:
55273
+ var value = /** @type {string} */ (reader.readString());
55274
+ msg.setAbn(value);
55275
+ break;
55276
+ default:
55277
+ reader.skipField();
55278
+ break;
55279
+ }
55280
+ }
55281
+ return msg;
55282
+ };
55283
+
55284
+
55285
+ /**
55286
+ * Serializes the message to binary data (in protobuf wire format).
55287
+ * @return {!Uint8Array}
55288
+ */
55289
+ proto.sniipbillerapi.GetBillerValidationStatusRequest.prototype.serializeBinary = function() {
55290
+ var writer = new jspb.BinaryWriter();
55291
+ proto.sniipbillerapi.GetBillerValidationStatusRequest.serializeBinaryToWriter(this, writer);
55292
+ return writer.getResultBuffer();
55293
+ };
55294
+
55295
+
55296
+ /**
55297
+ * Serializes the given message to binary data (in protobuf wire
55298
+ * format), writing to the given BinaryWriter.
55299
+ * @param {!proto.sniipbillerapi.GetBillerValidationStatusRequest} message
55300
+ * @param {!jspb.BinaryWriter} writer
55301
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55302
+ */
55303
+ proto.sniipbillerapi.GetBillerValidationStatusRequest.serializeBinaryToWriter = function(message, writer) {
55304
+ var f = undefined;
55305
+ f = message.getAbn();
55306
+ if (f.length > 0) {
55307
+ writer.writeString(
55308
+ 1,
55309
+ f
55310
+ );
55311
+ }
55312
+ };
55313
+
55314
+
55315
+ /**
55316
+ * optional string abn = 1;
55317
+ * @return {string}
55318
+ */
55319
+ proto.sniipbillerapi.GetBillerValidationStatusRequest.prototype.getAbn = function() {
55320
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
55321
+ };
55322
+
55323
+
55324
+ /**
55325
+ * @param {string} value
55326
+ * @return {!proto.sniipbillerapi.GetBillerValidationStatusRequest} returns this
55327
+ */
55328
+ proto.sniipbillerapi.GetBillerValidationStatusRequest.prototype.setAbn = function(value) {
55329
+ return jspb.Message.setProto3StringField(this, 1, value);
55330
+ };
55331
+
55332
+
55333
+
55334
+
55335
+
55336
+ if (jspb.Message.GENERATE_TO_OBJECT) {
55337
+ /**
55338
+ * Creates an object representation of this proto.
55339
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
55340
+ * Optional fields that are not set will be set to undefined.
55341
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55342
+ * For the list of reserved names please see:
55343
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
55344
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
55345
+ * JSPB instance for transitional soy proto support:
55346
+ * http://goto/soy-param-migration
55347
+ * @return {!Object}
55348
+ */
55349
+ proto.sniipbillerapi.CheckResult.prototype.toObject = function(opt_includeInstance) {
55350
+ return proto.sniipbillerapi.CheckResult.toObject(opt_includeInstance, this);
55351
+ };
55352
+
55353
+
55354
+ /**
55355
+ * Static version of the {@see toObject} method.
55356
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
55357
+ * the JSPB instance for transitional soy proto support:
55358
+ * http://goto/soy-param-migration
55359
+ * @param {!proto.sniipbillerapi.CheckResult} msg The msg instance to transform.
55360
+ * @return {!Object}
55361
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55362
+ */
55363
+ proto.sniipbillerapi.CheckResult.toObject = function(includeInstance, msg) {
55364
+ var f, obj = {
55365
+ present: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
55366
+ reason: jspb.Message.getFieldWithDefault(msg, 2, "")
55367
+ };
55368
+
55369
+ if (includeInstance) {
55370
+ obj.$jspbMessageInstance = msg;
55371
+ }
55372
+ return obj;
55373
+ };
55374
+ }
55375
+
55376
+
55377
+ /**
55378
+ * Deserializes binary data (in protobuf wire format).
55379
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
55380
+ * @return {!proto.sniipbillerapi.CheckResult}
55381
+ */
55382
+ proto.sniipbillerapi.CheckResult.deserializeBinary = function(bytes) {
55383
+ var reader = new jspb.BinaryReader(bytes);
55384
+ var msg = new proto.sniipbillerapi.CheckResult;
55385
+ return proto.sniipbillerapi.CheckResult.deserializeBinaryFromReader(msg, reader);
55386
+ };
55387
+
55388
+
55389
+ /**
55390
+ * Deserializes binary data (in protobuf wire format) from the
55391
+ * given reader into the given message object.
55392
+ * @param {!proto.sniipbillerapi.CheckResult} msg The message object to deserialize into.
55393
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
55394
+ * @return {!proto.sniipbillerapi.CheckResult}
55395
+ */
55396
+ proto.sniipbillerapi.CheckResult.deserializeBinaryFromReader = function(msg, reader) {
55397
+ while (reader.nextField()) {
55398
+ if (reader.isEndGroup()) {
55399
+ break;
55400
+ }
55401
+ var field = reader.getFieldNumber();
55402
+ switch (field) {
55403
+ case 1:
55404
+ var value = /** @type {boolean} */ (reader.readBool());
55405
+ msg.setPresent(value);
55406
+ break;
55407
+ case 2:
55408
+ var value = /** @type {string} */ (reader.readString());
55409
+ msg.setReason(value);
55410
+ break;
55411
+ default:
55412
+ reader.skipField();
55413
+ break;
55414
+ }
55415
+ }
55416
+ return msg;
55417
+ };
55418
+
55419
+
55420
+ /**
55421
+ * Serializes the message to binary data (in protobuf wire format).
55422
+ * @return {!Uint8Array}
55423
+ */
55424
+ proto.sniipbillerapi.CheckResult.prototype.serializeBinary = function() {
55425
+ var writer = new jspb.BinaryWriter();
55426
+ proto.sniipbillerapi.CheckResult.serializeBinaryToWriter(this, writer);
55427
+ return writer.getResultBuffer();
55428
+ };
55429
+
55430
+
55431
+ /**
55432
+ * Serializes the given message to binary data (in protobuf wire
55433
+ * format), writing to the given BinaryWriter.
55434
+ * @param {!proto.sniipbillerapi.CheckResult} message
55435
+ * @param {!jspb.BinaryWriter} writer
55436
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55437
+ */
55438
+ proto.sniipbillerapi.CheckResult.serializeBinaryToWriter = function(message, writer) {
55439
+ var f = undefined;
55440
+ f = message.getPresent();
55441
+ if (f) {
55442
+ writer.writeBool(
55443
+ 1,
55444
+ f
55445
+ );
55446
+ }
55447
+ f = message.getReason();
55448
+ if (f.length > 0) {
55449
+ writer.writeString(
55450
+ 2,
55451
+ f
55452
+ );
55453
+ }
55454
+ };
55455
+
55456
+
55457
+ /**
55458
+ * optional bool present = 1;
55459
+ * @return {boolean}
55460
+ */
55461
+ proto.sniipbillerapi.CheckResult.prototype.getPresent = function() {
55462
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
55463
+ };
55464
+
55465
+
55466
+ /**
55467
+ * @param {boolean} value
55468
+ * @return {!proto.sniipbillerapi.CheckResult} returns this
55469
+ */
55470
+ proto.sniipbillerapi.CheckResult.prototype.setPresent = function(value) {
55471
+ return jspb.Message.setProto3BooleanField(this, 1, value);
55472
+ };
55473
+
55474
+
55475
+ /**
55476
+ * optional string reason = 2;
55477
+ * @return {string}
55478
+ */
55479
+ proto.sniipbillerapi.CheckResult.prototype.getReason = function() {
55480
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
55481
+ };
55482
+
55483
+
55484
+ /**
55485
+ * @param {string} value
55486
+ * @return {!proto.sniipbillerapi.CheckResult} returns this
55487
+ */
55488
+ proto.sniipbillerapi.CheckResult.prototype.setReason = function(value) {
55489
+ return jspb.Message.setProto3StringField(this, 2, value);
55490
+ };
55491
+
55492
+
55493
+
55494
+
55495
+
55496
+ if (jspb.Message.GENERATE_TO_OBJECT) {
55497
+ /**
55498
+ * Creates an object representation of this proto.
55499
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
55500
+ * Optional fields that are not set will be set to undefined.
55501
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55502
+ * For the list of reserved names please see:
55503
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
55504
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
55505
+ * JSPB instance for transitional soy proto support:
55506
+ * http://goto/soy-param-migration
55507
+ * @return {!Object}
55508
+ */
55509
+ proto.sniipbillerapi.BillerValidationStatus.prototype.toObject = function(opt_includeInstance) {
55510
+ return proto.sniipbillerapi.BillerValidationStatus.toObject(opt_includeInstance, this);
55511
+ };
55512
+
55513
+
55514
+ /**
55515
+ * Static version of the {@see toObject} method.
55516
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
55517
+ * the JSPB instance for transitional soy proto support:
55518
+ * http://goto/soy-param-migration
55519
+ * @param {!proto.sniipbillerapi.BillerValidationStatus} msg The msg instance to transform.
55520
+ * @return {!Object}
55521
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55522
+ */
55523
+ proto.sniipbillerapi.BillerValidationStatus.toObject = function(includeInstance, msg) {
55524
+ var f, obj = {
55525
+ abn: jspb.Message.getFieldWithDefault(msg, 1, ""),
55526
+ industryCode: (f = msg.getIndustryCode()) && proto.sniipbillerapi.CheckResult.toObject(includeInstance, f),
55527
+ logo: (f = msg.getLogo()) && proto.sniipbillerapi.CheckResult.toObject(includeInstance, f),
55528
+ bankDetails: (f = msg.getBankDetails()) && proto.sniipbillerapi.CheckResult.toObject(includeInstance, f)
55529
+ };
55530
+
55531
+ if (includeInstance) {
55532
+ obj.$jspbMessageInstance = msg;
55533
+ }
55534
+ return obj;
55535
+ };
55536
+ }
55537
+
55538
+
55539
+ /**
55540
+ * Deserializes binary data (in protobuf wire format).
55541
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
55542
+ * @return {!proto.sniipbillerapi.BillerValidationStatus}
55543
+ */
55544
+ proto.sniipbillerapi.BillerValidationStatus.deserializeBinary = function(bytes) {
55545
+ var reader = new jspb.BinaryReader(bytes);
55546
+ var msg = new proto.sniipbillerapi.BillerValidationStatus;
55547
+ return proto.sniipbillerapi.BillerValidationStatus.deserializeBinaryFromReader(msg, reader);
55548
+ };
55549
+
55550
+
55551
+ /**
55552
+ * Deserializes binary data (in protobuf wire format) from the
55553
+ * given reader into the given message object.
55554
+ * @param {!proto.sniipbillerapi.BillerValidationStatus} msg The message object to deserialize into.
55555
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
55556
+ * @return {!proto.sniipbillerapi.BillerValidationStatus}
55557
+ */
55558
+ proto.sniipbillerapi.BillerValidationStatus.deserializeBinaryFromReader = function(msg, reader) {
55559
+ while (reader.nextField()) {
55560
+ if (reader.isEndGroup()) {
55561
+ break;
55562
+ }
55563
+ var field = reader.getFieldNumber();
55564
+ switch (field) {
55565
+ case 1:
55566
+ var value = /** @type {string} */ (reader.readString());
55567
+ msg.setAbn(value);
55568
+ break;
55569
+ case 2:
55570
+ var value = new proto.sniipbillerapi.CheckResult;
55571
+ reader.readMessage(value,proto.sniipbillerapi.CheckResult.deserializeBinaryFromReader);
55572
+ msg.setIndustryCode(value);
55573
+ break;
55574
+ case 3:
55575
+ var value = new proto.sniipbillerapi.CheckResult;
55576
+ reader.readMessage(value,proto.sniipbillerapi.CheckResult.deserializeBinaryFromReader);
55577
+ msg.setLogo(value);
55578
+ break;
55579
+ case 4:
55580
+ var value = new proto.sniipbillerapi.CheckResult;
55581
+ reader.readMessage(value,proto.sniipbillerapi.CheckResult.deserializeBinaryFromReader);
55582
+ msg.setBankDetails(value);
55583
+ break;
55584
+ default:
55585
+ reader.skipField();
55586
+ break;
55587
+ }
55588
+ }
55589
+ return msg;
55590
+ };
55591
+
55592
+
55593
+ /**
55594
+ * Serializes the message to binary data (in protobuf wire format).
55595
+ * @return {!Uint8Array}
55596
+ */
55597
+ proto.sniipbillerapi.BillerValidationStatus.prototype.serializeBinary = function() {
55598
+ var writer = new jspb.BinaryWriter();
55599
+ proto.sniipbillerapi.BillerValidationStatus.serializeBinaryToWriter(this, writer);
55600
+ return writer.getResultBuffer();
55601
+ };
55602
+
55603
+
55604
+ /**
55605
+ * Serializes the given message to binary data (in protobuf wire
55606
+ * format), writing to the given BinaryWriter.
55607
+ * @param {!proto.sniipbillerapi.BillerValidationStatus} message
55608
+ * @param {!jspb.BinaryWriter} writer
55609
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55610
+ */
55611
+ proto.sniipbillerapi.BillerValidationStatus.serializeBinaryToWriter = function(message, writer) {
55612
+ var f = undefined;
55613
+ f = message.getAbn();
55614
+ if (f.length > 0) {
55615
+ writer.writeString(
55616
+ 1,
55617
+ f
55618
+ );
55619
+ }
55620
+ f = message.getIndustryCode();
55621
+ if (f != null) {
55622
+ writer.writeMessage(
55623
+ 2,
55624
+ f,
55625
+ proto.sniipbillerapi.CheckResult.serializeBinaryToWriter
55626
+ );
55627
+ }
55628
+ f = message.getLogo();
55629
+ if (f != null) {
55630
+ writer.writeMessage(
55631
+ 3,
55632
+ f,
55633
+ proto.sniipbillerapi.CheckResult.serializeBinaryToWriter
55634
+ );
55635
+ }
55636
+ f = message.getBankDetails();
55637
+ if (f != null) {
55638
+ writer.writeMessage(
55639
+ 4,
55640
+ f,
55641
+ proto.sniipbillerapi.CheckResult.serializeBinaryToWriter
55642
+ );
55643
+ }
55644
+ };
55645
+
55646
+
55647
+ /**
55648
+ * optional string abn = 1;
55649
+ * @return {string}
55650
+ */
55651
+ proto.sniipbillerapi.BillerValidationStatus.prototype.getAbn = function() {
55652
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
55653
+ };
55654
+
55655
+
55656
+ /**
55657
+ * @param {string} value
55658
+ * @return {!proto.sniipbillerapi.BillerValidationStatus} returns this
55659
+ */
55660
+ proto.sniipbillerapi.BillerValidationStatus.prototype.setAbn = function(value) {
55661
+ return jspb.Message.setProto3StringField(this, 1, value);
55662
+ };
55663
+
55664
+
55665
+ /**
55666
+ * optional CheckResult industry_code = 2;
55667
+ * @return {?proto.sniipbillerapi.CheckResult}
55668
+ */
55669
+ proto.sniipbillerapi.BillerValidationStatus.prototype.getIndustryCode = function() {
55670
+ return /** @type{?proto.sniipbillerapi.CheckResult} */ (
55671
+ jspb.Message.getWrapperField(this, proto.sniipbillerapi.CheckResult, 2));
55672
+ };
55673
+
55674
+
55675
+ /**
55676
+ * @param {?proto.sniipbillerapi.CheckResult|undefined} value
55677
+ * @return {!proto.sniipbillerapi.BillerValidationStatus} returns this
55678
+ */
55679
+ proto.sniipbillerapi.BillerValidationStatus.prototype.setIndustryCode = function(value) {
55680
+ return jspb.Message.setWrapperField(this, 2, value);
55681
+ };
55682
+
55683
+
55684
+ /**
55685
+ * Clears the message field making it undefined.
55686
+ * @return {!proto.sniipbillerapi.BillerValidationStatus} returns this
55687
+ */
55688
+ proto.sniipbillerapi.BillerValidationStatus.prototype.clearIndustryCode = function() {
55689
+ return this.setIndustryCode(undefined);
55690
+ };
55691
+
55692
+
55693
+ /**
55694
+ * Returns whether this field is set.
55695
+ * @return {boolean}
55696
+ */
55697
+ proto.sniipbillerapi.BillerValidationStatus.prototype.hasIndustryCode = function() {
55698
+ return jspb.Message.getField(this, 2) != null;
55699
+ };
55700
+
55701
+
55702
+ /**
55703
+ * optional CheckResult logo = 3;
55704
+ * @return {?proto.sniipbillerapi.CheckResult}
55705
+ */
55706
+ proto.sniipbillerapi.BillerValidationStatus.prototype.getLogo = function() {
55707
+ return /** @type{?proto.sniipbillerapi.CheckResult} */ (
55708
+ jspb.Message.getWrapperField(this, proto.sniipbillerapi.CheckResult, 3));
55709
+ };
55710
+
55711
+
55712
+ /**
55713
+ * @param {?proto.sniipbillerapi.CheckResult|undefined} value
55714
+ * @return {!proto.sniipbillerapi.BillerValidationStatus} returns this
55715
+ */
55716
+ proto.sniipbillerapi.BillerValidationStatus.prototype.setLogo = function(value) {
55717
+ return jspb.Message.setWrapperField(this, 3, value);
55718
+ };
55719
+
55720
+
55721
+ /**
55722
+ * Clears the message field making it undefined.
55723
+ * @return {!proto.sniipbillerapi.BillerValidationStatus} returns this
55724
+ */
55725
+ proto.sniipbillerapi.BillerValidationStatus.prototype.clearLogo = function() {
55726
+ return this.setLogo(undefined);
55727
+ };
55728
+
55729
+
55730
+ /**
55731
+ * Returns whether this field is set.
55732
+ * @return {boolean}
55733
+ */
55734
+ proto.sniipbillerapi.BillerValidationStatus.prototype.hasLogo = function() {
55735
+ return jspb.Message.getField(this, 3) != null;
55736
+ };
55737
+
55738
+
55739
+ /**
55740
+ * optional CheckResult bank_details = 4;
55741
+ * @return {?proto.sniipbillerapi.CheckResult}
55742
+ */
55743
+ proto.sniipbillerapi.BillerValidationStatus.prototype.getBankDetails = function() {
55744
+ return /** @type{?proto.sniipbillerapi.CheckResult} */ (
55745
+ jspb.Message.getWrapperField(this, proto.sniipbillerapi.CheckResult, 4));
55746
+ };
55747
+
55748
+
55749
+ /**
55750
+ * @param {?proto.sniipbillerapi.CheckResult|undefined} value
55751
+ * @return {!proto.sniipbillerapi.BillerValidationStatus} returns this
55752
+ */
55753
+ proto.sniipbillerapi.BillerValidationStatus.prototype.setBankDetails = function(value) {
55754
+ return jspb.Message.setWrapperField(this, 4, value);
55755
+ };
55756
+
55757
+
55758
+ /**
55759
+ * Clears the message field making it undefined.
55760
+ * @return {!proto.sniipbillerapi.BillerValidationStatus} returns this
55761
+ */
55762
+ proto.sniipbillerapi.BillerValidationStatus.prototype.clearBankDetails = function() {
55763
+ return this.setBankDetails(undefined);
55764
+ };
55765
+
55766
+
55767
+ /**
55768
+ * Returns whether this field is set.
55769
+ * @return {boolean}
55770
+ */
55771
+ proto.sniipbillerapi.BillerValidationStatus.prototype.hasBankDetails = function() {
55772
+ return jspb.Message.getField(this, 4) != null;
55773
+ };
55774
+
55775
+
55137
55776
  /**
55138
55777
  * @enum {number}
55139
55778
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/biller-service-client-grpcweb",
3
- "version": "26.4.9641",
3
+ "version": "26.5.9665",
4
4
  "description": "biller-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",