@sniipwebmaster/bill-service-client-grpcweb 0.2.3927 → 0.2.3954
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.
- package/dependancies/service_pb.js +90 -3
- package/package.json +1 -1
|
@@ -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.
|
|
@@ -18563,7 +18621,8 @@ proto.sniipbillapi.SimpleBillDetail.toObject = function(includeInstance, msg) {
|
|
|
18563
18621
|
category: msg.getCategory(),
|
|
18564
18622
|
isdraft: msg.getIsdraft(),
|
|
18565
18623
|
billtype: msg.getBilltype(),
|
|
18566
|
-
scancontent: msg.getScancontent()
|
|
18624
|
+
scancontent: msg.getScancontent(),
|
|
18625
|
+
isduedateeditable: msg.getIsduedateeditable()
|
|
18567
18626
|
};
|
|
18568
18627
|
|
|
18569
18628
|
if (includeInstance) {
|
|
@@ -18793,6 +18852,10 @@ proto.sniipbillapi.SimpleBillDetail.deserializeBinaryFromReader = function(msg,
|
|
|
18793
18852
|
var value = /** @type {string} */ (reader.readString());
|
|
18794
18853
|
msg.setScancontent(value);
|
|
18795
18854
|
break;
|
|
18855
|
+
case 50:
|
|
18856
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
18857
|
+
msg.setIsduedateeditable(value);
|
|
18858
|
+
break;
|
|
18796
18859
|
default:
|
|
18797
18860
|
reader.skipField();
|
|
18798
18861
|
break;
|
|
@@ -19167,6 +19230,13 @@ proto.sniipbillapi.SimpleBillDetail.prototype.serializeBinaryToWriter = function
|
|
|
19167
19230
|
f
|
|
19168
19231
|
);
|
|
19169
19232
|
}
|
|
19233
|
+
f = this.getIsduedateeditable();
|
|
19234
|
+
if (f) {
|
|
19235
|
+
writer.writeBool(
|
|
19236
|
+
50,
|
|
19237
|
+
f
|
|
19238
|
+
);
|
|
19239
|
+
}
|
|
19170
19240
|
};
|
|
19171
19241
|
|
|
19172
19242
|
|
|
@@ -19926,6 +19996,23 @@ proto.sniipbillapi.SimpleBillDetail.prototype.setScancontent = function(value) {
|
|
|
19926
19996
|
};
|
|
19927
19997
|
|
|
19928
19998
|
|
|
19999
|
+
/**
|
|
20000
|
+
* optional bool isDueDateEditable = 50;
|
|
20001
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
20002
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
20003
|
+
* @return {boolean}
|
|
20004
|
+
*/
|
|
20005
|
+
proto.sniipbillapi.SimpleBillDetail.prototype.getIsduedateeditable = function() {
|
|
20006
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 50, false));
|
|
20007
|
+
};
|
|
20008
|
+
|
|
20009
|
+
|
|
20010
|
+
/** @param {boolean} value */
|
|
20011
|
+
proto.sniipbillapi.SimpleBillDetail.prototype.setIsduedateeditable = function(value) {
|
|
20012
|
+
jspb.Message.setField(this, 50, value);
|
|
20013
|
+
};
|
|
20014
|
+
|
|
20015
|
+
|
|
19929
20016
|
|
|
19930
20017
|
/**
|
|
19931
20018
|
* Generated by JsPbCodeGenerator.
|