@aldiokta/protocgen 1.0.70 → 1.0.71

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.
@@ -320,14 +320,15 @@ proto.Report.prototype.toObject = function(opt_includeInstance) {
320
320
  proto.Report.toObject = function(includeInstance, msg) {
321
321
  var f, obj = {
322
322
  description: jspb.Message.getFieldWithDefault(msg, 1, ""),
323
- isVisible: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
324
- formula: jspb.Message.getFieldWithDefault(msg, 3, ""),
325
- referencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
326
- createdAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
327
- updatedAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
328
- result: jspb.Message.getFieldWithDefault(msg, 7, ""),
329
- properties: jspb.Message.getFieldWithDefault(msg, 8, ""),
330
- companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 9, "")
323
+ formula: jspb.Message.getFieldWithDefault(msg, 2, ""),
324
+ referencesId: jspb.Message.getFieldWithDefault(msg, 3, ""),
325
+ createdAt: jspb.Message.getFieldWithDefault(msg, 4, ""),
326
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
327
+ result: jspb.Message.getFieldWithDefault(msg, 6, ""),
328
+ label: jspb.Message.getFieldWithDefault(msg, 7, ""),
329
+ name: jspb.Message.getFieldWithDefault(msg, 8, ""),
330
+ type: jspb.Message.getFieldWithDefault(msg, 9, ""),
331
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 10, "")
331
332
  };
332
333
 
333
334
  if (includeInstance) {
@@ -369,34 +370,38 @@ proto.Report.deserializeBinaryFromReader = function(msg, reader) {
369
370
  msg.setDescription(value);
370
371
  break;
371
372
  case 2:
372
- var value = /** @type {boolean} */ (reader.readBool());
373
- msg.setIsVisible(value);
373
+ var value = /** @type {string} */ (reader.readString());
374
+ msg.setFormula(value);
374
375
  break;
375
376
  case 3:
376
377
  var value = /** @type {string} */ (reader.readString());
377
- msg.setFormula(value);
378
+ msg.setReferencesId(value);
378
379
  break;
379
380
  case 4:
380
381
  var value = /** @type {string} */ (reader.readString());
381
- msg.setReferencesId(value);
382
+ msg.setCreatedAt(value);
382
383
  break;
383
384
  case 5:
384
385
  var value = /** @type {string} */ (reader.readString());
385
- msg.setCreatedAt(value);
386
+ msg.setUpdatedAt(value);
386
387
  break;
387
388
  case 6:
388
389
  var value = /** @type {string} */ (reader.readString());
389
- msg.setUpdatedAt(value);
390
+ msg.setResult(value);
390
391
  break;
391
392
  case 7:
392
393
  var value = /** @type {string} */ (reader.readString());
393
- msg.setResult(value);
394
+ msg.setLabel(value);
394
395
  break;
395
396
  case 8:
396
397
  var value = /** @type {string} */ (reader.readString());
397
- msg.setProperties(value);
398
+ msg.setName(value);
398
399
  break;
399
400
  case 9:
401
+ var value = /** @type {string} */ (reader.readString());
402
+ msg.setType(value);
403
+ break;
404
+ case 10:
400
405
  var value = /** @type {string} */ (reader.readString());
401
406
  msg.setCompaniesReferencesId(value);
402
407
  break;
@@ -436,62 +441,69 @@ proto.Report.serializeBinaryToWriter = function(message, writer) {
436
441
  f
437
442
  );
438
443
  }
439
- f = message.getIsVisible();
440
- if (f) {
441
- writer.writeBool(
444
+ f = message.getFormula();
445
+ if (f.length > 0) {
446
+ writer.writeString(
442
447
  2,
443
448
  f
444
449
  );
445
450
  }
446
- f = message.getFormula();
451
+ f = message.getReferencesId();
447
452
  if (f.length > 0) {
448
453
  writer.writeString(
449
454
  3,
450
455
  f
451
456
  );
452
457
  }
453
- f = message.getReferencesId();
458
+ f = message.getCreatedAt();
454
459
  if (f.length > 0) {
455
460
  writer.writeString(
456
461
  4,
457
462
  f
458
463
  );
459
464
  }
460
- f = message.getCreatedAt();
465
+ f = message.getUpdatedAt();
461
466
  if (f.length > 0) {
462
467
  writer.writeString(
463
468
  5,
464
469
  f
465
470
  );
466
471
  }
467
- f = message.getUpdatedAt();
472
+ f = message.getResult();
468
473
  if (f.length > 0) {
469
474
  writer.writeString(
470
475
  6,
471
476
  f
472
477
  );
473
478
  }
474
- f = message.getResult();
479
+ f = message.getLabel();
475
480
  if (f.length > 0) {
476
481
  writer.writeString(
477
482
  7,
478
483
  f
479
484
  );
480
485
  }
481
- f = message.getProperties();
486
+ f = message.getName();
482
487
  if (f.length > 0) {
483
488
  writer.writeString(
484
489
  8,
485
490
  f
486
491
  );
487
492
  }
488
- f = message.getCompaniesReferencesId();
493
+ f = message.getType();
489
494
  if (f.length > 0) {
490
495
  writer.writeString(
491
496
  9,
492
497
  f
493
498
  );
494
499
  }
500
+ f = message.getCompaniesReferencesId();
501
+ if (f.length > 0) {
502
+ writer.writeString(
503
+ 10,
504
+ f
505
+ );
506
+ }
495
507
  };
496
508
 
497
509
 
@@ -514,28 +526,28 @@ proto.Report.prototype.setDescription = function(value) {
514
526
 
515
527
 
516
528
  /**
517
- * optional bool is_visible = 2;
518
- * @return {boolean}
529
+ * optional string formula = 2;
530
+ * @return {string}
519
531
  */
520
- proto.Report.prototype.getIsVisible = function() {
521
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
532
+ proto.Report.prototype.getFormula = function() {
533
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
522
534
  };
523
535
 
524
536
 
525
537
  /**
526
- * @param {boolean} value
538
+ * @param {string} value
527
539
  * @return {!proto.Report} returns this
528
540
  */
529
- proto.Report.prototype.setIsVisible = function(value) {
530
- return jspb.Message.setProto3BooleanField(this, 2, value);
541
+ proto.Report.prototype.setFormula = function(value) {
542
+ return jspb.Message.setProto3StringField(this, 2, value);
531
543
  };
532
544
 
533
545
 
534
546
  /**
535
- * optional string formula = 3;
547
+ * optional string references_id = 3;
536
548
  * @return {string}
537
549
  */
538
- proto.Report.prototype.getFormula = function() {
550
+ proto.Report.prototype.getReferencesId = function() {
539
551
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
540
552
  };
541
553
 
@@ -544,16 +556,16 @@ proto.Report.prototype.getFormula = function() {
544
556
  * @param {string} value
545
557
  * @return {!proto.Report} returns this
546
558
  */
547
- proto.Report.prototype.setFormula = function(value) {
559
+ proto.Report.prototype.setReferencesId = function(value) {
548
560
  return jspb.Message.setProto3StringField(this, 3, value);
549
561
  };
550
562
 
551
563
 
552
564
  /**
553
- * optional string references_id = 4;
565
+ * optional string created_at = 4;
554
566
  * @return {string}
555
567
  */
556
- proto.Report.prototype.getReferencesId = function() {
568
+ proto.Report.prototype.getCreatedAt = function() {
557
569
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
558
570
  };
559
571
 
@@ -562,16 +574,16 @@ proto.Report.prototype.getReferencesId = function() {
562
574
  * @param {string} value
563
575
  * @return {!proto.Report} returns this
564
576
  */
565
- proto.Report.prototype.setReferencesId = function(value) {
577
+ proto.Report.prototype.setCreatedAt = function(value) {
566
578
  return jspb.Message.setProto3StringField(this, 4, value);
567
579
  };
568
580
 
569
581
 
570
582
  /**
571
- * optional string created_at = 5;
583
+ * optional string updated_at = 5;
572
584
  * @return {string}
573
585
  */
574
- proto.Report.prototype.getCreatedAt = function() {
586
+ proto.Report.prototype.getUpdatedAt = function() {
575
587
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
576
588
  };
577
589
 
@@ -580,16 +592,16 @@ proto.Report.prototype.getCreatedAt = function() {
580
592
  * @param {string} value
581
593
  * @return {!proto.Report} returns this
582
594
  */
583
- proto.Report.prototype.setCreatedAt = function(value) {
595
+ proto.Report.prototype.setUpdatedAt = function(value) {
584
596
  return jspb.Message.setProto3StringField(this, 5, value);
585
597
  };
586
598
 
587
599
 
588
600
  /**
589
- * optional string updated_at = 6;
601
+ * optional string result = 6;
590
602
  * @return {string}
591
603
  */
592
- proto.Report.prototype.getUpdatedAt = function() {
604
+ proto.Report.prototype.getResult = function() {
593
605
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
594
606
  };
595
607
 
@@ -598,16 +610,16 @@ proto.Report.prototype.getUpdatedAt = function() {
598
610
  * @param {string} value
599
611
  * @return {!proto.Report} returns this
600
612
  */
601
- proto.Report.prototype.setUpdatedAt = function(value) {
613
+ proto.Report.prototype.setResult = function(value) {
602
614
  return jspb.Message.setProto3StringField(this, 6, value);
603
615
  };
604
616
 
605
617
 
606
618
  /**
607
- * optional string result = 7;
619
+ * optional string label = 7;
608
620
  * @return {string}
609
621
  */
610
- proto.Report.prototype.getResult = function() {
622
+ proto.Report.prototype.getLabel = function() {
611
623
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
612
624
  };
613
625
 
@@ -616,16 +628,16 @@ proto.Report.prototype.getResult = function() {
616
628
  * @param {string} value
617
629
  * @return {!proto.Report} returns this
618
630
  */
619
- proto.Report.prototype.setResult = function(value) {
631
+ proto.Report.prototype.setLabel = function(value) {
620
632
  return jspb.Message.setProto3StringField(this, 7, value);
621
633
  };
622
634
 
623
635
 
624
636
  /**
625
- * optional string properties = 8;
637
+ * optional string name = 8;
626
638
  * @return {string}
627
639
  */
628
- proto.Report.prototype.getProperties = function() {
640
+ proto.Report.prototype.getName = function() {
629
641
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
630
642
  };
631
643
 
@@ -634,16 +646,16 @@ proto.Report.prototype.getProperties = function() {
634
646
  * @param {string} value
635
647
  * @return {!proto.Report} returns this
636
648
  */
637
- proto.Report.prototype.setProperties = function(value) {
649
+ proto.Report.prototype.setName = function(value) {
638
650
  return jspb.Message.setProto3StringField(this, 8, value);
639
651
  };
640
652
 
641
653
 
642
654
  /**
643
- * optional string companies_references_id = 9;
655
+ * optional string type = 9;
644
656
  * @return {string}
645
657
  */
646
- proto.Report.prototype.getCompaniesReferencesId = function() {
658
+ proto.Report.prototype.getType = function() {
647
659
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
648
660
  };
649
661
 
@@ -652,11 +664,29 @@ proto.Report.prototype.getCompaniesReferencesId = function() {
652
664
  * @param {string} value
653
665
  * @return {!proto.Report} returns this
654
666
  */
655
- proto.Report.prototype.setCompaniesReferencesId = function(value) {
667
+ proto.Report.prototype.setType = function(value) {
656
668
  return jspb.Message.setProto3StringField(this, 9, value);
657
669
  };
658
670
 
659
671
 
672
+ /**
673
+ * optional string companies_references_id = 10;
674
+ * @return {string}
675
+ */
676
+ proto.Report.prototype.getCompaniesReferencesId = function() {
677
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
678
+ };
679
+
680
+
681
+ /**
682
+ * @param {string} value
683
+ * @return {!proto.Report} returns this
684
+ */
685
+ proto.Report.prototype.setCompaniesReferencesId = function(value) {
686
+ return jspb.Message.setProto3StringField(this, 10, value);
687
+ };
688
+
689
+
660
690
 
661
691
 
662
692
 
@@ -690,9 +720,10 @@ proto.BaseReportRequest.prototype.toObject = function(opt_includeInstance) {
690
720
  proto.BaseReportRequest.toObject = function(includeInstance, msg) {
691
721
  var f, obj = {
692
722
  description: jspb.Message.getFieldWithDefault(msg, 1, ""),
693
- isVisible: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
694
- formula: jspb.Message.getFieldWithDefault(msg, 3, ""),
695
- properties: jspb.Message.getFieldWithDefault(msg, 8, "")
723
+ formula: jspb.Message.getFieldWithDefault(msg, 2, ""),
724
+ label: jspb.Message.getFieldWithDefault(msg, 3, ""),
725
+ name: jspb.Message.getFieldWithDefault(msg, 4, ""),
726
+ type: jspb.Message.getFieldWithDefault(msg, 5, "")
696
727
  };
697
728
 
698
729
  if (includeInstance) {
@@ -734,16 +765,20 @@ proto.BaseReportRequest.deserializeBinaryFromReader = function(msg, reader) {
734
765
  msg.setDescription(value);
735
766
  break;
736
767
  case 2:
737
- var value = /** @type {boolean} */ (reader.readBool());
738
- msg.setIsVisible(value);
768
+ var value = /** @type {string} */ (reader.readString());
769
+ msg.setFormula(value);
739
770
  break;
740
771
  case 3:
741
772
  var value = /** @type {string} */ (reader.readString());
742
- msg.setFormula(value);
773
+ msg.setLabel(value);
743
774
  break;
744
- case 8:
775
+ case 4:
776
+ var value = /** @type {string} */ (reader.readString());
777
+ msg.setName(value);
778
+ break;
779
+ case 5:
745
780
  var value = /** @type {string} */ (reader.readString());
746
- msg.setProperties(value);
781
+ msg.setType(value);
747
782
  break;
748
783
  default:
749
784
  reader.skipField();
@@ -781,24 +816,31 @@ proto.BaseReportRequest.serializeBinaryToWriter = function(message, writer) {
781
816
  f
782
817
  );
783
818
  }
784
- f = message.getIsVisible();
785
- if (f) {
786
- writer.writeBool(
819
+ f = message.getFormula();
820
+ if (f.length > 0) {
821
+ writer.writeString(
787
822
  2,
788
823
  f
789
824
  );
790
825
  }
791
- f = message.getFormula();
826
+ f = message.getLabel();
792
827
  if (f.length > 0) {
793
828
  writer.writeString(
794
829
  3,
795
830
  f
796
831
  );
797
832
  }
798
- f = message.getProperties();
833
+ f = message.getName();
799
834
  if (f.length > 0) {
800
835
  writer.writeString(
801
- 8,
836
+ 4,
837
+ f
838
+ );
839
+ }
840
+ f = message.getType();
841
+ if (f.length > 0) {
842
+ writer.writeString(
843
+ 5,
802
844
  f
803
845
  );
804
846
  }
@@ -824,28 +866,28 @@ proto.BaseReportRequest.prototype.setDescription = function(value) {
824
866
 
825
867
 
826
868
  /**
827
- * optional bool is_visible = 2;
828
- * @return {boolean}
869
+ * optional string formula = 2;
870
+ * @return {string}
829
871
  */
830
- proto.BaseReportRequest.prototype.getIsVisible = function() {
831
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
872
+ proto.BaseReportRequest.prototype.getFormula = function() {
873
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
832
874
  };
833
875
 
834
876
 
835
877
  /**
836
- * @param {boolean} value
878
+ * @param {string} value
837
879
  * @return {!proto.BaseReportRequest} returns this
838
880
  */
839
- proto.BaseReportRequest.prototype.setIsVisible = function(value) {
840
- return jspb.Message.setProto3BooleanField(this, 2, value);
881
+ proto.BaseReportRequest.prototype.setFormula = function(value) {
882
+ return jspb.Message.setProto3StringField(this, 2, value);
841
883
  };
842
884
 
843
885
 
844
886
  /**
845
- * optional string formula = 3;
887
+ * optional string label = 3;
846
888
  * @return {string}
847
889
  */
848
- proto.BaseReportRequest.prototype.getFormula = function() {
890
+ proto.BaseReportRequest.prototype.getLabel = function() {
849
891
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
850
892
  };
851
893
 
@@ -854,17 +896,17 @@ proto.BaseReportRequest.prototype.getFormula = function() {
854
896
  * @param {string} value
855
897
  * @return {!proto.BaseReportRequest} returns this
856
898
  */
857
- proto.BaseReportRequest.prototype.setFormula = function(value) {
899
+ proto.BaseReportRequest.prototype.setLabel = function(value) {
858
900
  return jspb.Message.setProto3StringField(this, 3, value);
859
901
  };
860
902
 
861
903
 
862
904
  /**
863
- * optional string properties = 8;
905
+ * optional string name = 4;
864
906
  * @return {string}
865
907
  */
866
- proto.BaseReportRequest.prototype.getProperties = function() {
867
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
908
+ proto.BaseReportRequest.prototype.getName = function() {
909
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
868
910
  };
869
911
 
870
912
 
@@ -872,8 +914,26 @@ proto.BaseReportRequest.prototype.getProperties = function() {
872
914
  * @param {string} value
873
915
  * @return {!proto.BaseReportRequest} returns this
874
916
  */
875
- proto.BaseReportRequest.prototype.setProperties = function(value) {
876
- return jspb.Message.setProto3StringField(this, 8, value);
917
+ proto.BaseReportRequest.prototype.setName = function(value) {
918
+ return jspb.Message.setProto3StringField(this, 4, value);
919
+ };
920
+
921
+
922
+ /**
923
+ * optional string type = 5;
924
+ * @return {string}
925
+ */
926
+ proto.BaseReportRequest.prototype.getType = function() {
927
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
928
+ };
929
+
930
+
931
+ /**
932
+ * @param {string} value
933
+ * @return {!proto.BaseReportRequest} returns this
934
+ */
935
+ proto.BaseReportRequest.prototype.setType = function(value) {
936
+ return jspb.Message.setProto3StringField(this, 5, value);
877
937
  };
878
938
 
879
939