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

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,9 +13281,8 @@ 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
13288
  reference: jspb.Message.getFieldWithDefault(msg, 7, "")
@@ -13276,16 +13328,12 @@ proto.sniipbillapi.VirtualBill.deserializeBinaryFromReader = function(msg, reade
13276
13328
  break;
13277
13329
  case 2:
13278
13330
  var value = /** @type {number} */ (reader.readInt64());
13279
- msg.setParentbillid(value);
13331
+ msg.setBillid(value);
13280
13332
  break;
13281
13333
  case 3:
13282
13334
  var value = /** @type {number} */ (reader.readDouble());
13283
13335
  msg.setAmount(value);
13284
13336
  break;
13285
- case 4:
13286
- var value = /** @type {number} */ (reader.readDouble());
13287
- msg.setRewardamount(value);
13288
- break;
13289
13337
  case 5:
13290
13338
  var value = /** @type {string} */ (reader.readString());
13291
13339
  msg.setBillercode(value);
@@ -13334,7 +13382,7 @@ proto.sniipbillapi.VirtualBill.serializeBinaryToWriter = function(message, write
13334
13382
  f
13335
13383
  );
13336
13384
  }
13337
- f = message.getParentbillid();
13385
+ f = message.getBillid();
13338
13386
  if (f !== 0) {
13339
13387
  writer.writeInt64(
13340
13388
  2,
@@ -13348,13 +13396,6 @@ proto.sniipbillapi.VirtualBill.serializeBinaryToWriter = function(message, write
13348
13396
  f
13349
13397
  );
13350
13398
  }
13351
- f = message.getRewardamount();
13352
- if (f !== 0.0) {
13353
- writer.writeDouble(
13354
- 4,
13355
- f
13356
- );
13357
- }
13358
13399
  f = message.getBillercode();
13359
13400
  if (f.length > 0) {
13360
13401
  writer.writeString(
@@ -13398,10 +13439,10 @@ proto.sniipbillapi.VirtualBill.prototype.setVirtualbillid = function(value) {
13398
13439
 
13399
13440
 
13400
13441
  /**
13401
- * optional int64 parentBillId = 2;
13442
+ * optional int64 billId = 2;
13402
13443
  * @return {number}
13403
13444
  */
13404
- proto.sniipbillapi.VirtualBill.prototype.getParentbillid = function() {
13445
+ proto.sniipbillapi.VirtualBill.prototype.getBillid = function() {
13405
13446
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
13406
13447
  };
13407
13448
 
@@ -13410,7 +13451,7 @@ proto.sniipbillapi.VirtualBill.prototype.getParentbillid = function() {
13410
13451
  * @param {number} value
13411
13452
  * @return {!proto.sniipbillapi.VirtualBill} returns this
13412
13453
  */
13413
- proto.sniipbillapi.VirtualBill.prototype.setParentbillid = function(value) {
13454
+ proto.sniipbillapi.VirtualBill.prototype.setBillid = function(value) {
13414
13455
  return jspb.Message.setProto3IntField(this, 2, value);
13415
13456
  };
13416
13457
 
@@ -13433,24 +13474,6 @@ proto.sniipbillapi.VirtualBill.prototype.setAmount = function(value) {
13433
13474
  };
13434
13475
 
13435
13476
 
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
13477
  /**
13455
13478
  * optional string billerCode = 5;
13456
13479
  * @return {string}
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.14566",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",