@sniipwebmaster/bill-service-client-grpcweb 0.2.3767 → 0.2.3789
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 +60 -2
- package/package.json +1 -1
|
@@ -2898,7 +2898,8 @@ proto.sniipbillapi.BillDetail.toObject = function(includeInstance, msg) {
|
|
|
2898
2898
|
isbpaycodesupported: msg.getIsbpaycodesupported(),
|
|
2899
2899
|
billmarkedaspaid: msg.getBillmarkedaspaid(),
|
|
2900
2900
|
sourceid: msg.getSourceid(),
|
|
2901
|
-
category: msg.getCategory()
|
|
2901
|
+
category: msg.getCategory(),
|
|
2902
|
+
isdraft: msg.getIsdraft()
|
|
2902
2903
|
};
|
|
2903
2904
|
|
|
2904
2905
|
if (includeInstance) {
|
|
@@ -3122,6 +3123,10 @@ proto.sniipbillapi.BillDetail.deserializeBinaryFromReader = function(msg, reader
|
|
|
3122
3123
|
var value = /** @type {string} */ (reader.readString());
|
|
3123
3124
|
msg.setCategory(value);
|
|
3124
3125
|
break;
|
|
3126
|
+
case 47:
|
|
3127
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3128
|
+
msg.setIsdraft(value);
|
|
3129
|
+
break;
|
|
3125
3130
|
default:
|
|
3126
3131
|
reader.skipField();
|
|
3127
3132
|
break;
|
|
@@ -3483,6 +3488,13 @@ proto.sniipbillapi.BillDetail.prototype.serializeBinaryToWriter = function (writ
|
|
|
3483
3488
|
f
|
|
3484
3489
|
);
|
|
3485
3490
|
}
|
|
3491
|
+
f = this.getIsdraft();
|
|
3492
|
+
if (f) {
|
|
3493
|
+
writer.writeBool(
|
|
3494
|
+
47,
|
|
3495
|
+
f
|
|
3496
|
+
);
|
|
3497
|
+
}
|
|
3486
3498
|
};
|
|
3487
3499
|
|
|
3488
3500
|
|
|
@@ -4222,6 +4234,23 @@ proto.sniipbillapi.BillDetail.prototype.setCategory = function(value) {
|
|
|
4222
4234
|
};
|
|
4223
4235
|
|
|
4224
4236
|
|
|
4237
|
+
/**
|
|
4238
|
+
* optional bool isDraft = 47;
|
|
4239
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
4240
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
4241
|
+
* @return {boolean}
|
|
4242
|
+
*/
|
|
4243
|
+
proto.sniipbillapi.BillDetail.prototype.getIsdraft = function() {
|
|
4244
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 47, false));
|
|
4245
|
+
};
|
|
4246
|
+
|
|
4247
|
+
|
|
4248
|
+
/** @param {boolean} value */
|
|
4249
|
+
proto.sniipbillapi.BillDetail.prototype.setIsdraft = function(value) {
|
|
4250
|
+
jspb.Message.setField(this, 47, value);
|
|
4251
|
+
};
|
|
4252
|
+
|
|
4253
|
+
|
|
4225
4254
|
|
|
4226
4255
|
/**
|
|
4227
4256
|
* Generated by JsPbCodeGenerator.
|
|
@@ -18165,7 +18194,8 @@ proto.sniipbillapi.SimpleBillDetail.toObject = function(includeInstance, msg) {
|
|
|
18165
18194
|
billmarkedaspaid: msg.getBillmarkedaspaid(),
|
|
18166
18195
|
description: msg.getDescription(),
|
|
18167
18196
|
sourceid: msg.getSourceid(),
|
|
18168
|
-
category: msg.getCategory()
|
|
18197
|
+
category: msg.getCategory(),
|
|
18198
|
+
isdraft: msg.getIsdraft()
|
|
18169
18199
|
};
|
|
18170
18200
|
|
|
18171
18201
|
if (includeInstance) {
|
|
@@ -18383,6 +18413,10 @@ proto.sniipbillapi.SimpleBillDetail.deserializeBinaryFromReader = function(msg,
|
|
|
18383
18413
|
var value = /** @type {string} */ (reader.readString());
|
|
18384
18414
|
msg.setCategory(value);
|
|
18385
18415
|
break;
|
|
18416
|
+
case 47:
|
|
18417
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
18418
|
+
msg.setIsdraft(value);
|
|
18419
|
+
break;
|
|
18386
18420
|
default:
|
|
18387
18421
|
reader.skipField();
|
|
18388
18422
|
break;
|
|
@@ -18736,6 +18770,13 @@ proto.sniipbillapi.SimpleBillDetail.prototype.serializeBinaryToWriter = function
|
|
|
18736
18770
|
f
|
|
18737
18771
|
);
|
|
18738
18772
|
}
|
|
18773
|
+
f = this.getIsdraft();
|
|
18774
|
+
if (f) {
|
|
18775
|
+
writer.writeBool(
|
|
18776
|
+
47,
|
|
18777
|
+
f
|
|
18778
|
+
);
|
|
18779
|
+
}
|
|
18739
18780
|
};
|
|
18740
18781
|
|
|
18741
18782
|
|
|
@@ -19448,6 +19489,23 @@ proto.sniipbillapi.SimpleBillDetail.prototype.setCategory = function(value) {
|
|
|
19448
19489
|
};
|
|
19449
19490
|
|
|
19450
19491
|
|
|
19492
|
+
/**
|
|
19493
|
+
* optional bool isDraft = 47;
|
|
19494
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
19495
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
19496
|
+
* @return {boolean}
|
|
19497
|
+
*/
|
|
19498
|
+
proto.sniipbillapi.SimpleBillDetail.prototype.getIsdraft = function() {
|
|
19499
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 47, false));
|
|
19500
|
+
};
|
|
19501
|
+
|
|
19502
|
+
|
|
19503
|
+
/** @param {boolean} value */
|
|
19504
|
+
proto.sniipbillapi.SimpleBillDetail.prototype.setIsdraft = function(value) {
|
|
19505
|
+
jspb.Message.setField(this, 47, value);
|
|
19506
|
+
};
|
|
19507
|
+
|
|
19508
|
+
|
|
19451
19509
|
|
|
19452
19510
|
/**
|
|
19453
19511
|
* Generated by JsPbCodeGenerator.
|