@sniipwebmaster/bill-service-client-grpcweb 23.11.12124 → 23.12.12144

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.
@@ -4714,5 +4714,85 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.processDraftBillsN
4714
4714
  };
4715
4715
 
4716
4716
 
4717
+ /**
4718
+ * @const
4719
+ * @type {!grpc.web.MethodDescriptor<
4720
+ * !proto.sniipbillapi.DeleteBillsByBillIdsRequest,
4721
+ * !proto.sniipbillapi.ResponseCode>}
4722
+ */
4723
+ const methodDescriptor_SniipBillAPIService_DeleteBillsByBillIds = new grpc.web.MethodDescriptor(
4724
+ '/sniipbillapi.SniipBillAPIService/DeleteBillsByBillIds',
4725
+ grpc.web.MethodType.UNARY,
4726
+ proto.sniipbillapi.DeleteBillsByBillIdsRequest,
4727
+ proto.sniipbillapi.ResponseCode,
4728
+ /**
4729
+ * @param {!proto.sniipbillapi.DeleteBillsByBillIdsRequest} request
4730
+ * @return {!Uint8Array}
4731
+ */
4732
+ function(request) {
4733
+ return request.serializeBinary();
4734
+ },
4735
+ proto.sniipbillapi.ResponseCode.deserializeBinary
4736
+ );
4737
+
4738
+
4739
+ /**
4740
+ * @const
4741
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
4742
+ * !proto.sniipbillapi.DeleteBillsByBillIdsRequest,
4743
+ * !proto.sniipbillapi.ResponseCode>}
4744
+ */
4745
+ const methodInfo_SniipBillAPIService_DeleteBillsByBillIds = new grpc.web.AbstractClientBase.MethodInfo(
4746
+ proto.sniipbillapi.ResponseCode,
4747
+ /**
4748
+ * @param {!proto.sniipbillapi.DeleteBillsByBillIdsRequest} request
4749
+ * @return {!Uint8Array}
4750
+ */
4751
+ function(request) {
4752
+ return request.serializeBinary();
4753
+ },
4754
+ proto.sniipbillapi.ResponseCode.deserializeBinary
4755
+ );
4756
+
4757
+
4758
+ /**
4759
+ * @param {!proto.sniipbillapi.DeleteBillsByBillIdsRequest} request The
4760
+ * request proto
4761
+ * @param {?Object<string, string>} metadata User defined
4762
+ * call metadata
4763
+ * @param {function(?grpc.web.Error, ?proto.sniipbillapi.ResponseCode)}
4764
+ * callback The callback function(error, response)
4765
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.ResponseCode>|undefined}
4766
+ * The XHR Node Readable Stream
4767
+ */
4768
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.deleteBillsByBillIds =
4769
+ function(request, metadata, callback) {
4770
+ return this.client_.rpcCall(this.hostname_ +
4771
+ '/sniipbillapi.SniipBillAPIService/DeleteBillsByBillIds',
4772
+ request,
4773
+ metadata || {},
4774
+ methodDescriptor_SniipBillAPIService_DeleteBillsByBillIds,
4775
+ callback);
4776
+ };
4777
+
4778
+
4779
+ /**
4780
+ * @param {!proto.sniipbillapi.DeleteBillsByBillIdsRequest} request The
4781
+ * request proto
4782
+ * @param {?Object<string, string>} metadata User defined
4783
+ * call metadata
4784
+ * @return {!Promise<!proto.sniipbillapi.ResponseCode>}
4785
+ * Promise that resolves to the response
4786
+ */
4787
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.deleteBillsByBillIds =
4788
+ function(request, metadata) {
4789
+ return this.client_.unaryCall(this.hostname_ +
4790
+ '/sniipbillapi.SniipBillAPIService/DeleteBillsByBillIds',
4791
+ request,
4792
+ metadata || {},
4793
+ methodDescriptor_SniipBillAPIService_DeleteBillsByBillIds);
4794
+ };
4795
+
4796
+
4717
4797
  module.exports = proto.sniipbillapi;
4718
4798
 
@@ -65,6 +65,7 @@ goog.exportSymbol('proto.sniipbillapi.CreateItemPaymentRequest', null, global);
65
65
  goog.exportSymbol('proto.sniipbillapi.CreateItemPaymentResponse', null, global);
66
66
  goog.exportSymbol('proto.sniipbillapi.CreateOrUpdateBillFromXeroInvoiceRequest', null, global);
67
67
  goog.exportSymbol('proto.sniipbillapi.DeleteBillRequest', null, global);
68
+ goog.exportSymbol('proto.sniipbillapi.DeleteBillsByBillIdsRequest', null, global);
68
69
  goog.exportSymbol('proto.sniipbillapi.DeleteBillsRequest', null, global);
69
70
  goog.exportSymbol('proto.sniipbillapi.DraftBillCreateRequest', null, global);
70
71
  goog.exportSymbol('proto.sniipbillapi.DraftBillDetails', null, global);
@@ -407,6 +408,27 @@ if (goog.DEBUG && !COMPILED) {
407
408
  */
408
409
  proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.displayName = 'proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest';
409
410
  }
411
+ /**
412
+ * Generated by JsPbCodeGenerator.
413
+ * @param {Array=} opt_data Optional initial data array, typically from a
414
+ * server response, or constructed directly in Javascript. The array is used
415
+ * in place and becomes part of the constructed object. It is not cloned.
416
+ * If no data is provided, the constructed object will be empty, but still
417
+ * valid.
418
+ * @extends {jspb.Message}
419
+ * @constructor
420
+ */
421
+ proto.sniipbillapi.DeleteBillsByBillIdsRequest = function(opt_data) {
422
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.DeleteBillsByBillIdsRequest.repeatedFields_, null);
423
+ };
424
+ goog.inherits(proto.sniipbillapi.DeleteBillsByBillIdsRequest, jspb.Message);
425
+ if (goog.DEBUG && !COMPILED) {
426
+ /**
427
+ * @public
428
+ * @override
429
+ */
430
+ proto.sniipbillapi.DeleteBillsByBillIdsRequest.displayName = 'proto.sniipbillapi.DeleteBillsByBillIdsRequest';
431
+ }
410
432
  /**
411
433
  * Generated by JsPbCodeGenerator.
412
434
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6253,6 +6275,162 @@ proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.prototype.clearBil
6253
6275
 
6254
6276
 
6255
6277
 
6278
+ /**
6279
+ * List of repeated fields within this message type.
6280
+ * @private {!Array<number>}
6281
+ * @const
6282
+ */
6283
+ proto.sniipbillapi.DeleteBillsByBillIdsRequest.repeatedFields_ = [1];
6284
+
6285
+
6286
+
6287
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6288
+ /**
6289
+ * Creates an object representation of this proto.
6290
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6291
+ * Optional fields that are not set will be set to undefined.
6292
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6293
+ * For the list of reserved names please see:
6294
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6295
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6296
+ * JSPB instance for transitional soy proto support:
6297
+ * http://goto/soy-param-migration
6298
+ * @return {!Object}
6299
+ */
6300
+ proto.sniipbillapi.DeleteBillsByBillIdsRequest.prototype.toObject = function(opt_includeInstance) {
6301
+ return proto.sniipbillapi.DeleteBillsByBillIdsRequest.toObject(opt_includeInstance, this);
6302
+ };
6303
+
6304
+
6305
+ /**
6306
+ * Static version of the {@see toObject} method.
6307
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6308
+ * the JSPB instance for transitional soy proto support:
6309
+ * http://goto/soy-param-migration
6310
+ * @param {!proto.sniipbillapi.DeleteBillsByBillIdsRequest} msg The msg instance to transform.
6311
+ * @return {!Object}
6312
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6313
+ */
6314
+ proto.sniipbillapi.DeleteBillsByBillIdsRequest.toObject = function(includeInstance, msg) {
6315
+ var f, obj = {
6316
+ billidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
6317
+ };
6318
+
6319
+ if (includeInstance) {
6320
+ obj.$jspbMessageInstance = msg;
6321
+ }
6322
+ return obj;
6323
+ };
6324
+ }
6325
+
6326
+
6327
+ /**
6328
+ * Deserializes binary data (in protobuf wire format).
6329
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6330
+ * @return {!proto.sniipbillapi.DeleteBillsByBillIdsRequest}
6331
+ */
6332
+ proto.sniipbillapi.DeleteBillsByBillIdsRequest.deserializeBinary = function(bytes) {
6333
+ var reader = new jspb.BinaryReader(bytes);
6334
+ var msg = new proto.sniipbillapi.DeleteBillsByBillIdsRequest;
6335
+ return proto.sniipbillapi.DeleteBillsByBillIdsRequest.deserializeBinaryFromReader(msg, reader);
6336
+ };
6337
+
6338
+
6339
+ /**
6340
+ * Deserializes binary data (in protobuf wire format) from the
6341
+ * given reader into the given message object.
6342
+ * @param {!proto.sniipbillapi.DeleteBillsByBillIdsRequest} msg The message object to deserialize into.
6343
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6344
+ * @return {!proto.sniipbillapi.DeleteBillsByBillIdsRequest}
6345
+ */
6346
+ proto.sniipbillapi.DeleteBillsByBillIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
6347
+ while (reader.nextField()) {
6348
+ if (reader.isEndGroup()) {
6349
+ break;
6350
+ }
6351
+ var field = reader.getFieldNumber();
6352
+ switch (field) {
6353
+ case 1:
6354
+ var value = /** @type {!Array<number>} */ (reader.readPackedInt64());
6355
+ msg.setBillidsList(value);
6356
+ break;
6357
+ default:
6358
+ reader.skipField();
6359
+ break;
6360
+ }
6361
+ }
6362
+ return msg;
6363
+ };
6364
+
6365
+
6366
+ /**
6367
+ * Serializes the message to binary data (in protobuf wire format).
6368
+ * @return {!Uint8Array}
6369
+ */
6370
+ proto.sniipbillapi.DeleteBillsByBillIdsRequest.prototype.serializeBinary = function() {
6371
+ var writer = new jspb.BinaryWriter();
6372
+ proto.sniipbillapi.DeleteBillsByBillIdsRequest.serializeBinaryToWriter(this, writer);
6373
+ return writer.getResultBuffer();
6374
+ };
6375
+
6376
+
6377
+ /**
6378
+ * Serializes the given message to binary data (in protobuf wire
6379
+ * format), writing to the given BinaryWriter.
6380
+ * @param {!proto.sniipbillapi.DeleteBillsByBillIdsRequest} message
6381
+ * @param {!jspb.BinaryWriter} writer
6382
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6383
+ */
6384
+ proto.sniipbillapi.DeleteBillsByBillIdsRequest.serializeBinaryToWriter = function(message, writer) {
6385
+ var f = undefined;
6386
+ f = message.getBillidsList();
6387
+ if (f.length > 0) {
6388
+ writer.writePackedInt64(
6389
+ 1,
6390
+ f
6391
+ );
6392
+ }
6393
+ };
6394
+
6395
+
6396
+ /**
6397
+ * repeated int64 billIds = 1;
6398
+ * @return {!Array<number>}
6399
+ */
6400
+ proto.sniipbillapi.DeleteBillsByBillIdsRequest.prototype.getBillidsList = function() {
6401
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
6402
+ };
6403
+
6404
+
6405
+ /**
6406
+ * @param {!Array<number>} value
6407
+ * @return {!proto.sniipbillapi.DeleteBillsByBillIdsRequest} returns this
6408
+ */
6409
+ proto.sniipbillapi.DeleteBillsByBillIdsRequest.prototype.setBillidsList = function(value) {
6410
+ return jspb.Message.setField(this, 1, value || []);
6411
+ };
6412
+
6413
+
6414
+ /**
6415
+ * @param {number} value
6416
+ * @param {number=} opt_index
6417
+ * @return {!proto.sniipbillapi.DeleteBillsByBillIdsRequest} returns this
6418
+ */
6419
+ proto.sniipbillapi.DeleteBillsByBillIdsRequest.prototype.addBillids = function(value, opt_index) {
6420
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
6421
+ };
6422
+
6423
+
6424
+ /**
6425
+ * Clears the list making it empty but non-null.
6426
+ * @return {!proto.sniipbillapi.DeleteBillsByBillIdsRequest} returns this
6427
+ */
6428
+ proto.sniipbillapi.DeleteBillsByBillIdsRequest.prototype.clearBillidsList = function() {
6429
+ return this.setBillidsList([]);
6430
+ };
6431
+
6432
+
6433
+
6256
6434
 
6257
6435
 
6258
6436
  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": "23.11.12124",
3
+ "version": "23.12.12144",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",