@sniipwebmaster/realtime-message-client-grpcweb 24.4.577 → 24.5.598

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.
@@ -40,6 +40,7 @@ goog.exportSymbol('proto.realtimemessageapi.PostRequest', null, global);
40
40
  goog.exportSymbol('proto.realtimemessageapi.ResponseCode', null, global);
41
41
  goog.exportSymbol('proto.realtimemessageapi.SubscribeType', null, global);
42
42
  goog.exportSymbol('proto.realtimemessageapi.TransactionFailed', null, global);
43
+ goog.exportSymbol('proto.realtimemessageapi.UploadBatchProcessingEvent', null, global);
43
44
  /**
44
45
  * Generated by JsPbCodeGenerator.
45
46
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -481,6 +482,27 @@ if (goog.DEBUG && !COMPILED) {
481
482
  */
482
483
  proto.realtimemessageapi.BillProcessedByImportSuccessEvent.displayName = 'proto.realtimemessageapi.BillProcessedByImportSuccessEvent';
483
484
  }
485
+ /**
486
+ * Generated by JsPbCodeGenerator.
487
+ * @param {Array=} opt_data Optional initial data array, typically from a
488
+ * server response, or constructed directly in Javascript. The array is used
489
+ * in place and becomes part of the constructed object. It is not cloned.
490
+ * If no data is provided, the constructed object will be empty, but still
491
+ * valid.
492
+ * @extends {jspb.Message}
493
+ * @constructor
494
+ */
495
+ proto.realtimemessageapi.UploadBatchProcessingEvent = function(opt_data) {
496
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
497
+ };
498
+ goog.inherits(proto.realtimemessageapi.UploadBatchProcessingEvent, jspb.Message);
499
+ if (goog.DEBUG && !COMPILED) {
500
+ /**
501
+ * @public
502
+ * @override
503
+ */
504
+ proto.realtimemessageapi.UploadBatchProcessingEvent.displayName = 'proto.realtimemessageapi.UploadBatchProcessingEvent';
505
+ }
484
506
 
485
507
 
486
508
 
@@ -5469,6 +5491,166 @@ proto.realtimemessageapi.BillProcessedByImportSuccessEvent.prototype.setAttachme
5469
5491
  };
5470
5492
 
5471
5493
 
5494
+
5495
+
5496
+
5497
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5498
+ /**
5499
+ * Creates an object representation of this proto.
5500
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5501
+ * Optional fields that are not set will be set to undefined.
5502
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5503
+ * For the list of reserved names please see:
5504
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5505
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5506
+ * JSPB instance for transitional soy proto support:
5507
+ * http://goto/soy-param-migration
5508
+ * @return {!Object}
5509
+ */
5510
+ proto.realtimemessageapi.UploadBatchProcessingEvent.prototype.toObject = function(opt_includeInstance) {
5511
+ return proto.realtimemessageapi.UploadBatchProcessingEvent.toObject(opt_includeInstance, this);
5512
+ };
5513
+
5514
+
5515
+ /**
5516
+ * Static version of the {@see toObject} method.
5517
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5518
+ * the JSPB instance for transitional soy proto support:
5519
+ * http://goto/soy-param-migration
5520
+ * @param {!proto.realtimemessageapi.UploadBatchProcessingEvent} msg The msg instance to transform.
5521
+ * @return {!Object}
5522
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5523
+ */
5524
+ proto.realtimemessageapi.UploadBatchProcessingEvent.toObject = function(includeInstance, msg) {
5525
+ var f, obj = {
5526
+ uploadbatchid: jspb.Message.getFieldWithDefault(msg, 1, 0),
5527
+ status: jspb.Message.getFieldWithDefault(msg, 2, "")
5528
+ };
5529
+
5530
+ if (includeInstance) {
5531
+ obj.$jspbMessageInstance = msg;
5532
+ }
5533
+ return obj;
5534
+ };
5535
+ }
5536
+
5537
+
5538
+ /**
5539
+ * Deserializes binary data (in protobuf wire format).
5540
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5541
+ * @return {!proto.realtimemessageapi.UploadBatchProcessingEvent}
5542
+ */
5543
+ proto.realtimemessageapi.UploadBatchProcessingEvent.deserializeBinary = function(bytes) {
5544
+ var reader = new jspb.BinaryReader(bytes);
5545
+ var msg = new proto.realtimemessageapi.UploadBatchProcessingEvent;
5546
+ return proto.realtimemessageapi.UploadBatchProcessingEvent.deserializeBinaryFromReader(msg, reader);
5547
+ };
5548
+
5549
+
5550
+ /**
5551
+ * Deserializes binary data (in protobuf wire format) from the
5552
+ * given reader into the given message object.
5553
+ * @param {!proto.realtimemessageapi.UploadBatchProcessingEvent} msg The message object to deserialize into.
5554
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5555
+ * @return {!proto.realtimemessageapi.UploadBatchProcessingEvent}
5556
+ */
5557
+ proto.realtimemessageapi.UploadBatchProcessingEvent.deserializeBinaryFromReader = function(msg, reader) {
5558
+ while (reader.nextField()) {
5559
+ if (reader.isEndGroup()) {
5560
+ break;
5561
+ }
5562
+ var field = reader.getFieldNumber();
5563
+ switch (field) {
5564
+ case 1:
5565
+ var value = /** @type {number} */ (reader.readInt64());
5566
+ msg.setUploadbatchid(value);
5567
+ break;
5568
+ case 2:
5569
+ var value = /** @type {string} */ (reader.readString());
5570
+ msg.setStatus(value);
5571
+ break;
5572
+ default:
5573
+ reader.skipField();
5574
+ break;
5575
+ }
5576
+ }
5577
+ return msg;
5578
+ };
5579
+
5580
+
5581
+ /**
5582
+ * Serializes the message to binary data (in protobuf wire format).
5583
+ * @return {!Uint8Array}
5584
+ */
5585
+ proto.realtimemessageapi.UploadBatchProcessingEvent.prototype.serializeBinary = function() {
5586
+ var writer = new jspb.BinaryWriter();
5587
+ proto.realtimemessageapi.UploadBatchProcessingEvent.serializeBinaryToWriter(this, writer);
5588
+ return writer.getResultBuffer();
5589
+ };
5590
+
5591
+
5592
+ /**
5593
+ * Serializes the given message to binary data (in protobuf wire
5594
+ * format), writing to the given BinaryWriter.
5595
+ * @param {!proto.realtimemessageapi.UploadBatchProcessingEvent} message
5596
+ * @param {!jspb.BinaryWriter} writer
5597
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5598
+ */
5599
+ proto.realtimemessageapi.UploadBatchProcessingEvent.serializeBinaryToWriter = function(message, writer) {
5600
+ var f = undefined;
5601
+ f = message.getUploadbatchid();
5602
+ if (f !== 0) {
5603
+ writer.writeInt64(
5604
+ 1,
5605
+ f
5606
+ );
5607
+ }
5608
+ f = message.getStatus();
5609
+ if (f.length > 0) {
5610
+ writer.writeString(
5611
+ 2,
5612
+ f
5613
+ );
5614
+ }
5615
+ };
5616
+
5617
+
5618
+ /**
5619
+ * optional int64 uploadBatchId = 1;
5620
+ * @return {number}
5621
+ */
5622
+ proto.realtimemessageapi.UploadBatchProcessingEvent.prototype.getUploadbatchid = function() {
5623
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
5624
+ };
5625
+
5626
+
5627
+ /**
5628
+ * @param {number} value
5629
+ * @return {!proto.realtimemessageapi.UploadBatchProcessingEvent} returns this
5630
+ */
5631
+ proto.realtimemessageapi.UploadBatchProcessingEvent.prototype.setUploadbatchid = function(value) {
5632
+ return jspb.Message.setProto3IntField(this, 1, value);
5633
+ };
5634
+
5635
+
5636
+ /**
5637
+ * optional string status = 2;
5638
+ * @return {string}
5639
+ */
5640
+ proto.realtimemessageapi.UploadBatchProcessingEvent.prototype.getStatus = function() {
5641
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
5642
+ };
5643
+
5644
+
5645
+ /**
5646
+ * @param {string} value
5647
+ * @return {!proto.realtimemessageapi.UploadBatchProcessingEvent} returns this
5648
+ */
5649
+ proto.realtimemessageapi.UploadBatchProcessingEvent.prototype.setStatus = function(value) {
5650
+ return jspb.Message.setProto3StringField(this, 2, value);
5651
+ };
5652
+
5653
+
5472
5654
  /**
5473
5655
  * @enum {number}
5474
5656
  */
@@ -5482,7 +5664,8 @@ proto.realtimemessageapi.EventType = {
5482
5664
  IMPORT_ITEM_SUCCESS: 6,
5483
5665
  IMPORT_ITEM_FAILED: 7,
5484
5666
  BILL_PROCESSED_BY_IMPORT_FAILED: 8,
5485
- BILL_PROCESSED_BY_IMPORT_SUCCESS: 9
5667
+ BILL_PROCESSED_BY_IMPORT_SUCCESS: 9,
5668
+ UPLOAD_BATCH_PROCESSING_EVENT: 10
5486
5669
  };
5487
5670
 
5488
5671
  goog.object.extend(exports, proto.realtimemessageapi);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/realtime-message-client-grpcweb",
3
- "version": "24.4.577",
3
+ "version": "24.5.598",
4
4
  "description": "realtime-message-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",