@sniipwebmaster/bill-service-client-grpcweb 0.2.4083 → 0.2.4102
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 +228 -4
- package/package.json +1 -1
|
@@ -2065,7 +2065,9 @@ proto.sniipbillapi.BillCreateRequest.toObject = function(includeInstance, msg) {
|
|
|
2065
2065
|
sourceid: msg.getSourceid(),
|
|
2066
2066
|
category: msg.getCategory(),
|
|
2067
2067
|
billid: msg.getBillid(),
|
|
2068
|
-
isduedateeditable: msg.getIsduedateeditable()
|
|
2068
|
+
isduedateeditable: msg.getIsduedateeditable(),
|
|
2069
|
+
isdonationincluded: msg.getIsdonationincluded(),
|
|
2070
|
+
originaldonationamount: msg.getOriginaldonationamount()
|
|
2069
2071
|
};
|
|
2070
2072
|
|
|
2071
2073
|
if (includeInstance) {
|
|
@@ -2179,6 +2181,14 @@ proto.sniipbillapi.BillCreateRequest.deserializeBinaryFromReader = function(msg,
|
|
|
2179
2181
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2180
2182
|
msg.setIsduedateeditable(value);
|
|
2181
2183
|
break;
|
|
2184
|
+
case 20:
|
|
2185
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2186
|
+
msg.setIsdonationincluded(value);
|
|
2187
|
+
break;
|
|
2188
|
+
case 21:
|
|
2189
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
2190
|
+
msg.setOriginaldonationamount(value);
|
|
2191
|
+
break;
|
|
2182
2192
|
default:
|
|
2183
2193
|
reader.skipField();
|
|
2184
2194
|
break;
|
|
@@ -2350,6 +2360,20 @@ proto.sniipbillapi.BillCreateRequest.prototype.serializeBinaryToWriter = functio
|
|
|
2350
2360
|
f
|
|
2351
2361
|
);
|
|
2352
2362
|
}
|
|
2363
|
+
f = this.getIsdonationincluded();
|
|
2364
|
+
if (f) {
|
|
2365
|
+
writer.writeBool(
|
|
2366
|
+
20,
|
|
2367
|
+
f
|
|
2368
|
+
);
|
|
2369
|
+
}
|
|
2370
|
+
f = this.getOriginaldonationamount();
|
|
2371
|
+
if (f !== 0.0) {
|
|
2372
|
+
writer.writeDouble(
|
|
2373
|
+
21,
|
|
2374
|
+
f
|
|
2375
|
+
);
|
|
2376
|
+
}
|
|
2353
2377
|
};
|
|
2354
2378
|
|
|
2355
2379
|
|
|
@@ -2658,6 +2682,38 @@ proto.sniipbillapi.BillCreateRequest.prototype.setIsduedateeditable = function(v
|
|
|
2658
2682
|
};
|
|
2659
2683
|
|
|
2660
2684
|
|
|
2685
|
+
/**
|
|
2686
|
+
* optional bool isDonationIncluded = 20;
|
|
2687
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
2688
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
2689
|
+
* @return {boolean}
|
|
2690
|
+
*/
|
|
2691
|
+
proto.sniipbillapi.BillCreateRequest.prototype.getIsdonationincluded = function() {
|
|
2692
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 20, false));
|
|
2693
|
+
};
|
|
2694
|
+
|
|
2695
|
+
|
|
2696
|
+
/** @param {boolean} value */
|
|
2697
|
+
proto.sniipbillapi.BillCreateRequest.prototype.setIsdonationincluded = function(value) {
|
|
2698
|
+
jspb.Message.setField(this, 20, value);
|
|
2699
|
+
};
|
|
2700
|
+
|
|
2701
|
+
|
|
2702
|
+
/**
|
|
2703
|
+
* optional double originalDonationAmount = 21;
|
|
2704
|
+
* @return {number}
|
|
2705
|
+
*/
|
|
2706
|
+
proto.sniipbillapi.BillCreateRequest.prototype.getOriginaldonationamount = function() {
|
|
2707
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 21, 0));
|
|
2708
|
+
};
|
|
2709
|
+
|
|
2710
|
+
|
|
2711
|
+
/** @param {number} value */
|
|
2712
|
+
proto.sniipbillapi.BillCreateRequest.prototype.setOriginaldonationamount = function(value) {
|
|
2713
|
+
jspb.Message.setField(this, 21, value);
|
|
2714
|
+
};
|
|
2715
|
+
|
|
2716
|
+
|
|
2661
2717
|
|
|
2662
2718
|
/**
|
|
2663
2719
|
* Generated by JsPbCodeGenerator.
|
|
@@ -2961,7 +3017,9 @@ proto.sniipbillapi.BillDetail.toObject = function(includeInstance, msg) {
|
|
|
2961
3017
|
billmarkedaspaid: msg.getBillmarkedaspaid(),
|
|
2962
3018
|
sourceid: msg.getSourceid(),
|
|
2963
3019
|
category: msg.getCategory(),
|
|
2964
|
-
isdraft: msg.getIsdraft()
|
|
3020
|
+
isdraft: msg.getIsdraft(),
|
|
3021
|
+
isdonationincluded: msg.getIsdonationincluded(),
|
|
3022
|
+
donationtext: msg.getDonationtext()
|
|
2965
3023
|
};
|
|
2966
3024
|
|
|
2967
3025
|
if (includeInstance) {
|
|
@@ -3189,6 +3247,14 @@ proto.sniipbillapi.BillDetail.deserializeBinaryFromReader = function(msg, reader
|
|
|
3189
3247
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
3190
3248
|
msg.setIsdraft(value);
|
|
3191
3249
|
break;
|
|
3250
|
+
case 48:
|
|
3251
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3252
|
+
msg.setIsdonationincluded(value);
|
|
3253
|
+
break;
|
|
3254
|
+
case 49:
|
|
3255
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3256
|
+
msg.setDonationtext(value);
|
|
3257
|
+
break;
|
|
3192
3258
|
default:
|
|
3193
3259
|
reader.skipField();
|
|
3194
3260
|
break;
|
|
@@ -3557,6 +3623,20 @@ proto.sniipbillapi.BillDetail.prototype.serializeBinaryToWriter = function (writ
|
|
|
3557
3623
|
f
|
|
3558
3624
|
);
|
|
3559
3625
|
}
|
|
3626
|
+
f = this.getIsdonationincluded();
|
|
3627
|
+
if (f) {
|
|
3628
|
+
writer.writeBool(
|
|
3629
|
+
48,
|
|
3630
|
+
f
|
|
3631
|
+
);
|
|
3632
|
+
}
|
|
3633
|
+
f = this.getDonationtext();
|
|
3634
|
+
if (f.length > 0) {
|
|
3635
|
+
writer.writeString(
|
|
3636
|
+
49,
|
|
3637
|
+
f
|
|
3638
|
+
);
|
|
3639
|
+
}
|
|
3560
3640
|
};
|
|
3561
3641
|
|
|
3562
3642
|
|
|
@@ -4313,6 +4393,38 @@ proto.sniipbillapi.BillDetail.prototype.setIsdraft = function(value) {
|
|
|
4313
4393
|
};
|
|
4314
4394
|
|
|
4315
4395
|
|
|
4396
|
+
/**
|
|
4397
|
+
* optional bool isDonationIncluded = 48;
|
|
4398
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
4399
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
4400
|
+
* @return {boolean}
|
|
4401
|
+
*/
|
|
4402
|
+
proto.sniipbillapi.BillDetail.prototype.getIsdonationincluded = function() {
|
|
4403
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 48, false));
|
|
4404
|
+
};
|
|
4405
|
+
|
|
4406
|
+
|
|
4407
|
+
/** @param {boolean} value */
|
|
4408
|
+
proto.sniipbillapi.BillDetail.prototype.setIsdonationincluded = function(value) {
|
|
4409
|
+
jspb.Message.setField(this, 48, value);
|
|
4410
|
+
};
|
|
4411
|
+
|
|
4412
|
+
|
|
4413
|
+
/**
|
|
4414
|
+
* optional string donationText = 49;
|
|
4415
|
+
* @return {string}
|
|
4416
|
+
*/
|
|
4417
|
+
proto.sniipbillapi.BillDetail.prototype.getDonationtext = function() {
|
|
4418
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 49, ""));
|
|
4419
|
+
};
|
|
4420
|
+
|
|
4421
|
+
|
|
4422
|
+
/** @param {string} value */
|
|
4423
|
+
proto.sniipbillapi.BillDetail.prototype.setDonationtext = function(value) {
|
|
4424
|
+
jspb.Message.setField(this, 49, value);
|
|
4425
|
+
};
|
|
4426
|
+
|
|
4427
|
+
|
|
4316
4428
|
|
|
4317
4429
|
/**
|
|
4318
4430
|
* Generated by JsPbCodeGenerator.
|
|
@@ -10683,7 +10795,9 @@ proto.sniipbillapi.DraftBillCreateRequest.toObject = function(includeInstance, m
|
|
|
10683
10795
|
category: msg.getCategory(),
|
|
10684
10796
|
attachmentid: msg.getAttachmentid(),
|
|
10685
10797
|
isduedateeditable: msg.getIsduedateeditable(),
|
|
10686
|
-
sendnotification: msg.getSendnotification()
|
|
10798
|
+
sendnotification: msg.getSendnotification(),
|
|
10799
|
+
isdonationincluded: msg.getIsdonationincluded(),
|
|
10800
|
+
originaldonationamount: msg.getOriginaldonationamount()
|
|
10687
10801
|
};
|
|
10688
10802
|
|
|
10689
10803
|
if (includeInstance) {
|
|
@@ -10772,6 +10886,14 @@ proto.sniipbillapi.DraftBillCreateRequest.deserializeBinaryFromReader = function
|
|
|
10772
10886
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
10773
10887
|
msg.setSendnotification(value);
|
|
10774
10888
|
break;
|
|
10889
|
+
case 14:
|
|
10890
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
10891
|
+
msg.setIsdonationincluded(value);
|
|
10892
|
+
break;
|
|
10893
|
+
case 15:
|
|
10894
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
10895
|
+
msg.setOriginaldonationamount(value);
|
|
10896
|
+
break;
|
|
10775
10897
|
default:
|
|
10776
10898
|
reader.skipField();
|
|
10777
10899
|
break;
|
|
@@ -10901,6 +11023,20 @@ proto.sniipbillapi.DraftBillCreateRequest.prototype.serializeBinaryToWriter = fu
|
|
|
10901
11023
|
f
|
|
10902
11024
|
);
|
|
10903
11025
|
}
|
|
11026
|
+
f = this.getIsdonationincluded();
|
|
11027
|
+
if (f) {
|
|
11028
|
+
writer.writeBool(
|
|
11029
|
+
14,
|
|
11030
|
+
f
|
|
11031
|
+
);
|
|
11032
|
+
}
|
|
11033
|
+
f = this.getOriginaldonationamount();
|
|
11034
|
+
if (f !== 0.0) {
|
|
11035
|
+
writer.writeDouble(
|
|
11036
|
+
15,
|
|
11037
|
+
f
|
|
11038
|
+
);
|
|
11039
|
+
}
|
|
10904
11040
|
};
|
|
10905
11041
|
|
|
10906
11042
|
|
|
@@ -11112,6 +11248,38 @@ proto.sniipbillapi.DraftBillCreateRequest.prototype.setSendnotification = functi
|
|
|
11112
11248
|
};
|
|
11113
11249
|
|
|
11114
11250
|
|
|
11251
|
+
/**
|
|
11252
|
+
* optional bool isDonationIncluded = 14;
|
|
11253
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
11254
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
11255
|
+
* @return {boolean}
|
|
11256
|
+
*/
|
|
11257
|
+
proto.sniipbillapi.DraftBillCreateRequest.prototype.getIsdonationincluded = function() {
|
|
11258
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 14, false));
|
|
11259
|
+
};
|
|
11260
|
+
|
|
11261
|
+
|
|
11262
|
+
/** @param {boolean} value */
|
|
11263
|
+
proto.sniipbillapi.DraftBillCreateRequest.prototype.setIsdonationincluded = function(value) {
|
|
11264
|
+
jspb.Message.setField(this, 14, value);
|
|
11265
|
+
};
|
|
11266
|
+
|
|
11267
|
+
|
|
11268
|
+
/**
|
|
11269
|
+
* optional double originalDonationAmount = 15;
|
|
11270
|
+
* @return {number}
|
|
11271
|
+
*/
|
|
11272
|
+
proto.sniipbillapi.DraftBillCreateRequest.prototype.getOriginaldonationamount = function() {
|
|
11273
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 15, 0));
|
|
11274
|
+
};
|
|
11275
|
+
|
|
11276
|
+
|
|
11277
|
+
/** @param {number} value */
|
|
11278
|
+
proto.sniipbillapi.DraftBillCreateRequest.prototype.setOriginaldonationamount = function(value) {
|
|
11279
|
+
jspb.Message.setField(this, 15, value);
|
|
11280
|
+
};
|
|
11281
|
+
|
|
11282
|
+
|
|
11115
11283
|
|
|
11116
11284
|
/**
|
|
11117
11285
|
* Generated by JsPbCodeGenerator.
|
|
@@ -19044,7 +19212,9 @@ proto.sniipbillapi.SimpleBillDetail.toObject = function(includeInstance, msg) {
|
|
|
19044
19212
|
isdraft: msg.getIsdraft(),
|
|
19045
19213
|
billtype: msg.getBilltype(),
|
|
19046
19214
|
scancontent: msg.getScancontent(),
|
|
19047
|
-
isduedateeditable: msg.getIsduedateeditable()
|
|
19215
|
+
isduedateeditable: msg.getIsduedateeditable(),
|
|
19216
|
+
isdonationincluded: msg.getIsdonationincluded(),
|
|
19217
|
+
donationtext: msg.getDonationtext()
|
|
19048
19218
|
};
|
|
19049
19219
|
|
|
19050
19220
|
if (includeInstance) {
|
|
@@ -19278,6 +19448,14 @@ proto.sniipbillapi.SimpleBillDetail.deserializeBinaryFromReader = function(msg,
|
|
|
19278
19448
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
19279
19449
|
msg.setIsduedateeditable(value);
|
|
19280
19450
|
break;
|
|
19451
|
+
case 51:
|
|
19452
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
19453
|
+
msg.setIsdonationincluded(value);
|
|
19454
|
+
break;
|
|
19455
|
+
case 52:
|
|
19456
|
+
var value = /** @type {string} */ (reader.readString());
|
|
19457
|
+
msg.setDonationtext(value);
|
|
19458
|
+
break;
|
|
19281
19459
|
default:
|
|
19282
19460
|
reader.skipField();
|
|
19283
19461
|
break;
|
|
@@ -19659,6 +19837,20 @@ proto.sniipbillapi.SimpleBillDetail.prototype.serializeBinaryToWriter = function
|
|
|
19659
19837
|
f
|
|
19660
19838
|
);
|
|
19661
19839
|
}
|
|
19840
|
+
f = this.getIsdonationincluded();
|
|
19841
|
+
if (f) {
|
|
19842
|
+
writer.writeBool(
|
|
19843
|
+
51,
|
|
19844
|
+
f
|
|
19845
|
+
);
|
|
19846
|
+
}
|
|
19847
|
+
f = this.getDonationtext();
|
|
19848
|
+
if (f.length > 0) {
|
|
19849
|
+
writer.writeString(
|
|
19850
|
+
52,
|
|
19851
|
+
f
|
|
19852
|
+
);
|
|
19853
|
+
}
|
|
19662
19854
|
};
|
|
19663
19855
|
|
|
19664
19856
|
|
|
@@ -20435,6 +20627,38 @@ proto.sniipbillapi.SimpleBillDetail.prototype.setIsduedateeditable = function(va
|
|
|
20435
20627
|
};
|
|
20436
20628
|
|
|
20437
20629
|
|
|
20630
|
+
/**
|
|
20631
|
+
* optional bool isDonationIncluded = 51;
|
|
20632
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
20633
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
20634
|
+
* @return {boolean}
|
|
20635
|
+
*/
|
|
20636
|
+
proto.sniipbillapi.SimpleBillDetail.prototype.getIsdonationincluded = function() {
|
|
20637
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 51, false));
|
|
20638
|
+
};
|
|
20639
|
+
|
|
20640
|
+
|
|
20641
|
+
/** @param {boolean} value */
|
|
20642
|
+
proto.sniipbillapi.SimpleBillDetail.prototype.setIsdonationincluded = function(value) {
|
|
20643
|
+
jspb.Message.setField(this, 51, value);
|
|
20644
|
+
};
|
|
20645
|
+
|
|
20646
|
+
|
|
20647
|
+
/**
|
|
20648
|
+
* optional string donationText = 52;
|
|
20649
|
+
* @return {string}
|
|
20650
|
+
*/
|
|
20651
|
+
proto.sniipbillapi.SimpleBillDetail.prototype.getDonationtext = function() {
|
|
20652
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 52, ""));
|
|
20653
|
+
};
|
|
20654
|
+
|
|
20655
|
+
|
|
20656
|
+
/** @param {string} value */
|
|
20657
|
+
proto.sniipbillapi.SimpleBillDetail.prototype.setDonationtext = function(value) {
|
|
20658
|
+
jspb.Message.setField(this, 52, value);
|
|
20659
|
+
};
|
|
20660
|
+
|
|
20661
|
+
|
|
20438
20662
|
|
|
20439
20663
|
/**
|
|
20440
20664
|
* Generated by JsPbCodeGenerator.
|