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.
- package/analytic/analytic.proto +2 -2
- package/analytic/analytic_pb.js +14 -14
- package/package.json +1 -1
package/analytic/analytic.proto
CHANGED
@@ -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
|
17
|
-
optional string
|
16
|
+
optional string start_date = 1;
|
17
|
+
optional string end_date = 2;
|
18
18
|
optional string period = 3;
|
19
19
|
}
|
20
20
|
//Global
|
package/analytic/analytic_pb.js
CHANGED
@@ -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
|
-
|
660
|
-
|
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.
|
700
|
+
msg.setStartDate(value);
|
701
701
|
break;
|
702
702
|
case 2:
|
703
703
|
var value = /** @type {string} */ (reader.readString());
|
704
|
-
msg.
|
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
|
764
|
+
* optional string start_date = 1;
|
765
765
|
* @return {string}
|
766
766
|
*/
|
767
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
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.
|
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.
|
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.
|
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
|
800
|
+
* optional string end_date = 2;
|
801
801
|
* @return {string}
|
802
802
|
*/
|
803
|
-
proto.analytic.GlobalSearchRequest.prototype.
|
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.
|
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.
|
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.
|
830
|
+
proto.analytic.GlobalSearchRequest.prototype.hasEndDate = function() {
|
831
831
|
return jspb.Message.getField(this, 2) != null;
|
832
832
|
};
|
833
833
|
|