@sniipwebmaster/realtime-message-client-grpcweb 22.2.314 → 22.3.339

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.
@@ -13,6 +13,7 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
13
13
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
14
14
  var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js');
15
15
  goog.exportSymbol('proto.realtimemessageapi.AllBillsProcessedByImport', null, global);
16
+ goog.exportSymbol('proto.realtimemessageapi.AttachmentInfo', null, global);
16
17
  goog.exportSymbol('proto.realtimemessageapi.BannersResponse', null, global);
17
18
  goog.exportSymbol('proto.realtimemessageapi.BillPaid', null, global);
18
19
  goog.exportSymbol('proto.realtimemessageapi.BulkPaymentSummary', null, global);
@@ -385,13 +386,316 @@ proto.realtimemessageapi.PostRequest.prototype.setValue = function(value) {
385
386
  * @extends {jspb.Message}
386
387
  * @constructor
387
388
  */
388
- proto.realtimemessageapi.PendingUploadDeliveryUpdate = function(opt_data) {
389
+ proto.realtimemessageapi.AttachmentInfo = function(opt_data) {
389
390
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
390
391
  };
392
+ goog.inherits(proto.realtimemessageapi.AttachmentInfo, jspb.Message);
393
+ if (goog.DEBUG && !COMPILED) {
394
+ proto.realtimemessageapi.AttachmentInfo.displayName = 'proto.realtimemessageapi.AttachmentInfo';
395
+ }
396
+
397
+
398
+ if (jspb.Message.GENERATE_TO_OBJECT) {
399
+ /**
400
+ * Creates an object representation of this proto suitable for use in Soy templates.
401
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
402
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
403
+ * For the list of reserved names please see:
404
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
405
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
406
+ * for transitional soy proto support: http://goto/soy-param-migration
407
+ * @return {!Object}
408
+ */
409
+ proto.realtimemessageapi.AttachmentInfo.prototype.toObject = function(opt_includeInstance) {
410
+ return proto.realtimemessageapi.AttachmentInfo.toObject(opt_includeInstance, this);
411
+ };
412
+
413
+
414
+ /**
415
+ * Static version of the {@see toObject} method.
416
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
417
+ * instance for transitional soy proto support:
418
+ * http://goto/soy-param-migration
419
+ * @param {!proto.realtimemessageapi.AttachmentInfo} msg The msg instance to transform.
420
+ * @return {!Object}
421
+ */
422
+ proto.realtimemessageapi.AttachmentInfo.toObject = function(includeInstance, msg) {
423
+ var f, obj = {
424
+ attachmentid: msg.getAttachmentid(),
425
+ attachmenticonurl: msg.getAttachmenticonurl(),
426
+ attachmenturl: msg.getAttachmenturl(),
427
+ attachmentsize: msg.getAttachmentsize(),
428
+ attachmentfilename: msg.getAttachmentfilename(),
429
+ isreadyforreview: msg.getIsreadyforreview()
430
+ };
431
+
432
+ if (includeInstance) {
433
+ obj.$jspbMessageInstance = msg;
434
+ }
435
+ return obj;
436
+ };
437
+ }
438
+
439
+
440
+ /**
441
+ * Deserializes binary data (in protobuf wire format).
442
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
443
+ * @return {!proto.realtimemessageapi.AttachmentInfo}
444
+ */
445
+ proto.realtimemessageapi.AttachmentInfo.deserializeBinary = function(bytes) {
446
+ var reader = new jspb.BinaryReader(bytes);
447
+ var msg = new proto.realtimemessageapi.AttachmentInfo;
448
+ return proto.realtimemessageapi.AttachmentInfo.deserializeBinaryFromReader(msg, reader);
449
+ };
450
+
451
+
452
+ /**
453
+ * Deserializes binary data (in protobuf wire format) from the
454
+ * given reader into the given message object.
455
+ * @param {!proto.realtimemessageapi.AttachmentInfo} msg The message object to deserialize into.
456
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
457
+ * @return {!proto.realtimemessageapi.AttachmentInfo}
458
+ */
459
+ proto.realtimemessageapi.AttachmentInfo.deserializeBinaryFromReader = function(msg, reader) {
460
+ while (reader.nextField()) {
461
+ if (reader.isEndGroup()) {
462
+ break;
463
+ }
464
+ var field = reader.getFieldNumber();
465
+ switch (field) {
466
+ case 1:
467
+ var value = /** @type {number} */ (reader.readInt64());
468
+ msg.setAttachmentid(value);
469
+ break;
470
+ case 2:
471
+ var value = /** @type {string} */ (reader.readString());
472
+ msg.setAttachmenticonurl(value);
473
+ break;
474
+ case 3:
475
+ var value = /** @type {string} */ (reader.readString());
476
+ msg.setAttachmenturl(value);
477
+ break;
478
+ case 4:
479
+ var value = /** @type {number} */ (reader.readInt64());
480
+ msg.setAttachmentsize(value);
481
+ break;
482
+ case 5:
483
+ var value = /** @type {string} */ (reader.readString());
484
+ msg.setAttachmentfilename(value);
485
+ break;
486
+ case 6:
487
+ var value = /** @type {boolean} */ (reader.readBool());
488
+ msg.setIsreadyforreview(value);
489
+ break;
490
+ default:
491
+ reader.skipField();
492
+ break;
493
+ }
494
+ }
495
+ return msg;
496
+ };
497
+
498
+
499
+ /**
500
+ * Class method variant: serializes the given message to binary data
501
+ * (in protobuf wire format), writing to the given BinaryWriter.
502
+ * @param {!proto.realtimemessageapi.AttachmentInfo} message
503
+ * @param {!jspb.BinaryWriter} writer
504
+ */
505
+ proto.realtimemessageapi.AttachmentInfo.serializeBinaryToWriter = function(message, writer) {
506
+ message.serializeBinaryToWriter(writer);
507
+ };
508
+
509
+
510
+ /**
511
+ * Serializes the message to binary data (in protobuf wire format).
512
+ * @return {!Uint8Array}
513
+ */
514
+ proto.realtimemessageapi.AttachmentInfo.prototype.serializeBinary = function() {
515
+ var writer = new jspb.BinaryWriter();
516
+ this.serializeBinaryToWriter(writer);
517
+ return writer.getResultBuffer();
518
+ };
519
+
520
+
521
+ /**
522
+ * Serializes the message to binary data (in protobuf wire format),
523
+ * writing to the given BinaryWriter.
524
+ * @param {!jspb.BinaryWriter} writer
525
+ */
526
+ proto.realtimemessageapi.AttachmentInfo.prototype.serializeBinaryToWriter = function (writer) {
527
+ var f = undefined;
528
+ f = this.getAttachmentid();
529
+ if (f !== 0) {
530
+ writer.writeInt64(
531
+ 1,
532
+ f
533
+ );
534
+ }
535
+ f = this.getAttachmenticonurl();
536
+ if (f.length > 0) {
537
+ writer.writeString(
538
+ 2,
539
+ f
540
+ );
541
+ }
542
+ f = this.getAttachmenturl();
543
+ if (f.length > 0) {
544
+ writer.writeString(
545
+ 3,
546
+ f
547
+ );
548
+ }
549
+ f = this.getAttachmentsize();
550
+ if (f !== 0) {
551
+ writer.writeInt64(
552
+ 4,
553
+ f
554
+ );
555
+ }
556
+ f = this.getAttachmentfilename();
557
+ if (f.length > 0) {
558
+ writer.writeString(
559
+ 5,
560
+ f
561
+ );
562
+ }
563
+ f = this.getIsreadyforreview();
564
+ if (f) {
565
+ writer.writeBool(
566
+ 6,
567
+ f
568
+ );
569
+ }
570
+ };
571
+
572
+
573
+ /**
574
+ * Creates a deep clone of this proto. No data is shared with the original.
575
+ * @return {!proto.realtimemessageapi.AttachmentInfo} The clone.
576
+ */
577
+ proto.realtimemessageapi.AttachmentInfo.prototype.cloneMessage = function() {
578
+ return /** @type {!proto.realtimemessageapi.AttachmentInfo} */ (jspb.Message.cloneMessage(this));
579
+ };
580
+
581
+
582
+ /**
583
+ * optional int64 attachmentId = 1;
584
+ * @return {number}
585
+ */
586
+ proto.realtimemessageapi.AttachmentInfo.prototype.getAttachmentid = function() {
587
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
588
+ };
589
+
590
+
591
+ /** @param {number} value */
592
+ proto.realtimemessageapi.AttachmentInfo.prototype.setAttachmentid = function(value) {
593
+ jspb.Message.setField(this, 1, value);
594
+ };
595
+
596
+
597
+ /**
598
+ * optional string attachmentIconUrl = 2;
599
+ * @return {string}
600
+ */
601
+ proto.realtimemessageapi.AttachmentInfo.prototype.getAttachmenticonurl = function() {
602
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
603
+ };
604
+
605
+
606
+ /** @param {string} value */
607
+ proto.realtimemessageapi.AttachmentInfo.prototype.setAttachmenticonurl = function(value) {
608
+ jspb.Message.setField(this, 2, value);
609
+ };
610
+
611
+
612
+ /**
613
+ * optional string attachmentUrl = 3;
614
+ * @return {string}
615
+ */
616
+ proto.realtimemessageapi.AttachmentInfo.prototype.getAttachmenturl = function() {
617
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
618
+ };
619
+
620
+
621
+ /** @param {string} value */
622
+ proto.realtimemessageapi.AttachmentInfo.prototype.setAttachmenturl = function(value) {
623
+ jspb.Message.setField(this, 3, value);
624
+ };
625
+
626
+
627
+ /**
628
+ * optional int64 attachmentSize = 4;
629
+ * @return {number}
630
+ */
631
+ proto.realtimemessageapi.AttachmentInfo.prototype.getAttachmentsize = function() {
632
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 4, 0));
633
+ };
634
+
635
+
636
+ /** @param {number} value */
637
+ proto.realtimemessageapi.AttachmentInfo.prototype.setAttachmentsize = function(value) {
638
+ jspb.Message.setField(this, 4, value);
639
+ };
640
+
641
+
642
+ /**
643
+ * optional string attachmentFilename = 5;
644
+ * @return {string}
645
+ */
646
+ proto.realtimemessageapi.AttachmentInfo.prototype.getAttachmentfilename = function() {
647
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
648
+ };
649
+
650
+
651
+ /** @param {string} value */
652
+ proto.realtimemessageapi.AttachmentInfo.prototype.setAttachmentfilename = function(value) {
653
+ jspb.Message.setField(this, 5, value);
654
+ };
655
+
656
+
657
+ /**
658
+ * optional bool isReadyForReview = 6;
659
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
660
+ * You should avoid comparisons like {@code val === true/false} in those cases.
661
+ * @return {boolean}
662
+ */
663
+ proto.realtimemessageapi.AttachmentInfo.prototype.getIsreadyforreview = function() {
664
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 6, false));
665
+ };
666
+
667
+
668
+ /** @param {boolean} value */
669
+ proto.realtimemessageapi.AttachmentInfo.prototype.setIsreadyforreview = function(value) {
670
+ jspb.Message.setField(this, 6, value);
671
+ };
672
+
673
+
674
+
675
+ /**
676
+ * Generated by JsPbCodeGenerator.
677
+ * @param {Array=} opt_data Optional initial data array, typically from a
678
+ * server response, or constructed directly in Javascript. The array is used
679
+ * in place and becomes part of the constructed object. It is not cloned.
680
+ * If no data is provided, the constructed object will be empty, but still
681
+ * valid.
682
+ * @extends {jspb.Message}
683
+ * @constructor
684
+ */
685
+ proto.realtimemessageapi.PendingUploadDeliveryUpdate = function(opt_data) {
686
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.realtimemessageapi.PendingUploadDeliveryUpdate.repeatedFields_, null);
687
+ };
391
688
  goog.inherits(proto.realtimemessageapi.PendingUploadDeliveryUpdate, jspb.Message);
392
689
  if (goog.DEBUG && !COMPILED) {
393
690
  proto.realtimemessageapi.PendingUploadDeliveryUpdate.displayName = 'proto.realtimemessageapi.PendingUploadDeliveryUpdate';
394
691
  }
692
+ /**
693
+ * List of repeated fields within this message type.
694
+ * @private {!Array<number>}
695
+ * @const
696
+ */
697
+ proto.realtimemessageapi.PendingUploadDeliveryUpdate.repeatedFields_ = [4];
698
+
395
699
 
396
700
 
397
701
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -422,7 +726,9 @@ proto.realtimemessageapi.PendingUploadDeliveryUpdate.toObject = function(include
422
726
  var f, obj = {
423
727
  deliveryid: msg.getDeliveryid(),
424
728
  processingbillscount: msg.getProcessingbillscount(),
425
- readyforreviewbillscount: msg.getReadyforreviewbillscount()
729
+ readyforreviewbillscount: msg.getReadyforreviewbillscount(),
730
+ attachmentsList: jspb.Message.toObjectList(msg.getAttachmentsList(),
731
+ proto.realtimemessageapi.AttachmentInfo.toObject, includeInstance)
426
732
  };
427
733
 
428
734
  if (includeInstance) {
@@ -471,6 +777,12 @@ proto.realtimemessageapi.PendingUploadDeliveryUpdate.deserializeBinaryFromReader
471
777
  var value = /** @type {number} */ (reader.readInt32());
472
778
  msg.setReadyforreviewbillscount(value);
473
779
  break;
780
+ case 4:
781
+ var value = new proto.realtimemessageapi.AttachmentInfo;
782
+ reader.readMessage(value,proto.realtimemessageapi.AttachmentInfo.deserializeBinaryFromReader);
783
+ msg.getAttachmentsList().push(value);
784
+ msg.setAttachmentsList(msg.getAttachmentsList());
785
+ break;
474
786
  default:
475
787
  reader.skipField();
476
788
  break;
@@ -530,6 +842,14 @@ proto.realtimemessageapi.PendingUploadDeliveryUpdate.prototype.serializeBinaryTo
530
842
  f
531
843
  );
532
844
  }
845
+ f = this.getAttachmentsList();
846
+ if (f.length > 0) {
847
+ writer.writeRepeatedMessage(
848
+ 4,
849
+ f,
850
+ proto.realtimemessageapi.AttachmentInfo.serializeBinaryToWriter
851
+ );
852
+ }
533
853
  };
534
854
 
535
855
 
@@ -587,6 +907,29 @@ proto.realtimemessageapi.PendingUploadDeliveryUpdate.prototype.setReadyforreview
587
907
  };
588
908
 
589
909
 
910
+ /**
911
+ * repeated AttachmentInfo attachments = 4;
912
+ * If you change this array by adding, removing or replacing elements, or if you
913
+ * replace the array itself, then you must call the setter to update it.
914
+ * @return {!Array.<!proto.realtimemessageapi.AttachmentInfo>}
915
+ */
916
+ proto.realtimemessageapi.PendingUploadDeliveryUpdate.prototype.getAttachmentsList = function() {
917
+ return /** @type{!Array.<!proto.realtimemessageapi.AttachmentInfo>} */ (
918
+ jspb.Message.getRepeatedWrapperField(this, proto.realtimemessageapi.AttachmentInfo, 4));
919
+ };
920
+
921
+
922
+ /** @param {Array.<!proto.realtimemessageapi.AttachmentInfo>} value */
923
+ proto.realtimemessageapi.PendingUploadDeliveryUpdate.prototype.setAttachmentsList = function(value) {
924
+ jspb.Message.setRepeatedWrapperField(this, 4, value);
925
+ };
926
+
927
+
928
+ proto.realtimemessageapi.PendingUploadDeliveryUpdate.prototype.clearAttachmentsList = function() {
929
+ this.setAttachmentsList([]);
930
+ };
931
+
932
+
590
933
 
591
934
  /**
592
935
  * Generated by JsPbCodeGenerator.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/realtime-message-client-grpcweb",
3
- "version": "22.2.314",
3
+ "version": "22.3.339",
4
4
  "description": "realtime-message-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",