protobuf-platform 1.0.254 → 1.0.255

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,8 +13,8 @@ message PongResponse { string pong = 1; }
13
13
  //Common
14
14
  message PaginationRequest { int32 limit = 1; int32 offset = 2; optional GlobalSearchRequest global_search_params = 3; }
15
15
  message GlobalSearchRequest {
16
- optional string started_at = 1;
17
- optional string ended_at = 2;
16
+ optional string start_date = 1;
17
+ optional string end_date = 2;
18
18
  optional string period = 3;
19
19
  }
20
20
  //Global
@@ -656,8 +656,8 @@ proto.analytic.GlobalSearchRequest.prototype.toObject = function(opt_includeInst
656
656
  */
657
657
  proto.analytic.GlobalSearchRequest.toObject = function(includeInstance, msg) {
658
658
  var f, obj = {
659
- startedAt: jspb.Message.getFieldWithDefault(msg, 1, ""),
660
- endedAt: jspb.Message.getFieldWithDefault(msg, 2, ""),
659
+ startDate: jspb.Message.getFieldWithDefault(msg, 1, ""),
660
+ endDate: jspb.Message.getFieldWithDefault(msg, 2, ""),
661
661
  period: jspb.Message.getFieldWithDefault(msg, 3, "")
662
662
  };
663
663
 
@@ -697,11 +697,11 @@ proto.analytic.GlobalSearchRequest.deserializeBinaryFromReader = function(msg, r
697
697
  switch (field) {
698
698
  case 1:
699
699
  var value = /** @type {string} */ (reader.readString());
700
- msg.setStartedAt(value);
700
+ msg.setStartDate(value);
701
701
  break;
702
702
  case 2:
703
703
  var value = /** @type {string} */ (reader.readString());
704
- msg.setEndedAt(value);
704
+ msg.setEndDate(value);
705
705
  break;
706
706
  case 3:
707
707
  var value = /** @type {string} */ (reader.readString());
@@ -761,10 +761,10 @@ proto.analytic.GlobalSearchRequest.serializeBinaryToWriter = function(message, w
761
761
 
762
762
 
763
763
  /**
764
- * optional string started_at = 1;
764
+ * optional string start_date = 1;
765
765
  * @return {string}
766
766
  */
767
- proto.analytic.GlobalSearchRequest.prototype.getStartedAt = function() {
767
+ proto.analytic.GlobalSearchRequest.prototype.getStartDate = function() {
768
768
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
769
769
  };
770
770
 
@@ -773,7 +773,7 @@ proto.analytic.GlobalSearchRequest.prototype.getStartedAt = function() {
773
773
  * @param {string} value
774
774
  * @return {!proto.analytic.GlobalSearchRequest} returns this
775
775
  */
776
- proto.analytic.GlobalSearchRequest.prototype.setStartedAt = function(value) {
776
+ proto.analytic.GlobalSearchRequest.prototype.setStartDate = function(value) {
777
777
  return jspb.Message.setField(this, 1, value);
778
778
  };
779
779
 
@@ -782,7 +782,7 @@ proto.analytic.GlobalSearchRequest.prototype.setStartedAt = function(value) {
782
782
  * Clears the field making it undefined.
783
783
  * @return {!proto.analytic.GlobalSearchRequest} returns this
784
784
  */
785
- proto.analytic.GlobalSearchRequest.prototype.clearStartedAt = function() {
785
+ proto.analytic.GlobalSearchRequest.prototype.clearStartDate = function() {
786
786
  return jspb.Message.setField(this, 1, undefined);
787
787
  };
788
788
 
@@ -791,16 +791,16 @@ proto.analytic.GlobalSearchRequest.prototype.clearStartedAt = function() {
791
791
  * Returns whether this field is set.
792
792
  * @return {boolean}
793
793
  */
794
- proto.analytic.GlobalSearchRequest.prototype.hasStartedAt = function() {
794
+ proto.analytic.GlobalSearchRequest.prototype.hasStartDate = function() {
795
795
  return jspb.Message.getField(this, 1) != null;
796
796
  };
797
797
 
798
798
 
799
799
  /**
800
- * optional string ended_at = 2;
800
+ * optional string end_date = 2;
801
801
  * @return {string}
802
802
  */
803
- proto.analytic.GlobalSearchRequest.prototype.getEndedAt = function() {
803
+ proto.analytic.GlobalSearchRequest.prototype.getEndDate = function() {
804
804
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
805
805
  };
806
806
 
@@ -809,7 +809,7 @@ proto.analytic.GlobalSearchRequest.prototype.getEndedAt = function() {
809
809
  * @param {string} value
810
810
  * @return {!proto.analytic.GlobalSearchRequest} returns this
811
811
  */
812
- proto.analytic.GlobalSearchRequest.prototype.setEndedAt = function(value) {
812
+ proto.analytic.GlobalSearchRequest.prototype.setEndDate = function(value) {
813
813
  return jspb.Message.setField(this, 2, value);
814
814
  };
815
815
 
@@ -818,7 +818,7 @@ proto.analytic.GlobalSearchRequest.prototype.setEndedAt = function(value) {
818
818
  * Clears the field making it undefined.
819
819
  * @return {!proto.analytic.GlobalSearchRequest} returns this
820
820
  */
821
- proto.analytic.GlobalSearchRequest.prototype.clearEndedAt = function() {
821
+ proto.analytic.GlobalSearchRequest.prototype.clearEndDate = function() {
822
822
  return jspb.Message.setField(this, 2, undefined);
823
823
  };
824
824
 
@@ -827,7 +827,7 @@ proto.analytic.GlobalSearchRequest.prototype.clearEndedAt = function() {
827
827
  * Returns whether this field is set.
828
828
  * @return {boolean}
829
829
  */
830
- proto.analytic.GlobalSearchRequest.prototype.hasEndedAt = function() {
830
+ proto.analytic.GlobalSearchRequest.prototype.hasEndDate = function() {
831
831
  return jspb.Message.getField(this, 2) != null;
832
832
  };
833
833
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.254",
3
+ "version": "1.0.255",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {