@sniipwebmaster/bill-service-client-grpcweb 25.11.14557 → 25.11.14583

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.
@@ -9482,7 +9482,7 @@ proto.sniipbillapi.BillCreateRequest.prototype.setInvoicenumber = function(value
9482
9482
  * @private {!Array<number>}
9483
9483
  * @const
9484
9484
  */
9485
- proto.sniipbillapi.BillCreateRequestV2.repeatedFields_ = [23];
9485
+ proto.sniipbillapi.BillCreateRequestV2.repeatedFields_ = [23,28];
9486
9486
 
9487
9487
 
9488
9488
 
@@ -9542,7 +9542,9 @@ proto.sniipbillapi.BillCreateRequestV2.toObject = function(includeInstance, msg)
9542
9542
  isagentbill: jspb.Message.getBooleanFieldWithDefault(msg, 24, false),
9543
9543
  requiresdraftreview: jspb.Message.getBooleanFieldWithDefault(msg, 25, false),
9544
9544
  affiliationconfirmationisgiven: jspb.Message.getBooleanFieldWithDefault(msg, 26, false),
9545
- externalid: jspb.Message.getFieldWithDefault(msg, 27, "")
9545
+ externalid: jspb.Message.getFieldWithDefault(msg, 27, ""),
9546
+ virtualbillsList: jspb.Message.toObjectList(msg.getVirtualbillsList(),
9547
+ proto.sniipbillapi.VirtualBill.toObject, includeInstance)
9546
9548
  };
9547
9549
 
9548
9550
  if (includeInstance) {
@@ -9688,6 +9690,11 @@ proto.sniipbillapi.BillCreateRequestV2.deserializeBinaryFromReader = function(ms
9688
9690
  var value = /** @type {string} */ (reader.readString());
9689
9691
  msg.setExternalid(value);
9690
9692
  break;
9693
+ case 28:
9694
+ var value = new proto.sniipbillapi.VirtualBill;
9695
+ reader.readMessage(value,proto.sniipbillapi.VirtualBill.deserializeBinaryFromReader);
9696
+ msg.addVirtualbills(value);
9697
+ break;
9691
9698
  default:
9692
9699
  reader.skipField();
9693
9700
  break;
@@ -9907,6 +9914,14 @@ proto.sniipbillapi.BillCreateRequestV2.serializeBinaryToWriter = function(messag
9907
9914
  f
9908
9915
  );
9909
9916
  }
9917
+ f = message.getVirtualbillsList();
9918
+ if (f.length > 0) {
9919
+ writer.writeRepeatedMessage(
9920
+ 28,
9921
+ f,
9922
+ proto.sniipbillapi.VirtualBill.serializeBinaryToWriter
9923
+ );
9924
+ }
9910
9925
  };
9911
9926
 
9912
9927
 
@@ -10416,6 +10431,44 @@ proto.sniipbillapi.BillCreateRequestV2.prototype.setExternalid = function(value)
10416
10431
  };
10417
10432
 
10418
10433
 
10434
+ /**
10435
+ * repeated VirtualBill virtualBills = 28;
10436
+ * @return {!Array<!proto.sniipbillapi.VirtualBill>}
10437
+ */
10438
+ proto.sniipbillapi.BillCreateRequestV2.prototype.getVirtualbillsList = function() {
10439
+ return /** @type{!Array<!proto.sniipbillapi.VirtualBill>} */ (
10440
+ jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.VirtualBill, 28));
10441
+ };
10442
+
10443
+
10444
+ /**
10445
+ * @param {!Array<!proto.sniipbillapi.VirtualBill>} value
10446
+ * @return {!proto.sniipbillapi.BillCreateRequestV2} returns this
10447
+ */
10448
+ proto.sniipbillapi.BillCreateRequestV2.prototype.setVirtualbillsList = function(value) {
10449
+ return jspb.Message.setRepeatedWrapperField(this, 28, value);
10450
+ };
10451
+
10452
+
10453
+ /**
10454
+ * @param {!proto.sniipbillapi.VirtualBill=} opt_value
10455
+ * @param {number=} opt_index
10456
+ * @return {!proto.sniipbillapi.VirtualBill}
10457
+ */
10458
+ proto.sniipbillapi.BillCreateRequestV2.prototype.addVirtualbills = function(opt_value, opt_index) {
10459
+ return jspb.Message.addToRepeatedWrapperField(this, 28, opt_value, proto.sniipbillapi.VirtualBill, opt_index);
10460
+ };
10461
+
10462
+
10463
+ /**
10464
+ * Clears the list making it empty but non-null.
10465
+ * @return {!proto.sniipbillapi.BillCreateRequestV2} returns this
10466
+ */
10467
+ proto.sniipbillapi.BillCreateRequestV2.prototype.clearVirtualbillsList = function() {
10468
+ return this.setVirtualbillsList([]);
10469
+ };
10470
+
10471
+
10419
10472
 
10420
10473
 
10421
10474
 
@@ -13228,12 +13281,14 @@ proto.sniipbillapi.VirtualBill.prototype.toObject = function(opt_includeInstance
13228
13281
  proto.sniipbillapi.VirtualBill.toObject = function(includeInstance, msg) {
13229
13282
  var f, obj = {
13230
13283
  virtualbillid: jspb.Message.getFieldWithDefault(msg, 1, 0),
13231
- parentbillid: jspb.Message.getFieldWithDefault(msg, 2, 0),
13284
+ billid: jspb.Message.getFieldWithDefault(msg, 2, 0),
13232
13285
  amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
13233
- rewardamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
13234
13286
  billercode: jspb.Message.getFieldWithDefault(msg, 5, ""),
13235
13287
  billerconfigid: jspb.Message.getFieldWithDefault(msg, 6, 0),
13236
- reference: jspb.Message.getFieldWithDefault(msg, 7, "")
13288
+ reference: jspb.Message.getFieldWithDefault(msg, 7, ""),
13289
+ bankaccountname: jspb.Message.getFieldWithDefault(msg, 8, ""),
13290
+ invoicenumber: jspb.Message.getFieldWithDefault(msg, 9, ""),
13291
+ paymentprocessor: jspb.Message.getFieldWithDefault(msg, 10, "")
13237
13292
  };
13238
13293
 
13239
13294
  if (includeInstance) {
@@ -13276,16 +13331,12 @@ proto.sniipbillapi.VirtualBill.deserializeBinaryFromReader = function(msg, reade
13276
13331
  break;
13277
13332
  case 2:
13278
13333
  var value = /** @type {number} */ (reader.readInt64());
13279
- msg.setParentbillid(value);
13334
+ msg.setBillid(value);
13280
13335
  break;
13281
13336
  case 3:
13282
13337
  var value = /** @type {number} */ (reader.readDouble());
13283
13338
  msg.setAmount(value);
13284
13339
  break;
13285
- case 4:
13286
- var value = /** @type {number} */ (reader.readDouble());
13287
- msg.setRewardamount(value);
13288
- break;
13289
13340
  case 5:
13290
13341
  var value = /** @type {string} */ (reader.readString());
13291
13342
  msg.setBillercode(value);
@@ -13298,6 +13349,18 @@ proto.sniipbillapi.VirtualBill.deserializeBinaryFromReader = function(msg, reade
13298
13349
  var value = /** @type {string} */ (reader.readString());
13299
13350
  msg.setReference(value);
13300
13351
  break;
13352
+ case 8:
13353
+ var value = /** @type {string} */ (reader.readString());
13354
+ msg.setBankaccountname(value);
13355
+ break;
13356
+ case 9:
13357
+ var value = /** @type {string} */ (reader.readString());
13358
+ msg.setInvoicenumber(value);
13359
+ break;
13360
+ case 10:
13361
+ var value = /** @type {string} */ (reader.readString());
13362
+ msg.setPaymentprocessor(value);
13363
+ break;
13301
13364
  default:
13302
13365
  reader.skipField();
13303
13366
  break;
@@ -13334,7 +13397,7 @@ proto.sniipbillapi.VirtualBill.serializeBinaryToWriter = function(message, write
13334
13397
  f
13335
13398
  );
13336
13399
  }
13337
- f = message.getParentbillid();
13400
+ f = message.getBillid();
13338
13401
  if (f !== 0) {
13339
13402
  writer.writeInt64(
13340
13403
  2,
@@ -13348,13 +13411,6 @@ proto.sniipbillapi.VirtualBill.serializeBinaryToWriter = function(message, write
13348
13411
  f
13349
13412
  );
13350
13413
  }
13351
- f = message.getRewardamount();
13352
- if (f !== 0.0) {
13353
- writer.writeDouble(
13354
- 4,
13355
- f
13356
- );
13357
- }
13358
13414
  f = message.getBillercode();
13359
13415
  if (f.length > 0) {
13360
13416
  writer.writeString(
@@ -13376,6 +13432,27 @@ proto.sniipbillapi.VirtualBill.serializeBinaryToWriter = function(message, write
13376
13432
  f
13377
13433
  );
13378
13434
  }
13435
+ f = message.getBankaccountname();
13436
+ if (f.length > 0) {
13437
+ writer.writeString(
13438
+ 8,
13439
+ f
13440
+ );
13441
+ }
13442
+ f = message.getInvoicenumber();
13443
+ if (f.length > 0) {
13444
+ writer.writeString(
13445
+ 9,
13446
+ f
13447
+ );
13448
+ }
13449
+ f = message.getPaymentprocessor();
13450
+ if (f.length > 0) {
13451
+ writer.writeString(
13452
+ 10,
13453
+ f
13454
+ );
13455
+ }
13379
13456
  };
13380
13457
 
13381
13458
 
@@ -13398,10 +13475,10 @@ proto.sniipbillapi.VirtualBill.prototype.setVirtualbillid = function(value) {
13398
13475
 
13399
13476
 
13400
13477
  /**
13401
- * optional int64 parentBillId = 2;
13478
+ * optional int64 billId = 2;
13402
13479
  * @return {number}
13403
13480
  */
13404
- proto.sniipbillapi.VirtualBill.prototype.getParentbillid = function() {
13481
+ proto.sniipbillapi.VirtualBill.prototype.getBillid = function() {
13405
13482
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
13406
13483
  };
13407
13484
 
@@ -13410,7 +13487,7 @@ proto.sniipbillapi.VirtualBill.prototype.getParentbillid = function() {
13410
13487
  * @param {number} value
13411
13488
  * @return {!proto.sniipbillapi.VirtualBill} returns this
13412
13489
  */
13413
- proto.sniipbillapi.VirtualBill.prototype.setParentbillid = function(value) {
13490
+ proto.sniipbillapi.VirtualBill.prototype.setBillid = function(value) {
13414
13491
  return jspb.Message.setProto3IntField(this, 2, value);
13415
13492
  };
13416
13493
 
@@ -13433,24 +13510,6 @@ proto.sniipbillapi.VirtualBill.prototype.setAmount = function(value) {
13433
13510
  };
13434
13511
 
13435
13512
 
13436
- /**
13437
- * optional double rewardAmount = 4;
13438
- * @return {number}
13439
- */
13440
- proto.sniipbillapi.VirtualBill.prototype.getRewardamount = function() {
13441
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
13442
- };
13443
-
13444
-
13445
- /**
13446
- * @param {number} value
13447
- * @return {!proto.sniipbillapi.VirtualBill} returns this
13448
- */
13449
- proto.sniipbillapi.VirtualBill.prototype.setRewardamount = function(value) {
13450
- return jspb.Message.setProto3FloatField(this, 4, value);
13451
- };
13452
-
13453
-
13454
13513
  /**
13455
13514
  * optional string billerCode = 5;
13456
13515
  * @return {string}
@@ -13505,6 +13564,60 @@ proto.sniipbillapi.VirtualBill.prototype.setReference = function(value) {
13505
13564
  };
13506
13565
 
13507
13566
 
13567
+ /**
13568
+ * optional string bankAccountName = 8;
13569
+ * @return {string}
13570
+ */
13571
+ proto.sniipbillapi.VirtualBill.prototype.getBankaccountname = function() {
13572
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
13573
+ };
13574
+
13575
+
13576
+ /**
13577
+ * @param {string} value
13578
+ * @return {!proto.sniipbillapi.VirtualBill} returns this
13579
+ */
13580
+ proto.sniipbillapi.VirtualBill.prototype.setBankaccountname = function(value) {
13581
+ return jspb.Message.setProto3StringField(this, 8, value);
13582
+ };
13583
+
13584
+
13585
+ /**
13586
+ * optional string invoiceNumber = 9;
13587
+ * @return {string}
13588
+ */
13589
+ proto.sniipbillapi.VirtualBill.prototype.getInvoicenumber = function() {
13590
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
13591
+ };
13592
+
13593
+
13594
+ /**
13595
+ * @param {string} value
13596
+ * @return {!proto.sniipbillapi.VirtualBill} returns this
13597
+ */
13598
+ proto.sniipbillapi.VirtualBill.prototype.setInvoicenumber = function(value) {
13599
+ return jspb.Message.setProto3StringField(this, 9, value);
13600
+ };
13601
+
13602
+
13603
+ /**
13604
+ * optional string paymentProcessor = 10;
13605
+ * @return {string}
13606
+ */
13607
+ proto.sniipbillapi.VirtualBill.prototype.getPaymentprocessor = function() {
13608
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
13609
+ };
13610
+
13611
+
13612
+ /**
13613
+ * @param {string} value
13614
+ * @return {!proto.sniipbillapi.VirtualBill} returns this
13615
+ */
13616
+ proto.sniipbillapi.VirtualBill.prototype.setPaymentprocessor = function(value) {
13617
+ return jspb.Message.setProto3StringField(this, 10, value);
13618
+ };
13619
+
13620
+
13508
13621
 
13509
13622
  /**
13510
13623
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "25.11.14557",
3
+ "version": "25.11.14583",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",