@sniipwebmaster/bill-service-client-grpcweb 0.2.3927 → 0.2.3943

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.
@@ -2060,7 +2060,8 @@ proto.sniipbillapi.BillCreateRequest.toObject = function(includeInstance, msg) {
2060
2060
  description: msg.getDescription(),
2061
2061
  sourceid: msg.getSourceid(),
2062
2062
  category: msg.getCategory(),
2063
- billid: msg.getBillid()
2063
+ billid: msg.getBillid(),
2064
+ isduedateeditable: msg.getIsduedateeditable()
2064
2065
  };
2065
2066
 
2066
2067
  if (includeInstance) {
@@ -2170,6 +2171,10 @@ proto.sniipbillapi.BillCreateRequest.deserializeBinaryFromReader = function(msg,
2170
2171
  var value = /** @type {number} */ (reader.readInt64());
2171
2172
  msg.setBillid(value);
2172
2173
  break;
2174
+ case 19:
2175
+ var value = /** @type {boolean} */ (reader.readBool());
2176
+ msg.setIsduedateeditable(value);
2177
+ break;
2173
2178
  default:
2174
2179
  reader.skipField();
2175
2180
  break;
@@ -2334,6 +2339,13 @@ proto.sniipbillapi.BillCreateRequest.prototype.serializeBinaryToWriter = functio
2334
2339
  f
2335
2340
  );
2336
2341
  }
2342
+ f = this.getIsduedateeditable();
2343
+ if (f) {
2344
+ writer.writeBool(
2345
+ 19,
2346
+ f
2347
+ );
2348
+ }
2337
2349
  };
2338
2350
 
2339
2351
 
@@ -2625,6 +2637,23 @@ proto.sniipbillapi.BillCreateRequest.prototype.setBillid = function(value) {
2625
2637
  };
2626
2638
 
2627
2639
 
2640
+ /**
2641
+ * optional bool isDueDateEditable = 19;
2642
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
2643
+ * You should avoid comparisons like {@code val === true/false} in those cases.
2644
+ * @return {boolean}
2645
+ */
2646
+ proto.sniipbillapi.BillCreateRequest.prototype.getIsduedateeditable = function() {
2647
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 19, false));
2648
+ };
2649
+
2650
+
2651
+ /** @param {boolean} value */
2652
+ proto.sniipbillapi.BillCreateRequest.prototype.setIsduedateeditable = function(value) {
2653
+ jspb.Message.setField(this, 19, value);
2654
+ };
2655
+
2656
+
2628
2657
 
2629
2658
  /**
2630
2659
  * Generated by JsPbCodeGenerator.
@@ -10648,7 +10677,8 @@ proto.sniipbillapi.DraftBillCreateRequest.toObject = function(includeInstance, m
10648
10677
  scannedcontent: msg.getScannedcontent(),
10649
10678
  source: msg.getSource(),
10650
10679
  category: msg.getCategory(),
10651
- attachmentid: msg.getAttachmentid()
10680
+ attachmentid: msg.getAttachmentid(),
10681
+ isduedateeditable: msg.getIsduedateeditable()
10652
10682
  };
10653
10683
 
10654
10684
  if (includeInstance) {
@@ -10729,6 +10759,10 @@ proto.sniipbillapi.DraftBillCreateRequest.deserializeBinaryFromReader = function
10729
10759
  var value = /** @type {number} */ (reader.readInt64());
10730
10760
  msg.setAttachmentid(value);
10731
10761
  break;
10762
+ case 12:
10763
+ var value = /** @type {boolean} */ (reader.readBool());
10764
+ msg.setIsduedateeditable(value);
10765
+ break;
10732
10766
  default:
10733
10767
  reader.skipField();
10734
10768
  break;
@@ -10844,6 +10878,13 @@ proto.sniipbillapi.DraftBillCreateRequest.prototype.serializeBinaryToWriter = fu
10844
10878
  f
10845
10879
  );
10846
10880
  }
10881
+ f = this.getIsduedateeditable();
10882
+ if (f) {
10883
+ writer.writeBool(
10884
+ 12,
10885
+ f
10886
+ );
10887
+ }
10847
10888
  };
10848
10889
 
10849
10890
 
@@ -11021,6 +11062,23 @@ proto.sniipbillapi.DraftBillCreateRequest.prototype.setAttachmentid = function(v
11021
11062
  };
11022
11063
 
11023
11064
 
11065
+ /**
11066
+ * optional bool isDueDateEditable = 12;
11067
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
11068
+ * You should avoid comparisons like {@code val === true/false} in those cases.
11069
+ * @return {boolean}
11070
+ */
11071
+ proto.sniipbillapi.DraftBillCreateRequest.prototype.getIsduedateeditable = function() {
11072
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 12, false));
11073
+ };
11074
+
11075
+
11076
+ /** @param {boolean} value */
11077
+ proto.sniipbillapi.DraftBillCreateRequest.prototype.setIsduedateeditable = function(value) {
11078
+ jspb.Message.setField(this, 12, value);
11079
+ };
11080
+
11081
+
11024
11082
 
11025
11083
  /**
11026
11084
  * Generated by JsPbCodeGenerator.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "0.2.3927",
3
+ "version": "0.2.3943",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",