@sniipwebmaster/bill-service-client-grpcweb 21.19.6837 → 21.19.6859
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.
|
@@ -2314,6 +2314,86 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.linkAnonymousBill
|
|
|
2314
2314
|
};
|
|
2315
2315
|
|
|
2316
2316
|
|
|
2317
|
+
/**
|
|
2318
|
+
* @const
|
|
2319
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2320
|
+
* !proto.sniipbillapi.LockBillRequest,
|
|
2321
|
+
* !proto.sniipbillapi.ResponseCode>}
|
|
2322
|
+
*/
|
|
2323
|
+
const methodDescriptor_SniipBillAPIService_LockBill = new grpc.web.MethodDescriptor(
|
|
2324
|
+
'/sniipbillapi.SniipBillAPIService/LockBill',
|
|
2325
|
+
grpc.web.MethodType.UNARY,
|
|
2326
|
+
proto.sniipbillapi.LockBillRequest,
|
|
2327
|
+
proto.sniipbillapi.ResponseCode,
|
|
2328
|
+
/**
|
|
2329
|
+
* @param {!proto.sniipbillapi.LockBillRequest} request
|
|
2330
|
+
* @return {!Uint8Array}
|
|
2331
|
+
*/
|
|
2332
|
+
function(request) {
|
|
2333
|
+
return request.serializeBinary();
|
|
2334
|
+
},
|
|
2335
|
+
proto.sniipbillapi.ResponseCode.deserializeBinary
|
|
2336
|
+
);
|
|
2337
|
+
|
|
2338
|
+
|
|
2339
|
+
/**
|
|
2340
|
+
* @const
|
|
2341
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
2342
|
+
* !proto.sniipbillapi.LockBillRequest,
|
|
2343
|
+
* !proto.sniipbillapi.ResponseCode>}
|
|
2344
|
+
*/
|
|
2345
|
+
const methodInfo_SniipBillAPIService_LockBill = new grpc.web.AbstractClientBase.MethodInfo(
|
|
2346
|
+
proto.sniipbillapi.ResponseCode,
|
|
2347
|
+
/**
|
|
2348
|
+
* @param {!proto.sniipbillapi.LockBillRequest} request
|
|
2349
|
+
* @return {!Uint8Array}
|
|
2350
|
+
*/
|
|
2351
|
+
function(request) {
|
|
2352
|
+
return request.serializeBinary();
|
|
2353
|
+
},
|
|
2354
|
+
proto.sniipbillapi.ResponseCode.deserializeBinary
|
|
2355
|
+
);
|
|
2356
|
+
|
|
2357
|
+
|
|
2358
|
+
/**
|
|
2359
|
+
* @param {!proto.sniipbillapi.LockBillRequest} request The
|
|
2360
|
+
* request proto
|
|
2361
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2362
|
+
* call metadata
|
|
2363
|
+
* @param {function(?grpc.web.Error, ?proto.sniipbillapi.ResponseCode)}
|
|
2364
|
+
* callback The callback function(error, response)
|
|
2365
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.ResponseCode>|undefined}
|
|
2366
|
+
* The XHR Node Readable Stream
|
|
2367
|
+
*/
|
|
2368
|
+
proto.sniipbillapi.SniipBillAPIServiceClient.prototype.lockBill =
|
|
2369
|
+
function(request, metadata, callback) {
|
|
2370
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2371
|
+
'/sniipbillapi.SniipBillAPIService/LockBill',
|
|
2372
|
+
request,
|
|
2373
|
+
metadata || {},
|
|
2374
|
+
methodDescriptor_SniipBillAPIService_LockBill,
|
|
2375
|
+
callback);
|
|
2376
|
+
};
|
|
2377
|
+
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* @param {!proto.sniipbillapi.LockBillRequest} request The
|
|
2381
|
+
* request proto
|
|
2382
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2383
|
+
* call metadata
|
|
2384
|
+
* @return {!Promise<!proto.sniipbillapi.ResponseCode>}
|
|
2385
|
+
* Promise that resolves to the response
|
|
2386
|
+
*/
|
|
2387
|
+
proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.lockBill =
|
|
2388
|
+
function(request, metadata) {
|
|
2389
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2390
|
+
'/sniipbillapi.SniipBillAPIService/LockBill',
|
|
2391
|
+
request,
|
|
2392
|
+
metadata || {},
|
|
2393
|
+
methodDescriptor_SniipBillAPIService_LockBill);
|
|
2394
|
+
};
|
|
2395
|
+
|
|
2396
|
+
|
|
2317
2397
|
/**
|
|
2318
2398
|
* @const
|
|
2319
2399
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -3274,6 +3354,86 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.unarchiveBillInter
|
|
|
3274
3354
|
};
|
|
3275
3355
|
|
|
3276
3356
|
|
|
3357
|
+
/**
|
|
3358
|
+
* @const
|
|
3359
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
3360
|
+
* !proto.sniipbillapi.UnlockBillRequest,
|
|
3361
|
+
* !proto.sniipbillapi.ResponseCode>}
|
|
3362
|
+
*/
|
|
3363
|
+
const methodDescriptor_SniipBillAPIService_UnlockBill = new grpc.web.MethodDescriptor(
|
|
3364
|
+
'/sniipbillapi.SniipBillAPIService/UnlockBill',
|
|
3365
|
+
grpc.web.MethodType.UNARY,
|
|
3366
|
+
proto.sniipbillapi.UnlockBillRequest,
|
|
3367
|
+
proto.sniipbillapi.ResponseCode,
|
|
3368
|
+
/**
|
|
3369
|
+
* @param {!proto.sniipbillapi.UnlockBillRequest} request
|
|
3370
|
+
* @return {!Uint8Array}
|
|
3371
|
+
*/
|
|
3372
|
+
function(request) {
|
|
3373
|
+
return request.serializeBinary();
|
|
3374
|
+
},
|
|
3375
|
+
proto.sniipbillapi.ResponseCode.deserializeBinary
|
|
3376
|
+
);
|
|
3377
|
+
|
|
3378
|
+
|
|
3379
|
+
/**
|
|
3380
|
+
* @const
|
|
3381
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
3382
|
+
* !proto.sniipbillapi.UnlockBillRequest,
|
|
3383
|
+
* !proto.sniipbillapi.ResponseCode>}
|
|
3384
|
+
*/
|
|
3385
|
+
const methodInfo_SniipBillAPIService_UnlockBill = new grpc.web.AbstractClientBase.MethodInfo(
|
|
3386
|
+
proto.sniipbillapi.ResponseCode,
|
|
3387
|
+
/**
|
|
3388
|
+
* @param {!proto.sniipbillapi.UnlockBillRequest} request
|
|
3389
|
+
* @return {!Uint8Array}
|
|
3390
|
+
*/
|
|
3391
|
+
function(request) {
|
|
3392
|
+
return request.serializeBinary();
|
|
3393
|
+
},
|
|
3394
|
+
proto.sniipbillapi.ResponseCode.deserializeBinary
|
|
3395
|
+
);
|
|
3396
|
+
|
|
3397
|
+
|
|
3398
|
+
/**
|
|
3399
|
+
* @param {!proto.sniipbillapi.UnlockBillRequest} request The
|
|
3400
|
+
* request proto
|
|
3401
|
+
* @param {?Object<string, string>} metadata User defined
|
|
3402
|
+
* call metadata
|
|
3403
|
+
* @param {function(?grpc.web.Error, ?proto.sniipbillapi.ResponseCode)}
|
|
3404
|
+
* callback The callback function(error, response)
|
|
3405
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.ResponseCode>|undefined}
|
|
3406
|
+
* The XHR Node Readable Stream
|
|
3407
|
+
*/
|
|
3408
|
+
proto.sniipbillapi.SniipBillAPIServiceClient.prototype.unlockBill =
|
|
3409
|
+
function(request, metadata, callback) {
|
|
3410
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
3411
|
+
'/sniipbillapi.SniipBillAPIService/UnlockBill',
|
|
3412
|
+
request,
|
|
3413
|
+
metadata || {},
|
|
3414
|
+
methodDescriptor_SniipBillAPIService_UnlockBill,
|
|
3415
|
+
callback);
|
|
3416
|
+
};
|
|
3417
|
+
|
|
3418
|
+
|
|
3419
|
+
/**
|
|
3420
|
+
* @param {!proto.sniipbillapi.UnlockBillRequest} request The
|
|
3421
|
+
* request proto
|
|
3422
|
+
* @param {?Object<string, string>} metadata User defined
|
|
3423
|
+
* call metadata
|
|
3424
|
+
* @return {!Promise<!proto.sniipbillapi.ResponseCode>}
|
|
3425
|
+
* Promise that resolves to the response
|
|
3426
|
+
*/
|
|
3427
|
+
proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.unlockBill =
|
|
3428
|
+
function(request, metadata) {
|
|
3429
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
3430
|
+
'/sniipbillapi.SniipBillAPIService/UnlockBill',
|
|
3431
|
+
request,
|
|
3432
|
+
metadata || {},
|
|
3433
|
+
methodDescriptor_SniipBillAPIService_UnlockBill);
|
|
3434
|
+
};
|
|
3435
|
+
|
|
3436
|
+
|
|
3277
3437
|
/**
|
|
3278
3438
|
* @const
|
|
3279
3439
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -76,6 +76,7 @@ goog.exportSymbol('proto.sniipbillapi.ItemPaymentDetailsInternalResponse', null,
|
|
|
76
76
|
goog.exportSymbol('proto.sniipbillapi.ItemPaymentDetailsResponse', null, global);
|
|
77
77
|
goog.exportSymbol('proto.sniipbillapi.LinkAnonymousBillRequest', null, global);
|
|
78
78
|
goog.exportSymbol('proto.sniipbillapi.LinkedAnomymousBillResponse', null, global);
|
|
79
|
+
goog.exportSymbol('proto.sniipbillapi.LockBillRequest', null, global);
|
|
79
80
|
goog.exportSymbol('proto.sniipbillapi.MarkBillAsPaidRequest', null, global);
|
|
80
81
|
goog.exportSymbol('proto.sniipbillapi.MarkBillAsUnpaidRequest', null, global);
|
|
81
82
|
goog.exportSymbol('proto.sniipbillapi.Mbill', null, global);
|
|
@@ -99,6 +100,7 @@ goog.exportSymbol('proto.sniipbillapi.TodoRequest', null, global);
|
|
|
99
100
|
goog.exportSymbol('proto.sniipbillapi.TodoResponse', null, global);
|
|
100
101
|
goog.exportSymbol('proto.sniipbillapi.UnarchiveBillInternalRequest', null, global);
|
|
101
102
|
goog.exportSymbol('proto.sniipbillapi.UnarchiveBillRequest', null, global);
|
|
103
|
+
goog.exportSymbol('proto.sniipbillapi.UnlockBillRequest', null, global);
|
|
102
104
|
goog.exportSymbol('proto.sniipbillapi.UnpaidMbill', null, global);
|
|
103
105
|
goog.exportSymbol('proto.sniipbillapi.UpdateDueAmountRequest', null, global);
|
|
104
106
|
goog.exportSymbol('proto.sniipbillapi.UpdateDueAmountResponse', null, global);
|
|
@@ -3541,7 +3543,9 @@ proto.sniipbillapi.BillDetail.toObject = function(includeInstance, msg) {
|
|
|
3541
3543
|
billerdescription: msg.getBillerdescription(),
|
|
3542
3544
|
billertimezone: msg.getBillertimezone(),
|
|
3543
3545
|
billertimezoneabbr: msg.getBillertimezoneabbr(),
|
|
3544
|
-
requiresreview: msg.getRequiresreview()
|
|
3546
|
+
requiresreview: msg.getRequiresreview(),
|
|
3547
|
+
isbilllocked: msg.getIsbilllocked(),
|
|
3548
|
+
issystemdraft: msg.getIssystemdraft()
|
|
3545
3549
|
};
|
|
3546
3550
|
|
|
3547
3551
|
if (includeInstance) {
|
|
@@ -3794,6 +3798,14 @@ proto.sniipbillapi.BillDetail.deserializeBinaryFromReader = function(msg, reader
|
|
|
3794
3798
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
3795
3799
|
msg.setRequiresreview(value);
|
|
3796
3800
|
break;
|
|
3801
|
+
case 56:
|
|
3802
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3803
|
+
msg.setIsbilllocked(value);
|
|
3804
|
+
break;
|
|
3805
|
+
case 57:
|
|
3806
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3807
|
+
msg.setIssystemdraft(value);
|
|
3808
|
+
break;
|
|
3797
3809
|
default:
|
|
3798
3810
|
reader.skipField();
|
|
3799
3811
|
break;
|
|
@@ -4205,6 +4217,20 @@ proto.sniipbillapi.BillDetail.prototype.serializeBinaryToWriter = function (writ
|
|
|
4205
4217
|
f
|
|
4206
4218
|
);
|
|
4207
4219
|
}
|
|
4220
|
+
f = this.getIsbilllocked();
|
|
4221
|
+
if (f) {
|
|
4222
|
+
writer.writeBool(
|
|
4223
|
+
56,
|
|
4224
|
+
f
|
|
4225
|
+
);
|
|
4226
|
+
}
|
|
4227
|
+
f = this.getIssystemdraft();
|
|
4228
|
+
if (f) {
|
|
4229
|
+
writer.writeBool(
|
|
4230
|
+
57,
|
|
4231
|
+
f
|
|
4232
|
+
);
|
|
4233
|
+
}
|
|
4208
4234
|
};
|
|
4209
4235
|
|
|
4210
4236
|
|
|
@@ -5056,6 +5082,40 @@ proto.sniipbillapi.BillDetail.prototype.setRequiresreview = function(value) {
|
|
|
5056
5082
|
};
|
|
5057
5083
|
|
|
5058
5084
|
|
|
5085
|
+
/**
|
|
5086
|
+
* optional bool isBillLocked = 56;
|
|
5087
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
5088
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
5089
|
+
* @return {boolean}
|
|
5090
|
+
*/
|
|
5091
|
+
proto.sniipbillapi.BillDetail.prototype.getIsbilllocked = function() {
|
|
5092
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 56, false));
|
|
5093
|
+
};
|
|
5094
|
+
|
|
5095
|
+
|
|
5096
|
+
/** @param {boolean} value */
|
|
5097
|
+
proto.sniipbillapi.BillDetail.prototype.setIsbilllocked = function(value) {
|
|
5098
|
+
jspb.Message.setField(this, 56, value);
|
|
5099
|
+
};
|
|
5100
|
+
|
|
5101
|
+
|
|
5102
|
+
/**
|
|
5103
|
+
* optional bool isSystemDraft = 57;
|
|
5104
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
5105
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
5106
|
+
* @return {boolean}
|
|
5107
|
+
*/
|
|
5108
|
+
proto.sniipbillapi.BillDetail.prototype.getIssystemdraft = function() {
|
|
5109
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 57, false));
|
|
5110
|
+
};
|
|
5111
|
+
|
|
5112
|
+
|
|
5113
|
+
/** @param {boolean} value */
|
|
5114
|
+
proto.sniipbillapi.BillDetail.prototype.setIssystemdraft = function(value) {
|
|
5115
|
+
jspb.Message.setField(this, 57, value);
|
|
5116
|
+
};
|
|
5117
|
+
|
|
5118
|
+
|
|
5059
5119
|
|
|
5060
5120
|
/**
|
|
5061
5121
|
* Generated by JsPbCodeGenerator.
|
|
@@ -17434,6 +17494,165 @@ proto.sniipbillapi.LinkedAnomymousBillResponse.prototype.setObjecttype = functio
|
|
|
17434
17494
|
|
|
17435
17495
|
|
|
17436
17496
|
|
|
17497
|
+
/**
|
|
17498
|
+
* Generated by JsPbCodeGenerator.
|
|
17499
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
17500
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
17501
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
17502
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
17503
|
+
* valid.
|
|
17504
|
+
* @extends {jspb.Message}
|
|
17505
|
+
* @constructor
|
|
17506
|
+
*/
|
|
17507
|
+
proto.sniipbillapi.LockBillRequest = function(opt_data) {
|
|
17508
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
17509
|
+
};
|
|
17510
|
+
goog.inherits(proto.sniipbillapi.LockBillRequest, jspb.Message);
|
|
17511
|
+
if (goog.DEBUG && !COMPILED) {
|
|
17512
|
+
proto.sniipbillapi.LockBillRequest.displayName = 'proto.sniipbillapi.LockBillRequest';
|
|
17513
|
+
}
|
|
17514
|
+
|
|
17515
|
+
|
|
17516
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
17517
|
+
/**
|
|
17518
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
17519
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
17520
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
17521
|
+
* For the list of reserved names please see:
|
|
17522
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
17523
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
17524
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
17525
|
+
* @return {!Object}
|
|
17526
|
+
*/
|
|
17527
|
+
proto.sniipbillapi.LockBillRequest.prototype.toObject = function(opt_includeInstance) {
|
|
17528
|
+
return proto.sniipbillapi.LockBillRequest.toObject(opt_includeInstance, this);
|
|
17529
|
+
};
|
|
17530
|
+
|
|
17531
|
+
|
|
17532
|
+
/**
|
|
17533
|
+
* Static version of the {@see toObject} method.
|
|
17534
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
17535
|
+
* instance for transitional soy proto support:
|
|
17536
|
+
* http://goto/soy-param-migration
|
|
17537
|
+
* @param {!proto.sniipbillapi.LockBillRequest} msg The msg instance to transform.
|
|
17538
|
+
* @return {!Object}
|
|
17539
|
+
*/
|
|
17540
|
+
proto.sniipbillapi.LockBillRequest.toObject = function(includeInstance, msg) {
|
|
17541
|
+
var f, obj = {
|
|
17542
|
+
billid: msg.getBillid()
|
|
17543
|
+
};
|
|
17544
|
+
|
|
17545
|
+
if (includeInstance) {
|
|
17546
|
+
obj.$jspbMessageInstance = msg;
|
|
17547
|
+
}
|
|
17548
|
+
return obj;
|
|
17549
|
+
};
|
|
17550
|
+
}
|
|
17551
|
+
|
|
17552
|
+
|
|
17553
|
+
/**
|
|
17554
|
+
* Deserializes binary data (in protobuf wire format).
|
|
17555
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
17556
|
+
* @return {!proto.sniipbillapi.LockBillRequest}
|
|
17557
|
+
*/
|
|
17558
|
+
proto.sniipbillapi.LockBillRequest.deserializeBinary = function(bytes) {
|
|
17559
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
17560
|
+
var msg = new proto.sniipbillapi.LockBillRequest;
|
|
17561
|
+
return proto.sniipbillapi.LockBillRequest.deserializeBinaryFromReader(msg, reader);
|
|
17562
|
+
};
|
|
17563
|
+
|
|
17564
|
+
|
|
17565
|
+
/**
|
|
17566
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
17567
|
+
* given reader into the given message object.
|
|
17568
|
+
* @param {!proto.sniipbillapi.LockBillRequest} msg The message object to deserialize into.
|
|
17569
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
17570
|
+
* @return {!proto.sniipbillapi.LockBillRequest}
|
|
17571
|
+
*/
|
|
17572
|
+
proto.sniipbillapi.LockBillRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
17573
|
+
while (reader.nextField()) {
|
|
17574
|
+
if (reader.isEndGroup()) {
|
|
17575
|
+
break;
|
|
17576
|
+
}
|
|
17577
|
+
var field = reader.getFieldNumber();
|
|
17578
|
+
switch (field) {
|
|
17579
|
+
case 1:
|
|
17580
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
17581
|
+
msg.setBillid(value);
|
|
17582
|
+
break;
|
|
17583
|
+
default:
|
|
17584
|
+
reader.skipField();
|
|
17585
|
+
break;
|
|
17586
|
+
}
|
|
17587
|
+
}
|
|
17588
|
+
return msg;
|
|
17589
|
+
};
|
|
17590
|
+
|
|
17591
|
+
|
|
17592
|
+
/**
|
|
17593
|
+
* Class method variant: serializes the given message to binary data
|
|
17594
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
17595
|
+
* @param {!proto.sniipbillapi.LockBillRequest} message
|
|
17596
|
+
* @param {!jspb.BinaryWriter} writer
|
|
17597
|
+
*/
|
|
17598
|
+
proto.sniipbillapi.LockBillRequest.serializeBinaryToWriter = function(message, writer) {
|
|
17599
|
+
message.serializeBinaryToWriter(writer);
|
|
17600
|
+
};
|
|
17601
|
+
|
|
17602
|
+
|
|
17603
|
+
/**
|
|
17604
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
17605
|
+
* @return {!Uint8Array}
|
|
17606
|
+
*/
|
|
17607
|
+
proto.sniipbillapi.LockBillRequest.prototype.serializeBinary = function() {
|
|
17608
|
+
var writer = new jspb.BinaryWriter();
|
|
17609
|
+
this.serializeBinaryToWriter(writer);
|
|
17610
|
+
return writer.getResultBuffer();
|
|
17611
|
+
};
|
|
17612
|
+
|
|
17613
|
+
|
|
17614
|
+
/**
|
|
17615
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
17616
|
+
* writing to the given BinaryWriter.
|
|
17617
|
+
* @param {!jspb.BinaryWriter} writer
|
|
17618
|
+
*/
|
|
17619
|
+
proto.sniipbillapi.LockBillRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
17620
|
+
var f = undefined;
|
|
17621
|
+
f = this.getBillid();
|
|
17622
|
+
if (f !== 0) {
|
|
17623
|
+
writer.writeInt64(
|
|
17624
|
+
1,
|
|
17625
|
+
f
|
|
17626
|
+
);
|
|
17627
|
+
}
|
|
17628
|
+
};
|
|
17629
|
+
|
|
17630
|
+
|
|
17631
|
+
/**
|
|
17632
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
17633
|
+
* @return {!proto.sniipbillapi.LockBillRequest} The clone.
|
|
17634
|
+
*/
|
|
17635
|
+
proto.sniipbillapi.LockBillRequest.prototype.cloneMessage = function() {
|
|
17636
|
+
return /** @type {!proto.sniipbillapi.LockBillRequest} */ (jspb.Message.cloneMessage(this));
|
|
17637
|
+
};
|
|
17638
|
+
|
|
17639
|
+
|
|
17640
|
+
/**
|
|
17641
|
+
* optional int64 billId = 1;
|
|
17642
|
+
* @return {number}
|
|
17643
|
+
*/
|
|
17644
|
+
proto.sniipbillapi.LockBillRequest.prototype.getBillid = function() {
|
|
17645
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
17646
|
+
};
|
|
17647
|
+
|
|
17648
|
+
|
|
17649
|
+
/** @param {number} value */
|
|
17650
|
+
proto.sniipbillapi.LockBillRequest.prototype.setBillid = function(value) {
|
|
17651
|
+
jspb.Message.setField(this, 1, value);
|
|
17652
|
+
};
|
|
17653
|
+
|
|
17654
|
+
|
|
17655
|
+
|
|
17437
17656
|
/**
|
|
17438
17657
|
* Generated by JsPbCodeGenerator.
|
|
17439
17658
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -20367,7 +20586,9 @@ proto.sniipbillapi.SimpleBillDetail.toObject = function(includeInstance, msg) {
|
|
|
20367
20586
|
originaldonationamount: msg.getOriginaldonationamount(),
|
|
20368
20587
|
donationamountdifference: msg.getDonationamountdifference(),
|
|
20369
20588
|
billerdescription: msg.getBillerdescription(),
|
|
20370
|
-
requiresreview: msg.getRequiresreview()
|
|
20589
|
+
requiresreview: msg.getRequiresreview(),
|
|
20590
|
+
isbilllocked: msg.getIsbilllocked(),
|
|
20591
|
+
issystemdraft: msg.getIssystemdraft()
|
|
20371
20592
|
};
|
|
20372
20593
|
|
|
20373
20594
|
if (includeInstance) {
|
|
@@ -20618,6 +20839,14 @@ proto.sniipbillapi.SimpleBillDetail.deserializeBinaryFromReader = function(msg,
|
|
|
20618
20839
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
20619
20840
|
msg.setRequiresreview(value);
|
|
20620
20841
|
break;
|
|
20842
|
+
case 57:
|
|
20843
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
20844
|
+
msg.setIsbilllocked(value);
|
|
20845
|
+
break;
|
|
20846
|
+
case 58:
|
|
20847
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
20848
|
+
msg.setIssystemdraft(value);
|
|
20849
|
+
break;
|
|
20621
20850
|
default:
|
|
20622
20851
|
reader.skipField();
|
|
20623
20852
|
break;
|
|
@@ -21028,6 +21257,20 @@ proto.sniipbillapi.SimpleBillDetail.prototype.serializeBinaryToWriter = function
|
|
|
21028
21257
|
f
|
|
21029
21258
|
);
|
|
21030
21259
|
}
|
|
21260
|
+
f = this.getIsbilllocked();
|
|
21261
|
+
if (f) {
|
|
21262
|
+
writer.writeBool(
|
|
21263
|
+
57,
|
|
21264
|
+
f
|
|
21265
|
+
);
|
|
21266
|
+
}
|
|
21267
|
+
f = this.getIssystemdraft();
|
|
21268
|
+
if (f) {
|
|
21269
|
+
writer.writeBool(
|
|
21270
|
+
58,
|
|
21271
|
+
f
|
|
21272
|
+
);
|
|
21273
|
+
}
|
|
21031
21274
|
};
|
|
21032
21275
|
|
|
21033
21276
|
|
|
@@ -21869,6 +22112,40 @@ proto.sniipbillapi.SimpleBillDetail.prototype.setRequiresreview = function(value
|
|
|
21869
22112
|
};
|
|
21870
22113
|
|
|
21871
22114
|
|
|
22115
|
+
/**
|
|
22116
|
+
* optional bool isBillLocked = 57;
|
|
22117
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
22118
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
22119
|
+
* @return {boolean}
|
|
22120
|
+
*/
|
|
22121
|
+
proto.sniipbillapi.SimpleBillDetail.prototype.getIsbilllocked = function() {
|
|
22122
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 57, false));
|
|
22123
|
+
};
|
|
22124
|
+
|
|
22125
|
+
|
|
22126
|
+
/** @param {boolean} value */
|
|
22127
|
+
proto.sniipbillapi.SimpleBillDetail.prototype.setIsbilllocked = function(value) {
|
|
22128
|
+
jspb.Message.setField(this, 57, value);
|
|
22129
|
+
};
|
|
22130
|
+
|
|
22131
|
+
|
|
22132
|
+
/**
|
|
22133
|
+
* optional bool isSystemDraft = 58;
|
|
22134
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
22135
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
22136
|
+
* @return {boolean}
|
|
22137
|
+
*/
|
|
22138
|
+
proto.sniipbillapi.SimpleBillDetail.prototype.getIssystemdraft = function() {
|
|
22139
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 58, false));
|
|
22140
|
+
};
|
|
22141
|
+
|
|
22142
|
+
|
|
22143
|
+
/** @param {boolean} value */
|
|
22144
|
+
proto.sniipbillapi.SimpleBillDetail.prototype.setIssystemdraft = function(value) {
|
|
22145
|
+
jspb.Message.setField(this, 58, value);
|
|
22146
|
+
};
|
|
22147
|
+
|
|
22148
|
+
|
|
21872
22149
|
|
|
21873
22150
|
/**
|
|
21874
22151
|
* Generated by JsPbCodeGenerator.
|
|
@@ -23376,6 +23653,165 @@ proto.sniipbillapi.UnarchiveBillRequest.prototype.setBillid = function(value) {
|
|
|
23376
23653
|
|
|
23377
23654
|
|
|
23378
23655
|
|
|
23656
|
+
/**
|
|
23657
|
+
* Generated by JsPbCodeGenerator.
|
|
23658
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
23659
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
23660
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
23661
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
23662
|
+
* valid.
|
|
23663
|
+
* @extends {jspb.Message}
|
|
23664
|
+
* @constructor
|
|
23665
|
+
*/
|
|
23666
|
+
proto.sniipbillapi.UnlockBillRequest = function(opt_data) {
|
|
23667
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
23668
|
+
};
|
|
23669
|
+
goog.inherits(proto.sniipbillapi.UnlockBillRequest, jspb.Message);
|
|
23670
|
+
if (goog.DEBUG && !COMPILED) {
|
|
23671
|
+
proto.sniipbillapi.UnlockBillRequest.displayName = 'proto.sniipbillapi.UnlockBillRequest';
|
|
23672
|
+
}
|
|
23673
|
+
|
|
23674
|
+
|
|
23675
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23676
|
+
/**
|
|
23677
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
23678
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23679
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23680
|
+
* For the list of reserved names please see:
|
|
23681
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
23682
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
23683
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
23684
|
+
* @return {!Object}
|
|
23685
|
+
*/
|
|
23686
|
+
proto.sniipbillapi.UnlockBillRequest.prototype.toObject = function(opt_includeInstance) {
|
|
23687
|
+
return proto.sniipbillapi.UnlockBillRequest.toObject(opt_includeInstance, this);
|
|
23688
|
+
};
|
|
23689
|
+
|
|
23690
|
+
|
|
23691
|
+
/**
|
|
23692
|
+
* Static version of the {@see toObject} method.
|
|
23693
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
23694
|
+
* instance for transitional soy proto support:
|
|
23695
|
+
* http://goto/soy-param-migration
|
|
23696
|
+
* @param {!proto.sniipbillapi.UnlockBillRequest} msg The msg instance to transform.
|
|
23697
|
+
* @return {!Object}
|
|
23698
|
+
*/
|
|
23699
|
+
proto.sniipbillapi.UnlockBillRequest.toObject = function(includeInstance, msg) {
|
|
23700
|
+
var f, obj = {
|
|
23701
|
+
billid: msg.getBillid()
|
|
23702
|
+
};
|
|
23703
|
+
|
|
23704
|
+
if (includeInstance) {
|
|
23705
|
+
obj.$jspbMessageInstance = msg;
|
|
23706
|
+
}
|
|
23707
|
+
return obj;
|
|
23708
|
+
};
|
|
23709
|
+
}
|
|
23710
|
+
|
|
23711
|
+
|
|
23712
|
+
/**
|
|
23713
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23714
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23715
|
+
* @return {!proto.sniipbillapi.UnlockBillRequest}
|
|
23716
|
+
*/
|
|
23717
|
+
proto.sniipbillapi.UnlockBillRequest.deserializeBinary = function(bytes) {
|
|
23718
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23719
|
+
var msg = new proto.sniipbillapi.UnlockBillRequest;
|
|
23720
|
+
return proto.sniipbillapi.UnlockBillRequest.deserializeBinaryFromReader(msg, reader);
|
|
23721
|
+
};
|
|
23722
|
+
|
|
23723
|
+
|
|
23724
|
+
/**
|
|
23725
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23726
|
+
* given reader into the given message object.
|
|
23727
|
+
* @param {!proto.sniipbillapi.UnlockBillRequest} msg The message object to deserialize into.
|
|
23728
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23729
|
+
* @return {!proto.sniipbillapi.UnlockBillRequest}
|
|
23730
|
+
*/
|
|
23731
|
+
proto.sniipbillapi.UnlockBillRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
23732
|
+
while (reader.nextField()) {
|
|
23733
|
+
if (reader.isEndGroup()) {
|
|
23734
|
+
break;
|
|
23735
|
+
}
|
|
23736
|
+
var field = reader.getFieldNumber();
|
|
23737
|
+
switch (field) {
|
|
23738
|
+
case 1:
|
|
23739
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
23740
|
+
msg.setBillid(value);
|
|
23741
|
+
break;
|
|
23742
|
+
default:
|
|
23743
|
+
reader.skipField();
|
|
23744
|
+
break;
|
|
23745
|
+
}
|
|
23746
|
+
}
|
|
23747
|
+
return msg;
|
|
23748
|
+
};
|
|
23749
|
+
|
|
23750
|
+
|
|
23751
|
+
/**
|
|
23752
|
+
* Class method variant: serializes the given message to binary data
|
|
23753
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
23754
|
+
* @param {!proto.sniipbillapi.UnlockBillRequest} message
|
|
23755
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23756
|
+
*/
|
|
23757
|
+
proto.sniipbillapi.UnlockBillRequest.serializeBinaryToWriter = function(message, writer) {
|
|
23758
|
+
message.serializeBinaryToWriter(writer);
|
|
23759
|
+
};
|
|
23760
|
+
|
|
23761
|
+
|
|
23762
|
+
/**
|
|
23763
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23764
|
+
* @return {!Uint8Array}
|
|
23765
|
+
*/
|
|
23766
|
+
proto.sniipbillapi.UnlockBillRequest.prototype.serializeBinary = function() {
|
|
23767
|
+
var writer = new jspb.BinaryWriter();
|
|
23768
|
+
this.serializeBinaryToWriter(writer);
|
|
23769
|
+
return writer.getResultBuffer();
|
|
23770
|
+
};
|
|
23771
|
+
|
|
23772
|
+
|
|
23773
|
+
/**
|
|
23774
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
23775
|
+
* writing to the given BinaryWriter.
|
|
23776
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23777
|
+
*/
|
|
23778
|
+
proto.sniipbillapi.UnlockBillRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
23779
|
+
var f = undefined;
|
|
23780
|
+
f = this.getBillid();
|
|
23781
|
+
if (f !== 0) {
|
|
23782
|
+
writer.writeInt64(
|
|
23783
|
+
1,
|
|
23784
|
+
f
|
|
23785
|
+
);
|
|
23786
|
+
}
|
|
23787
|
+
};
|
|
23788
|
+
|
|
23789
|
+
|
|
23790
|
+
/**
|
|
23791
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
23792
|
+
* @return {!proto.sniipbillapi.UnlockBillRequest} The clone.
|
|
23793
|
+
*/
|
|
23794
|
+
proto.sniipbillapi.UnlockBillRequest.prototype.cloneMessage = function() {
|
|
23795
|
+
return /** @type {!proto.sniipbillapi.UnlockBillRequest} */ (jspb.Message.cloneMessage(this));
|
|
23796
|
+
};
|
|
23797
|
+
|
|
23798
|
+
|
|
23799
|
+
/**
|
|
23800
|
+
* optional int64 billId = 1;
|
|
23801
|
+
* @return {number}
|
|
23802
|
+
*/
|
|
23803
|
+
proto.sniipbillapi.UnlockBillRequest.prototype.getBillid = function() {
|
|
23804
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
23805
|
+
};
|
|
23806
|
+
|
|
23807
|
+
|
|
23808
|
+
/** @param {number} value */
|
|
23809
|
+
proto.sniipbillapi.UnlockBillRequest.prototype.setBillid = function(value) {
|
|
23810
|
+
jspb.Message.setField(this, 1, value);
|
|
23811
|
+
};
|
|
23812
|
+
|
|
23813
|
+
|
|
23814
|
+
|
|
23379
23815
|
/**
|
|
23380
23816
|
* Generated by JsPbCodeGenerator.
|
|
23381
23817
|
* @param {Array=} opt_data Optional initial data array, typically from a
|