@sniipwebmaster/bill-service-client-grpcweb 0.2.3789 → 0.2.3811

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.
@@ -2057,7 +2057,8 @@ proto.sniipbillapi.BillCreateRequest.toObject = function(includeInstance, msg) {
2057
2057
  partialpaymentpermitted: msg.getPartialpaymentpermitted(),
2058
2058
  description: msg.getDescription(),
2059
2059
  sourceid: msg.getSourceid(),
2060
- category: msg.getCategory()
2060
+ category: msg.getCategory(),
2061
+ billid: msg.getBillid()
2061
2062
  };
2062
2063
 
2063
2064
  if (includeInstance) {
@@ -2163,6 +2164,10 @@ proto.sniipbillapi.BillCreateRequest.deserializeBinaryFromReader = function(msg,
2163
2164
  var value = /** @type {string} */ (reader.readString());
2164
2165
  msg.setCategory(value);
2165
2166
  break;
2167
+ case 18:
2168
+ var value = /** @type {number} */ (reader.readInt64());
2169
+ msg.setBillid(value);
2170
+ break;
2166
2171
  default:
2167
2172
  reader.skipField();
2168
2173
  break;
@@ -2320,6 +2325,13 @@ proto.sniipbillapi.BillCreateRequest.prototype.serializeBinaryToWriter = functio
2320
2325
  f
2321
2326
  );
2322
2327
  }
2328
+ f = this.getBillid();
2329
+ if (f !== 0) {
2330
+ writer.writeInt64(
2331
+ 18,
2332
+ f
2333
+ );
2334
+ }
2323
2335
  };
2324
2336
 
2325
2337
 
@@ -2596,6 +2608,21 @@ proto.sniipbillapi.BillCreateRequest.prototype.setCategory = function(value) {
2596
2608
  };
2597
2609
 
2598
2610
 
2611
+ /**
2612
+ * optional int64 billId = 18;
2613
+ * @return {number}
2614
+ */
2615
+ proto.sniipbillapi.BillCreateRequest.prototype.getBillid = function() {
2616
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 18, 0));
2617
+ };
2618
+
2619
+
2620
+ /** @param {number} value */
2621
+ proto.sniipbillapi.BillCreateRequest.prototype.setBillid = function(value) {
2622
+ jspb.Message.setField(this, 18, value);
2623
+ };
2624
+
2625
+
2599
2626
 
2600
2627
  /**
2601
2628
  * Generated by JsPbCodeGenerator.
@@ -10448,7 +10475,7 @@ proto.sniipbillapi.DraftBillCreateRequest.prototype.toObject = function(opt_incl
10448
10475
  */
10449
10476
  proto.sniipbillapi.DraftBillCreateRequest.toObject = function(includeInstance, msg) {
10450
10477
  var f, obj = {
10451
- billerid: msg.getBillerid(),
10478
+ billercode: msg.getBillercode(),
10452
10479
  paymentprocessor: msg.getPaymentprocessor(),
10453
10480
  type: msg.getType(),
10454
10481
  reference: msg.getReference(),
@@ -10496,8 +10523,8 @@ proto.sniipbillapi.DraftBillCreateRequest.deserializeBinaryFromReader = function
10496
10523
  var field = reader.getFieldNumber();
10497
10524
  switch (field) {
10498
10525
  case 1:
10499
- var value = /** @type {number} */ (reader.readInt64());
10500
- msg.setBillerid(value);
10526
+ var value = /** @type {string} */ (reader.readString());
10527
+ msg.setBillercode(value);
10501
10528
  break;
10502
10529
  case 2:
10503
10530
  var value = /** @type {!proto.sniipbillapi.BillScanType} */ (reader.readEnum());
@@ -10577,9 +10604,9 @@ proto.sniipbillapi.DraftBillCreateRequest.prototype.serializeBinary = function()
10577
10604
  */
10578
10605
  proto.sniipbillapi.DraftBillCreateRequest.prototype.serializeBinaryToWriter = function (writer) {
10579
10606
  var f = undefined;
10580
- f = this.getBillerid();
10581
- if (f !== 0) {
10582
- writer.writeInt64(
10607
+ f = this.getBillercode();
10608
+ if (f.length > 0) {
10609
+ writer.writeString(
10583
10610
  1,
10584
10611
  f
10585
10612
  );
@@ -10667,16 +10694,16 @@ proto.sniipbillapi.DraftBillCreateRequest.prototype.cloneMessage = function() {
10667
10694
 
10668
10695
 
10669
10696
  /**
10670
- * optional int64 billerId = 1;
10671
- * @return {number}
10697
+ * optional string billerCode = 1;
10698
+ * @return {string}
10672
10699
  */
10673
- proto.sniipbillapi.DraftBillCreateRequest.prototype.getBillerid = function() {
10674
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
10700
+ proto.sniipbillapi.DraftBillCreateRequest.prototype.getBillercode = function() {
10701
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
10675
10702
  };
10676
10703
 
10677
10704
 
10678
- /** @param {number} value */
10679
- proto.sniipbillapi.DraftBillCreateRequest.prototype.setBillerid = function(value) {
10705
+ /** @param {string} value */
10706
+ proto.sniipbillapi.DraftBillCreateRequest.prototype.setBillercode = function(value) {
10680
10707
  jspb.Message.setField(this, 1, value);
10681
10708
  };
10682
10709
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "0.2.3789",
3
+ "version": "0.2.3811",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",