@sniipwebmaster/bill-service-client-grpcweb 21.19.6870 → 21.20.6996

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.
@@ -1514,6 +1514,86 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.getBillsByBillerId
1514
1514
  };
1515
1515
 
1516
1516
 
1517
+ /**
1518
+ * @const
1519
+ * @type {!grpc.web.MethodDescriptor<
1520
+ * !proto.sniipbillapi.GetBillsForUserRequest,
1521
+ * !proto.sniipbillapi.BillsResponse>}
1522
+ */
1523
+ const methodDescriptor_SniipBillAPIService_GetBillsForUser = new grpc.web.MethodDescriptor(
1524
+ '/sniipbillapi.SniipBillAPIService/GetBillsForUser',
1525
+ grpc.web.MethodType.UNARY,
1526
+ proto.sniipbillapi.GetBillsForUserRequest,
1527
+ proto.sniipbillapi.BillsResponse,
1528
+ /**
1529
+ * @param {!proto.sniipbillapi.GetBillsForUserRequest} request
1530
+ * @return {!Uint8Array}
1531
+ */
1532
+ function(request) {
1533
+ return request.serializeBinary();
1534
+ },
1535
+ proto.sniipbillapi.BillsResponse.deserializeBinary
1536
+ );
1537
+
1538
+
1539
+ /**
1540
+ * @const
1541
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1542
+ * !proto.sniipbillapi.GetBillsForUserRequest,
1543
+ * !proto.sniipbillapi.BillsResponse>}
1544
+ */
1545
+ const methodInfo_SniipBillAPIService_GetBillsForUser = new grpc.web.AbstractClientBase.MethodInfo(
1546
+ proto.sniipbillapi.BillsResponse,
1547
+ /**
1548
+ * @param {!proto.sniipbillapi.GetBillsForUserRequest} request
1549
+ * @return {!Uint8Array}
1550
+ */
1551
+ function(request) {
1552
+ return request.serializeBinary();
1553
+ },
1554
+ proto.sniipbillapi.BillsResponse.deserializeBinary
1555
+ );
1556
+
1557
+
1558
+ /**
1559
+ * @param {!proto.sniipbillapi.GetBillsForUserRequest} request The
1560
+ * request proto
1561
+ * @param {?Object<string, string>} metadata User defined
1562
+ * call metadata
1563
+ * @param {function(?grpc.web.Error, ?proto.sniipbillapi.BillsResponse)}
1564
+ * callback The callback function(error, response)
1565
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.BillsResponse>|undefined}
1566
+ * The XHR Node Readable Stream
1567
+ */
1568
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.getBillsForUser =
1569
+ function(request, metadata, callback) {
1570
+ return this.client_.rpcCall(this.hostname_ +
1571
+ '/sniipbillapi.SniipBillAPIService/GetBillsForUser',
1572
+ request,
1573
+ metadata || {},
1574
+ methodDescriptor_SniipBillAPIService_GetBillsForUser,
1575
+ callback);
1576
+ };
1577
+
1578
+
1579
+ /**
1580
+ * @param {!proto.sniipbillapi.GetBillsForUserRequest} request The
1581
+ * request proto
1582
+ * @param {?Object<string, string>} metadata User defined
1583
+ * call metadata
1584
+ * @return {!Promise<!proto.sniipbillapi.BillsResponse>}
1585
+ * Promise that resolves to the response
1586
+ */
1587
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.getBillsForUser =
1588
+ function(request, metadata) {
1589
+ return this.client_.unaryCall(this.hostname_ +
1590
+ '/sniipbillapi.SniipBillAPIService/GetBillsForUser',
1591
+ request,
1592
+ metadata || {},
1593
+ methodDescriptor_SniipBillAPIService_GetBillsForUser);
1594
+ };
1595
+
1596
+
1517
1597
  /**
1518
1598
  * @const
1519
1599
  * @type {!grpc.web.MethodDescriptor<
@@ -2234,6 +2314,86 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.getUserBillConfig
2234
2314
  };
2235
2315
 
2236
2316
 
2317
+ /**
2318
+ * @const
2319
+ * @type {!grpc.web.MethodDescriptor<
2320
+ * !proto.sniipbillapi.IsBillLockedRequest,
2321
+ * !proto.sniipbillapi.BillLockedResponse>}
2322
+ */
2323
+ const methodDescriptor_SniipBillAPIService_IsBillLocked = new grpc.web.MethodDescriptor(
2324
+ '/sniipbillapi.SniipBillAPIService/IsBillLocked',
2325
+ grpc.web.MethodType.UNARY,
2326
+ proto.sniipbillapi.IsBillLockedRequest,
2327
+ proto.sniipbillapi.BillLockedResponse,
2328
+ /**
2329
+ * @param {!proto.sniipbillapi.IsBillLockedRequest} request
2330
+ * @return {!Uint8Array}
2331
+ */
2332
+ function(request) {
2333
+ return request.serializeBinary();
2334
+ },
2335
+ proto.sniipbillapi.BillLockedResponse.deserializeBinary
2336
+ );
2337
+
2338
+
2339
+ /**
2340
+ * @const
2341
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
2342
+ * !proto.sniipbillapi.IsBillLockedRequest,
2343
+ * !proto.sniipbillapi.BillLockedResponse>}
2344
+ */
2345
+ const methodInfo_SniipBillAPIService_IsBillLocked = new grpc.web.AbstractClientBase.MethodInfo(
2346
+ proto.sniipbillapi.BillLockedResponse,
2347
+ /**
2348
+ * @param {!proto.sniipbillapi.IsBillLockedRequest} request
2349
+ * @return {!Uint8Array}
2350
+ */
2351
+ function(request) {
2352
+ return request.serializeBinary();
2353
+ },
2354
+ proto.sniipbillapi.BillLockedResponse.deserializeBinary
2355
+ );
2356
+
2357
+
2358
+ /**
2359
+ * @param {!proto.sniipbillapi.IsBillLockedRequest} request The
2360
+ * request proto
2361
+ * @param {?Object<string, string>} metadata User defined
2362
+ * call metadata
2363
+ * @param {function(?grpc.web.Error, ?proto.sniipbillapi.BillLockedResponse)}
2364
+ * callback The callback function(error, response)
2365
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.BillLockedResponse>|undefined}
2366
+ * The XHR Node Readable Stream
2367
+ */
2368
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.isBillLocked =
2369
+ function(request, metadata, callback) {
2370
+ return this.client_.rpcCall(this.hostname_ +
2371
+ '/sniipbillapi.SniipBillAPIService/IsBillLocked',
2372
+ request,
2373
+ metadata || {},
2374
+ methodDescriptor_SniipBillAPIService_IsBillLocked,
2375
+ callback);
2376
+ };
2377
+
2378
+
2379
+ /**
2380
+ * @param {!proto.sniipbillapi.IsBillLockedRequest} request The
2381
+ * request proto
2382
+ * @param {?Object<string, string>} metadata User defined
2383
+ * call metadata
2384
+ * @return {!Promise<!proto.sniipbillapi.BillLockedResponse>}
2385
+ * Promise that resolves to the response
2386
+ */
2387
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.isBillLocked =
2388
+ function(request, metadata) {
2389
+ return this.client_.unaryCall(this.hostname_ +
2390
+ '/sniipbillapi.SniipBillAPIService/IsBillLocked',
2391
+ request,
2392
+ metadata || {},
2393
+ methodDescriptor_SniipBillAPIService_IsBillLocked);
2394
+ };
2395
+
2396
+
2237
2397
  /**
2238
2398
  * @const
2239
2399
  * @type {!grpc.web.MethodDescriptor<
@@ -27,6 +27,7 @@ goog.exportSymbol('proto.sniipbillapi.BillDetails', null, global);
27
27
  goog.exportSymbol('proto.sniipbillapi.BillDetailsResponse', null, global);
28
28
  goog.exportSymbol('proto.sniipbillapi.BillDueSoonRequest', null, global);
29
29
  goog.exportSymbol('proto.sniipbillapi.BillEmailShareRequest', null, global);
30
+ goog.exportSymbol('proto.sniipbillapi.BillLockedResponse', null, global);
30
31
  goog.exportSymbol('proto.sniipbillapi.BillPayment', null, global);
31
32
  goog.exportSymbol('proto.sniipbillapi.BillReminder', null, global);
32
33
  goog.exportSymbol('proto.sniipbillapi.BillReminderRequest', null, global);
@@ -59,6 +60,7 @@ goog.exportSymbol('proto.sniipbillapi.GetArchivedRequest', null, global);
59
60
  goog.exportSymbol('proto.sniipbillapi.GetBadgeCountRequest', null, global);
60
61
  goog.exportSymbol('proto.sniipbillapi.GetBillDetailsRequest', null, global);
61
62
  goog.exportSymbol('proto.sniipbillapi.GetBillsByBillerIdAndUserIdRequest', null, global);
63
+ goog.exportSymbol('proto.sniipbillapi.GetBillsForUserRequest', null, global);
62
64
  goog.exportSymbol('proto.sniipbillapi.GetBillsRequest', null, global);
63
65
  goog.exportSymbol('proto.sniipbillapi.GetBlockedOrganisationsForUserRequest', null, global);
64
66
  goog.exportSymbol('proto.sniipbillapi.GetExistingBillRequest', null, global);
@@ -72,6 +74,7 @@ goog.exportSymbol('proto.sniipbillapi.GetUnpaidMbillsResponse', null, global);
72
74
  goog.exportSymbol('proto.sniipbillapi.GetUsersForBillerResponse', null, global);
73
75
  goog.exportSymbol('proto.sniipbillapi.Invoice', null, global);
74
76
  goog.exportSymbol('proto.sniipbillapi.InvoiceBillPair', null, global);
77
+ goog.exportSymbol('proto.sniipbillapi.IsBillLockedRequest', null, global);
75
78
  goog.exportSymbol('proto.sniipbillapi.ItemPaymentDetailsInternalResponse', null, global);
76
79
  goog.exportSymbol('proto.sniipbillapi.ItemPaymentDetailsResponse', null, global);
77
80
  goog.exportSymbol('proto.sniipbillapi.LinkAnonymousBillRequest', null, global);
@@ -6043,6 +6046,211 @@ proto.sniipbillapi.BillEmailShareRequest.prototype.setTimezone = function(value)
6043
6046
 
6044
6047
 
6045
6048
 
6049
+ /**
6050
+ * Generated by JsPbCodeGenerator.
6051
+ * @param {Array=} opt_data Optional initial data array, typically from a
6052
+ * server response, or constructed directly in Javascript. The array is used
6053
+ * in place and becomes part of the constructed object. It is not cloned.
6054
+ * If no data is provided, the constructed object will be empty, but still
6055
+ * valid.
6056
+ * @extends {jspb.Message}
6057
+ * @constructor
6058
+ */
6059
+ proto.sniipbillapi.BillLockedResponse = function(opt_data) {
6060
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
6061
+ };
6062
+ goog.inherits(proto.sniipbillapi.BillLockedResponse, jspb.Message);
6063
+ if (goog.DEBUG && !COMPILED) {
6064
+ proto.sniipbillapi.BillLockedResponse.displayName = 'proto.sniipbillapi.BillLockedResponse';
6065
+ }
6066
+
6067
+
6068
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6069
+ /**
6070
+ * Creates an object representation of this proto suitable for use in Soy templates.
6071
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6072
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6073
+ * For the list of reserved names please see:
6074
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
6075
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
6076
+ * for transitional soy proto support: http://goto/soy-param-migration
6077
+ * @return {!Object}
6078
+ */
6079
+ proto.sniipbillapi.BillLockedResponse.prototype.toObject = function(opt_includeInstance) {
6080
+ return proto.sniipbillapi.BillLockedResponse.toObject(opt_includeInstance, this);
6081
+ };
6082
+
6083
+
6084
+ /**
6085
+ * Static version of the {@see toObject} method.
6086
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
6087
+ * instance for transitional soy proto support:
6088
+ * http://goto/soy-param-migration
6089
+ * @param {!proto.sniipbillapi.BillLockedResponse} msg The msg instance to transform.
6090
+ * @return {!Object}
6091
+ */
6092
+ proto.sniipbillapi.BillLockedResponse.toObject = function(includeInstance, msg) {
6093
+ var f, obj = {
6094
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
6095
+ islocked: msg.getIslocked()
6096
+ };
6097
+
6098
+ if (includeInstance) {
6099
+ obj.$jspbMessageInstance = msg;
6100
+ }
6101
+ return obj;
6102
+ };
6103
+ }
6104
+
6105
+
6106
+ /**
6107
+ * Deserializes binary data (in protobuf wire format).
6108
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6109
+ * @return {!proto.sniipbillapi.BillLockedResponse}
6110
+ */
6111
+ proto.sniipbillapi.BillLockedResponse.deserializeBinary = function(bytes) {
6112
+ var reader = new jspb.BinaryReader(bytes);
6113
+ var msg = new proto.sniipbillapi.BillLockedResponse;
6114
+ return proto.sniipbillapi.BillLockedResponse.deserializeBinaryFromReader(msg, reader);
6115
+ };
6116
+
6117
+
6118
+ /**
6119
+ * Deserializes binary data (in protobuf wire format) from the
6120
+ * given reader into the given message object.
6121
+ * @param {!proto.sniipbillapi.BillLockedResponse} msg The message object to deserialize into.
6122
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6123
+ * @return {!proto.sniipbillapi.BillLockedResponse}
6124
+ */
6125
+ proto.sniipbillapi.BillLockedResponse.deserializeBinaryFromReader = function(msg, reader) {
6126
+ while (reader.nextField()) {
6127
+ if (reader.isEndGroup()) {
6128
+ break;
6129
+ }
6130
+ var field = reader.getFieldNumber();
6131
+ switch (field) {
6132
+ case 1:
6133
+ var value = new proto.sniipbillapi.ResponseCode;
6134
+ reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
6135
+ msg.setResponsecode(value);
6136
+ break;
6137
+ case 2:
6138
+ var value = /** @type {boolean} */ (reader.readBool());
6139
+ msg.setIslocked(value);
6140
+ break;
6141
+ default:
6142
+ reader.skipField();
6143
+ break;
6144
+ }
6145
+ }
6146
+ return msg;
6147
+ };
6148
+
6149
+
6150
+ /**
6151
+ * Class method variant: serializes the given message to binary data
6152
+ * (in protobuf wire format), writing to the given BinaryWriter.
6153
+ * @param {!proto.sniipbillapi.BillLockedResponse} message
6154
+ * @param {!jspb.BinaryWriter} writer
6155
+ */
6156
+ proto.sniipbillapi.BillLockedResponse.serializeBinaryToWriter = function(message, writer) {
6157
+ message.serializeBinaryToWriter(writer);
6158
+ };
6159
+
6160
+
6161
+ /**
6162
+ * Serializes the message to binary data (in protobuf wire format).
6163
+ * @return {!Uint8Array}
6164
+ */
6165
+ proto.sniipbillapi.BillLockedResponse.prototype.serializeBinary = function() {
6166
+ var writer = new jspb.BinaryWriter();
6167
+ this.serializeBinaryToWriter(writer);
6168
+ return writer.getResultBuffer();
6169
+ };
6170
+
6171
+
6172
+ /**
6173
+ * Serializes the message to binary data (in protobuf wire format),
6174
+ * writing to the given BinaryWriter.
6175
+ * @param {!jspb.BinaryWriter} writer
6176
+ */
6177
+ proto.sniipbillapi.BillLockedResponse.prototype.serializeBinaryToWriter = function (writer) {
6178
+ var f = undefined;
6179
+ f = this.getResponsecode();
6180
+ if (f != null) {
6181
+ writer.writeMessage(
6182
+ 1,
6183
+ f,
6184
+ proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
6185
+ );
6186
+ }
6187
+ f = this.getIslocked();
6188
+ if (f) {
6189
+ writer.writeBool(
6190
+ 2,
6191
+ f
6192
+ );
6193
+ }
6194
+ };
6195
+
6196
+
6197
+ /**
6198
+ * Creates a deep clone of this proto. No data is shared with the original.
6199
+ * @return {!proto.sniipbillapi.BillLockedResponse} The clone.
6200
+ */
6201
+ proto.sniipbillapi.BillLockedResponse.prototype.cloneMessage = function() {
6202
+ return /** @type {!proto.sniipbillapi.BillLockedResponse} */ (jspb.Message.cloneMessage(this));
6203
+ };
6204
+
6205
+
6206
+ /**
6207
+ * optional ResponseCode responseCode = 1;
6208
+ * @return {proto.sniipbillapi.ResponseCode}
6209
+ */
6210
+ proto.sniipbillapi.BillLockedResponse.prototype.getResponsecode = function() {
6211
+ return /** @type{proto.sniipbillapi.ResponseCode} */ (
6212
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
6213
+ };
6214
+
6215
+
6216
+ /** @param {proto.sniipbillapi.ResponseCode|undefined} value */
6217
+ proto.sniipbillapi.BillLockedResponse.prototype.setResponsecode = function(value) {
6218
+ jspb.Message.setWrapperField(this, 1, value);
6219
+ };
6220
+
6221
+
6222
+ proto.sniipbillapi.BillLockedResponse.prototype.clearResponsecode = function() {
6223
+ this.setResponsecode(undefined);
6224
+ };
6225
+
6226
+
6227
+ /**
6228
+ * Returns whether this field is set.
6229
+ * @return{!boolean}
6230
+ */
6231
+ proto.sniipbillapi.BillLockedResponse.prototype.hasResponsecode = function() {
6232
+ return jspb.Message.getField(this, 1) != null;
6233
+ };
6234
+
6235
+
6236
+ /**
6237
+ * optional bool isLocked = 2;
6238
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
6239
+ * You should avoid comparisons like {@code val === true/false} in those cases.
6240
+ * @return {boolean}
6241
+ */
6242
+ proto.sniipbillapi.BillLockedResponse.prototype.getIslocked = function() {
6243
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 2, false));
6244
+ };
6245
+
6246
+
6247
+ /** @param {boolean} value */
6248
+ proto.sniipbillapi.BillLockedResponse.prototype.setIslocked = function(value) {
6249
+ jspb.Message.setField(this, 2, value);
6250
+ };
6251
+
6252
+
6253
+
6046
6254
  /**
6047
6255
  * Generated by JsPbCodeGenerator.
6048
6256
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -13109,6 +13317,182 @@ proto.sniipbillapi.GetBillsByBillerIdAndUserIdRequest.prototype.setUserid = func
13109
13317
 
13110
13318
 
13111
13319
 
13320
+ /**
13321
+ * Generated by JsPbCodeGenerator.
13322
+ * @param {Array=} opt_data Optional initial data array, typically from a
13323
+ * server response, or constructed directly in Javascript. The array is used
13324
+ * in place and becomes part of the constructed object. It is not cloned.
13325
+ * If no data is provided, the constructed object will be empty, but still
13326
+ * valid.
13327
+ * @extends {jspb.Message}
13328
+ * @constructor
13329
+ */
13330
+ proto.sniipbillapi.GetBillsForUserRequest = function(opt_data) {
13331
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
13332
+ };
13333
+ goog.inherits(proto.sniipbillapi.GetBillsForUserRequest, jspb.Message);
13334
+ if (goog.DEBUG && !COMPILED) {
13335
+ proto.sniipbillapi.GetBillsForUserRequest.displayName = 'proto.sniipbillapi.GetBillsForUserRequest';
13336
+ }
13337
+
13338
+
13339
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13340
+ /**
13341
+ * Creates an object representation of this proto suitable for use in Soy templates.
13342
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13343
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13344
+ * For the list of reserved names please see:
13345
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
13346
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
13347
+ * for transitional soy proto support: http://goto/soy-param-migration
13348
+ * @return {!Object}
13349
+ */
13350
+ proto.sniipbillapi.GetBillsForUserRequest.prototype.toObject = function(opt_includeInstance) {
13351
+ return proto.sniipbillapi.GetBillsForUserRequest.toObject(opt_includeInstance, this);
13352
+ };
13353
+
13354
+
13355
+ /**
13356
+ * Static version of the {@see toObject} method.
13357
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
13358
+ * instance for transitional soy proto support:
13359
+ * http://goto/soy-param-migration
13360
+ * @param {!proto.sniipbillapi.GetBillsForUserRequest} msg The msg instance to transform.
13361
+ * @return {!Object}
13362
+ */
13363
+ proto.sniipbillapi.GetBillsForUserRequest.toObject = function(includeInstance, msg) {
13364
+ var f, obj = {
13365
+ data: (f = msg.getData()) && proto.sniipbillapi.BillsRequest.toObject(includeInstance, f)
13366
+ };
13367
+
13368
+ if (includeInstance) {
13369
+ obj.$jspbMessageInstance = msg;
13370
+ }
13371
+ return obj;
13372
+ };
13373
+ }
13374
+
13375
+
13376
+ /**
13377
+ * Deserializes binary data (in protobuf wire format).
13378
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
13379
+ * @return {!proto.sniipbillapi.GetBillsForUserRequest}
13380
+ */
13381
+ proto.sniipbillapi.GetBillsForUserRequest.deserializeBinary = function(bytes) {
13382
+ var reader = new jspb.BinaryReader(bytes);
13383
+ var msg = new proto.sniipbillapi.GetBillsForUserRequest;
13384
+ return proto.sniipbillapi.GetBillsForUserRequest.deserializeBinaryFromReader(msg, reader);
13385
+ };
13386
+
13387
+
13388
+ /**
13389
+ * Deserializes binary data (in protobuf wire format) from the
13390
+ * given reader into the given message object.
13391
+ * @param {!proto.sniipbillapi.GetBillsForUserRequest} msg The message object to deserialize into.
13392
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13393
+ * @return {!proto.sniipbillapi.GetBillsForUserRequest}
13394
+ */
13395
+ proto.sniipbillapi.GetBillsForUserRequest.deserializeBinaryFromReader = function(msg, reader) {
13396
+ while (reader.nextField()) {
13397
+ if (reader.isEndGroup()) {
13398
+ break;
13399
+ }
13400
+ var field = reader.getFieldNumber();
13401
+ switch (field) {
13402
+ case 1:
13403
+ var value = new proto.sniipbillapi.BillsRequest;
13404
+ reader.readMessage(value,proto.sniipbillapi.BillsRequest.deserializeBinaryFromReader);
13405
+ msg.setData(value);
13406
+ break;
13407
+ default:
13408
+ reader.skipField();
13409
+ break;
13410
+ }
13411
+ }
13412
+ return msg;
13413
+ };
13414
+
13415
+
13416
+ /**
13417
+ * Class method variant: serializes the given message to binary data
13418
+ * (in protobuf wire format), writing to the given BinaryWriter.
13419
+ * @param {!proto.sniipbillapi.GetBillsForUserRequest} message
13420
+ * @param {!jspb.BinaryWriter} writer
13421
+ */
13422
+ proto.sniipbillapi.GetBillsForUserRequest.serializeBinaryToWriter = function(message, writer) {
13423
+ message.serializeBinaryToWriter(writer);
13424
+ };
13425
+
13426
+
13427
+ /**
13428
+ * Serializes the message to binary data (in protobuf wire format).
13429
+ * @return {!Uint8Array}
13430
+ */
13431
+ proto.sniipbillapi.GetBillsForUserRequest.prototype.serializeBinary = function() {
13432
+ var writer = new jspb.BinaryWriter();
13433
+ this.serializeBinaryToWriter(writer);
13434
+ return writer.getResultBuffer();
13435
+ };
13436
+
13437
+
13438
+ /**
13439
+ * Serializes the message to binary data (in protobuf wire format),
13440
+ * writing to the given BinaryWriter.
13441
+ * @param {!jspb.BinaryWriter} writer
13442
+ */
13443
+ proto.sniipbillapi.GetBillsForUserRequest.prototype.serializeBinaryToWriter = function (writer) {
13444
+ var f = undefined;
13445
+ f = this.getData();
13446
+ if (f != null) {
13447
+ writer.writeMessage(
13448
+ 1,
13449
+ f,
13450
+ proto.sniipbillapi.BillsRequest.serializeBinaryToWriter
13451
+ );
13452
+ }
13453
+ };
13454
+
13455
+
13456
+ /**
13457
+ * Creates a deep clone of this proto. No data is shared with the original.
13458
+ * @return {!proto.sniipbillapi.GetBillsForUserRequest} The clone.
13459
+ */
13460
+ proto.sniipbillapi.GetBillsForUserRequest.prototype.cloneMessage = function() {
13461
+ return /** @type {!proto.sniipbillapi.GetBillsForUserRequest} */ (jspb.Message.cloneMessage(this));
13462
+ };
13463
+
13464
+
13465
+ /**
13466
+ * optional BillsRequest data = 1;
13467
+ * @return {proto.sniipbillapi.BillsRequest}
13468
+ */
13469
+ proto.sniipbillapi.GetBillsForUserRequest.prototype.getData = function() {
13470
+ return /** @type{proto.sniipbillapi.BillsRequest} */ (
13471
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.BillsRequest, 1));
13472
+ };
13473
+
13474
+
13475
+ /** @param {proto.sniipbillapi.BillsRequest|undefined} value */
13476
+ proto.sniipbillapi.GetBillsForUserRequest.prototype.setData = function(value) {
13477
+ jspb.Message.setWrapperField(this, 1, value);
13478
+ };
13479
+
13480
+
13481
+ proto.sniipbillapi.GetBillsForUserRequest.prototype.clearData = function() {
13482
+ this.setData(undefined);
13483
+ };
13484
+
13485
+
13486
+ /**
13487
+ * Returns whether this field is set.
13488
+ * @return{!boolean}
13489
+ */
13490
+ proto.sniipbillapi.GetBillsForUserRequest.prototype.hasData = function() {
13491
+ return jspb.Message.getField(this, 1) != null;
13492
+ };
13493
+
13494
+
13495
+
13112
13496
  /**
13113
13497
  * Generated by JsPbCodeGenerator.
13114
13498
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -15743,6 +16127,165 @@ proto.sniipbillapi.InvoiceBillPair.prototype.setUserid = function(value) {
15743
16127
 
15744
16128
 
15745
16129
 
16130
+ /**
16131
+ * Generated by JsPbCodeGenerator.
16132
+ * @param {Array=} opt_data Optional initial data array, typically from a
16133
+ * server response, or constructed directly in Javascript. The array is used
16134
+ * in place and becomes part of the constructed object. It is not cloned.
16135
+ * If no data is provided, the constructed object will be empty, but still
16136
+ * valid.
16137
+ * @extends {jspb.Message}
16138
+ * @constructor
16139
+ */
16140
+ proto.sniipbillapi.IsBillLockedRequest = function(opt_data) {
16141
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
16142
+ };
16143
+ goog.inherits(proto.sniipbillapi.IsBillLockedRequest, jspb.Message);
16144
+ if (goog.DEBUG && !COMPILED) {
16145
+ proto.sniipbillapi.IsBillLockedRequest.displayName = 'proto.sniipbillapi.IsBillLockedRequest';
16146
+ }
16147
+
16148
+
16149
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16150
+ /**
16151
+ * Creates an object representation of this proto suitable for use in Soy templates.
16152
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16153
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16154
+ * For the list of reserved names please see:
16155
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
16156
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
16157
+ * for transitional soy proto support: http://goto/soy-param-migration
16158
+ * @return {!Object}
16159
+ */
16160
+ proto.sniipbillapi.IsBillLockedRequest.prototype.toObject = function(opt_includeInstance) {
16161
+ return proto.sniipbillapi.IsBillLockedRequest.toObject(opt_includeInstance, this);
16162
+ };
16163
+
16164
+
16165
+ /**
16166
+ * Static version of the {@see toObject} method.
16167
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
16168
+ * instance for transitional soy proto support:
16169
+ * http://goto/soy-param-migration
16170
+ * @param {!proto.sniipbillapi.IsBillLockedRequest} msg The msg instance to transform.
16171
+ * @return {!Object}
16172
+ */
16173
+ proto.sniipbillapi.IsBillLockedRequest.toObject = function(includeInstance, msg) {
16174
+ var f, obj = {
16175
+ billid: msg.getBillid()
16176
+ };
16177
+
16178
+ if (includeInstance) {
16179
+ obj.$jspbMessageInstance = msg;
16180
+ }
16181
+ return obj;
16182
+ };
16183
+ }
16184
+
16185
+
16186
+ /**
16187
+ * Deserializes binary data (in protobuf wire format).
16188
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16189
+ * @return {!proto.sniipbillapi.IsBillLockedRequest}
16190
+ */
16191
+ proto.sniipbillapi.IsBillLockedRequest.deserializeBinary = function(bytes) {
16192
+ var reader = new jspb.BinaryReader(bytes);
16193
+ var msg = new proto.sniipbillapi.IsBillLockedRequest;
16194
+ return proto.sniipbillapi.IsBillLockedRequest.deserializeBinaryFromReader(msg, reader);
16195
+ };
16196
+
16197
+
16198
+ /**
16199
+ * Deserializes binary data (in protobuf wire format) from the
16200
+ * given reader into the given message object.
16201
+ * @param {!proto.sniipbillapi.IsBillLockedRequest} msg The message object to deserialize into.
16202
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16203
+ * @return {!proto.sniipbillapi.IsBillLockedRequest}
16204
+ */
16205
+ proto.sniipbillapi.IsBillLockedRequest.deserializeBinaryFromReader = function(msg, reader) {
16206
+ while (reader.nextField()) {
16207
+ if (reader.isEndGroup()) {
16208
+ break;
16209
+ }
16210
+ var field = reader.getFieldNumber();
16211
+ switch (field) {
16212
+ case 1:
16213
+ var value = /** @type {number} */ (reader.readInt64());
16214
+ msg.setBillid(value);
16215
+ break;
16216
+ default:
16217
+ reader.skipField();
16218
+ break;
16219
+ }
16220
+ }
16221
+ return msg;
16222
+ };
16223
+
16224
+
16225
+ /**
16226
+ * Class method variant: serializes the given message to binary data
16227
+ * (in protobuf wire format), writing to the given BinaryWriter.
16228
+ * @param {!proto.sniipbillapi.IsBillLockedRequest} message
16229
+ * @param {!jspb.BinaryWriter} writer
16230
+ */
16231
+ proto.sniipbillapi.IsBillLockedRequest.serializeBinaryToWriter = function(message, writer) {
16232
+ message.serializeBinaryToWriter(writer);
16233
+ };
16234
+
16235
+
16236
+ /**
16237
+ * Serializes the message to binary data (in protobuf wire format).
16238
+ * @return {!Uint8Array}
16239
+ */
16240
+ proto.sniipbillapi.IsBillLockedRequest.prototype.serializeBinary = function() {
16241
+ var writer = new jspb.BinaryWriter();
16242
+ this.serializeBinaryToWriter(writer);
16243
+ return writer.getResultBuffer();
16244
+ };
16245
+
16246
+
16247
+ /**
16248
+ * Serializes the message to binary data (in protobuf wire format),
16249
+ * writing to the given BinaryWriter.
16250
+ * @param {!jspb.BinaryWriter} writer
16251
+ */
16252
+ proto.sniipbillapi.IsBillLockedRequest.prototype.serializeBinaryToWriter = function (writer) {
16253
+ var f = undefined;
16254
+ f = this.getBillid();
16255
+ if (f !== 0) {
16256
+ writer.writeInt64(
16257
+ 1,
16258
+ f
16259
+ );
16260
+ }
16261
+ };
16262
+
16263
+
16264
+ /**
16265
+ * Creates a deep clone of this proto. No data is shared with the original.
16266
+ * @return {!proto.sniipbillapi.IsBillLockedRequest} The clone.
16267
+ */
16268
+ proto.sniipbillapi.IsBillLockedRequest.prototype.cloneMessage = function() {
16269
+ return /** @type {!proto.sniipbillapi.IsBillLockedRequest} */ (jspb.Message.cloneMessage(this));
16270
+ };
16271
+
16272
+
16273
+ /**
16274
+ * optional int64 billId = 1;
16275
+ * @return {number}
16276
+ */
16277
+ proto.sniipbillapi.IsBillLockedRequest.prototype.getBillid = function() {
16278
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
16279
+ };
16280
+
16281
+
16282
+ /** @param {number} value */
16283
+ proto.sniipbillapi.IsBillLockedRequest.prototype.setBillid = function(value) {
16284
+ jspb.Message.setField(this, 1, value);
16285
+ };
16286
+
16287
+
16288
+
15746
16289
  /**
15747
16290
  * Generated by JsPbCodeGenerator.
15748
16291
  * @param {Array=} opt_data Optional initial data array, typically from a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "21.19.6870",
3
+ "version": "21.20.6996",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",