@sniipwebmaster/bill-service-client-grpcweb 26.5.15367 → 26.5.15399

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.
@@ -749,6 +749,67 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.deleteBill =
749
749
  };
750
750
 
751
751
 
752
+ /**
753
+ * @const
754
+ * @type {!grpc.web.MethodDescriptor<
755
+ * !proto.sniipbillapi.BulkDeleteBillsRequest,
756
+ * !proto.sniipbillapi.ResponseCode>}
757
+ */
758
+ const methodDescriptor_SniipBillAPIService_BulkDeleteBills = new grpc.web.MethodDescriptor(
759
+ '/sniipbillapi.SniipBillAPIService/BulkDeleteBills',
760
+ grpc.web.MethodType.UNARY,
761
+ proto.sniipbillapi.BulkDeleteBillsRequest,
762
+ proto.sniipbillapi.ResponseCode,
763
+ /**
764
+ * @param {!proto.sniipbillapi.BulkDeleteBillsRequest} request
765
+ * @return {!Uint8Array}
766
+ */
767
+ function(request) {
768
+ return request.serializeBinary();
769
+ },
770
+ proto.sniipbillapi.ResponseCode.deserializeBinary
771
+ );
772
+
773
+
774
+ /**
775
+ * @param {!proto.sniipbillapi.BulkDeleteBillsRequest} request The
776
+ * request proto
777
+ * @param {?Object<string, string>} metadata User defined
778
+ * call metadata
779
+ * @param {function(?grpc.web.RpcError, ?proto.sniipbillapi.ResponseCode)}
780
+ * callback The callback function(error, response)
781
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.ResponseCode>|undefined}
782
+ * The XHR Node Readable Stream
783
+ */
784
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.bulkDeleteBills =
785
+ function(request, metadata, callback) {
786
+ return this.client_.rpcCall(this.hostname_ +
787
+ '/sniipbillapi.SniipBillAPIService/BulkDeleteBills',
788
+ request,
789
+ metadata || {},
790
+ methodDescriptor_SniipBillAPIService_BulkDeleteBills,
791
+ callback);
792
+ };
793
+
794
+
795
+ /**
796
+ * @param {!proto.sniipbillapi.BulkDeleteBillsRequest} request The
797
+ * request proto
798
+ * @param {?Object<string, string>=} metadata User defined
799
+ * call metadata
800
+ * @return {!Promise<!proto.sniipbillapi.ResponseCode>}
801
+ * Promise that resolves to the response
802
+ */
803
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.bulkDeleteBills =
804
+ function(request, metadata) {
805
+ return this.client_.unaryCall(this.hostname_ +
806
+ '/sniipbillapi.SniipBillAPIService/BulkDeleteBills',
807
+ request,
808
+ metadata || {},
809
+ methodDescriptor_SniipBillAPIService_BulkDeleteBills);
810
+ };
811
+
812
+
752
813
  /**
753
814
  * @const
754
815
  * @type {!grpc.web.MethodDescriptor<
@@ -68,6 +68,7 @@ goog.exportSymbol('proto.sniipbillapi.BillsSummaryResponse', null, global);
68
68
  goog.exportSymbol('proto.sniipbillapi.BlockedOrganisation', null, global);
69
69
  goog.exportSymbol('proto.sniipbillapi.BlockedOrganisationsForUserRequest', null, global);
70
70
  goog.exportSymbol('proto.sniipbillapi.BlockedOrganisationsForUserResponse', null, global);
71
+ goog.exportSymbol('proto.sniipbillapi.BulkDeleteBillsRequest', null, global);
71
72
  goog.exportSymbol('proto.sniipbillapi.CheckUserBillerIdsRequest', null, global);
72
73
  goog.exportSymbol('proto.sniipbillapi.CheckUserBillerIdsResponse', null, global);
73
74
  goog.exportSymbol('proto.sniipbillapi.ConvertBillToDraftRequest', null, global);
@@ -1681,6 +1682,27 @@ if (goog.DEBUG && !COMPILED) {
1681
1682
  */
1682
1683
  proto.sniipbillapi.DeleteBillRequest.displayName = 'proto.sniipbillapi.DeleteBillRequest';
1683
1684
  }
1685
+ /**
1686
+ * Generated by JsPbCodeGenerator.
1687
+ * @param {Array=} opt_data Optional initial data array, typically from a
1688
+ * server response, or constructed directly in Javascript. The array is used
1689
+ * in place and becomes part of the constructed object. It is not cloned.
1690
+ * If no data is provided, the constructed object will be empty, but still
1691
+ * valid.
1692
+ * @extends {jspb.Message}
1693
+ * @constructor
1694
+ */
1695
+ proto.sniipbillapi.BulkDeleteBillsRequest = function(opt_data) {
1696
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.BulkDeleteBillsRequest.repeatedFields_, null);
1697
+ };
1698
+ goog.inherits(proto.sniipbillapi.BulkDeleteBillsRequest, jspb.Message);
1699
+ if (goog.DEBUG && !COMPILED) {
1700
+ /**
1701
+ * @public
1702
+ * @override
1703
+ */
1704
+ proto.sniipbillapi.BulkDeleteBillsRequest.displayName = 'proto.sniipbillapi.BulkDeleteBillsRequest';
1705
+ }
1684
1706
  /**
1685
1707
  * Generated by JsPbCodeGenerator.
1686
1708
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -24279,6 +24301,164 @@ proto.sniipbillapi.DeleteBillRequest.prototype.setBillid = function(value) {
24279
24301
 
24280
24302
 
24281
24303
 
24304
+ /**
24305
+ * List of repeated fields within this message type.
24306
+ * @private {!Array<number>}
24307
+ * @const
24308
+ */
24309
+ proto.sniipbillapi.BulkDeleteBillsRequest.repeatedFields_ = [1];
24310
+
24311
+
24312
+
24313
+ if (jspb.Message.GENERATE_TO_OBJECT) {
24314
+ /**
24315
+ * Creates an object representation of this proto.
24316
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
24317
+ * Optional fields that are not set will be set to undefined.
24318
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
24319
+ * For the list of reserved names please see:
24320
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
24321
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
24322
+ * JSPB instance for transitional soy proto support:
24323
+ * http://goto/soy-param-migration
24324
+ * @return {!Object}
24325
+ */
24326
+ proto.sniipbillapi.BulkDeleteBillsRequest.prototype.toObject = function(opt_includeInstance) {
24327
+ return proto.sniipbillapi.BulkDeleteBillsRequest.toObject(opt_includeInstance, this);
24328
+ };
24329
+
24330
+
24331
+ /**
24332
+ * Static version of the {@see toObject} method.
24333
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24334
+ * the JSPB instance for transitional soy proto support:
24335
+ * http://goto/soy-param-migration
24336
+ * @param {!proto.sniipbillapi.BulkDeleteBillsRequest} msg The msg instance to transform.
24337
+ * @return {!Object}
24338
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24339
+ */
24340
+ proto.sniipbillapi.BulkDeleteBillsRequest.toObject = function(includeInstance, msg) {
24341
+ var f, obj = {
24342
+ billidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
24343
+ };
24344
+
24345
+ if (includeInstance) {
24346
+ obj.$jspbMessageInstance = msg;
24347
+ }
24348
+ return obj;
24349
+ };
24350
+ }
24351
+
24352
+
24353
+ /**
24354
+ * Deserializes binary data (in protobuf wire format).
24355
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
24356
+ * @return {!proto.sniipbillapi.BulkDeleteBillsRequest}
24357
+ */
24358
+ proto.sniipbillapi.BulkDeleteBillsRequest.deserializeBinary = function(bytes) {
24359
+ var reader = new jspb.BinaryReader(bytes);
24360
+ var msg = new proto.sniipbillapi.BulkDeleteBillsRequest;
24361
+ return proto.sniipbillapi.BulkDeleteBillsRequest.deserializeBinaryFromReader(msg, reader);
24362
+ };
24363
+
24364
+
24365
+ /**
24366
+ * Deserializes binary data (in protobuf wire format) from the
24367
+ * given reader into the given message object.
24368
+ * @param {!proto.sniipbillapi.BulkDeleteBillsRequest} msg The message object to deserialize into.
24369
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24370
+ * @return {!proto.sniipbillapi.BulkDeleteBillsRequest}
24371
+ */
24372
+ proto.sniipbillapi.BulkDeleteBillsRequest.deserializeBinaryFromReader = function(msg, reader) {
24373
+ while (reader.nextField()) {
24374
+ if (reader.isEndGroup()) {
24375
+ break;
24376
+ }
24377
+ var field = reader.getFieldNumber();
24378
+ switch (field) {
24379
+ case 1:
24380
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
24381
+ for (var i = 0; i < values.length; i++) {
24382
+ msg.addBillids(values[i]);
24383
+ }
24384
+ break;
24385
+ default:
24386
+ reader.skipField();
24387
+ break;
24388
+ }
24389
+ }
24390
+ return msg;
24391
+ };
24392
+
24393
+
24394
+ /**
24395
+ * Serializes the message to binary data (in protobuf wire format).
24396
+ * @return {!Uint8Array}
24397
+ */
24398
+ proto.sniipbillapi.BulkDeleteBillsRequest.prototype.serializeBinary = function() {
24399
+ var writer = new jspb.BinaryWriter();
24400
+ proto.sniipbillapi.BulkDeleteBillsRequest.serializeBinaryToWriter(this, writer);
24401
+ return writer.getResultBuffer();
24402
+ };
24403
+
24404
+
24405
+ /**
24406
+ * Serializes the given message to binary data (in protobuf wire
24407
+ * format), writing to the given BinaryWriter.
24408
+ * @param {!proto.sniipbillapi.BulkDeleteBillsRequest} message
24409
+ * @param {!jspb.BinaryWriter} writer
24410
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24411
+ */
24412
+ proto.sniipbillapi.BulkDeleteBillsRequest.serializeBinaryToWriter = function(message, writer) {
24413
+ var f = undefined;
24414
+ f = message.getBillidsList();
24415
+ if (f.length > 0) {
24416
+ writer.writePackedInt64(
24417
+ 1,
24418
+ f
24419
+ );
24420
+ }
24421
+ };
24422
+
24423
+
24424
+ /**
24425
+ * repeated int64 billIds = 1;
24426
+ * @return {!Array<number>}
24427
+ */
24428
+ proto.sniipbillapi.BulkDeleteBillsRequest.prototype.getBillidsList = function() {
24429
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
24430
+ };
24431
+
24432
+
24433
+ /**
24434
+ * @param {!Array<number>} value
24435
+ * @return {!proto.sniipbillapi.BulkDeleteBillsRequest} returns this
24436
+ */
24437
+ proto.sniipbillapi.BulkDeleteBillsRequest.prototype.setBillidsList = function(value) {
24438
+ return jspb.Message.setField(this, 1, value || []);
24439
+ };
24440
+
24441
+
24442
+ /**
24443
+ * @param {number} value
24444
+ * @param {number=} opt_index
24445
+ * @return {!proto.sniipbillapi.BulkDeleteBillsRequest} returns this
24446
+ */
24447
+ proto.sniipbillapi.BulkDeleteBillsRequest.prototype.addBillids = function(value, opt_index) {
24448
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
24449
+ };
24450
+
24451
+
24452
+ /**
24453
+ * Clears the list making it empty but non-null.
24454
+ * @return {!proto.sniipbillapi.BulkDeleteBillsRequest} returns this
24455
+ */
24456
+ proto.sniipbillapi.BulkDeleteBillsRequest.prototype.clearBillidsList = function() {
24457
+ return this.setBillidsList([]);
24458
+ };
24459
+
24460
+
24461
+
24282
24462
 
24283
24463
 
24284
24464
  if (jspb.Message.GENERATE_TO_OBJECT) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "26.5.15367",
3
+ "version": "26.5.15399",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",